Test method and device

By simulating the heat exchange process and fault injection of the battery pack, the problem of poor accuracy of the new energy vehicle battery management system in the vehicle test is solved, and more accurate test results and end-to-end verification are achieved.

CN118566601APending Publication Date: 2024-08-30YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310224437.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

There are differences in testing and fault diagnosis of the battery management system of new energy vehicles. In particular, it is difficult to inject internal faults into the battery pack in the full vehicle test scenario, and it is difficult to simulate the working conditions of the vehicle in actual fault scenarios, resulting in inaccurate test results.

Method used

By simulating the heat exchange process of the battery pack, using the battery simulation unit and heat exchange simulation module, the heat exchange process between the battery pack and the vehicle under test is simulated, and the fault injection parameters and status information are combined to control the power transmission and cooling medium temperature to improve Test scene accuracy.

Benefits of technology

The accuracy of the test results of the battery management system is improved, making the test scenario closer to the actual working status, more accurately reflecting the faults and performance of the battery pack, and achieving end-to-end verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566601A
    Figure CN118566601A
Patent Text Reader

Abstract

The embodiment of the invention provides a test method and device, and the method comprises the steps: obtaining the state information of a battery simulation unit, and the battery simulation unit is used for transmitting electric energy with a high-voltage system of a tested vehicle; determining the test state of the battery according to the fault injection parameter and the state information of the battery simulation unit; and determining the temperature of the cooling medium at the first cooling medium outlet according to the temperature of the cooling medium at the first cooling medium inlet and the test state. The method can be applied to the test of a new energy vehicle or an intelligent vehicle, and the accuracy of the test result of the battery management system can be improved when the fault injection test is performed on the battery management system by simulating the heat exchange process of the battery pack in the actual working scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of new energy vehicles, and more specifically, to a testing method and device. Background Art

[0002] With the development of technology, the number of new energy vehicles has increased year by year. New energy vehicles (such as electric vehicles, hybrid vehicles, etc.) can use power batteries as the power source of the whole vehicle. Therefore, compared with traditional fuel vehicles, new energy vehicles are different from traditional fuel vehicles in terms of testing, fault diagnosis and processing. On the one hand, since the battery control unit of the power battery is often encapsulated in the battery pack of the power battery, it is difficult to inject faults into the battery pack in the whole vehicle test scenario. On the other hand, it is difficult to simulate the working conditions of the vehicle under actual fault scenarios.

[0003] Therefore, how to perform fault injection to test the battery management system to obtain more accurate test results becomes a problem that needs to be solved. Summary of the invention

[0004] The embodiments of the present application provide a testing method and device, which can improve the accuracy of the test results of the battery management system by simulating the heat exchange process of the battery pack in the actual working scenario.

[0005] In the first aspect, a test method is provided, which can be executed by a test device, or by a test system, or by a chip or circuit in the test device. For example, it can be executed by a hardware-in-the-loop test device, or by a system composed of the hardware-in-the-loop test device and a battery management system to be tested, or by a processing circuit or chip in the hardware-in-the-loop test device, and the embodiments of the present application are not limited to this.

[0006] The method may include: obtaining status information of a battery simulation unit, which is used to transmit electrical energy to a high-voltage system of a vehicle under test; determining a test status of the battery based on fault injection parameters and the status information of the battery simulation unit; and determining a temperature of a cooling medium at a first cooling medium outlet based on a temperature of a cooling medium at a first cooling medium inlet and the test status, the first cooling medium inlet being used to receive cooling medium from a cooling system of a battery of the vehicle under test, and the first cooling medium outlet being used to output cooling medium to the cooling system of the battery.

[0007] In the present application, the heat exchange process between the battery pack and the vehicle under test is simulated according to the test status of the battery, so that the test scenario is closer to the actual working status of the battery pack, which can improve the accuracy of the test results of the battery management system.

[0008] In combination with the first aspect, in certain implementations of the first aspect, the method may further include: controlling the power transmission between the battery simulation unit and the vehicle under test according to the test status of the battery.

[0009] In the present application, by controlling the power transmission between the battery simulation unit and the vehicle under test, the test scenario is made closer to the actual working state of the battery pack, which can improve the accuracy of the test results of the battery management system.

[0010] In combination with the first aspect, in some implementations of the first aspect, the battery simulation unit may include a cell simulation unit, which is used to simulate the operating characteristics of the cells in the battery of the vehicle under test.

[0011] In the present application, by simulating the working characteristics of the battery cells in the battery through the battery cell simulation unit, the accuracy of the simulation of the battery output power and the charging and discharging conditions can be improved, making the test scenario closer to the actual working state of the battery pack, and improving the accuracy of the test results of the battery management system.

[0012] In combination with the first aspect, in certain implementations of the first aspect, the method may also include: controlling the working state of a relay simulation module according to the test state of the battery, wherein the relay simulation module is used to connect the battery simulation unit and the high-voltage system of the vehicle under test.

[0013] In the present application, by controlling the working state of the relay simulation, the actual working scenario of the vehicle's high-voltage relay protection device can be simulated, making the test scenario closer to the actual working scenario of the battery pack.

[0014] In combination with the first aspect, in some implementations of the first aspect, the method may further include: receiving first fault indication information from a cloud server, the first fault indication information including the fault injection parameter.

[0015] In this application, fault injection is implemented by sending instruction information from a cloud server, which can improve the safety of fault injection and is also conducive to quickly restoring the fault scenario of after-sales products to achieve a rapid response to market quality issues.

[0016] In combination with the first aspect, in certain implementations of the first aspect, the method may further include: sending second fault indication information to the tested vehicle, where the second fault indication information is used to indicate a test status of the battery.

[0017] In the present application, by indicating the test status of the battery to the vehicle, the vehicle can promptly handle related faults based on the test status, thereby achieving end-to-end verification from battery pack failure to the entire vehicle response side.

[0018] In combination with the first aspect, in certain implementations of the first aspect, determining the temperature of the cooling medium at the first cooling medium outlet based on the temperature of the cooling medium at the first cooling medium inlet and the test state may include: controlling the working state of a heat exchange simulation module based on the test state of the battery, the heat exchange simulation module being used to simulate the temperature change of the battery; and adjusting the temperature difference between the cooling medium at the first cooling medium inlet and the first cooling medium outlet through the heat exchange simulation module.

[0019] In a second aspect, a testing device is provided, which may include: an acquisition unit for acquiring status information of a battery simulation unit, the battery simulation unit being used to transmit electrical energy to a high-voltage system of a vehicle under test; a processing unit for determining a test status of the battery based on fault injection parameters and the status information of the battery simulation unit; and determining a temperature of the cooling medium at a first cooling medium outlet based on a temperature of the cooling medium at a first cooling medium inlet and the test status, the first cooling medium inlet being used to receive cooling medium from a cooling system of a battery of the vehicle under test, and the first cooling medium outlet being used to output cooling medium to the cooling system of the battery.

[0020] In combination with the second aspect, in certain implementations of the second aspect, the processing unit may also be used to: control the power transmission between the battery simulation unit and the vehicle under test according to the test status of the battery.

[0021] In combination with the second aspect, in some implementations of the second aspect, the battery simulation unit may include a cell simulation unit, which may be used to simulate the operating characteristics of the cells in the battery of the vehicle under test.

[0022] In combination with the second aspect, in certain implementations of the second aspect, the processing unit can also be used to: control the working state of the relay simulation module according to the test status of the battery, wherein the relay simulation module can be used to connect the battery simulation unit and the high-voltage system of the vehicle under test.

