Test method and test system of battery control system
Through hardware in-loop simulation platform and automated testing technology, various fault events are simulated, and the problem of low test accuracy and efficiency of battery control system is solved, efficient and accurate testing of battery control system is achieved, and the safety of the product is improved. R&D efficiency.
Patent Information
- Application Number
- CN202411198870.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-06
AI Technical Summary
The existing test methods of battery control systems have problems such as low test accuracy and low test efficiency, making it difficult to comprehensively evaluate the response and safety of battery control systems under various conditions.
Using the hardware-in-loop simulation platform to combine the test control module, the fault injection module and the battery model to simulate various fault events, and realize automated testing and data processing of the battery control system through automatic test scripts and data analysis modules, improving the accuracy of the test and efficiency.
It significantly improves the testing accuracy and efficiency of the battery control system, and can detect potential safety hazards in the early stage, shorten product development cycles, and reduce R&D risks and costs.
Smart Images

Figure CN119087971A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery testing, and in particular to a testing method and a testing system for a battery control system. Background Art
[0002] As the new energy vehicle market continues to expand, the requirements for battery performance are becoming increasingly stringent, especially in terms of driving range, charging speed, and safety. Therefore, automakers generally conduct safety and performance tests on the battery control systems used in their vehicles.
[0003] In the related art, the current testing methods for battery control systems generally have the defects of low testing accuracy and low testing efficiency. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a test method for a battery control system, which is conducive to improving the test efficiency and test accuracy of the battery control system.
[0005] The invention also provides a testing system.
[0006] The present invention also provides a computer-readable storage medium.
[0007] A test method for a battery control system according to an embodiment of a first aspect of the present invention is applied to a test system for testing a battery control system, the test system comprising a hardware-in-the-loop simulation platform, a test control module, a fault injection module and a battery model, the test control module, the fault injection module and the battery model are all connected to the hardware-in-the-loop simulation platform, the hardware-in-the-loop simulation platform is connected to the battery control system, and the fault injection module is configured to inject faults into the battery model; the test method for a battery control system comprises:
[0008] Control the operation of the battery model and control the fault injection module to inject fault signals into the battery model to simulate fault events;
[0009] In the event of a fault, the control test control module obtains operational data of the battery model;
[0010] Determine whether the battery control system detects a fault event and responds;
[0011] When obtaining a response instruction output by the battery control system in response to a fault event, taking protective measures for the battery model according to the response instruction, and controlling the test control module to obtain response data of the battery control system;
[0012] Output test results based on operational data and response data.
[0013] The test method of the battery control system according to the embodiment of the present invention has at least the following beneficial effects: the test method of the battery control system integrates the test control module, the fault injection module and the battery model into a hardware-in-the-loop simulation platform, and the hardware-in-the-loop simulation platform is connected to the battery control system to realize the simulation test of the battery control system. Through the hardware-in-the-loop testing technology, it is possible to simulate the real environment and test the response characteristics of the battery control system under various conditions. In the specific test, the battery model is controlled to operate, and the battery model interacts with the battery control system through the hardware-in-the-loop simulation platform. The construction of the battery model is more flexible and can simulate batteries of various types and specifications. The use of the battery model for testing can improve the test efficiency. During the operation of the battery model, the fault injection module is controlled to test the battery. The model injects a fault signal to simulate the situation where a fault event occurs in the battery model. The setting of the fault injection module is conducive to increasing the scope of the simulated fault and making the obtained test results more comprehensive and accurate. In the event of a fault, the control test control module obtains the operating data of the battery model, that is, monitors the working status of the battery model, and determines whether the battery control system can detect the fault event and respond to the fault event to verify the fault recognition rate of the battery control system. When the response instruction output by the battery control system is obtained, protective measures are taken for the battery model according to the response instruction, and the response data of the battery control model is obtained. The test method of the battery control system outputs the test results of the safety and performance of the battery control system according to the operating data and the response data, which is conducive to improving the test efficiency and accuracy.
[0014] According to some embodiments of the present invention, the test method of the battery control system further includes:
[0015] Collect battery operating data under various driving conditions and actual working conditions;
[0016] Perform data cleaning, data formatting and data compression on working data to obtain optimized data;
[0017] Build a battery model based on the optimization data;
[0018] Perform simulation tests on the battery model, obtain prediction data of the battery model in the simulation test, and compare the prediction data with the working data;
[0019] When the deviation between the predicted data and the working data is less than or equal to the preset deviation, the battery model is judged to be qualified;
[0020] Integrate qualified battery models into hardware-in-the-loop simulation platforms.
[0021] Specifically, when obtaining the battery model, the test method of the battery control system can perform a real vehicle test and collect the working data of the battery of the vehicle under various driving conditions and actual working conditions, so that the obtained working data is more comprehensive and accurate, and then the obtained working data is cleaned, formatted and compressed. Data cleaning can remove outliers and noise, data formatting can unify the data format and unit, and data compression can reduce the amount of data to improve processing efficiency, thereby obtaining optimized data. A battery model is constructed according to the optimized data, and the constructed battery model is simulated and tested for verification. The predicted data obtained by the simulation test is compared with the working data to verify whether the simulation degree of the constructed battery model is qualified. When the deviation between the predicted data and the working data is less than or equal to the preset deviation, that is, the calculated deviation is within the expected range, the battery model can be determined to be qualified, and then the qualified battery model can be integrated into the hardware-in-the-loop simulation platform. The battery model can simulate the behavior of the battery under different working conditions in real time, including changes in parameters such as voltage, current, and temperature. The test method of the battery control system is conducive to improving the simulation degree of the battery model and the accuracy of the output test results through the construction method of the battery model.
[0022] According to some embodiments of the present invention, controlling the battery model to operate and controlling the fault injection module to inject a fault signal into the battery model to simulate a fault event includes:
[0023] Control the battery model to charge;
[0024] The fault injection module is controlled to inject an overcharge signal into the battery model to simulate a battery overcharge event.
[0025] Specifically, the fault injection module can inject an overcharge signal into the battery model when the battery model is charging to simulate a battery overcharge event, that is, simulate a sudden abnormal situation of the battery model to evaluate the response capability and safety of the battery control system under abnormal conditions of the battery model. The test method of the battery control system simulates various complex fault events through the fault injection module, and conducts a comprehensive test on the fault response of the battery control system, which helps to discover and resolve potential safety hazards in the research and development stage and improve the safety of the battery control system.
[0026] According to some embodiments of the present invention, controlling the battery model to operate and controlling the fault injection module to inject a fault signal into the battery model to simulate a fault event includes:
[0027] Control the battery model to discharge;
[0028] The fault injection module is controlled to inject an over-discharge signal into the battery model to simulate a battery over-discharge event.
[0029] Specifically, the fault injection module can inject an over-discharge signal into the battery model when the battery model is discharging, so as to simulate a battery over-discharge event, that is, to simulate a sudden abnormal situation of the battery model, so as to evaluate the response capability and safety of the battery control system under abnormal conditions of the battery model. The test method of the battery control system simulates various complex fault events through the fault injection module, and conducts a comprehensive test on the fault response of the battery control system, which helps to discover and resolve potential safety hazards in the research and development stage and improve the safety of the battery control system.
[0030] According to some embodiments of the present invention, controlling the battery model to operate and controlling the fault injection module to inject a fault signal into the battery model to simulate a fault event includes:
[0031] Control the battery model to charge or discharge;
[0032] The fault injection module is controlled to inject a short-circuit signal into the battery model to simulate an internal or external short-circuit event of the battery.
[0033] Specifically, the fault injection module can inject a short-circuit signal into the battery model when the battery model is charging or discharging to simulate an internal or external short-circuit event in the battery, that is, to simulate a sudden abnormal situation of the battery model, so as to evaluate the response capability and safety of the battery control system under abnormal conditions of the battery model. The test method of the battery control system simulates various complex fault events through the fault injection module, and conducts a comprehensive test on the fault response of the battery control system, which helps to discover and resolve potential safety hazards in the research and development stage and improve the safety of the battery control system.
[0034] According to some embodiments of the present invention, the test method of the battery control system further includes:
[0035] Select the test objectives and test requirements for the battery model, formulate an automatic test plan for the test control module, and write an automatic test script based on the automatic test plan;
[0036] According to the automatic test plan, the test tools are integrated and the test environment is built. The test tools can automatically execute the automatic test scripts and record data in real time.
[0037] Considering that traditional battery control system testing methods usually use a large number of real vehicle tests and manual operations, which not only prolongs the testing cycle but also increases the testing cost, the testing method of the battery control system can, after selecting the test objectives and test requirements for the battery model, brake the corresponding automatic test plan for the test control module, and write an automatic test script according to the automatic test plan. According to the automatic test plan, the test tools are integrated and the test environment is built to improve the accuracy of the simulation. The test tools can automatically execute the automatic test scripts and record data in real time. The testing method of the battery control system realizes automatic testing of the battery control system through the control of the test control module, which can significantly shorten the test cycle and reduce errors caused by human factors.
[0038] According to some embodiments of the present invention, in a fault event, controlling the test control module to obtain operation data of the battery model includes:
[0039] In a fault event, the test control module is controlled to automatically execute an automatic test script, so that the test control module automatically obtains operation data, the operation data including at least one of temperature data, voltage change data, current change data and internal resistance change data.
[0040] When acquiring the operating data of the battery model, the test method of the battery control system can control the test control module to automatically execute the automatic test script to realize the automatic test of the battery model, and monitor the test progress and results in real time. That is, the test method of the battery control system can significantly shorten the test cycle and reduce the errors caused by human factors through the automatic test of the test control module. When executing the automatic test script, the test control module can automatically acquire the operating data of the battery model. The operating data includes at least one of temperature data, voltage change data, current change data and internal resistance change data, so as to make an accurate evaluation of the performance and safety of the battery control system according to the key indicator data of the battery model, which is conducive to improving the test efficiency and test accuracy of the battery control system.
[0041] According to some embodiments of the present invention, controlling the test control module to obtain response data of the battery control system includes:
[0042] The control test control module acquires the response time of the battery control system from detecting the fault event to outputting the response instruction, and the response data includes the response time;
[0043] The operating data when the battery control system outputs a response instruction is compared with the preset data to obtain the control accuracy of the battery control system, and the response data includes the control accuracy.
[0044] The test method of the battery control system controls the test control module to obtain the response data of the battery control system. The response data includes the response time, that is, the time from the battery control system detecting the fault event to the outputting of the response instruction. By extracting the response time, the performance of the battery control system and the response speed to the fault event can be effectively evaluated. The response data also includes the control accuracy of the battery control system. The operating data when the battery control system outputs the response instruction is compared with the preset data to obtain the control accuracy of the battery control system. By calculating the control accuracy, the performance of the battery control system and the handling performance of the fault event can be effectively evaluated, which is conducive to improving the test accuracy of the battery control system.
[0045] According to some embodiments of the present invention, outputting a test result according to the operation data and the response data includes:
[0046] Perform data processing on operational data and response data;
[0047] Acquire a first performance indicator from the operation data, the first performance indicator comprising at least one of a number of charge and discharge cycles and an energy efficiency, and compare the first performance indicator with a first preset indicator to obtain a first comparison result;
[0048] Acquire a second performance indicator from the response data, the second performance indicator including at least one of a response time of the battery control system from detecting a fault event to outputting a response instruction, a control accuracy of the battery control system, and a fault recognition rate, and compare the second performance indicator with a second preset indicator to obtain a second comparison result;
[0049] A test report is outputted according to the first performance indicator, the second performance indicator, the first comparison result and the second comparison result.
[0050] Specifically, after the test method of the battery control system obtains the operation data and the response data, the operation data and the response data can be first processed to improve the accuracy of the data. A more critical first performance indicator can be calculated or extracted from the operation data, and the first performance indicator includes at least one of the number of charge and discharge cycles and the energy efficiency. The first performance indicator is compared with the first preset indicator to obtain a first comparison result. A more critical second performance indicator can be calculated or extracted from the response data. The second performance indicator includes at least one of the response time of the battery control system from detecting a fault event to outputting a response instruction, the control accuracy of the battery control system, and the fault recognition rate. The second performance indicator is compared with the second preset indicator to obtain a The second comparison result, the test method of the battery control system outputs a test report according to the first performance indicator, the second performance indicator, the first comparison result and the second comparison result. After obtaining the key first performance indicator and the second performance indicator, the test method of the battery control system can conduct an in-depth evaluation of the first performance indicator and the second performance indicator. By comparing with the preset first preset indicator and the second preset indicator, it can be determined whether the battery control system meets the standards in various performance indicators, and combined with the working status of the battery model and the response of the battery control system to comprehensively evaluate the performance and safety of the battery control system. The test method of the battery control system can automatically output a detection report to assist the development of the staff, which is conducive to improving the test efficiency.
[0051] A test system according to an embodiment of the second aspect of the present invention is applied to test a battery control system, comprising:
[0052] Hardware-in-the-loop simulation platform, connected to the battery control system;
[0053] Battery model, connected to the hardware-in-the-loop simulation platform;
[0054] A fault injection module, connected to the hardware-in-the-loop simulation platform, is configured to inject faults into the battery model to simulate a fault event;
[0055] A test control module connected to the hardware-in-the-loop simulation platform and configured to obtain operation data of the battery model and response data of the battery control system in response to the fault event in the event of a fault;
[0056] The data analysis module is configured to output a test result according to the operation data and the response data.
[0057] The test system according to the embodiment of the present invention has at least the following beneficial effects: the test system integrates the test control module, the fault injection module, the battery model and the data analysis module into a hardware-in-the-loop simulation platform, and the hardware-in-the-loop simulation platform is connected to the battery control system to realize the simulation test of the battery control system. Through the hardware-in-the-loop testing technology, it is possible to simulate the real environment and test the response characteristics of the battery control system under various conditions. In a specific test, the test control module can control the operation of the battery model, and the battery model interacts with the battery control system through the hardware-in-the-loop simulation platform. The construction of the battery model is more flexible and can simulate batteries of various types and specifications. The use of the battery model for testing can improve the test efficiency. During the operation of the battery model, the fault injection module can The model injects fault signals to simulate the situation where the battery model generates a fault event. The setting of the fault injection module is conducive to increasing the scope of simulated faults and making the obtained test results more comprehensive and accurate. In a fault event, the test control module obtains the operating data of the battery model, that is, monitors the working status of the battery model, and determines whether the battery control system can detect the fault event and respond to the fault event to verify the fault recognition rate of the battery control system. When obtaining the response instruction output by the battery control system, the test control module takes protective measures for the battery model according to the response instruction and obtains the response data of the battery control model. The data analysis module can output the test results of the safety and performance of the battery control system according to the operating data and the response data, which is conducive to improving the test efficiency and accuracy.
[0058] According to the computer-readable storage medium of the embodiment of the third aspect of the present invention, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the test method of the battery control system as shown in any one of the first aspect.
[0059] The computer-readable storage medium according to the embodiment of the present invention has at least the following beneficial effects: the computer executable instructions are used to enable the computer to execute the test method of the battery control system as shown in any one of the first aspects, the test method of the battery control system integrates the test control module, the fault injection module and the battery model into a hardware-in-the-loop simulation platform, and the hardware-in-the-loop simulation platform is connected to the battery control system to realize the simulation test of the battery control system. Through the hardware-in-the-loop testing technology, the real environment can be simulated and the response characteristics of the battery control system under various conditions can be tested. In the specific test, the battery model is controlled to operate, and the battery model interacts with the battery control system through the hardware-in-the-loop simulation platform. The construction of the battery model is more flexible and can simulate batteries of various types and specifications. The use of the battery model for testing can improve the test efficiency. During the operation of the model, the fault injection module is controlled to inject a fault signal into the battery model to simulate the situation where the battery model generates a fault event. The setting of the fault injection module is conducive to increasing the scope of simulated faults and making the obtained test results more comprehensive and accurate. In the event of a fault, the test control module is controlled to obtain the operation data of the battery model, that is, to monitor the working status of the battery model, to determine whether the battery control system can detect the fault event and respond to the fault event, so as to verify the fault recognition rate of the battery control system. When the response instruction output by the battery control system is obtained, protective measures are taken for the battery model according to the response instruction, and the response data of the battery control model is obtained. The test method of the battery control system outputs the test results of the safety and performance of the battery control system according to the operation data and the response data, which is conducive to improving the test efficiency and accuracy.
[0060] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The present invention will be further described below with reference to the accompanying drawings and embodiments, wherein:
[0062] Figure 1 A schematic diagram of the structure of a test system according to an embodiment of the present invention;
[0063] Figure 2 A schematic diagram of a flow chart of a battery model construction in a battery control system testing method according to an embodiment of the present invention;
[0064] Figure 3 A schematic diagram of an automatic test flow of a test method for a battery control system according to an embodiment of the present invention;
[0065] Figure 4 A schematic diagram of a flow chart of analyzing data in a test method of a battery control system according to an embodiment of the present invention;
[0066] Figure 5 A flow chart of a method for testing a battery control system according to an embodiment of the present invention;
[0067] Figure 6 A specific flow chart of a battery model construction in a battery control system testing method according to an embodiment of the present invention;
[0068] Figure 7 A specific flow chart of a test method for a battery control system in a simulation of battery overcharging according to an embodiment of the present invention;
[0069] Figure 8 A specific flow chart of a test method for a battery control system in a simulation of battery over-discharge according to an embodiment of the present invention;
[0070] Fig. 9 A specific flow chart of a battery control system test method in a simulation of a battery short circuit according to an embodiment of the present invention;
[0071] Fig.10 A specific flow chart of automatic testing of a test control module of a test method for a battery control system according to an embodiment of the present invention;
[0072] Fig.11 A specific flow chart of obtaining response data of a test method for a battery control system according to an embodiment of the present invention;
[0073] Fig.12 The present invention is a specific flow chart of data analysis of a battery control system testing method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0074] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0075] In the description of the present invention, it should be understood that descriptions involving orientation, such as orientation or positional relationship indicated as up, down, etc., are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0076] In the description of the present invention, "a plurality" means more than two. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0077] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0078] In the related art, similar test schemes mainly focus on using hardware-in-the-Loop (HIL) technology to simulate the working environment and state of the battery control system, so as to perform performance and safety tests on the battery control system. It mainly includes a simulated battery similar to the actual battery. The simulated battery can simulate the charging and discharging process of the battery under various conditions, as well as the changes in the battery state. The test schemes of the related art have at least the following defects:
[0079] 1. Limitations of simulation accuracy: Although simulated batteries are constantly being improved, under certain extreme or complex working conditions, the simulation accuracy is still difficult to meet actual needs, resulting in a large deviation between the test results and the actual situation.
[0080] 2. Limitations of test scenarios: Related test schemes often focus on common or preset test scenarios, and the testing of unknown or rare fault scenarios is not sufficient, resulting in poor response of the battery control system to certain abnormal situations in actual applications.
[0081] 3. Limitations of real-time and interactivity: Real-time and interactivity are two important performance indicators when conducting hardware-in-the-loop testing. When processing large amounts of data or performing complex calculations, related test solutions have the defect of insufficient real-time performance, and there are also large delays or errors in the interaction with the actual battery control system.
[0082] Reference Figure 1 As shown, based on the above defects, an embodiment of the present invention proposes a test system for testing a battery control system to improve the test efficiency and accuracy, and provide more solid support for the research and development and application of the battery control system.
[0083] Reference Figure 1 As shown, specifically, the test system includes: a hardware-in-the-loop simulation platform, a test control module, a battery model, a fault injection module and a data analysis module. Among them, the test control module, the battery model, the fault injection module and the data analysis module are all integrated in the hardware-in-the-loop simulation platform, and the hardware-in-the-loop simulation platform can be connected to the battery control system through an interface to realize the signal connection between the battery model and the battery control system.
[0084] Reference Figure 1As shown, the hardware-in-the-loop simulation platform is used to provide a highly simulated test environment. The battery model and the fault injection module can interact with the actual battery control system in real time through the hardware-in-the-loop simulation platform. The hardware-in-the-loop simulation platform integrates the battery model and the fault injection module, and realizes the transmission of data and the reception of control instructions through the interface connected to the actual battery control system to realize the simulation test of the battery control system. Through the hardware-in-the-loop testing technology, it can simulate the real environment and test the response characteristics of the battery control system under various conditions.
[0085] Reference Figure 1 As shown in the figure, the battery model is constructed based on the electrical and thermal characteristics of the actual vehicle battery, and can simulate the changes in the voltage, current, temperature and other parameters of the actual vehicle battery in real time. By adjusting the parameters of the battery model, different types and specifications of batteries can be simulated. The battery model of the test system can be tested based on the working data of the actual vehicle under various driving conditions and working conditions.
[0086] Reference Figure 1 As shown, when building a battery model, the test system can conduct real vehicle tests and collect working data of actual vehicle batteries under various driving conditions and working conditions to make the acquired working data more comprehensive and accurate, and then perform data cleaning, data formatting and data compression processing on the acquired working data. Data cleaning can remove outliers and noise, data formatting can unify data formats and units, and data compression can reduce the amount of data to improve processing efficiency, thereby obtaining optimized data.
[0087] Reference Figure 1 As shown, the test system constructs a battery model according to the optimization data, performs simulation tests to verify the constructed battery model, and compares the predicted data obtained through the simulation test with the working data of the actual vehicle battery to verify the simulation degree of the constructed battery model. When the deviation between the predicted data and the working data is less than or equal to the preset deviation, that is, the calculated deviation is within the expected range, the battery model can be judged to be qualified, and then the qualified battery model is integrated into the hardware-in-the-loop simulation platform. The battery model can simulate the behavior of the battery under different working conditions in real time, including changes in parameters such as voltage, current, and temperature. The test system is conducive to improving the simulation degree of the battery model and simulating the simulation accuracy under various extreme and complex working conditions, reducing the deviation between the test results and the actual situation, and improving the accuracy of the output test results. The use of battery models for testing can improve test efficiency, shorten the product development cycle, enable products to be brought to market faster, and help companies seize market opportunities and enhance market competitiveness.
[0088] Reference Figure 1As shown, the fault injection module is used to inject various fault signals into the battery model, thereby simulating various battery fault events, and evaluating the safety and performance of the battery control system by testing whether the battery control system can detect the abnormal conditions of the battery model and respond. The test system is conducive to increasing the scope of simulated faults through the setting of the fault injection module, so as to test various abnormal conditions of the battery model, making the test results more comprehensive and accurate, which is helpful to discover and solve potential safety hazards in the research and development stage and improve the safety of the battery control system.
[0089] Reference Figure 1 As shown, the test control module is responsible for the control and management of the entire test process. It can set the test sequence and parameters, start and stop the test, and collect test data in real time. The test control module interacts with the hardware-in-the-loop simulation platform, battery model, fault injection module and data analysis module to ensure that the test is carried out according to the set process. The test system can realize automatic testing of the battery control system through the setting of the test control module to reduce the interference caused by human factors.
[0090] Reference Figure 1 As shown, the data analysis module is used to process and analyze the test data. The data analysis module receives data from the test control module, extracts or calculates key performance indicators, such as response time, control accuracy, fault recognition rate, etc. By comparing the key performance indicators with the preset safety thresholds and performance standards, the data analysis module can evaluate the performance and safety of the battery control system and generate a corresponding test report.
[0091] Reference Figure 1 As shown in the figure, in the battery control system test based on hardware-in-the-loop technology, the test control module is not only responsible for setting the test sequence and parameters, starting and stopping the test, but also collecting test data in real time, and incorporating elements of automatic testing in the process, greatly improving the test efficiency and accuracy. The test system uses automatic testing to reduce human intervention and realizes automatic test execution and result analysis. The test control module can automatically execute the preset test sequence and automatically record and analyze the test data by integrating automatic testing tools and methods.
[0092] The test system can at least achieve the following beneficial effects:
[0093] 1. Improve test accuracy and reliability
[0094] The test system provided in the embodiment of the present invention can more accurately evaluate the performance and safety of the battery control system by simulating real environments and fault conditions, which helps to discover and solve potential problems in the research and development stage and improve the quality and reliability of the product.
[0095] 2. Reduce R&D risks and costs
[0096] By fully testing the battery control system at an early stage, the test system provided by the embodiment of the present invention helps to reduce the failure rate in the later actual vehicle testing, thereby reducing the risk and cost of research and development. At the same time, the test control module can realize automatic testing, which can reduce the need for manual operation and further reduce the testing cost.
[0097] 3. Accelerate product development process
[0098] The test system provided by the embodiment of the present invention improves test efficiency and accuracy, shortens the product development cycle, enables products to be brought to market faster, and helps enterprises seize market opportunities and improve market competitiveness.
[0099] In summary, the test system provided in the embodiment of the present invention tests the performance and safety of the battery control system based on hardware-in-the-loop technology, which solves key issues such as real environment simulation, system safety and fault response, test cycle and cost, and brings beneficial effects such as improving test accuracy and reliability, reducing R&D risks and costs, and accelerating product development process.
[0100] Reference Figures 1 to 12 As shown, a test method of a battery control system according to an embodiment of the present invention is applied to the test system shown in the above embodiment. The test method of the battery control system comprises the following steps:
[0101] Step S100, controlling the battery model to operate, and controlling the fault injection module to inject a fault signal into the battery model to simulate a fault event;
[0102] Step S200, in the event of a fault, controlling the test control module to obtain operation data of the battery model;
[0103] Step S300, determining whether the battery control system detects a fault event and responds;
[0104] Step S400, when obtaining a response instruction output by the battery control system in response to a fault event, taking protective measures for the battery model according to the response instruction, and controlling the test control module to obtain response data of the battery control system;
[0105] Step S500: outputting the test result according to the operation data and the response data.
[0106] Considering that the safety of the battery control system is a key factor in ensuring the safety of the vehicle and passengers, however, traditional testing methods often fail to cover all possible failure scenarios and cannot fully evaluate the response capabilities of the battery control system under abnormal conditions.
[0107] Reference Figure 1 and Figure 5As shown, in step S100, the hardware-in-the-loop simulation platform can control the operation of the battery model to simulate various working conditions of the real vehicle model, such as charging, discharging, etc. During the operation of the battery model, the test method of the battery control system can control the fault injection module to inject fault signals into the battery model to simulate various fault events. The setting of the fault injection module is conducive to increasing the scope of simulated faults, making the obtained test results more comprehensive and accurate, and helping to reduce the failure rate in the later real vehicle testing, thereby reducing R&D risks and costs. The test method of the battery control system uses the flexible fault injection mechanism of the fault injection module to make the test closer to the actual operating environment, thereby improving the accuracy and effectiveness of the test.
[0108] Reference Figure 1 and Figure 5 As shown, the test method of the battery control system provided in the embodiment of the present invention can simulate various complex fault conditions through the cooperation of the hardware-in-the-loop simulation platform and the fault injection module, and comprehensively test the fault response of the battery control system, which is helpful to discover and solve potential safety hazards in the research and development stage and improve the safety of the battery control system.
[0109] Reference Figure 1 and Figure 5 As shown, in step S200 and step S300, in the event of a fault, the control test control module obtains the operating data of the battery model, that is, monitors the working status of the battery model, determines whether the battery control system can detect the fault event and respond to the fault event, so as to verify the fault recognition rate of the battery control system.
[0110] Traditional battery control system testing methods usually require a lot of real vehicle testing and manual operations, which not only prolongs the testing cycle but also increases the testing cost. At the same time, due to the limitations of the testing scenarios, traditional testing methods often cannot cover all testing requirements.
[0111] Reference Figure 1 and Figure 5 As shown, in step S400 and step S500, when the response instruction output by the battery control system is obtained, protective measures are taken for the battery model according to the response instruction, and the response data of the battery control model is obtained, and the safety and performance output test results of the battery control system are output according to the operation data and the response data, which is beneficial to improve the test efficiency and accuracy. By improving the test efficiency and accuracy, it is beneficial to shorten the product development cycle, enable products to be brought to market faster, and help enterprises seize market opportunities and enhance market competitiveness.
[0112] Reference Figure 1 and Figure 5As shown, the battery control system test method provided by the embodiment of the present invention can realize automatic testing of the battery control system through real-time interaction between the test control module and the battery model, fault injection module, data analysis module and hardware-in-the-loop simulation platform, significantly shortening the test cycle. At the same time, the battery control system test method improves the test coverage and reduces the test cost by simulating multiple test scenarios.
[0113] Reference Figure 1 , Figure 2 and Figure 6 As shown, it is understandable that, considering the development process of the battery control system, traditional testing methods are difficult to fully simulate the complex conditions that the battery is subjected to in the actual working environment, such as extreme temperature, humidity changes, and vibration. These factors have a significant impact on the performance and safety of the battery. Therefore, the lack of a test method that simulates the real environment will lead to distorted test results and fail to accurately evaluate the performance of the battery control system. The test method of the battery control system also includes the following steps:
[0114] Step S610, collecting operating data of the battery of the vehicle under various driving conditions and actual working conditions;
[0115] Step S620, performing data cleaning, data formatting and data compression processing on the working data to obtain optimized data;
[0116] Step S630, constructing a battery model according to the optimization data;
[0117] Step S640, performing a simulation test on the battery model, obtaining predicted data of the battery model in the simulation test, and comparing the predicted data with the working data;
[0118] Step S650, when the deviation between the predicted data and the working data is less than or equal to the preset deviation, the battery model is determined to be qualified;
[0119] Step S660, integrating the qualified battery model into the hardware-in-the-loop simulation platform.
[0120] Reference Figure 1 , Figure 2 and Figure 6 As shown, in step S610, the test method of the battery control system needs to collect the working data of the battery and its control system in a real vehicle environment, and record the working data such as the working status, voltage, current and temperature of the vehicle's battery in real time through the data acquisition equipment.
[0121] Reference Figure 1 , Figure 2 and Figure 6As shown, the test method of the battery control system also needs to collect the working data of the vehicle under different driving conditions and working conditions to ensure the comprehensiveness and representativeness of the working data.
[0122] Reference Figure 1 , Figure 2 and Figure 6 As shown, in step S620, considering that the collected original working data often contains noise, abnormal values or redundant signals, it is necessary to pre-process the acquired working data. The test method of the battery control system performs data cleaning, data formatting and data compression on the acquired working data. Data cleaning can remove abnormal values and noise, data formatting can unify data formats and units, and data compression can reduce the amount of data to improve processing efficiency, thereby obtaining optimized data.
[0123] Reference Figure 1 , Figure 2 and Figure 6 As shown, the test method of the battery control system preprocesses the working data to make the obtained optimization data cleaner and more regular, making the optimization data more suitable for subsequent modeling and analysis.
[0124] Reference Figure 1 , Figure 2 and Figure 6 As shown, in step S630, the test method of the battery control system is based on the preprocessed optimization data and can construct a battery model. The accuracy and reliability of the model are crucial for subsequent simulation tests, so it is necessary to select appropriate modeling methods and parameters.
[0125] It should be noted that the test method of the battery control system usually involves the construction of a battery model using statistical methods, machine learning algorithms or physical principles to fit data, thereby generating a battery model that can describe the battery behavior.
[0126] Reference Figure 1 , Figure 2 and Figure 6 As shown, in step S640 and step S650, the test method of the battery control system needs to verify the constructed model to ensure its accuracy and reliability.
[0127] Reference Figure 1 , Figure 2 and Figure 6 As shown, specifically, the test method of the battery control system compares the predicted data obtained through simulation testing with the working data to verify the simulation degree of the constructed battery model. When the deviation between the predicted data and the working data is less than or equal to the preset deviation, that is, the calculated deviation is within the expected range, the battery model can be judged to be qualified.
[0128] Reference Figure 1 , Figure 2 and Figure 6 As shown, in step S660, the battery model that has been verified and optimized for the test method of the battery control system can be integrated into the hardware-in-the-loop simulation platform. During the simulation process, the battery model can simulate the behavior of the actual vehicle battery under different conditions and interact with the actual battery control system, so as to comprehensively test the performance and safety of the battery control system without directly manipulating the actual battery.
[0129] Reference Figure 1 , Figure 2 and Figure 6 As shown, the test method of the battery control system provided in the embodiment of the present invention constructs a highly simulated battery model based on the electrical characteristics, thermal characteristics and aging mechanism of the actual vehicle battery. The battery model can simulate the behavior of the battery under different working conditions in real time, including changes in parameters such as voltage, current, and temperature.
[0130] Reference Figure 1 , Figure 2 and Figure 6 As shown, during the test, the battery model transmits the simulated battery status information to the hardware-in-the-loop simulation platform, which then passes it to the actual battery control system. The battery model and the hardware-in-the-loop simulation platform can be continuously updated and optimized to adapt to new testing requirements and technologies, so that the battery model is as close to the actual vehicle battery as possible.
[0131] It should be noted that in the simulation test of the test method of the battery control system, if the deviation between the predicted data and the actual working data is greater than the preset deviation, it is determined that the model needs to be optimized and adjusted to improve the prediction performance of the battery model.
[0132] Reference Figure 1 and Figure 7 As shown, it is understandable that the fault injection module is responsible for simulating various fault conditions inside or outside the battery, such as overcharge, over discharge, short circuit, etc. The fault injection module can inject fault signals into the battery model at a specific time according to the test requirements to trigger an abnormal state. This fault simulation can help the test system evaluate the responsiveness and safety of the battery control system under abnormal conditions.
[0133] Reference Figure 1 and Figure 7 As shown, the test method of the battery control system controls the battery model to operate in step S100, and controls the fault injection module to inject a fault signal into the battery model to simulate a fault event, including the following steps:
[0134] Step S110, controlling the battery model to charge;
[0135] Step S120 , controlling the fault injection module to inject an overcharge signal into the battery model to simulate a battery overcharge event.
[0136] Reference Figure 1 and Figure 7 As shown, in step S110 and step S120, the test method of the battery control system simulates a battery overcharge fault event through a fault injection module, that is, the voltage of the simulated battery model exceeds its design upper limit.
[0137] Reference Figure 1 and Figure 7 As shown, the test method of the battery control system cooperates with the test control module to determine whether the battery control system can detect and respond in time to cut off the charging circuit or take other protective measures to prevent the battery model from being damaged by overcharging or causing risks such as fire.
[0138] Reference Figure 1 and Figure 7 As shown, the test method of the battery control system records the response time of the battery control system from detecting an overcharge fault event to outputting a response instruction, as well as operating data such as temperature and voltage changes of the battery model during the overcharge process, and evaluates the performance and reliability of the overcharge protection function of the battery control system by comparing with the preset safety threshold.
[0139] Reference Figure 1 and Figure 7 As shown, the test method of the battery control system simulates various complex fault events through a fault injection module, and comprehensively tests the fault response of the battery control system, which helps to discover and resolve potential safety hazards in the research and development stage and improve the safety of the battery control system.
[0140] Reference Figure 1 and Figure 8 As shown, the test method of the battery control system controls the battery model to operate in step S100, and controls the fault injection module to inject a fault signal into the battery model to simulate a fault event, including the following steps:
[0141] Step S130, controlling the battery model to discharge;
[0142] Step S140, controlling the fault injection module to inject an over-discharge signal into the battery model to simulate a battery over-discharge event.
[0143] Reference Figure 1 and Figure 8 As shown, in step S130 and step S140, the test method of the battery control system simulates a battery over-discharge fault event through a fault injection module, that is, the power of the battery model is exhausted to below its design lower limit.
[0144] Reference Figure 1 and Figure 8 As shown, the test method of the battery control system cooperates with the test control module to determine whether the battery control system can detect and respond in time to cut off the discharge circuit or enter a low power consumption mode to prevent the battery from being irreversibly damaged due to over-discharge.
[0145] Reference Figure 1 and Figure 8 As shown, the test method of the battery control system records the response time of the battery control system from detecting an over-discharge fault event to outputting a response instruction, as well as data such as the voltage and internal resistance change of the battery model of the over-discharge event, and evaluates the performance and reliability of the over-discharge protection function of the battery control system by comparing with the preset safety threshold.
[0146] Reference Figure 1 and Figure 8 As shown, the test method of the battery control system simulates various complex fault events through a fault injection module, and comprehensively tests the fault response of the battery control system, which helps to discover and resolve potential safety hazards in the research and development stage and improve the safety of the battery control system.
[0147] Reference Figure 1 and Fig. 9 As shown, the test method of the battery control system controls the battery model to operate in step S100, and controls the fault injection module to inject a fault signal into the battery model to simulate a fault event, including the following steps:
[0148] Step S150, controlling the battery model to charge or discharge;
[0149] Step S160, controlling the fault injection module to inject a short-circuit signal into the battery model to simulate an internal or external short-circuit event of the battery.
[0150] Reference Figure 1 and Fig. 9 As shown, in step S150 and step S160, the test method of the battery control system simulates an event of a short circuit inside or outside the battery through a fault injection module.
[0151] Reference Figure 1 and Fig. 9 As shown, the test method of the battery control system in conjunction with the test control module can determine whether the battery control system can quickly detect and respond to cut off related circuits or take other safety measures to prevent risks such as high temperature and sparks caused by short circuits.
[0152] Reference Figure 1 and Fig. 9As shown, the test method of the battery control system records the response time of the battery control system from detecting a short circuit fault event to outputting a response instruction, as well as data such as the current and temperature changes of the battery model during a short circuit event, and evaluates the performance and reliability of the short circuit protection function of the battery control system by comparing with the preset safety threshold.
[0153] Reference Figure 1 and Fig. 9 As shown, the test method of the battery control system simulates various complex fault events through a fault injection module, and comprehensively tests the fault response of the battery control system, which helps to discover and resolve potential safety hazards in the research and development stage and improve the safety of the battery control system.
[0154] Reference Figure 1 , Figure 3 and Fig.10 As shown, it is understandable that considering that the traditional battery control system testing method usually requires a lot of real vehicle testing and manual operation, it not only prolongs the test cycle, but also increases the test cost. The test control module of the test system is responsible for the control and management of the entire test process, and can set the test sequence and parameters, start and stop the test, and collect test data in real time. The test control module interacts with the hardware-in-the-loop simulation platform, battery model, and fault injection module to ensure that the test is carried out according to the predetermined process.
[0155] Reference Figure 1 , Figure 3 and Fig.10 As shown in the figure, in the battery control system test based on hardware-in-the-loop technology, the test control module is not only responsible for setting the test sequence and parameters, starting and stopping the test, but also collecting test data in real time. In this process, elements of automatic testing are integrated, which greatly improves the test efficiency and accuracy. The automatic testing of the test control module is conducive to reducing human intervention and realizing the automatic execution and result analysis of the test.
[0156] Reference Figure 1 , Figure 3 and Fig.10 As shown, the test method of the battery control system also includes the following steps:
[0157] Step S710, selecting the test target and test requirements for the battery model, formulating an automatic test plan for the test control module, and writing an automatic test script according to the automatic test plan;
[0158] Step S720, integrating the test tools and building the test environment according to the automatic test plan, the test tools can automatically execute the automatic test scripts and record data in real time.
[0159] In step S710, the test control module needs to formulate a detailed automatic test plan according to the test objectives and requirements. The automatic test plan should clearly define the test object, purpose, content and method to ensure the comprehensiveness and effectiveness of the automatic test.
[0160] Reference Figure 1 , Figure 3 and Fig.10 As shown, the test method of the battery control system is based on the automatic test plan, and the test control module needs to write a corresponding automatic test script. The automatic test script should be able to simulate the actual test scenario, automatically perform test operations, and collect test data.
[0161] Reference Figure 1 , Figure 3 and Fig.10 As shown, in step S720, the test control module needs to integrate a suitable automatic test tool. The automatic test tool should have a strong test execution capability, be able to automatically execute automatic test scripts, and record test data in real time.
[0162] Reference Figure 1 , Figure 3 and Fig.10 As shown, in order to ensure the smooth progress of automatic testing, the test control module also needs to build a corresponding automatic testing environment, including the configuration of necessary hardware, software and network environment to ensure the stability and consistency of the test environment.
[0163] Reference Figure 1 , Figure 3 and Fig.10 As shown, after selecting the test objectives and test requirements for the battery model, the test method of the battery control system can brake the corresponding automatic test plan for the test control module, and write an automatic test script according to the automatic test plan. According to the automatic test plan, the test tool is integrated and the test environment is built to improve the accuracy of the simulation. The test tool can automatically execute the automatic test script and record the data in real time. The test method of the battery control system realizes automatic testing of the battery control system through the control of the test control module, which can significantly shorten the test cycle and reduce errors caused by human factors.
[0164] The data analysis module, test control module, fault injection module and battery model are all integrated into the hardware-in-the-loop simulation platform, realizing the automation and integration of the battery control system performance and safety test process. The integrated design improves test efficiency, reduces test costs, and makes the test process easier to manage and control.
[0165] Reference Figure 1 , Figure 3 and Fig.10As shown, it can be understood that the test method of the battery control system in step S200, in the event of a fault, controls the test control module to obtain the operating data of the battery model, including the following steps:
[0166] Step S210, in a fault event, controlling the test control module to automatically execute the automatic test script, so that the test control module automatically obtains operation data, the operation data including at least one of temperature data, voltage change data, current change data and internal resistance change data.
[0167] Reference Figure 1 , Figure 3 and Fig.10 As shown, in step S210, the test control module is responsible for automatically executing the test script and monitoring the test progress and results in real time. The test control module can automatically record the test data and generate a detailed test report after the test is completed. The test method of the battery control system can significantly shorten the test cycle and reduce errors caused by human factors through automatic testing of the test control module.
[0168] Reference Figure 1 , Figure 3 and Fig.10 As shown, the test control module can automatically obtain the operating data of the battery model when executing the automatic test script. The operating data includes at least one of temperature data, voltage change data, current change data and internal resistance change data, so as to make an accurate evaluation of the performance and safety of the battery control system based on the key indicator data of the battery model, which is conducive to improving the test efficiency and test accuracy of the battery control system.
[0169] Reference Figure 1 , Figure 3 and Fig.10 As shown, before the test starts, the test method of the battery control system sets the test sequence and parameters through the test control module. Then, the hardware-in-the-loop simulation platform is started, and the battery model starts to simulate the working state of the battery. During the test, the fault injection module injects fault signals into the battery model according to the set fault scenario to simulate the abnormal condition of the battery. After receiving the battery status information from the simulation platform, the actual battery control system makes corresponding control responses. The test control module collects test data in real time and transmits it to the data analysis module for processing and analysis. According to the data analysis results, the performance and safety of the battery control system are evaluated.
[0170] Reference Figure 1 , Figure 3 and Fig.10As shown, it is understandable that the test control module of the test method of the battery control system needs to conduct an in-depth analysis of the results of the automatic test, evaluate the performance and safety of the battery control system by comparing the preset safety thresholds and performance standards, and put forward corresponding improvement suggestions.
[0171] Reference Figure 1 , Figure 3 and Fig.10 As shown, the test control module of the test method of the battery control system needs to be automatically tested, maintained and optimized. As the functions of the battery control system are updated and changed, the test control module needs to maintain and update the automatic test script in a timely manner to ensure the effectiveness of the test. The test control module of the test method of the battery control system also needs to regularly review and reconstruct the automatic test script to improve the readability and maintainability of the code. The test control module works closely with the data analysis module to jointly realize the in-depth mining and analysis of test data.
[0172] Reference Figure 1 , Figure 3 and Fig.10 As shown in the figure, the test control module plays a core role in integrating automatic testing. It greatly improves the efficiency and accuracy of battery control system testing through functions such as automated execution of test sequences, real-time data acquisition and processing, automated fault injection and response analysis, and automatic test report generation.
[0173] Reference Figure 1 and Fig.11 As shown, it can be understood that the test method of the battery control system in step S400 controls the test control module to obtain the response data of the battery control system, including the following steps:
[0174] Step S410, controlling the test control module to obtain the response time of the battery control system from detecting a fault event to outputting a response instruction, the response data including the response time;
[0175] Step S420, comparing the operating data when the battery control system outputs the response instruction with the preset data to obtain the control accuracy of the battery control system, and the response data includes the control accuracy.
[0176] Reference Figure 1 and Fig.11As shown, in the test method of the battery control system, when the control test control module obtains the response data of the battery control system, the response data includes the response time, that is, the time from the battery control system detecting the fault event to the outputting of the response instruction. By extracting the response time, the performance of the battery control system and the response speed to the fault event can be effectively evaluated. The response data also includes the control accuracy of the battery control system. The operating data when the battery control system outputs the response instruction is compared with the preset data to obtain the control accuracy of the battery control system. By extracting the control accuracy, the performance of the battery control system and the handling performance of the fault event can be effectively evaluated, which is beneficial to improving the test accuracy of the battery control system.
[0177] It should be noted that the preset data includes a first range, a second range and a third range which increase in sequence. When the operating data when the battery control system outputs a response instruction falls within the first range, it can be determined that the control accuracy of the battery control system is relatively precise; when the operating data when the battery control system outputs a response instruction falls within the second range, it can be determined that the control accuracy of the battery control system is relatively moderate; when the operating data when the battery control system outputs a response instruction falls within the third range, it can be determined that the control accuracy of the battery control system is relatively poor and the risk of battery damage is high.
[0178] Reference Figure 1 , Figure 4 and Fig.12 As shown, it can be understood that the test method of the battery control system in step S500 further includes:
[0179] Step S510, processing the operation data and the response data;
[0180] Step S520, obtaining a first performance indicator from the operation data, the first performance indicator including at least one of the number of charge and discharge cycles and energy efficiency, and comparing the first performance indicator with a first preset indicator to obtain a first comparison result;
[0181] Step S530, obtaining a second performance indicator from the response data, the second performance indicator including at least one of a response time of the battery control system from detecting a fault event to outputting a response instruction, a control accuracy of the battery control system, and a fault recognition rate, and comparing the second performance indicator with a second preset indicator to obtain a second comparison result;
[0182] Step S540: output a test report according to the first performance indicator, the second performance indicator, the first comparison result, and the second comparison result.
[0183] Reference Figure 1 , Figure 4 and Fig.12As shown, in step S510, the test method of the battery control system can control the data analysis module to firstly process the operation data and the response data.
[0184] Reference Figure 1 , Figure 4 and Fig.12 As shown in Figure 1, data processing includes data cleaning and data formatting, that is, removing outliers, noise and duplicate data to ensure data accuracy and consistency. Data formatting is also a key step in preprocessing to facilitate subsequent data analysis and processing.
[0185] Reference Figure 1 , Figure 4 and Fig.12 As shown, in step S520, a more critical first performance indicator can be extracted or calculated from the operation data, the first performance indicator including the number of charge and discharge cycles and energy efficiency, and the first performance indicator is compared with a first preset indicator to obtain a first comparison result.
[0186] Reference Figure 1 , Figure 4 and Fig.12 As shown, the data analysis module of the test method of the battery control system will use statistical methods, machine learning algorithms or physical models to calculate or extract the specific value of the first performance indicator from the operating data.
[0187] Reference Figure 1 , Figure 4 and Fig.12 As shown, in step S530, a more critical second performance indicator can be extracted or calculated from the response data. The second performance indicator includes the response time of the battery control system from detecting a fault event to outputting a response instruction, the control accuracy and fault recognition rate of the battery control system, and the second performance indicator is compared with a second preset indicator to obtain a second comparison result.
[0188] Reference Figure 1 , Figure 4 and Fig.12 As shown, the data analysis module of the test method of the battery control system will use statistical methods, machine learning algorithms or physical models to calculate or extract the specific value of the second performance indicator from the operating data.
[0189] Reference Figure 1 , Figure 4 and Fig.12As shown, in step S540, the test method of the battery control system outputs a test report according to the first performance indicator, the second performance indicator, the first comparison result and the second comparison result. After the test method of the battery control system extracts the key first performance indicator and the second performance indicator, the first performance indicator and the second performance indicator can be deeply evaluated. By comparing with the preset first preset indicator and the second preset indicator, it can be determined whether the battery control system meets the standards in various performance indicators, and the working state of the battery model and the response of the battery control system are combined to comprehensively evaluate the performance and safety of the battery control system.
[0190] The data analysis module can process and analyze the large amount of data collected during the test, extract key performance indicators and safety parameters, provide strong data support for optimizing the battery control system, and help researchers gain a deeper understanding of the system's performance characteristics and safety bottlenecks.
[0191] Reference Figure 1 , Figure 4 and Fig.12 As shown, it can be understood that in step S500 of the test method for the battery control system, the data analysis module of the test method for the battery control system will automatically generate a detailed test report after completing the performance and safety evaluation.
[0192] Reference Figure 1 , Figure 4 and Fig.12 As shown in the figure, the report will include the statistical results of the test data, the specific values of the first performance indicator and the second performance indicator, the performance and safety evaluation conclusions, and possible improvement suggestions. The test report shows the performance and safety of the battery control system in a clear and intuitive way, providing testers with a comprehensive analysis of the test results.
[0193] Reference Figure 1 , Figure 4 and Fig.12 As shown, in order to ensure the integrity and traceability of the test data, the data analysis module of the test method of the battery control system will also be responsible for storing the processed data and test reports, so that testers can quickly locate and re-analyze historical data when needed.
[0194] The data analysis module of the battery control system test method provided by the embodiment of the present invention can realize comprehensive and in-depth processing and analysis of test data. The data analysis module provides testers with accurate and reliable test result analysis by extracting key performance indicators, evaluating performance and safety, and generating test reports. The data storage and backtracking functions of the data analysis module ensure the integrity and traceability of the test data, providing strong support for subsequent improvements and optimizations.
[0195] The test method of the battery control system uses the hardware-in-the-loop simulation platform as the central hub during the entire test process, and closely links the battery model, fault injection module, test control module, and data analysis module. The data interaction and control instruction transmission between the battery model, fault injection module, test control module, and data analysis module ensure the accuracy and efficiency of the test. Through the collaborative work of the battery model, fault injection module, test control module, and data analysis module, the test method of the battery control system can comprehensively evaluate the performance and safety of the battery control system, and provide strong support for the research and development and application of battery technology.
[0196] The computer-readable storage medium of some embodiments of the present invention stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the battery control system testing method shown in any of the above embodiments.
[0197] The computer executable instructions are used to enable the computer to execute the test method of the battery control system as shown in any of the above embodiments. The test method of the battery control system integrates the test control module, the fault injection module and the battery model into a hardware-in-the-loop simulation platform, and the hardware-in-the-loop simulation platform is connected to the battery control system to realize the simulation test of the battery control system. Through the hardware-in-the-loop testing technology, it is possible to simulate the real environment and test the response characteristics of the battery control system under various conditions. In the specific test, the battery model is controlled to operate, and the battery model interacts with the battery control system through the hardware-in-the-loop simulation platform. The construction of the battery model is more flexible and can simulate various types and specifications of batteries. The use of the battery model for testing can improve the test efficiency. During the operation of the battery model, the fault injection module is controlled to inject fault signals into the battery model to simulate the battery model. In the event of a fault event, the setting of the fault injection module is conducive to increasing the scope of simulated faults and making the obtained test results more comprehensive and accurate. In a fault event, the control test control module obtains the operating data of the battery model, that is, monitors the working status of the battery model, and determines whether the battery control system can detect the fault event and respond to the fault event to verify the fault recognition rate of the battery control system. When the response instruction output by the battery control system is obtained, protective measures are taken for the battery model according to the response instruction, and the response data of the battery control model is obtained. The test method of the battery control system outputs the test results of the safety and performance of the battery control system according to the operating data and the response data, which is conducive to improving the test efficiency and accuracy.
[0198] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0199] The present invention is described by flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0200] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0201] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0202] The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the above-described battery control system test method. Figures 5 to 12 The method steps in .
[0203] It is worth noting that since the computer-readable storage medium of an embodiment of the present invention can execute the test method of the battery control system of any of the above-mentioned embodiments, the specific implementation manner and technical effects of the computer-readable storage medium of an embodiment of the present invention can refer to the specific implementation manner and technical effects of the test method of the battery control system of any of the above-mentioned embodiments.
[0204] In addition, an embodiment of the present invention further provides a computer program product, including a computer program or a computer instruction, the computer program or the computer instruction is stored in a computer-readable storage medium, the processor of the computer device reads the computer program or the computer instruction from the computer-readable storage medium, and the processor executes the computer program or the computer instruction, so that the computer device executes the above-described battery control system test method. Exemplarily, the above-described Figures 5 to 12 The method steps in .
[0205] It is worth noting that since the computer program product of an embodiment of the present invention can execute the test method of the battery control system of any of the above-mentioned embodiments, the specific implementation manner and technical effects of the computer program product of an embodiment of the present invention can refer to the specific implementation manner and technical effects of the test method of the battery control system of any of the above-mentioned embodiments.
[0206] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0207] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present invention.
Claims
1. A test method for a battery control system, characterized in that: A test system for testing the battery control system, the test system comprising a hardware-in-the-loop simulation platform, a test control module, a fault injection module and a battery model, the test control module, the fault injection module and the battery model are all connected to the hardware-in-the-loop simulation platform, the hardware-in-the-loop simulation platform is connected to the battery control system, and the fault injection module is configured to inject faults into the battery model; a test method for the battery control system, comprising: Controlling the battery model to operate, and controlling the fault injection module to inject a fault signal into the battery model to simulate a fault event; In the event of the fault, controlling the test control module to obtain operation data of the battery model; determining whether the battery control system detects the fault event and responds; When obtaining a response instruction output by the battery control system in response to the fault event, taking protective measures for the battery model according to the response instruction, and controlling the test control module to obtain response data of the battery control system; A test result is output according to the operation data and the response data.
2. The method for testing a battery control system according to claim 1, characterized in that: The battery control system testing method further includes: Collect battery operating data under various driving conditions and actual working conditions; Performing data cleaning, data formatting and data compression processing on the working data to obtain optimized data; Constructing the battery model according to the optimization data; Performing a simulation test on the battery model, obtaining prediction data of the battery model in the simulation test, and comparing the prediction data with the working data; When the deviation between the predicted data and the working data is less than or equal to a preset deviation, the battery model is determined to be qualified; Integrate the qualified battery model into the hardware-in-the-loop simulation platform.
3. The battery control system testing method according to claim 1, characterized in that: The controlling the battery model to operate and controlling the fault injection module to inject a fault signal into the battery model to simulate a fault event includes: Controlling the battery model to charge; The fault injection module is controlled to inject an overcharge signal into the battery model to simulate a battery overcharge event.
4. The battery control system testing method according to claim 1, characterized in that: The controlling the battery model to operate and controlling the fault injection module to inject a fault signal into the battery model to simulate a fault event includes: Controlling the battery model to discharge; The fault injection module is controlled to inject an over-discharge signal into the battery model to simulate a battery over-discharge event.
5. The battery control system testing method according to claim 1, characterized in that: The controlling the battery model to operate and controlling the fault injection module to inject a fault signal into the battery model to simulate a fault event includes: Controlling the battery model to charge or discharge; The fault injection module is controlled to inject a short-circuit signal into the battery model to simulate an internal or external short-circuit event of the battery.
6. The battery control system testing method according to claim 1, characterized in that: The battery control system testing method further includes: Selecting the test objectives and test requirements for the battery model, formulating an automatic test plan for the test control module, and writing an automatic test script according to the automatic test plan; According to the automatic test plan, the test tools are integrated and the test environment is built. The test tools can automatically execute the automatic test scripts and record data in real time.
7. The method for testing a battery control system according to claim 6, characterized in that: In the event of a fault, controlling the test control module to obtain the operation data of the battery model includes: In the fault event, the test control module is controlled to automatically execute the automatic test script so that the test control module automatically obtains the operation data, wherein the operation data includes at least one of temperature data, voltage change data, current change data and internal resistance change data.
8. The battery control system testing method according to claim 1, characterized in that: The step of controlling the test control module to obtain response data of the battery control system includes: Controlling the test control module to obtain the response time of the battery control system from detecting the fault event to outputting the response instruction, wherein the response data includes the response time; The operation data when the battery control system outputs the response instruction is compared with preset data to obtain the control accuracy of the battery control system, and the response data includes the control accuracy.
9. The method for testing a battery control system according to claim 1, characterized in that: Outputting the test result according to the operation data and the response data includes: performing data processing on the operation data and the response data; Acquire a first performance indicator from the operation data, the first performance indicator comprising at least one of a number of charge and discharge cycles and an energy efficiency, and compare the first performance indicator with a first preset indicator to obtain a first comparison result; Acquire a second performance indicator from the response data, the second performance indicator comprising at least one of a response time of the battery control system from detecting the fault event to outputting the response instruction, a control accuracy of the battery control system, and a fault recognition rate, and compare the second performance indicator with a second preset indicator to obtain a second comparison result; A test report is output according to the first performance indicator, the second performance indicator, the first comparison result and the second comparison result.
10. A test system, used to test a battery control system, characterized in that: include: A hardware-in-the-loop simulation platform connected to the battery control system; A battery model connected to the hardware-in-the-loop simulation platform; A fault injection module, connected to the hardware-in-the-loop simulation platform, and configured to inject faults into the battery model to simulate a fault event; a test control module connected to the hardware-in-the-loop simulation platform and configured to obtain, in the event of the fault, operation data of the battery model and response data of the battery control system in response to the fault event; The data analysis module is configured to output a test result according to the operation data and the response data.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the battery control system testing method according to any one of claims 1 to 9.
Citation Information
Cited By
Short-circuit protection response monitoring control system based on battery charging and discharging
CN119471429A
Electric control automatic detection system and method based on modularization
CN121386705A
