A HIL test optimization method and system for BMS battery thermal management function
By simulating the BMS operating environment through HIL testing, the thermal management function of the BMS is verified and optimized. This solves the problems of high cost and security risks of traditional testing systems, and enables rapid and reliable verification and testing, thereby improving R&D efficiency.
Patent Information
- Application Number
- CN202410819284.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Existing BMS thermal management function testing is costly, difficult to operate, time-consuming, and poses security risks. Traditional physical testing systems cannot meet current needs.
The hardware-in-the-loop (HIL) testing method is adopted to verify the correctness of the BMS thermal management function by simulating the BMS operating environment. This includes setting up a simulated test environment, dividing test conditions and thermal management modes, obtaining test strategies, controlling the battery cells and cooling system, obtaining test results, and optimizing BMS performance.
It enables rapid, reliable, and secure verification of BMS thermal management functions, improves verification efficiency, solves the problems of high cost, difficult operation, and safety risks of traditional testing systems, and greatly improves product development efficiency.
Smart Images

Figure CN118777733B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of battery thermal management function testing and optimization technology for BMS, and particularly to a method and system for HIL testing and optimization of BMS battery thermal management function. Background Technology
[0002] The Battery System Management (BMS), acting as the "brain" of the power battery, is one of the three core technologies of new energy electric vehicles: electronic control, motor, and battery. Its main function is to intelligently manage and maintain each battery cell, prevent overcharging and over-discharging, extend battery life, and monitor battery status. The BMS is not only responsible for collecting multiple key battery parameters such as battery voltage, module temperature, system high voltage, and current, but also acts as a manager and actuator, responsible for energy calculation and output, battery life prediction, thermal balance, charging control, and high voltage safety. Its performance and reliability directly affect the operation of the battery system.
[0003] Battery thermal management is a crucial module within the Battery Management System (BMS). Both overheating and undercooling can degrade the performance of lithium-ion batteries. Therefore, most low-temperature batteries are heated to ensure normal discharge in ultra-low temperature environments. Conversely, lithium-ion batteries also require effective thermal management when discharging at room temperature. Thus, a battery thermal management system is essential for the lithium-ion battery system of electric vehicles, and a reliable and efficient thermal management system is of great significance for the reliable and safe application of electric vehicles.
[0004] In existing technologies, testing of BMS thermal management functions mostly adopts physical BMS testing methods. However, with the increasing demand for BMS in the industry, the requirements for BMS testing are also becoming more and more stringent. It is not only necessary to verify whether its functions are implemented correctly, but also to fully test the BMS in multi-dimensional scenarios. Traditional physical BMS testing systems are no longer able to meet the current testing needs of BMS due to their high cost, difficult operation, long time consumption, and even safety risks under some extreme working conditions.
[0005] In addition, Hardware in the Loop (HIL) testing technology, as a unique testing strategy, can perform repeatable tests on embedded control units (ECUs) in real-world environments, thereby enabling all-weather, all-scenario laboratory verification. This approach can not only significantly shorten product development cycles but also broaden the coverage of testing scenarios. Summary of the Invention
[0006] To address the shortcomings of the existing technology, this invention provides a HIL (Hardware-in-the-Loop) testing optimization method and system for BMS (Battery Management System) battery thermal management functions. Considering that the BMS hardware-in-the-loop testing method (i.e., HIL testing) can fully simulate the BMS operating environment, this invention designs an HIL testing system to fully simulate the BMS operating environment without using an actual battery system. This verifies the correctness of the BMS thermal management function, ensures that the thermal management function control logic is error-free, and thus enables rapid, reliable, and safe verification and testing of the BMS. This improves verification efficiency and optimizes BMS performance, solving the problems of high cost, difficult operation, long time consumption, and safety risks under some extreme conditions associated with traditional physical BMS testing systems.
[0007] In a first aspect, the present invention provides a method for optimizing HIL testing of BMS battery thermal management function.
[0008] A method for optimizing HIL testing of BMS battery thermal management function includes:
[0009] Set up a simulation test environment for BMS thermal management functions;
[0010] The test conditions are divided into charging and non-charging states, and the thermal management mode under each test condition is defined.
[0011] Different testing strategies are obtained based on the thermal management mode under each test condition;
[0012] The test control method for the simulated test environment is obtained. In the simulated test environment, the test control method is used to control the simulated models of cells, battery packs and cooling systems to execute the test strategies corresponding to the thermal management modes under each test condition, and to obtain the test results of the BMS thermal management function.
[0013] Based on the comparison between the test results and the expected test results, the BMS thermal management function is adjusted and optimized, and the testing and adjustment are repeated until the expected performance indicators are achieved.
[0014] A further technical solution involves connecting the BMS (Browser Management System) under test to the HIL (Hardware and Information Technology) test system. The HIL test system includes a HIL bench and a HIL host computer, which are connected via Ethernet. The HIL bench is used to simulate the BMS operating environment, and the HIL host computer is used to run test programs.
[0015] The HIL test bench includes a low-voltage programmable power supply, a high-voltage simulation box, a battery cell simulator, a temperature simulator, hardware I / O boards, and a CAN communication board. The controller under test (BMS) is connected to the HIL test bench via the CAN communication board for CAN communication, and simultaneously connected via the hardware I / O board for signal transmission.
[0016] A further technical solution is that the test conditions under the charging state include extreme high temperature charging, extreme low temperature charging, normal high temperature charging, and normal low temperature charging;
[0017] The test conditions under non-charging conditions include extreme high temperature driving, extreme low temperature driving, normal high temperature driving, and normal low temperature driving.
[0018] A further technical solution is that the thermal management mode includes a low-temperature heating mode, a high-temperature cooling mode, and a temperature difference control mode.
[0019] Further technical solutions involve obtaining different testing strategies based on the thermal management modes under various test conditions, including:
[0020] Under normal high-temperature driving conditions when not charging, the high-temperature cooling mode is used, and the corresponding testing strategy is as follows:
[0021] The actual output temperature of the battery cell is detected. When the actual maximum output temperature of the battery cell is greater than 35℃ but less than 40℃, thermal management is not activated, cooling is performed at 1 / 2 power, and the water pump is turned on at 1 / 2 flow rate. If the actual maximum output temperature of the battery cell is less than 30℃, the default state is entered.
[0022] Under normal low-temperature driving conditions when not charging, the test strategy using the low-temperature heating mode is as follows:
[0023] The system detects the actual output temperature of the battery cell. When the actual minimum output temperature of the battery cell is between -30℃ and -10℃, thermal management is activated and heating is performed at full power, while the water pump starts at full flow rate. If the actual minimum output temperature of the battery cell is greater than -10℃, the system enters the default state.
[0024] Further technical solutions also include:
[0025] The actual output temperature of the battery cell is detected, and the difference between the maximum and minimum actual output temperatures of the battery cell is used as the battery cell temperature difference value to determine whether it is in the default state.
[0026] In the default state, the temperature difference control mode is used, and the corresponding testing strategy is as follows:
[0027] When the temperature difference between the battery cells is greater than 3℃ and less than 7℃, the thermal management system will not activate heating or cooling, and the water pump will operate at half flow rate for uniform heating; when the temperature difference between the battery cells is greater than 7℃, the thermal management system will not activate heating or cooling, and the water pump will operate at full flow rate for uniform heating.
[0028] In a further technical solution, the thermal management mode also includes an extremely high temperature cooling mode and an extremely low temperature cooling mode;
[0029] Under extreme high-temperature driving conditions when not charging, the testing strategy using the extreme high-temperature cooling mode is as follows:
[0030] The actual output temperature of the battery cell is detected. When the maximum actual output temperature of the battery cell is greater than 55°C, thermal management is not activated and cooling is performed at full power.
[0031] Under extreme low-temperature driving conditions when not charging, the testing strategy using the extremely low-temperature heating mode is as follows:
[0032] The actual output temperature of the battery cell is detected. When the actual minimum output temperature of the battery cell is less than -35℃, thermal management is activated and full-power heating is performed.
[0033] In a further technical solution, the charging state is further divided into fast charging state and slow charging state;
[0034] Different test strategies are obtained for thermal management modes under different charging states and test conditions. The maximum and minimum temperatures for activating heating or cooling in each test strategy are different.
[0035] A further technical solution involves setting the cell voltage of the battery cell simulator, the temperature of the temperature simulator, the discharge current of the low-voltage programmable power supply and the high-voltage simulation box in the HIL test system during the testing process. At the same time, the test results of the BMS thermal management function are obtained, including the actual output temperature value of the cell, whether thermal management is requested to be turned on, heating power, and thermal management coolant flow rate.
[0036] Secondly, the present invention provides a HIL test optimization system for BMS battery thermal management function.
[0037] A HIL test optimization system for BMS battery thermal management function includes:
[0038] A module is set up to build a simulation test environment for the thermal management function of the BMS.
[0039] The segmentation module is used to segment the test conditions into charging and non-charging states, as well as the thermal management mode under each test condition.
[0040] The test strategy acquisition module is used to formulate different test strategies based on the thermal management mode under each test condition;
[0041] The test result acquisition module is used to acquire the test control method of the simulated test environment. In the simulated test environment, the module controls the simulated models of cells, battery packs and cooling systems to execute the test strategies corresponding to the thermal management modes under each test condition according to the test control method, and acquires the test results of the BMS thermal management function.
[0042] The BMS thermal management function adjustment and optimization module is used to adjust and optimize the BMS thermal management function based on the comparison between the test results and the expected test results. The test and adjustment are repeated until the expected performance indicators are achieved.
[0043] Thirdly, this disclosure also provides an electronic device, including a memory and a processor, and computer instructions stored in the memory and running on the processor, wherein the computer instructions, when executed by the processor, perform the steps of the method described in the first aspect.
[0044] Fourthly, this disclosure also provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, perform the steps of the method described in the first aspect.
[0045] The above one or more technical solutions have the following beneficial effects:
[0046] This invention provides a HIL (Hardware-in-the-Loop) test optimization method and system for BMS (Battery Management System) battery thermal management functions. Without using an actual battery system, it employs a hardware-in-the-loop (HIL) test to comprehensively simulate the BMS operating environment, thereby verifying the correctness of the BMS thermal management functions and ensuring the error-free control logic. This allows for rapid, reliable, and safe verification and testing of the BMS, improving verification efficiency. Based on this, BMS performance can be further adjusted and optimized. This invention, by using a hardware-in-the-loop test to simulate the BMS operating environment, enables rapid, reliable, safe, and effective verification and testing of BMS thermal management. It solves the problems of high cost, difficult operation, long processing time, and safety risks under extreme conditions associated with traditional physical BMS testing systems, greatly improving product development efficiency. Attached Figure Description
[0047] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0048] Figure 1 This is a flowchart illustrating the HIL test optimization method for the BMS battery thermal management function according to an embodiment of the present invention.
[0049] Figure 2 This is a schematic diagram illustrating the use of the HIL testing system to test the thermal management function of the BMS in an embodiment of the present invention.
[0050] Figure 3 This is a schematic diagram of the process for testing the thermal management function in the method described in the embodiment of the present invention;
[0051] Figure 4 This is a schematic diagram of the test strategy corresponding to the thermal management mode of the test condition under non-charging state in an embodiment of the present invention;
[0052] Figure 5This is a schematic diagram of the test strategy corresponding to the thermal management mode under the test conditions in the fast charging state in this embodiment of the invention;
[0053] Figure 6 This is a schematic diagram of the test strategy corresponding to the thermal management mode under the test conditions in the slow charging state in this embodiment of the invention. Detailed Implementation
[0054] It should be noted that the following detailed descriptions are exemplary and are intended only to describe specific embodiments and to provide further explanation of the invention, and are not intended to limit the scope of exemplary embodiments of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0055] Example 1
[0056] Considering that the BMS hardware-in-the-loop (HIL) testing scheme can comprehensively simulate the BMS operating environment, enabling rapid, reliable, safe, and effective BMS verification, and meeting the current BMS verification requirements of electric vehicles, this embodiment uses the HIL testing scheme to simulate the BMS operating environment for testing and verification of the BMS thermal management function. This embodiment proposes an optimized HIL testing method for the BMS battery thermal management function, such as... Figure 1 As shown, the specific steps include:
[0057] Set up a simulation test environment for BMS thermal management functions;
[0058] The test conditions are divided into charging and non-charging states, and the thermal management mode under each test condition is defined.
[0059] Different testing strategies are obtained based on the thermal management mode under each test condition;
[0060] The test control method for the simulated test environment is obtained. In the simulated test environment, the test control method is used to control the simulated models of cells, battery packs and cooling systems to execute the test strategies corresponding to the thermal management modes under each test condition, and to obtain the test results of the BMS thermal management function.
[0061] Based on the comparison between the test results and the expected test results, the BMS thermal management function is adjusted and optimized, and the testing and adjustment are repeated until the expected performance indicators are achieved.
[0062] The HIL test optimization method for the BMS battery thermal management function proposed in this embodiment will be described in more detail below.
[0063] Step S1: Set up a simulation test environment for the BMS thermal management function.
[0064] Currently, HIL testing systems can be divided into two types: the first type is suitable for single-controller HIL testing, such as VCU, MCU, and BMS, where the test object is a single controller, and only a controlled object model is built to simulate the single controller; the second type is suitable for joint HIL testing of the three core components of pure electric vehicles, realizing the joint testing of multiple controllers. In this embodiment, since only functional testing of the BMS is performed, the first type of HIL testing system is selected.
[0065] In practical applications, the HIL test system comprises three parts: the HIL host computer, the HIL bench hardware system and the controlled object model (referred to as the HIL bench), and the connected controller under test (i.e., the BMS controller). The HIL host computer communicates with the PXI chassis via TCP / IP. The PXI chassis acts as a lower-level real-time system, running the controlled object model, executing closed-loop model instructions, controlling various devices within the HIL bench, and interacting with the HIL host computer. Furthermore, the HIL bench hardware system mainly includes a low-voltage programmable power supply, a high-voltage simulation box, a battery cell simulator, a temperature simulator, hardware I / O boards, and a CAN communication board.
[0066] In this embodiment, the BMS (Browser Management System) under test is connected to the HIL (Hardware-Integrated Test) system. The HIL system is built on the NI real-time simulation platform and consists of a host cabinet and slave cabinets. This system includes hardware devices (i.e., the HIL bench) for simulating the BMS operating environment and software systems (i.e., the HIL host computer) for running test programs and controlling and monitoring the test process. For example... Figure 2 As shown, the main cabinet contains an NI real-time simulator and a BMS master controller, while the slave cabinet contains a battery cell simulation box and a BMS slave controller. The HIL host computer and the HIL test bench are connected via Ethernet. Test software runs on the HIL host computer to ensure the test is performed. The HIL test bench and the BMS under test are connected via a CAN communication board for CAN communication, and simultaneously connected via I / O boards for signal transmission. That is, the I / O boards simulate the output of the signals that the BMS under test needs to collect, and collect the output signals of the BMS under test, so that the BMS believes that it is in the operating environment of a real vehicle, thus obtaining the test effect of hardware-in-the-loop simulation.
[0067] Through step S1 above, the HIL test bench successfully establishes a simulated test environment for the BMS thermal management function via software system control of hardware. Based on this, this embodiment further determines whether thermal management should be activated by considering the maximum and minimum temperatures and temperature differences of individual battery cells. Specifically, the BMS under test and the HIL test bench are connected via CAN and I / O, and the NI VeriStand test management software in the HIL host computer is used to build the simulated environment for the BMS thermal management function, configuring the necessary input / output signal interfaces.
[0068] Step S2: Divide the test conditions into charging and non-charging states, and the thermal management mode under each test condition.
[0069] like Figure 3 As shown in the overall BMS thermal management flow diagram, battery states can be divided into charging and non-charging states. The charging state is further divided into fast charging and slow charging states. During charging, the BMS needs to manage the battery charging process, including controlling charging current and voltage, and monitoring battery temperature to ensure safe and efficient charging. Thermal management during charging primarily prevents battery overheating, involving the activation of the cooling system. The non-charging state is the discharging stage, which is the state where the vehicle consumes electrical energy while driving. During discharging, the BMS also needs to monitor battery states, including current, voltage, and temperature, to ensure the safety of the discharging process and battery performance.
[0070] The above two operating conditions, charging and discharging, are the overall classification of BMS thermal management testing. Under these two operating conditions, specific test conditions are further divided. The test conditions under charging state can be divided into extreme high temperature charging, extreme low temperature charging, normal high temperature charging, and normal low temperature charging; the test conditions under non-charging state can be divided into extreme high temperature driving, extreme low temperature driving, normal high temperature driving, and normal low temperature driving. Each operating condition is actually a specific test scenario.
[0071] Furthermore, this embodiment also classifies various thermal management modes, including low-temperature heating mode, high-temperature cooling mode, and temperature difference control mode. Based on this, the test environment and test strategy corresponding to the charging and discharging stage are formulated according to the actual thermal management modes, that is, step S3 is executed to obtain different test strategies according to the thermal management modes under each test condition. Preferably, in this embodiment, the test temperature range is set to -35℃ to 55℃.
[0072] Specifically, taking the test strategies for various operating conditions under discharge state as an example, such as... Figure 4 As shown, different testing strategies are obtained based on the thermal management mode under each test condition, including:
[0073] (1) For the test condition of normal high-temperature driving in non-charging state, normal high-temperature driving simulates the thermal management requirements of the battery when the vehicle is running at high temperatures. The BMS needs to adjust the operation of the cooling system to adapt to the temperature change. Therefore, the high-temperature cooling mode is adopted in this condition, and the corresponding test strategy is as follows:
[0074] The actual output temperature of the battery cell is detected. When the actual maximum output temperature of the battery cell is greater than 35℃ but less than 40℃, thermal management is not activated and cooling is performed at 1 / 2 power. The water pump is turned on at 1 / 2 flow rate to control the battery temperature and prevent overheating. If the actual maximum output temperature of the battery cell is less than 30℃ (this temperature is adjusted according to the specific actual situation), the default state is entered.
[0075] (2) For the test condition of normal low-temperature driving under non-charging conditions, normal low-temperature driving simulates the thermal management requirements of the battery when the vehicle is running at low temperatures. The BMS needs to adjust the operation of the heating system to adapt to temperature changes. Therefore, a low-temperature heating mode is adopted in this condition, and the corresponding test strategy is as follows:
[0076] The system detects the actual output temperature of the battery cell. When the actual minimum output temperature of the battery cell is between -30℃ and -10℃, thermal management is activated and heating is performed at full power. At the same time, the water pump is turned on at full flow rate to increase the battery temperature and ensure the battery's performance and discharge capacity in low-temperature environments. If the actual minimum output temperature of the battery cell is greater than -10℃, the system enters the default state.
[0077] (3) Detect the actual output temperature of the battery cell. The difference between the maximum and minimum actual output temperature of the battery cell is the battery cell temperature difference value. Determine whether it is in the default state (the minimum actual output temperature of the battery cell is greater than -10℃ and the maximum actual output temperature of the battery cell is less than 35℃, i.e., it is not in the test conditions of ordinary low temperature driving or ordinary high temperature driving). In this default state, there is no heating, no cooling and no flow rate.
[0078] In the default state, the temperature difference control mode is used, and the corresponding testing strategy is as follows:
[0079] When the temperature difference between the cells is greater than 3℃ but less than 7℃, the thermal management system will not activate heating or cooling, and the water pump will operate at half flow rate to uniformly heat the cells, thereby reducing the temperature difference between the cells and ensuring the consistency of the battery pack. When the temperature difference between the cells is greater than 7℃, the thermal management system will not activate heating or cooling, and the water pump will operate at full flow rate to uniformly heat the cells.
[0080] Furthermore, the aforementioned thermal management modes also include ultra-high temperature cooling mode and ultra-low temperature cooling mode, specifically:
[0081] (4) For the test condition of extreme high temperature driving in non-charging state, the extreme high temperature driving simulates the thermal management requirements of the battery when the vehicle is running at extremely high temperatures. Under this condition, the BMS needs to activate the cooling system to prevent the battery temperature from getting too high. Therefore, the extreme high temperature cooling mode is adopted, and the corresponding test strategy is as follows:
[0082] The actual output temperature of the battery cell is detected. When the maximum actual output temperature of the battery cell is greater than 55°C, the BMS starts the cooling system, the thermal management is not turned on, and the cooling is at full power.
[0083] (5) For the test condition of extreme low temperature driving in non-charging state, the extreme low temperature driving simulates the thermal management requirements of the battery when the vehicle is running at extremely low temperatures. Under this condition, the BMS needs to activate the heating system to keep the battery working within a suitable temperature range. Therefore, the extreme low temperature heating mode is adopted, and the corresponding test strategy is as follows:
[0084] The actual output temperature of the battery cell is detected. When the actual minimum output temperature of the battery cell is less than -35℃, thermal management is activated and full-power heating is performed.
[0085] Step S4: Obtain the test control method of the simulated test environment. In the simulated test environment, control the simulated models of cells, battery packs and cooling systems to execute the test strategies corresponding to the thermal management modes under each test condition according to the test control method, and obtain the test results of the BMS thermal management function.
[0086] Specifically, after obtaining different test strategies, BMS thermal management function tests are conducted. During the test, the test environment is set to enter charging or driving mode using HIL test software to simulate the correct implementation of BMS thermal management function under charging or discharging conditions. Specifically, it is necessary to set the cell voltage of the battery cell simulator, the temperature of the temperature simulator, the discharge current of the low-voltage programmable power supply and the high-voltage simulation box in the HIL test system, and observe the corresponding signals to obtain the test results of BMS thermal management function, including the actual output temperature value of the cell, whether thermal management requests to be turned on, heating power, and thermal management coolant flow rate value.
[0087] In this embodiment, taking the discharge state as an example, models of the battery pack, cells, and cooling system are created based on Fluent software 3D simulation. In the HIL host computer software panel, all cell voltages are set to 3.5V, temperature to 25℃, low-voltage power-on, and the BMS state to discharge mode, with the expectation that all cell output temperatures will be 25℃. Based on the thermal management test strategy obtained in step S3 above, tests are executed in a simulated test environment according to the corresponding test control methods, and the test results of the BMS thermal management function are obtained through observation.
[0088] As another implementation method, the testing method for charging and discharging states is similar, but the charging state is divided into fast charging and slow charging states. Different testing strategies are obtained for the thermal management modes under different test conditions in different charging states. The specific testing strategies corresponding to the thermal management modes under different test conditions in fast charging and slow charging states are as follows: Figure 5 , Figure 6 As shown, the maximum and minimum temperatures for enabling heating or cooling in each test strategy are different, and will not be elaborated further here.
[0089] In this embodiment, the host computer software panel sets all cell voltages to 3.5V, temperature to 25℃, low-voltage power-on, and slow charging current to 20A. The BMS enters the slow charging phase, with the expectation that all cell output temperatures will be 25℃. Based on the testing strategy corresponding to the thermal management mode during the slow charging phase, it is determined whether thermal management should be enabled. The basic operation settings for entering fast charging mode are the same as for slow charging, except that the fast charging current is set to 100A.
[0090] Finally, in step S5, based on the comparison between the test results and the expected test results, the BMS thermal management function is adjusted and optimized. The test and adjustment are repeated until the expected performance indicators are achieved, thereby completing the BMS performance optimization.
[0091] Example 2
[0092] This embodiment provides a HIL test optimization system for BMS battery thermal management function, including:
[0093] A module is set up to build a simulation test environment for the thermal management function of the BMS.
[0094] The segmentation module is used to segment the test conditions into charging and non-charging states, as well as the thermal management mode under each test condition.
[0095] The test strategy acquisition module is used to formulate different test strategies based on the thermal management mode under each test condition;
[0096] The test result acquisition module is used to acquire the test control method of the simulated test environment. In the simulated test environment, the module controls the simulated models of cells, battery packs and cooling systems to execute the test strategies corresponding to the thermal management modes under each test condition according to the test control method, and acquires the test results of the BMS thermal management function.
[0097] The BMS thermal management function adjustment and optimization module is used to adjust and optimize the BMS thermal management function based on the comparison between the test results and the expected test results. The test and adjustment are repeated until the expected performance indicators are achieved.
[0098] Example 3
[0099] This embodiment provides an electronic device, including a memory and a processor, as well as computer instructions stored in the memory and running on the processor. When the processor executes the computer instructions, it completes the steps in the HIL test optimization method for the BMS battery thermal management function as described above.
[0100] Example 4
[0101] This embodiment also provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, complete the steps in the HIL test optimization method for the BMS battery thermal management function as described above.
[0102] The steps and methods involved in Embodiments 2 to 4 above correspond to those in Embodiment 1. For specific implementation details, please refer to the relevant description section of Embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood as including any medium capable of storing, encoding, or carrying an instruction set for execution by a processor and enabling the processor to perform any of the methods in this invention.
[0103] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.
[0104] The above description is only a preferred embodiment of the present invention. Although the specific implementation of the present invention has been described in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative effort are still within the scope of protection of the present invention.
Claims
1. A method for optimizing the HIL (Hot Inlet / Outlet) test of BMS (Battery Thermal Management System) function, characterized in that, include: Set up a simulation test environment for BMS thermal management functions; The test conditions are divided into charging and non-charging states, and the thermal management modes under each test condition are defined. The thermal management modes include low-temperature heating mode, high-temperature cooling mode, and temperature difference control mode. Based on the thermal management mode under each test condition, different test strategies are obtained, including: Under normal high-temperature driving conditions when not charging, the high-temperature cooling mode is used, and the corresponding testing strategy is as follows: The actual output temperature of the battery cell is detected. When the actual maximum output temperature of the battery cell is greater than 35℃ but less than 40℃, thermal management is not activated, cooling is performed at 1 / 2 power, and the water pump is turned on at 1 / 2 flow rate. If the actual maximum output temperature of the battery cell is less than 30℃, the default state is entered. Under normal low-temperature driving conditions when not charging, the test strategy using the low-temperature heating mode is as follows: The actual output temperature of the battery cell is detected. When the actual minimum output temperature of the battery cell is between -30℃ and -10℃, thermal management is activated and heating is carried out at full power, while the water pump starts at full flow rate. If the actual minimum output temperature of the battery cell is greater than -10℃, the default state is entered. The test control method for the simulated test environment is obtained. In the simulated test environment, the test control method is used to control the simulated models of cells, battery packs, and cooling systems to execute the test strategies corresponding to the thermal management modes under various test conditions, and to obtain the test results of the BMS thermal management function. Specifically, it is necessary to set the cell voltage of the battery cell simulator, the temperature of the temperature simulator, the discharge current of the low-voltage programmable power supply and the high-voltage simulation box in the HIL test system, and at the same time observe the corresponding signals to obtain the test results of the BMS thermal management function, including the actual output temperature value of the cell, whether thermal management is requested to be turned on, heating power, and thermal management coolant flow rate. Based on the comparison between the test results and the expected test results, the BMS thermal management function is adjusted and optimized, and the testing and adjustment are repeated until the expected performance indicators are achieved.
2. The HIL test optimization method for BMS battery thermal management function as described in claim 1, characterized in that, The controller under test (BMS) is connected to the HIL test system. The HIL test system includes a HIL bench and a HIL host computer. The HIL bench and the HIL host computer are connected via Ethernet. The HIL bench is used to simulate the BMS operating environment, and the HIL host computer is used to run test programs. The HIL test bench includes a low-voltage programmable power supply, a high-voltage simulation box, a battery cell simulator, a temperature simulator, hardware I / O boards, and a CAN communication board. The controller under test (BMS) is connected to the HIL test bench via the CAN communication board for CAN communication, and simultaneously connected via the hardware I / O board for signal transmission.
3. The HIL test optimization method for BMS battery thermal management function as described in claim 1, characterized in that, The test conditions under the charging state include extreme high temperature charging, extreme low temperature charging, normal high temperature charging, and normal low temperature charging. The test conditions under non-charging conditions include extreme high temperature driving, extreme low temperature driving, normal high temperature driving, and normal low temperature driving.
4. The HIL test optimization method for BMS battery thermal management function as described in claim 1, characterized in that, Also includes: The actual output temperature of the battery cell is detected, and the difference between the maximum and minimum actual output temperatures of the battery cell is used as the battery cell temperature difference value to determine whether it is in the default state. In the default state, the temperature difference control mode is used, and the corresponding testing strategy is as follows: When the temperature difference between the battery cells is greater than 3℃ and less than 7℃, the thermal management system will not activate heating or cooling, and the water pump will operate at half flow rate for uniform heating; when the temperature difference between the battery cells is greater than 7℃, the thermal management system will not activate heating or cooling, and the water pump will operate at full flow rate for uniform heating.
5. The HIL test optimization method for BMS battery thermal management function as described in claim 1, characterized in that, The thermal management mode also includes an extremely high temperature cooling mode and an extremely low temperature cooling mode; Under extreme high-temperature driving conditions when not charging, the testing strategy using the extreme high-temperature cooling mode is as follows: The actual output temperature of the battery cell is detected. When the maximum actual output temperature of the battery cell is greater than 55°C, thermal management is not activated and cooling is performed at full power. Under extreme low-temperature driving conditions when not charging, the testing strategy using the extremely low-temperature heating mode is as follows: The actual output temperature of the battery cell is detected. When the actual minimum output temperature of the battery cell is less than -35℃, thermal management is activated and full-power heating is performed.
6. A HIL test optimization system for BMS battery thermal management function, characterized in that, include: A module is set up to build a simulation test environment for the thermal management function of the BMS. The segmentation module is used to segment the test conditions into charging and non-charging states, as well as the thermal management modes under each test condition; the thermal management modes include low-temperature heating mode, high-temperature cooling mode, and temperature difference control mode. The test strategy acquisition module is used to formulate different test strategies based on the thermal management mode under various test conditions, including: Under normal high-temperature driving conditions when not charging, the high-temperature cooling mode is used, and the corresponding testing strategy is as follows: The actual output temperature of the battery cell is detected. When the actual maximum output temperature of the battery cell is greater than 35℃ but less than 40℃, thermal management is not activated, cooling is performed at 1 / 2 power, and the water pump is turned on at 1 / 2 flow rate. If the actual maximum output temperature of the battery cell is less than 30℃, the default state is entered. Under normal low-temperature driving conditions when not charging, the test strategy using the low-temperature heating mode is as follows: The actual output temperature of the battery cell is detected. When the actual minimum output temperature of the battery cell is between -30℃ and -10℃, thermal management is activated and heating is carried out at full power, while the water pump starts at full flow rate. If the actual minimum output temperature of the battery cell is greater than -10℃, the default state is entered. The test result acquisition module is used to acquire the test control method of the simulated test environment. In the simulated test environment, according to the test control method, it controls the simulated models of cells, battery packs, and cooling systems to execute the test strategies corresponding to the thermal management modes under various test conditions, and obtains the test results of the BMS thermal management function. Specifically, it is necessary to set the cell voltage of the battery cell simulator, the temperature of the temperature simulator, the discharge current of the low-voltage programmable power supply and the high-voltage simulation box in the HIL test system, and at the same time observe the corresponding signals to obtain the test results of the BMS thermal management function, including the actual output temperature value of the cell, whether thermal management is requested to be turned on, heating power, and thermal management coolant flow rate value. The BMS thermal management function adjustment and optimization module is used to adjust and optimize the BMS thermal management function based on the comparison between the test results and the expected test results. The test and adjustment are repeated until the expected performance indicators are achieved.
7. An electronic device, characterized in that, It includes a memory and a processor, as well as computer instructions stored in the memory and running on the processor. When the processor executes the computer instructions, it completes the steps of the HIL test optimization method for the BMS battery thermal management function as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, Used to store computer instructions, which, when executed by a processor, complete the steps of a HIL test optimization method for BMS battery thermal management function as described in any one of claims 1-5.
Citation Information
Patent Citations
HIL bench test method and system for VCU thermal management function
CN114706366A