[0023] In combination with the second aspect, in some implementations of the second aspect, the acquisition unit may also be used to: receive first fault indication information from a cloud server, where the fault indication information includes the fault injection parameter.

[0024] In combination with the second aspect, in certain implementations of the second aspect, the device may further include a sending unit, which may be used to: send second fault indication information to the tested vehicle, wherein the second fault indication information is used to indicate a test status of the battery.

[0025] In combination with the second aspect, in certain implementations of the second aspect, the processing unit can be used to: control the working state of a heat exchange simulation module according to a test state of the battery, the heat exchange simulation module being used to simulate the temperature change of the battery; and adjust the temperature difference between the cooling medium at the first cooling medium inlet and the first cooling medium outlet through the heat exchange simulation module.

[0026] In a third aspect, a testing device is provided, comprising: a memory for storing a computer program; and a processor for executing the computer program stored in the memory, so that the device executes the method in the above-mentioned first aspect and any possible implementation manner thereof.

[0027] In a fourth aspect, a test system is provided, which may include: a battery simulation device, which can be used to transmit electric energy to a high-voltage system of a vehicle under test; a relay simulation device, which can be used to connect the battery simulation device to the high-voltage system of the vehicle under test; a hardware-in-the-loop (HIL) test device, which can be used to obtain status information of a battery simulation unit; determine the test status of the battery based on fault injection parameters and the status information of the battery simulation unit; determine the temperature at a first cooling medium outlet based on the temperature of the cooling medium at a first cooling medium inlet and the test status, the first cooling medium inlet being used to receive cooling medium from a cooling system of a battery of the vehicle under test, and the first cooling medium outlet being used to output cooling medium to the cooling system of the battery; a heat exchange simulation device, which can be used to adjust the temperature difference between the cooling medium at the first cooling medium inlet and the first cooling medium outlet to simulate the temperature change of the battery; a battery management system (BMS) simulation device, which is used to control the transmission of electric energy between the battery simulation device and the vehicle under test through the HIL test device under the test status of the battery.

[0028] Exemplarily, the battery simulation device transmits electric energy to the high-voltage system of the vehicle under test. The battery simulation device may transmit electric energy to the high-voltage system to simulate the power consumption process of the vehicle under test, or the high-voltage system of the vehicle under test may transmit electric energy to the battery simulation device to simulate the charging process of the vehicle under test.

[0029] Illustratively, a relay simulation device used to connect a battery simulation device and the high-voltage system of a vehicle under test can simulate the vehicle's high-voltage relay protection device, for example, the working states of the main positive relay, main negative relay, pre-charging relay, fast-charging relay and other relays in the high-voltage relay protection device under simulated charging and discharging scenarios.

[0030] Exemplarily, a battery management system BMS simulation device may include a battery management system to be tested, a battery management module to be tested, or may also be a simulation device for verifying a fault handling strategy of a battery management system.

[0031] In the present application, a battery simulation device is used to simulate the power output of the battery or the charging condition of the battery, a relay simulation device is used to simulate the high-voltage relay protection device, a hardware-in-the-loop HIL test device is used to determine the temperature at the outlet of the first cooling medium, and a heat exchange simulation device is used to simulate the heat exchange process between the battery and the vehicle. This allows the system to simulate the working characteristics of the battery pack in various dimensions, making the test scenario of the battery management system closer to the actual working state of the battery pack, and improving the accuracy of the test results of the battery management system.

[0032] In some possible implementations, the system further includes a cloud server, and the HIL testing device may also be used to: receive first fault indication information from the cloud server, where the first fault indication information includes an injection parameter of the fault.

[0033] In some possible implementations, the battery simulation device includes a battery cell simulation unit, and the battery cell simulation unit is used to simulate the operating characteristics of the battery cell in the battery.

[0034] In some possible implementations, the heat exchange simulation device is used to: receive heat exchange indication information from the HIL test device; and adjust the temperature difference between the cooling medium at the first cooling medium inlet and the cooling medium at the first cooling medium outlet according to the heat exchange indication information.

[0035] In one embodiment, the HIL testing device can determine the cooling medium temperature at the first cooling medium outlet, and can control the working state of the heat exchange simulation device by indicating heat exchange indication information such as working current, working voltage, working power, and target temperature at the first cooling medium outlet, so that the heat exchange simulation device can adjust the temperature difference between the cooling medium at the first cooling medium inlet and the first cooling medium outlet.

[0036] In some possible implementations, the battery management system BMS simulation device or the HIL test device may also be used to: send second fault indication information to the vehicle under test, and the second fault indication information may be used to indicate the test status of the battery.

[0037] In one embodiment, when it is determined that there is a fault in the current test state, the BMS simulation device may send a second indication message to the vehicle under test, or the HIL test device may send a second indication message to the vehicle. For example, information such as the fault level of the battery may be reported to the vehicle so that the vehicle under test and a control device such as a vehicle controller disposed in the vehicle can respond to the battery fault in a timely manner.

[0038] In a fifth aspect, a test system is provided, which may include the test device in the above-mentioned second aspect or third aspect, and any possible implementation thereof, and a battery simulation unit, which is used to transmit electrical energy to the high-voltage system of the vehicle under test.

[0039] Exemplarily, the test system is connected to the vehicle under test to form a test scenario for the entire vehicle test bench.

[0040] In combination with the fifth aspect, in certain implementations of the fifth aspect, the battery simulation unit includes a cell simulation unit, and the cell simulation unit is used to simulate the operating characteristics of the cell in the battery of the vehicle under test.

[0041] In combination with the fifth aspect, in certain implementations of the fifth aspect, the test system may include a heat exchange simulation module, which is used to simulate the temperature change of the battery of the vehicle under test.

[0042] In combination with the fifth aspect, in certain implementations of the fifth aspect, the test system may also include: a cloud server, used to send first fault indication information to the test device; and / or, a relay simulation module, used to connect the battery simulation unit and the high-voltage system of the vehicle under test.

[0043] In a sixth aspect, a computer-readable medium is provided, wherein the computer-readable medium stores instructions, and when the instructions are executed by a processor, the processor implements the method in any possible implementation manner of the first aspect.

[0044] In a seventh aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on a computer, the computer executes the method in any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 is a schematic diagram of a vehicle bench test scenario provided in an embodiment of the present application;

[0046] Figure 2 It is a schematic diagram of a system architecture provided by an embodiment of the present application;

[0047] Figure 3 is a schematic diagram of another system architecture provided in an embodiment of the present application;

[0048] Figure 4 It is a flow chart of a testing method provided in an embodiment of the present application;

[0049] Figure 5 It is a flow chart of a testing method provided in an embodiment of the present application;

[0050] Figure 6 It is a flow chart of a testing method provided in an embodiment of the present application;

[0051] Figure 7 It is a flow chart of a testing method provided in an embodiment of the present application;

[0052] Figure 8 is a schematic block diagram of a testing device provided in an embodiment of the present application;

[0053] Fig. 9 It is a schematic block diagram of another testing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0055] During the vehicle development process, the vehicle and its control devices (such as battery management system, etc.) and / or control systems (such as battery management module, etc.) are usually tested to verify their functions and performance. According to the test scenario, it can be divided into vehicle bench test and controller-in-the-loop test.

[0056] The whole vehicle bench test can be understood as verifying the performance functions of the vehicle, control device and / or control system in the whole vehicle scenario. For example, in the whole vehicle bench test, the whole vehicle can be set on the whole vehicle bench, and the road conditions of the vehicle can be simulated by the dynamometer to verify the functions and performance of the vehicle when driving on the road conditions. For another example, in the whole vehicle bench test, it is possible to test and verify whether the vehicle, as well as various control devices, control systems, etc. can operate normally under the corresponding conditions, whether they can correctly handle faults, etc., in order to verify their performance.

[0057] For example, Figure 1 Schematic diagram of a vehicle bench test scenario provided by an embodiment of the present application. Figure 1 As shown, the scenario of the vehicle bench test may include a vehicle under test 110 and a working condition simulation module 120. For example, the working condition simulation module 120 may include a drum, and a roller assembly such as a drum may be used to simulate actual road working conditions in a controllable environment, thereby verifying the performance of the vehicle under test under various working conditions on the vehicle bench.

[0058] In some possible implementations, the test scenario may also include an environment simulation module 150, which may be used to simulate the external environment (such as ambient temperature, ambient humidity, etc.) in which the vehicle is located. For example, the environment simulation module 150 may include an ambient temperature simulation module 151 and / or an ambient humidity simulation module 152 to respectively simulate the ambient temperature and ambient humidity of the space in which the vehicle is located during actual use. For another example, the environment simulation module 150 may also include other modules such as an ambient precipitation simulation module, which may be used to simulate the precipitation environment in which the vehicle is located during actual use.

[0059] In some possible implementations, the test scenario may include a test device 170, which can interact with the vehicle under test, and can be used to inject faults into control devices, control systems, etc. in the vehicle.

[0060] Exemplarily, the vehicle 110 may be a conventional fuel vehicle. In some possible implementations, the vehicle 110 may also be a new energy vehicle. For example, it may be an electric vehicle, a hybrid vehicle, etc. A new energy vehicle may be powered by a battery. For example, a power battery may be packaged in a battery pack of a new energy vehicle to provide electrical energy for a high voltage system of the vehicle.

[0061] For example, a new energy vehicle may be provided with a battery management system (BMS), which may include a battery management unit (BMU) and a power battery. The battery management module may control the charging or discharging process of the power battery, and may also feed back basic parameters and fault information of the battery management system to the vehicle.

[0062] In some possible implementations, the vehicle may be provided with a cooling system for the power battery to adjust the temperature of the power battery to prevent the operating temperature of the power battery from being too high or too low, thereby affecting the performance of the power battery. For example, the cooling system of the power battery may include a cooling line, in which there is a cooling medium, and heat exchange is performed with the power battery through the cooling line, so that the power battery can operate at a suitable temperature. The cooling line may include a liquid inlet and a liquid outlet, and heat exchange with the power battery may cause a temperature difference between the cooling medium in the cooling line at the liquid inlet and the liquid outlet. For another example, part of the cooling line may be arranged in the battery pack to facilitate heat exchange with the power battery. For another example, the cooling line of the cooling system of the power battery may be connected to the cooling line of the vehicle air conditioner.

[0063] Exemplarily, a new energy vehicle may include a high-voltage circuit, and the high-voltage circuit and the high-voltage equipment connected to the circuit may constitute a high-voltage system. For example, the high-voltage equipment may include a drive motor, a drive motor controller, an on-board air conditioner, a positive temperature coefficient heating device (PTC), and other high-voltage electrical equipment. For another example, the high-voltage equipment may also include one or more of an on-board charger, an on-board charging port, a DC converter, and the like.

[0064] It should be understood that the above description of the high-voltage system is only an example, and the high-voltage system may include more or fewer high-voltage devices, which is not limited in the embodiments of the present application.

[0065] Exemplarily, the vehicle may include a high-voltage relay protection device. For example, when the vehicle is powered by a power battery, the power battery may operate at a higher voltage (for example, it may reach 400 volts or even higher), which is much higher than the safety voltage. In order to avoid high-voltage system failures that affect the personal safety of drivers and passengers, the power battery can be protected by a high-voltage relay protection device. For another example, the high-voltage relay protection device may include one or more of the main positive relay, the main negative relay, the pre-charge relay, the fast charge relay and other relays. The main positive relay may refer to the main relay on the positive side of the high-voltage system; the main negative relay may refer to the main relay on the negative side of the high-voltage system. The pre-charge relay may refer to a relay that controls the opening or closing of the pre-charge circuit. Before the main relay works, a self-check can be performed through the pre-charge circuit.

[0066] For example, it is possible to use Figure 1 In the scenario shown, the whole vehicle bench test can be performed on traditional fuel vehicles, and part of the whole vehicle bench test can be performed on new energy vehicles. For example, in terms of exterior parts such as bumpers and rearview mirrors, there may not be much difference between traditional fuel vehicles and new energy vehicles. Figure 1 The scenarios shown verify the performance of traditional fuel vehicles and new energy vehicles in extremely harsh environments such as high temperature, high humidity, and extreme cold.

[0067] Exemplarily, the controller in-loop test can be understood as testing the functions and performance of some devices or systems of the vehicle as the object to be tested. In some test scenarios, it can also be called hardware in the loop (HIL) test. "In-loop test" can be understood as testing the control device to be tested by forming a test loop with the control device to be tested and its corresponding controlled device. In the test loop, the control device to be tested can obtain the state of the controlled device and determine the control information according to the state of the controlled device; the controlled device can work according to the control information and send feedback information to the control device to be tested; the control device to be tested can issue control instructions again according to the feedback information of the controlled device. Based on the test loop, by setting the state of the device to be tested, it can be tested whether the control device to be tested can correctly handle different working conditions, thereby verifying its functions and performance. The control device may refer to the control device of the vehicle such as the vehicle controller, battery management module, advanced driver assistance controller, automatic driving controller, etc. In some possible implementations, the control device may be a vehicle-mounted computing platform, or a processor of the computing platform.

[0068] For example, taking the HIL test of the vehicle control unit (VCU) as an example, the sensor signals required by the VCU, the feedback signals of the actuators, and the electronic control unit (ECU) signals during the communication process between the VCU and other devices can be simulated by the HIL test device to verify the performance of the VCU. In other words, the HIL test device and the VCU can form a test loop, and the VCU provides control information based on the information simulated by the HIL test device, and the control information provided by the VCU is verified by the HIL test device to verify the control strategy and other performance of the VCU. By providing test conditions through the HIL test device, the performance of the VCU under various conditions can be tested more conveniently.

[0069] However, as mentioned above, since the power source of traditional fuel vehicles is the internal combustion engine, compared with traditional fuel vehicles, new energy vehicles such as electric vehicles and hybrid vehicles can be powered by power batteries. In terms of power source performance verification, there are differences between new energy vehicles and traditional fuel vehicles in terms of testing, fault diagnosis and processing. For the sake of convenience, the following takes the test of the battery management system as an example.

[0070] For traditional fuel vehicles, since there is no high-voltage system involved and the battery in the battery management system of traditional fuel vehicles is not used as a power source, in the vehicle bench test scenario, Figure 1In the scenario shown, electrical faults can be injected to verify the functions and performance of the battery management system under different working conditions.

[0071] For new energy vehicles, the control unit in its battery management system, or BMU, is usually encapsulated in the battery pack of the power battery. On the one hand, in the scenario of vehicle bench testing, the test and verification of BMU fault injection involves the construction of test equipment and test environment. This process requires opening the battery pack, which is often difficult to achieve in the scenario of vehicle bench testing, resulting in difficulties in fault injection. On the other hand, in the scenario of vehicle bench testing, if there is an operation to open the battery pack, it will inevitably affect the structure of the battery pack, which may affect the accuracy of the test results of certain test items (such as certain extreme test items), and may also cause damage to the battery pack samples to be tested. In the scenario of vehicle bench testing, due to the above situation, it is difficult to implement the method of injecting faults into the battery pack to verify the performance of the BMS in the test. Moreover, the failure of the battery management system may also be caused by abnormal temperature of the power battery. In the vehicle bench test, it may be difficult to simulate and test such failures caused by the temperature of the power battery through fault injection. Due to the above problems, it is difficult to build a test environment close to the actual working scenario of the battery management system in a vehicle test bench scenario.

[0072] Moreover, as mentioned above, in actual use of new energy vehicles, the battery management system is in a high-voltage working scenario. In the HIL test scenario, since it is difficult to simulate the high-voltage working scenario of new energy vehicles during actual operation, the testing and verification of the battery management system is often carried out in a low-voltage test scenario. This test method is quite different from the actual working scenario of the battery management system, which may lead to a large difference between the test results and the actual performance of the battery management system. Moreover, this method is heavily dependent on the accuracy of the simulation model and virtual controller provided by the HIL test device.

[0073] In this regard, the test results of the control device (such as BMU, VCU, etc.) and / or control system (such as BMS system, etc.) obtained by the current vehicle bench test and HIL test may not accurately reflect their operation in actual working scenarios. The embodiment of the present application provides a testing method and device, which can obtain more accurate test results when testing the performance and functions of new energy vehicles by simulating the actual working scenarios of new energy vehicles.

[0074] Figure 2 2 is a schematic diagram of a system architecture provided by an embodiment of the present application. For example, the system architecture may include a scene simulation module 210 and a vehicle dynamic test bench module 260 .

[0075] Exemplarily, the scenario simulation module 210 can be used to simulate the battery management system of the vehicle and transmit power to the vehicle. For example, in the power consumption scenario, power can be transmitted to the vehicle; in another example, in the charging scenario, power can be obtained from the vehicle. The vehicle dynamic test bench module 260 can include a vehicle (also referred to as a tested vehicle) and a dynamometer.

[0076] In some possible scenarios, in the vehicle dynamic test bench module 260, the vehicle's driving conditions can be simulated by a dynamometer, and the scenario simulation module 210 can provide electrical energy to the vehicle so that the vehicle can travel under the conditions simulated by the dynamometer, thereby simulating the vehicle's power consumption scenario.

[0077] In some possible scenarios, the vehicle may be charged by a charging device, and the vehicle may transmit electric energy to the scenario simulation module 210, thereby simulating the vehicle charging scenario.

[0078] In one embodiment, the scenario simulation module 210 may include a HIL test module and a control module to be tested. The HIL test module may simulate the sensor information and / or actuator feedback information required for the operation of the control module to be tested. The control module to be tested may communicate with the HIL test module through an interface circuit, and may operate according to the sensor information, actuator feedback information, etc. provided by the HIL test module. The HIL test module may perform fault injection to test the operation of the control module to be tested when facing an abnormality, so as to test the performance of the control module to be tested. When testing the battery management system and / or the battery management module, the control module to be tested may refer to the battery management module to be tested, or may also be a simulation device for verifying the fault handling strategy of the battery management system.

[0079] In another embodiment, the scenario simulation module 210 may include a battery simulation unit, which may be used to transmit electric energy to the high voltage system of the vehicle. The battery simulation unit may be understood as a unit that simulates the power battery in the battery management module.

[0080] In some possible implementations, the battery simulation unit may include a cell simulation unit to simulate the operating characteristics of the cells in the power battery. For example, the cell simulation unit may be used to simulate the number of cells in the battery pack and the connection method between the cells, or to simulate the voltage range of a single cell, so that the battery simulation unit can simulate the voltage and power output characteristics of the power battery. For another example, the battery management module may determine the control information according to the state of the cell simulation module, thereby realizing an in-loop test process for the battery management module.

[0081] In some possible implementations, the power output of the BMS battery pack can also be simulated by a DC power supply. Compared with the method of using a DC power supply, the battery cell simulation unit is more flexible in adjusting the voltage and current, and has a better transient response effect, so that the working characteristics of the battery simulation unit are closer to the actual working characteristics of the power battery, and the test environment of the BMS and BMU is closer to the actual working scene, which can improve the accuracy of the test results. For example, the battery simulation unit may include a battery cell simulation device and its corresponding host computer, and the battery cell simulation device can exchange information with the host computer, execute instructions sent by the host computer, and feedback the execution results to the host computer. For another example, the HIL test module can communicate with the host computer through an interface circuit, and can control the battery cell simulation device through the host computer. For another example, the HIL test module can obtain information such as battery cell voltage and battery cell current from the battery cell simulation module.

[0082] In another embodiment, the scenario simulation module 210 may include a heat exchange simulation module, which can be used to simulate the heat exchange process between the battery pack and the cooling system of the power battery. For example, the battery pack can be connected to interface 1 and interface 2 of the cooling system, and the cooling medium of the cooling system can flow into the battery pack through interface 1 and flow out of the battery pack through interface 2. Through the interaction of the cooling medium, heat exchange can be performed between the battery pack and the cooling system. The heat exchange simulation module can be connected to the interface 1 and interface 2, receive the cooling medium from the cooling system through interface 1, and output the cooling medium to the cooling system through interface 2. Through the actuation of the heat exchange simulation module, the simulation of the heat exchange process between the battery pack and the cooling system can be realized. For example, by adjusting the temperature of the cooling medium at interface 2, the working state of the cooling system can be matched with the actual working scene of the battery pack. For another example, the HIL test module can communicate with the heat exchange simulation module through the interface circuit to control the temperature of the cooling medium at interface 2.

[0083] In another embodiment, the scenario simulation module 210 may include a relay simulation module, which can be used to simulate a high-voltage relay protection device. The relay simulation module can connect the battery simulation unit and the high-voltage system of the vehicle under test. For example, the relay simulation module may include one or more relays to simulate the main positive relay, main negative relay, pre-charge relay and / or fast charge relay in the high-voltage relay protection device. For another example, the HIL test module can communicate with the relay simulation module through an interface circuit, and by controlling the actuation of the relay simulation module, the simulation of the actual working scene of the battery pack can be realized. For another example, the scenario simulation module 210 can be connected to the vehicle dynamic test bench module 260 through the relay simulation module, so as to provide electric energy for high-voltage electrical equipment such as the vehicle's drive motor, thereby realizing the simulation of the vehicle's power consumption scene, and can also receive electric energy from the vehicle's charging port, thereby realizing the simulation of the vehicle's charging scene.

[0084] In another embodiment, the scenario simulation module 210 can communicate with the vehicle through an interface circuit or the like. For example, the scenario simulation module 210 can communicate with a control device such as a VCU of the vehicle through an interface circuit. For another example, the scenario simulation module 210 can receive a high voltage request information from the VCU, and provide electrical energy to the high voltage system of the vehicle according to the request information. For another example, the scenario simulation module 210 can send high voltage feedback information to the VCU to indicate the status information of the high voltage electricity provided by the scenario simulation module 210. For another example, after the high voltage is powered on, the vehicle driving condition simulated by the dynamometer can be used to drive the vehicle by controlling the vehicle's drive motor to verify the function and performance of the vehicle under various working conditions. For another example, the scenario simulation module 210 can adjust the parameters of the battery simulation device to trigger a fault in the battery management system. After detecting the fault, the battery management system can send fault information to the vehicle under test, or the vehicle controller of the vehicle under test, and the vehicle under test can perform fault processing according to the fault information. In this way, end-to-end verification of fault handling can be achieved for the fault handling chain from the internal fault of the battery pack to the entire vehicle and its response side.

[0085] In some possible implementations, the scenario simulation module 210 can communicate with a cloud server and implement a fault injection process according to a fault mode in the cloud server. For example, the cloud server may include multiple fault forms, and the cloud server may send fault indication information to the scenario simulation module 210, and the fault indication information may include fault parameters. The scenario simulation module 210 may adjust the voltage, temperature and other states of the battery simulation unit according to the fault information to implement the fault injection process.

[0086] Exemplarily, in the vehicle dynamic test bench module 260, a dynamometer can be used to simulate road conditions, so that the functions and performance of the vehicle under various conditions can be verified. For example, by connecting to the scenario simulation module 210, the vehicle can receive the electric energy output by the scenario simulation module 210, and the performance of the vehicle and the high-voltage system in the power usage scenario can be verified. For another example, the high-voltage system of the vehicle may include charging equipment, such as a charging port, etc. By connecting to the scenario simulation module 210, electric energy can be transmitted to the scenario simulation module 210, and testing can be performed in the charging scenario.

[0087] It should be understood that the above system architecture is only an example for the sake of explanation. In some possible implementations, the scenario simulation module 210 and / or the vehicle dynamic test bench module 260 may include more or fewer modules, which is not limited in the embodiments of the present application. The division of the modules in the above system is only a logical division. In some possible implementations, each module may exist in the form of a device. For example, the HIL test module may refer to a HIL test device.

[0088] In the embodiment of the present application, by constructing a test environment that is highly consistent with the actual working scenario of the battery management system, end-to-end verification can be achieved from the internal fault of the battery pack to the battery management system, and then to the whole vehicle and its response side. The test results obtained based on this system architecture can be closer to the performance of the battery management system in the actual working scenario, which can improve the accuracy of the test results.

[0089] For example, Figure 3 It is a schematic diagram of another system architecture provided in an embodiment of the present application. Figure 3 The system architecture shown can be understood as Figure 2 The system architecture shown in Figure 1 is an extension of the system architecture shown in Figure 1. Figure 3 As shown, the system architecture may include a scenario simulation module 310 and a vehicle dynamics bench module 360 ​​.

[0090] Exemplarily, the vehicle dynamic test bench module 360 ​​may include a dynamometer and a vehicle under test. The vehicle under test may be provided with a high-voltage system, which may include a high-voltage distribution unit, and may also include high-voltage electrical equipment such as an air-conditioning compressor, a PTC heating device, a front-wheel drive assembly, and a rear-wheel drive assembly. The high-voltage distribution unit and the high-voltage electrical equipment may be connected by a high-voltage wiring harness to form a high-voltage circuit. The high-voltage system may also include a charging port, such as a slow charging port and / or a fast charging port. The vehicle under test may also include a control device, such as a VCU, and the device in the high-voltage system may communicate with the VCU through the internal circuit of the vehicle, and may receive control instructions sent by the VCU. In the power consumption scenario, the vehicle under test may be provided with electrical energy for its high-voltage system by the scenario simulation module 310. In the charging scenario, the vehicle may obtain electrical energy from a charging device such as a charging gun through a charging port, and transmit it to the scenario simulation module 310.

[0091] Exemplarily, the scenario simulation module 310 can simulate the battery management system of the vehicle under test. The scenario simulation module 310 can include a battery management module, a HIL test device, a battery cell simulator, a relay box, and a cryogenic unit.

[0092] In some possible implementations, the battery simulator can be connected to the vehicle under test through a relay box. The battery simulator can provide power to the vehicle. The working state of the vehicle's high-voltage relay protection device in power-on, power-off or charging scenarios can be simulated by controlling the actuation of the relay box, thereby simulating the power distribution process of the battery management system.

[0093] In some possible implementations, the cryogenic unit can be connected to the cooling pipeline of the vehicle's cooling system. By controlling the working state of the cryogenic unit, the temperature of the cooling medium at the liquid inlet and the liquid outlet of the cryogenic unit can be adjusted, and the temperature change of the cooling medium at the liquid inlet and the liquid outlet in the cooling pipeline of the power battery in the actual scenario can be simulated, thereby simulating the heat exchange process between the power battery and the cooling pipeline. For example, the HIL test device can indicate the operating current, operating voltage, operating power, target temperature of the cooling medium at the first cooling medium outlet and other information to the cryogenic unit to control the operation of the cryogenic unit.

[0094] In some possible implementations, the cell simulator can be controlled by the cell simulator host computer, and the cell status information such as current and voltage of the cell simulator can be collected by the cell simulator host computer. The HIL test device can control the operation of the cell simulator through the cell simulator host computer, and can also obtain the status of the cell simulator through the host computer.

[0095] In some possible implementations, the battery management module can obtain battery cell status information, send relay control information, and control the operation of the relay box.

[0096] In some possible implementations, the battery acquisition unit may obtain the cell status information of the cell simulator through the HIL test device. In one embodiment, the cell status information obtained by the battery acquisition unit (for example, recorded as cell status information #2) may be the same as the cell status information obtained by the HIL test device from the cell simulator (for example, recorded as cell status information #1). In another embodiment, the HIL test device may adjust the cell status information #1 according to the fault information to obtain the cell status information #2. In other words, the HIL test device may feedback the cell status information adjusted based on the fault verification scenario to the battery acquisition unit to implement the fault injection process. Furthermore, the battery management module may perform processing under a fault state according to the cell status information #2 obtained by the cell acquisition unit, thereby implementing verification of the control strategy of the battery management module.

[0097] In some possible implementations, the HIL test device may include a HIL cabinet and a HIL model interface. The HIL model interface may be used to interact with a cloud fault mode database. The HIL cabinet may be connected to the HIL model interface to implement fault injection. The HIL cabinet may be connected to a HIL control panel so that a user (such as a tester) can control the HIL cabinet in a visual manner through the HIL control panel.

[0098] For example, Figure 3 The cryogenic unit in the Figure 2 The heat exchange simulation module in the battery simulator can be understood as Figure 2 The battery simulation unit in Figure 3 The relay box in the Figure 2 The cloud fault mode database can be understood as Figure 2 The cloud server in .

[0099] For example, Figure 4 It is a flow chart of a test method provided in an embodiment of the present application. The method 400 can be executed by the above-mentioned scenario simulation module, or can be executed by a test device (or a fault injection device) such as the above-mentioned HIL test module or HIL test device, or can be executed by a chip or processor in the device. In some possible implementations, it can also be executed by the above-mentioned scenario simulation module 210 or scenario simulation module 310, or by a subsystem consisting of a HIL test device and a battery management module. The method 400 may include the following steps:

[0100] S410, obtaining status information of a battery simulation unit, where the battery simulation unit is used to transmit electric energy to a high-voltage system of a vehicle under test.

[0101] Exemplarily, the battery simulation unit may be a DC power supply. For example, a bidirectional DC power supply that can be used to simulate battery power output and battery charging conditions. The state information of the battery simulation unit may include information such as the voltage and temperature of the battery simulated by the battery simulation unit.

[0102] In some possible implementation scenarios, the battery simulation unit may include a cell simulation unit, which can be used to simulate the operating characteristics of the cells of the power battery. For example, the battery simulation unit may be a cell simulator, which can simulate the actual operating characteristics of the power battery by simulating the operating characteristics of a single cell, the number of cells in the battery pack and / or the connection method between cells. For another example, the status information of the battery simulation unit may include information such as the voltage and / or temperature of the simulated cell.

[0103] Exemplarily, the tested vehicle may be a new energy vehicle such as an electric vehicle, a hybrid vehicle, etc. The high voltage system of the vehicle may include high voltage electrical equipment such as a drive motor and a positive temperature coefficient sensor, and may also include charging ports such as a slow charging port and / or a fast charging port.

[0104] S420, determining a fault state of the battery according to the fault injection parameter and the state information of the battery simulation unit.

[0105] Exemplarily, when performing a test, a tester may configure fault injection parameters locally based on a test scenario, and a HIL test module or the like may obtain the fault injection parameters from the local configuration.

[0106] In some possible implementations, the cloud fault mode database may send first fault indication information to the HIL test module, etc., and the first fault indication information may include the fault injection parameter. Accordingly, the HIL test module may receive the first fault indication information.

[0107] In one embodiment, the voltage, temperature and other information of the battery cells in the battery currently simulated by the battery simulation unit can be obtained. The fault injection parameter can indicate the fault parameters of the battery in the test scenario, such as the proportion of the faulty battery cells in the battery, the voltage, temperature and other information of the faulty battery cells. The fault state of the battery can be determined based on the state information of the battery simulation unit and the fault injection parameter.

[0108] In another embodiment, the battery fault level can be determined according to the fault injection parameter and the status information of the battery simulation unit. The battery management module can process the fault based on the corresponding processing strategy according to the battery fault level, so as to realize the verification of the fault processing strategy of the battery management module. For example, assuming that when the fault level of the battery is a level 3 fault, the preset fault processing strategy is to reduce the maximum allowable discharge / charge current of the battery. Based on the fault injection parameter and the status information of the battery simulation unit of the battery simulation unit, the battery management simulation can be made to believe that the power battery is in a level 3 fault state. The battery management module to be tested can limit the maximum allowable discharge / charge current of the power battery based on the preset fault processing strategy, and control the battery simulation unit to perform the charging and / or discharging process in this manner. Furthermore, by monitoring the charging and / or discharging process of the battery simulation unit, the performance of the battery management module can be confirmed, that is, the test of the battery management module is realized.

[0109] In some possible implementations, a second indication message may be sent to the vehicle under test, and the second indication message may be used to indicate the fault status of the battery. Accordingly, the vehicle under test, or the relevant control device of the vehicle under test, such as the vehicle controller, etc., may respond to the battery fault according to the fault status of the battery and based on a preset fault handling strategy, such as reminding the user of the battery fault through interactive devices such as the central control screen and the battery fault indicator light, limiting the use of some vehicle functions, etc., thereby achieving end-to-end verification of the battery fault until the vehicle and its response side.

[0110] S430: Determine the temperature of the cooling medium at the first cooling medium outlet according to the cooling medium temperature at the first cooling medium inlet and the fault state.

[0111] The first cooling medium inlet may be used to receive cooling medium from a cooling system of a battery of a tested vehicle, and the first cooling medium outlet may be used to output cooling medium to the cooling system of the battery.

[0112] Exemplarily, the vehicle under test may include a cooling system for a power battery. In one embodiment, a cooling circuit is provided inside the battery pack of the vehicle under test, and the battery pack may be connected to interface 1 and interface 2 of the battery cooling system, and the cooling medium flowing out of the interface 1 may flow into the battery pack, and the cooling medium flowing out of the battery pack may flow into the cooling system from interface 2. For example, in a test scenario, a first cooling medium inlet and a first cooling medium outlet may be provided, and the first cooling medium inlet may be connected to the interface 1 to receive the cooling medium from the cooling system, and the first cooling medium outlet may be connected to the interface 2 to output the cooling medium to the cooling system of the battery. The temperature of the cooling medium at the first cooling medium outlet is determined based on the test state of the battery and the temperature of the cooling medium at the first cooling medium inlet, so as to simulate the heat exchange process between the battery and the cooling system of the battery when the fault occurs in the actual working scenario of the battery pack.

[0113] In the embodiment of the present application, the accuracy of the test results is improved by making the test environment as close as possible to the actual working scenario of the battery management system.

[0114] Exemplarily, the power transmission between the battery simulation unit and the vehicle under test can be controlled according to the test status of the battery. For example, when the fault level is a level 2 fault, the battery function has been lost. Based on the preset fault handling strategy, the battery management module can request other controllers of the vehicle to stop charging or discharging through the HIL test module, and other controllers should respond to the request within a preset time. In other words, the time, current, voltage, etc. of the power transmission between the battery simulation unit and the vehicle can be controlled, and the battery management module's handling of the fault can be verified by monitoring the power transmission status.

[0115] In some possible implementations, the working state of the relay simulation module can be controlled according to the test state of the battery. For example, when the fault level is determined to be a level 2 fault, and other on-board control devices do not respond to the request to stop charging / discharging within a preset time (such as 30 seconds, 60 seconds, etc.), the relay simulation module can be controlled to be in a disconnected state through the HIL test module. For another example, when the fault level is adjusted from level 2 to level 3, based on the power consumption / charging demand, the relay simulation module can be controlled from the disconnected state to the corresponding power consumption or charging state.

[0116] In one embodiment, the fault level can be sent to the vehicle under test or control devices such as VCU, and other control devices of the vehicle can perform corresponding fault processing according to the fault level of the battery, thereby achieving end-to-end verification from the battery pack failure to the whole vehicle response side.

[0117] It should be understood that the above description of fault levels is only an example for the sake of explanation, and fault levels may also be divided and set in other ways, which is not limited in the embodiments of the present application.

[0118] For example, the temperature difference between the cooling medium at the first cooling medium inlet and the first cooling medium outlet can be adjusted by the heat exchange simulation module. The operation of the heat exchange simulation module can be controlled according to the fault state of the battery.

[0119] For example, the following Figure 3 Take the system architecture shown in the figure as an example, combined with Figures 5 to 7 The method of testing the battery management module or battery management system under this system architecture is briefly introduced. Figure 5 It can be understood as the test process for power usage scenarios. Figure 6 It can be understood as the testing process in the charging scenario.

[0120] For example, Figure 5 It is a flow chart of a testing method provided in an embodiment of the present application.

[0121] Exemplarily, the vehicle VCU can send a high voltage request to the battery management module, and the battery management module can instruct the HIL test device to apply high voltage to the vehicle according to the high voltage request. The HIL test device can control the relay box to actuate according to the instruction, and can also control the battery simulator to output electrical energy to the outside. For example, the HIL test device can control the relay box to close the pre-charge relay first, and then close the main positive relay and the main negative relay. According to the control signal from the HIL test device, the relay box can control the corresponding relay to open or close, and feedback the closing state of the relay to the HIL test device. The HIL test device can send a battery simulator opening request information to the battery simulator host computer to request to turn on the battery simulator. The battery simulator host computer can control the battery simulator to open according to the request information, and feedback the voltage, current and other information of the battery to the HIL test device. The HIL test device can feedback the voltage, current and other information of the battery to the battery management module through the battery acquisition unit. The HIL test device can also feedback the working status of the relay box to the battery management module, so that the battery management module can send high voltage status feedback information to the vehicle VCU.

[0122] When the battery simulator is started and the relay box is in the high-voltage state, the scenario simulation module 310 can deliver power to the high-voltage system of the vehicle to simulate the power consumption process. In the process of delivering power to the high-voltage system of the vehicle, the HIL test device controls the operation of the deep cold cabinet according to the test scenario to simulate the heat exchange process between the battery pack and the vehicle cooling system in the actual scenario.

[0123] For example, Figure 6It is a flow chart of a testing method provided in an embodiment of the present application.

[0124] Exemplarily, the battery management module can receive messages from the fast charging pile and request fast charging from the vehicle VCU. According to the instruction from the vehicle VCU to allow fast charging, the battery management module can request the HIL test device to perform the fast charging process. The HIL test device can control the action of the relay box, for example, control the relay box to first close the main positive and main negative relays, and then close the fast charging positive and fast charging negative relays. According to the control signal of the HIL test device, the relay box can control the corresponding relay to open or close, and feedback the closing state of the relay to the HIL test device. Similar to the power usage scenario, the HIL test device can control the opening of the battery cell simulator through the battery cell simulator host computer, and can feedback to the battery acquisition unit based on the voltage and / or current information of the battery cell fed back by the battery cell simulator host computer. Fault injection is achieved through the HIL model interface. The battery management module can send fast charging status information to the vehicle VCU based on the relay closing status feedback information indicated by the HIL.

[0125] When the battery simulator is started and the relay box is in the fast charging relay closed state, the vehicle fast charging port can transmit power to the battery simulator to simulate the charging process. Accordingly, the HIL test device can control the operation of the deep cold cabinet according to the test scenario to simulate the temperature state of the real battery pack inlet and outlet.

[0126] By simulating power usage or charging scenarios, the test scenarios can be more closely aligned with the actual working scenarios of the battery management system. When performing fault verification, based on the fault state to be tested, the HIL test device controls the actuation of the cryogenic unit, relay box, and battery cell simulator to simulate the actual working conditions of the battery pack under the fault scenario, thereby improving the accuracy of the test results of the battery management system.

[0127] For example, Figure 7 It is a flow chart of a testing method provided in an embodiment of the present application.

[0128] Exemplarily, the cloud-based fault mode database may include multiple fault modes, such as battery state parameters such as battery cells, voltage, and temperature in various fault modes that occur during the product development stage and / or the actual operation of after-sales products. The HIL test device can obtain fault parameters from the cloud-based fault mode database and test the fault handling strategy of the battery management system in this scenario.

[0129] In one embodiment, Figure 3Taking the system architecture shown as an example, the HIL test device can convert fault parameters into corresponding battery fault parameters and input them to the battery acquisition unit, which then feeds back the fault parameters to the battery management module. The battery management module can determine the health status of the battery and whether it is in a fault state based on the feedback fault parameters. When it is determined to be in a fault state, the fault information is reported to the vehicle VCU, which can judge and make a vehicle-level processing mechanism based on the fault state of the BMS. For example, limiting some functions of the vehicle's high-voltage system.

[0130] Combined with the above Figures 2 to 7 The method provided in the embodiment of the present application is described in detail. Figure 8 and Fig. 9 The device provided in the embodiment of the present application is described in detail. The description of the device embodiment corresponds to the description of the method embodiment, so the contents not described in detail can be referred to the method embodiment above.

[0131] For example, Figure 8 A schematic block diagram of a testing device 700 (hereinafter referred to as device 700 ) provided in an embodiment of the present application is shown. The device may include an acquisition unit 710 and a processing unit 720 .

[0132] The apparatus 700 may include executing Figure 4 , Figure 5 , Figure 6 or Figure 7 The units of the method in the apparatus 700 can be used to perform the above Figure 4 , Figure 5 , Figure 6 or Figure 7 The corresponding process in the method embodiment.

[0133] The device 700 is used to execute Figure 4 When the method 400 is performed, the acquisition unit 710 can be used to execute step S410 in the method 400, and the processing unit 720 can be used to execute steps S420 to S430 in the method 400.

[0134] Specifically, the acquisition unit 710 can be used to acquire status information of a battery simulation unit, which is used to transmit electrical energy to the high-voltage system of the vehicle under test; the processing unit 720 can be used to: determine the fault state of the battery based on the fault injection parameters and the status information of the battery simulation unit; determine the temperature of the cooling medium at the first cooling medium outlet based on the temperature of the cooling medium at the first cooling medium inlet and the fault state, the first cooling medium inlet being used to receive the cooling medium from the cooling system of the battery of the vehicle under test, and the first cooling medium outlet being used to output the cooling medium to the cooling system of the battery.

[0135] Exemplarily, the device 700 may be Figure 2 Alternatively, you can use the HIL test module in Figure 2 The scene simulation module 210 in the embodiment may be Figure 3 Alternatively, the HIL test setup in Figure 3 The scene simulation module 310 in the test device may also be a chip or processor in the test device.

[0136] Optionally, the processing module 720 may also be used to control the power transmission between the battery simulation unit and the vehicle under test according to the fault status of the battery.

[0137] Optionally, the battery simulation unit includes a cell simulation unit, which is used to simulate the working characteristics of a single cell.

[0138] Optionally, the processing module 720 may also be used to control the working state of a relay simulation module according to the fault state of the battery, wherein the relay simulation module is used to connect the battery simulation unit and the high-voltage system of the vehicle under test.

[0139] Optionally, the acquisition unit 710 may also be used to: receive first fault indication information from a cloud server, where the fault indication information includes the fault injection parameter.

[0140] Optionally, the device 700 may further include a sending unit 730, and the sending unit 730 may be used to send second fault indication information to the tested vehicle, where the second fault indication information is used to indicate a fault state of the battery.

[0141] Optionally, the processing unit 720 can be used to: control the working state of a heat exchange simulation module according to the fault state of the battery, the heat exchange simulation module being used to simulate the temperature change of the battery; and adjust the temperature difference between the cooling medium at the first cooling medium inlet and the first cooling medium outlet through the working state of the heat exchange simulation module.

[0142] It should be understood that the division of the units in the above device is only a division of logical functions, and in actual implementation, they can be fully or partially integrated into one physical entity, or physically separated. All units of the above device can be implemented in the form of a processor calling software, or in the form of a hardware circuit, or in part in the form of a processor calling software, and the rest in the form of a hardware circuit.

[0143] In a specific implementation process, the acquisition unit 710 may be implemented by at least one transceiver or a transceiver-related circuit, and the processing unit 720 may be implemented by at least one processor or a processor-related circuit. Figure 2 The HIL test module shown, or, may be a processor or chip in the HIL test module. In another example, the apparatus 700 may be Figure 3 The HIL test device shown may, alternatively, be a processor or a chip in the test device.

[0144] For example, Fig. 9 It is a schematic block diagram of another test device 1000 (hereinafter referred to as device 1000) provided in an embodiment of the present application. The device 1000 may include: a processor 1010, an interface circuit 1020 and a memory 1030. Among them, the processor 1010, the interface circuit 1020 and the memory 1030 are connected through an internal connection path, the memory 1030 is used to store instructions, the processor 1010 is used to execute the instructions stored in the memory 1030, and the interface circuit 1020 receives / sends part of the parameters. Optionally, the memory 1030 can be coupled to the processor 1010 through an interface, and can also be integrated with the processor 1010.

[0145] In some possible implementations, the device 1000 may be arranged at Figure 2 HIL test module shown, or Figure 3 The HIL test setup shown.

[0146] It should be noted that the above-mentioned interface circuit 1020 may include but is not limited to a transceiver device such as an input / output interface to realize communication between the device 1000 and other devices or communication networks. For example, the information collected by the interface circuit 1020 can be used to control the operation of the heat exchange simulation module and / or the relay simulation module. For another example, the first fault indication information can be obtained through the interface circuit 1020. For another example, the second fault indication information can be sent to the vehicle under test through the interface circuit 1020.

[0147] The present application also provides a computer program product, which includes: a computer program code, when the computer program code is run on a computer, the computer executes the above Figure 4 , Figure 5 , Figure 6 or Figure 7 Embodiments of the method involved.

[0148] The present application also provides a computer-readable storage medium, which stores program codes or instructions. When the computer program codes or instructions are executed by a processor of a computer, the processor implements the above-mentioned Figure 4 , Figure 5 , Figure 6 or Figure 7 Embodiments of the method involved.

[0149] An embodiment of the present application further provides a testing system, which may include the above-mentioned device 700 or 1000 and a battery simulation unit.

[0150] Exemplarily, the test system may include a heat exchange simulation module, a cloud-based failure mode database and / or a relay simulation module.

[0151] For example, the test system and the vehicle under test can be configured as follows: Figure 2 or Figure 3 For example, in the power consumption scenario, the battery simulation unit transmits power to the high-voltage system of the vehicle under test, and the vehicle can operate under the road conditions provided by the vehicle test bench, that is, fault injection can be achieved in the high-voltage dynamic operation of the vehicle, so that the test scenario of the battery management module or battery management system can be close to the actual working scenario of the vehicle.

[0152] It should be understood that for the convenience and brevity of description, the specific working processes and beneficial effects of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0153] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0154] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0155] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0156] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

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

[0158] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0159] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0160] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A testing method, characterized in that: include: Acquiring status information of a battery simulation unit, wherein the battery simulation unit is used to transmit electric energy to a high-voltage system of a vehicle under test; Determining a test state of the battery according to the fault injection parameters and the state information of the battery simulation unit; The temperature of the cooling medium at the first cooling medium outlet is determined according to the temperature of the cooling medium at the first cooling medium inlet and the test state, the first cooling medium inlet is used to receive the cooling medium from the cooling system of the battery of the tested vehicle, and the first cooling medium outlet is used to output the cooling medium to the cooling system of the battery.

2. The method according to claim 1, characterized in that: The method further comprises: According to the test status of the battery, the power transmission between the battery simulation unit and the vehicle under test is controlled.

3. The method according to claim 1 or 2, characterized in that: The battery simulation unit includes a cell simulation unit, and the cell simulation unit is used to simulate the working characteristics of the cell in the battery of the vehicle under test.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: According to the test status of the battery, the working status of the relay simulation module is controlled, wherein the relay simulation module is used to connect the battery simulation unit and the high-voltage system of the vehicle under test.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: First fault indication information is received from a cloud server, where the first fault indication information includes the fault injection parameter.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Sending second fault indication information to the tested vehicle, where the second fault indication information is used to indicate a test status of the battery.

7. A testing device, characterized in that: include: an acquisition unit, used to acquire status information of a battery simulation unit, wherein the battery simulation unit is used to transmit electric energy to a high-voltage system of a vehicle under test; A processing unit, configured to determine a test state of a battery according to a fault injection parameter and state information of the battery simulation unit; The temperature of the cooling medium at the first cooling medium outlet is determined according to the temperature of the cooling medium at the first cooling medium inlet and the test state, the first cooling medium inlet is used to receive the cooling medium from the cooling system of the battery of the tested vehicle, and the first cooling medium outlet is used to output the cooling medium to the cooling system of the battery.

8. The device according to claim 7, characterized in that The processing unit is also used for: According to the test status of the battery, the power transmission between the battery simulation unit and the vehicle under test is controlled.

9. The device according to claim 7 or 8, characterized in that The battery simulation unit includes a cell simulation unit, and the cell simulation unit is used to simulate the working characteristics of the cell in the battery of the vehicle under test.

10. The device according to any one of claims 7 to 9, characterized in that The processing unit is also used for: According to the test status of the battery, the working status of the relay simulation module is controlled, wherein the relay simulation module is used to connect the battery simulation unit and the high-voltage system of the vehicle under test.

11. The device according to any one of claims 7 to 10, characterized in that The acquisition unit is also used for: First fault indication information is received from a cloud server, where the first fault indication information includes the fault injection parameter.

12. The device according to any one of claims 7 to 11, characterized in that The device further comprises a sending unit, wherein the sending unit is configured to: Sending second fault indication information to the tested vehicle, where the second fault indication information is used to indicate a test status of the battery.

13. A device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program stored in the memory, so that the apparatus performs the method according to any one of claims 1 to 6.

14. A testing system, characterized in that: include: A battery simulator, used to transfer electrical energy to the high-voltage system of the vehicle under test; A relay simulation device, used to connect the battery simulation device with the high voltage system of the vehicle under test; A hardware-in-the-loop (HIL) test device, configured to obtain status information of a battery simulation unit; determine a test status of the battery according to a fault injection parameter and the status information of the battery simulation unit; determine a temperature of a cooling medium at a first cooling medium outlet according to a temperature of a cooling medium at a first cooling medium inlet and the test status, wherein the first cooling medium inlet is configured to receive a cooling medium from a cooling system of a battery of the vehicle under test, and the first cooling medium outlet is configured to output a cooling medium to a cooling system of the battery; a heat exchange simulation device, used to adjust the temperature difference between the cooling medium at the first cooling medium inlet and the first cooling medium outlet to simulate the temperature change of the battery; A battery management system BMS simulation device is used to control the power transmission between the battery simulation device and the vehicle under test through the HIL test device when the battery is in a test state.

15. The system according to claim 14, characterized in that The system also includes a cloud server, and the HIL test device is further used for: First fault indication information is received from the cloud server, where the first fault indication information includes the fault injection parameter.

16. The system according to claim 14 or 15, characterized in that The battery simulation device includes a battery cell simulation unit, and the battery cell simulation unit is used to simulate the working characteristics of the battery cells in the battery of the vehicle under test.

17. A system according to any one of claims 14 to 16, characterized in that The heat exchange simulation device is used for: receiving heat exchange indication information from the HIL test device; According to the heat exchange indication information, a temperature difference between the cooling medium at the first cooling medium inlet and the first cooling medium outlet is adjusted.

18. A system according to any one of claims 14 to 17, characterized in that The battery management system BMS simulation device or the HIL test device is also used for: Sending second fault indication information to the tested vehicle, where the second fault indication information is used to indicate a test status of the battery.

19. A testing system, characterized in that: It comprises a test device as claimed in any one of claims 7 to 13, and a battery simulation unit, wherein the battery simulation unit is used to transmit electrical energy to a high-voltage system of a vehicle under test.

20. The system according to claim 19, characterized in that The battery simulation unit includes a cell simulation unit, and the cell simulation unit is used to simulate the working characteristics of the cell in the battery of the vehicle under test.

21. The system according to claim 19 or 20, characterized in that The system further comprises a heat exchange simulation module, which is used to simulate the temperature change of the battery.

22. A system according to any one of claims 19 to 21, characterized in that The system further comprises: a cloud server, configured to send first fault indication information to the test device, wherein the first fault indication information includes a fault injection parameter; and / or, The relay simulation module is used to connect the battery simulation unit and the high-voltage system of the vehicle under test.

23. A computer-readable storage medium, characterized in that: Instructions are stored thereon, and when the instructions are executed by a processor, the processor implements the method according to any one of claims 1 to 6.