Electric vehicle power system test method, test device and test system
By utilizing the isolated routing connection of the CANFD network and the Ethernet network on the torque load test bench, decomposing the power system test tasks into priority order, generating and sending test signals, the problems of vehicle loss of control and low test efficiency in electric vehicle power system testing are solved, and stable and reliable test results are achieved.
Patent Information
- Application Number
- CN202410337742.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-03-21
AI Technical Summary
Existing technologies are difficult to be compatible with traditional power development and verification requirements in electric vehicle power system testing, and there is a risk of vehicle loss of control leading to casualties, which affects the test results.
The power system test is carried out on a torque load test bench. The isolated CANFD network and Ethernet network are connected through isolated routing. The task is divided into multiple test subtasks in order of priority according to the functional acceptance logic of the task to be tested. The BMS system is used to send control signals, generate and send test signals, obtain response results, and execute test subtasks.
It enables power system testing without field testing, reduces the risk of vehicle loss of control, improves testing efficiency, and ensures that the system is stable and reliable, and functions smoothly without bugs.
Smart Images

Figure CN118190447B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of power testing, and in particular to a power system testing method, a power system testing device, a storage medium, and a testing system for an electric vehicle. Background Art
[0002] With China's support for pure electric vehicles, a large amount of pure electric vehicle development content has flooded the industry. For powertrain development, how to maintain compatibility with traditional powertrain development and verification requirements while also meeting the implementation of new features and concepts, ensuring system stability and reliability, and smooth, bug-free functionality, has become a key focus of testing and verification. In recent years, vehicle loss of control, resulting in casualties, has become a common occurrence during program or strategy verification. This can severely impact test effectiveness. Summary of the Invention
[0003] In view of this, the embodiments of the present disclosure are intended to provide a method for testing a power system of an electric vehicle, a device for testing a power system of an electric vehicle, a storage medium, and a testing system.
[0004] The technical solution of the present disclosure is achieved as follows:
[0005] In a first aspect, the present disclosure provides a power system testing method for an electric vehicle, which is applied to perform power system testing on a torque load test bench, wherein the power system is connected to an isolation router to form a mutually isolated CANFD network and Ethernet network.
[0006] The present disclosure provides a method for testing the power system of an electric vehicle, including:
[0007] According to the function succession logic of the task to be tested, the task to be tested is divided into a plurality of test subtasks with a priority test order;
[0008] Based on the multiple test subtasks, a control signal is sent through the BMS system at the Ethernet network end;
[0009] generating a test signal at a test terminal connected to the external isolated CAN FD network based on the control signal;
[0010] Sending the test signal to the controller to be tested through the CANFD network via a gateway, and obtaining a response result of the controller to be tested to the test signal;
[0011] The response result is sent to the BMS system through the controller to be tested, and the test subtask is executed to obtain test results corresponding to test subtasks of different priorities.
[0012] In some embodiments, the tasks to be tested include test tasks that cannot be field tested after the vehicle is assembled; the test subtasks include a basic task with the highest priority, a first test task with a medium priority, and a second test task with the lowest priority;
[0013] The step of sending the response result to the BMS system through the controller to be tested, executing the test subtask, and obtaining test results corresponding to test subtasks of different priorities includes:
[0014] If the basic task is executed successfully, the first test task of medium priority is executed to obtain the first test result of executing the first test task of medium priority, and / or the second test task of lowest priority is executed to obtain the second test result of executing the second test task of lowest priority.
[0015] In some embodiments, if the basic task is executed successfully, executing the first test task of medium priority to obtain a first test result of executing the first test task of medium priority, and / or executing the second test task of lowest priority to obtain a second test result of executing the second test task of lowest priority includes:
[0016] If the basic task is executed successfully, the first test task of the medium priority is executed, and according to the execution status of the first test task, whether the first test result of the first test task is passed is determined;
[0017] If the basic task is executed successfully, the second test task with the lowest priority is executed, and according to the execution status of the second test task, it is determined whether the second test result of the second test task is passed.
[0018] In some embodiments, determining whether the first test result of the first test task is passed according to the execution status of the first test task includes:
[0019] If the execution status of the first test task is failed, the execution status of the first test task is determined to be A; if the execution status of the first test task is passed, the execution status of the first test task is determined to be B;
[0020] Determining whether the first test result of the first test task is passed based on a logical relationship between individual events A and B; wherein the logical relationship between individual events A and B includes: P(A)>0, P(B|A)=P(AB) / P(A);
[0021] If P(B|A) is less than 10%, the first test result of the first test task is determined to be passed;
[0022] Alternatively, if the first test task includes several events A1, A2, ..., An, and A1+A2+...An constitute a complete logical process, then based on the logical relationship between the several events A1, A2, ..., An and B, it is determined whether the first test result of the first test task is passed; wherein the logical relationship between the several events A1, A2, ..., An and B includes:
[0023] If P(B) is less than 35%, it is determined that the first test result of the first test task is passed.
[0024] In a second aspect, the present disclosure provides a power system test device for an electric vehicle, which is used to perform power system testing on a torque load test bench, wherein the power system is connected to an isolation router to form a mutually isolated CANFD network and Ethernet network, and the device includes:
[0025] A task determination module is used to divide the task to be tested into a plurality of test subtasks with a priority test order according to the function acceptance logic of the task to be tested;
[0026] A control signal issuing module, configured to issue a control signal on the Ethernet network end through the BMS system based on the multiple test subtasks;
[0027] a test signal generating module, configured to generate a test signal at a test terminal connected to the external isolated CANFD network based on the control signal;
[0028] A test signal response module is used to send the test signal to the controller to be tested through the CANFD network via a gateway, and obtain a response result of the controller to be tested to the test signal;
[0029] The test subtask execution module is used to send the response result to the BMS system through the controller to be tested, execute the test subtask, and obtain test results corresponding to test subtasks of different priorities.
[0030] In some embodiments, the tasks to be tested include test tasks that cannot be field tested after the vehicle is assembled; the test subtasks include a basic task with the highest priority, a first test task with a medium priority, and a second test task with the lowest priority;
[0031] The test subtask execution module is used to
[0032] If the basic task is executed successfully, the first test task of medium priority is executed to obtain the first test result of executing the first test task of medium priority, and / or the second test task of lowest priority is executed to obtain the second test result of executing the second test task of lowest priority.
[0033] In some embodiments, the test subtask execution module is used to
[0034] If the basic task is executed successfully, the first test task of the medium priority is executed, and according to the execution status of the first test task, whether the first test result of the first test task is passed is determined;
[0035] If the basic task is executed successfully, the second test task with the lowest priority is executed, and according to the execution status of the second test task, it is determined whether the second test result of the second test task is passed.
[0036] In some embodiments, the test subtask execution module is used to
[0037] If the execution status of the first test task is failed, the execution status of the first test task is determined to be A; if the execution status of the first test task is passed, the execution status of the first test task is determined to be B;
[0038] Determining whether the first test result of the first test task is passed based on a logical relationship between individual events A and B; wherein the logical relationship between individual events A and B includes: P(A)>0, P(B|A)=P(AB) / P(A);
[0039] If P(B|A) is less than 10%, the first test result of the first test task is determined to be passed;
[0040] Alternatively, if the first test task includes several events A1, A2, ..., An, and A1+A2+...An constitute a complete logical process, then based on the logical relationship between the several events A1, A2, ..., An and B, it is determined whether the first test result of the first test task is passed; wherein the logical relationship between the several events A1, A2, ..., An and B includes:
[0041] If P(B) is less than 35%, it is determined that the first test result of the first test task is passed.
[0042] In a third aspect, the present disclosure provides a computer-readable storage medium storing a power system test program for an electric vehicle. When the power system test program for the electric vehicle is executed by a processor, the power system test method for the electric vehicle described in the first aspect is implemented.
[0043] In a fourth aspect, the present disclosure provides a testing system comprising a memory, a processor, and an electric vehicle power system testing program stored in the memory and executable on the processor. When the processor executes the electric vehicle power system testing program, the electric vehicle power system testing method described in the first aspect above is implemented.
[0044] According to the power system testing method of an electric vehicle in an embodiment of the present disclosure, it is applied to perform power system testing on a torque load test bench, wherein the power system is connected to the isolation router to form a mutually isolated CANFD network and Ethernet network, including dividing the task to be tested into multiple test subtasks with a priority test order according to the functional acceptance logic of the task to be tested; based on the multiple test subtasks, a control signal is sent through the BMS system at the Ethernet network end; based on the control signal, a test signal is generated at the test terminal connected to the external isolated CANFD network; the test signal is sent to the controller to be tested through the CANFD network through the gateway, and a response result of the controller to be tested to the test signal is obtained; the response result is sent to the BMS system through the controller to be tested, and the test subtask is executed to obtain the test results corresponding to the test subtasks of different priorities. This application tests the power system on a torque-loaded test bench, and the power system is connected to an isolated router to form a mutually isolated CANFD network and Ethernet network. A test signal is generated at a test terminal connected to an external isolated CANFD network; the test signal is sent to the controller to be tested via the CANFD network through a gateway to obtain the response result of the controller to be tested to the test signal; the response result is sent to the BMS system through the controller to be tested to execute the test subtasks and obtain the test results corresponding to the test subtasks of different priorities. The entire process does not require on-site vehicle testing, and test signals can be generated according to the test task requirements, test tasks can be executed, and test results can be viewed. This can effectively reduce casualties caused by vehicle loss of control during the test and effectively improve test efficiency.
[0045] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 is a flow chart of a method for testing a power system of an electric vehicle according to an exemplary embodiment;
[0047] Figure 2 is a schematic diagram of a torque load test bench according to an exemplary embodiment;
[0048] Figure 3 is a schematic diagram showing the connection between a power system and an isolation route according to an exemplary embodiment;
[0049] Figure 4 The figure is a schematic structural diagram of a power system testing device for an electric vehicle according to an exemplary embodiment. DETAILED DESCRIPTION
[0050] The following describes in detail embodiments of the present disclosure, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0051] With China's support for pure electric vehicles, a large amount of pure electric vehicle development content has flooded the industry. For powertrain development, how to maintain compatibility with traditional powertrain development and verification requirements while also meeting the implementation of new features and concepts, ensuring system stability and reliability, and smooth, bug-free functionality, has become a key focus of testing and verification. In recent years, vehicle loss of control, resulting in casualties, has become a common occurrence during program or strategy verification. This can severely impact test effectiveness.
[0052] In response to the above situation, the present disclosure provides a power system testing method for an electric vehicle, which is applied to perform power system testing on a torque load test bench, wherein the power system is connected to an isolation router to form a mutually isolated CANFD network and Ethernet network. Figure 1 FIG. 1 is a flow chart of a method for testing a power system of an electric vehicle according to an exemplary embodiment. Figure 1 As shown, the electric vehicle power system testing method includes:
[0053] Step 10: Divide the task to be tested into a plurality of test subtasks with a priority test order according to the function succession logic of the task to be tested;
[0054] Step 11: Based on the multiple test subtasks, a control signal is sent on the Ethernet network end through the BMS system;
[0055] Step 12: Based on the control signal, generate a test signal at a test terminal connected to the external isolated CAN FD network;
[0056] Step 13: Sending the test signal to the controller to be tested through the CANFD network via the gateway, and obtaining a response result of the controller to be tested to the test signal;
[0057] Step 14: Send the response result to the BMS system through the controller to be tested, execute the test subtask, and obtain test results corresponding to test subtasks of different priorities.
[0058] In an exemplary embodiment, Figure 2 FIG. 1 is a schematic diagram of a torque load test bench according to an exemplary embodiment. Figure 2 As shown, the electric vehicle's powertrain is tested on a torque-load test bench. The vehicle's powertrain, including wheels 20, 21, 22, and 23, can be mounted on the torque-load test bench for torque testing and other purposes. The torque-load test bench can hold the electric vehicle's powertrain. Figure 3 FIG. 1 is a schematic diagram showing the connection between the power system and the isolation route according to an exemplary embodiment. Figure 3 As shown, the isolated routing includes the FMCU (Charge Management Controller) routing, the RMCU (Motor Controller) routing, and the CDU (Onboard Charger) routing. The BMS system is connected to a gateway interface via Ethernet. The gateway also has two external interfaces: a CANFD input and a CANFD output. The gateway connects to the test terminal via the CANFD input, and to the controller via the CANFD output. The CANFD network and Ethernet network are isolated.
[0059] In an exemplary embodiment, the task to be tested is divided into a plurality of test subtasks with a priority test order according to the functional succession logic of the task to be tested. For example, the test subtasks include a basic task with the highest priority, a first test task with a medium priority, and a second test task with the lowest priority. Among them, the first test task with a medium priority and the second test task with the lowest priority need to be executed on the basis of the passing of the basic task with the highest priority. For example, if the basic task is active discharge, on the basis that the active discharge is controllable and the normal state passes, the second test task test of torque control, speed control, and auxiliary heating can be executed; or, when there is a fault in the execution of the basic task, the first test task test in the fault state is executed. After the fault state of the basic task is resolved, the second test task test of torque control, speed control, and auxiliary heating can be executed.
[0060] According to the power system testing method of an electric vehicle in an embodiment of the present disclosure, it is applied to perform power system testing on a torque load test bench, wherein the power system is connected to the isolation router to form a mutually isolated CANFD network and Ethernet network, including dividing the task to be tested into multiple test subtasks with a priority test order according to the functional acceptance logic of the task to be tested; based on the multiple test subtasks, a control signal is sent through the BMS system at the Ethernet network end; based on the control signal, a test signal is generated at the test terminal connected to the external isolated CANFD network; the test signal is sent to the controller to be tested through the CANFD network through the gateway, and a response result of the controller to be tested to the test signal is obtained; the response result is sent to the BMS system through the controller to be tested, and the test subtask is executed to obtain the test results corresponding to the test subtasks of different priorities. This application tests the power system on a torque-loaded test bench, and the power system is connected to an isolated router to form a mutually isolated CANFD network and Ethernet network. A test signal is generated at a test terminal connected to an external isolated CANFD network; the test signal is sent to the controller to be tested via the CANFD network through a gateway to obtain the response result of the controller to be tested to the test signal; the response result is sent to the BMS system through the controller to be tested to execute the test subtasks and obtain the test results corresponding to the test subtasks of different priorities. The entire process does not require on-site vehicle testing, and test signals can be generated according to the test task requirements, test tasks can be executed, and test results can be viewed. This can effectively reduce casualties caused by vehicle loss of control during the test and effectively improve test efficiency.
[0061] In some embodiments, the tasks to be tested include test tasks that cannot be field tested after the vehicle is assembled; the test subtasks include a basic task with the highest priority, a first test task with a medium priority, and a second test task with the lowest priority;
[0062] The step of sending the response result to the BMS system through the controller to be tested, executing the test subtask, and obtaining test results corresponding to test subtasks of different priorities includes:
[0063] If the basic task is executed successfully, the first test task of medium priority is executed to obtain the first test result of executing the first test task of medium priority, and / or the second test task of lowest priority is executed to obtain the second test result of executing the second test task of lowest priority.
[0064] In the example embodiment, if the basic task is passed, the first test task of the medium priority is executed, a first test result of the first test task of the medium priority is obtained, and / or a second test task of the lowest priority is executed, and a second test result of the second test task of the lowest priority is obtained, including:
[0065] If the basic task is passed, the first test task of the medium priority is executed, and according to the execution state of the first test task, it is determined whether the first test result of the first test task is passed.
[0066] If the basic task is passed, the second test task of the lowest priority is executed, and according to the execution state of the second test task, it is determined whether the second test result of the second test task is passed.
[0067] In the example embodiment, according to the execution state of the first test task, it is determined whether the first test result of the first test task is passed, including:
[0068] If the execution state of the first test task is not passed, the execution state of the first test task is determined as A, and if the execution state of the first test task is passed, the execution state of the first test task is determined as B.
[0069] Based on the logical relationship between the single events A and B, it is determined whether the first test result of the first test task is passed; wherein the logical relationship between the single events A and B includes: P(A)>0, P(B|A)=P(AB) / P(A).
[0070] If P(B|A)<10%, it is determined that the first test result of the first test task is passed.
[0071] Or, the first test task includes a plurality of events A1, A2……An, and A1+A2+……An constitutes a complete logical flow, and based on the logical relationship between the plurality of events A1, A2……An and B, it is determined whether the first test result of the first test task is passed; wherein the logical relationship between the plurality of events A1, A2……An and B includes:
[0072] If P(B)<35%, it is determined that the first test result of the first test task is passed.
[0073] In an exemplary embodiment, the task to be tested is an active discharge test. While motor discharge cannot be triggered at high speeds on a real vehicle, the MCU may be able to do so. By generating an active discharge test signal, the BMS system is tested for erroneous operation and its tolerance limits when an error occurs. The test signal is generated at the test terminal and is obtained by modifying the control signal to produce a trigger signal that can trigger motor discharge at high speeds.
[0074] The test process can be divided into the highest priority basic task, the medium priority first test task and the lowest priority second test task, which can be tested in sequence.
[0075] When testing each task, the normal state and the stress state can be distinguished during the test according to the situation;
[0076] The normal state confirms the status result according to the framework. It is not allowed to jump directly from the working state to the abnormal and power-off states. It must jump to the Standby state before entering other states.
[0077] The pressure state performs pressure injection according to the preconditions in the framework, allowing injection interference to the working state or directly performing the next pressure injection without waiting for Standby;
[0078] Among them, the test injection execution principles include:
[0079] Prioritize confirming the functional status of the basic task, and stop if the normal state cannot be passed;
[0080] If the basic task function status is normal, then confirm the second test task function status. If the normal status fails, it is necessary to count the fault points for judgment;
[0081] Here, let {the failed event be A, the passed event be B}, and A and B are not coupled:
[0082] Individual events have logical relationships; P(A)>0, P(B|A)=P(AB) / P(A);
[0083] If P(B|A) is less than 10%, the system can proceed to the first test task.
[0084] Assume that {several events A1, A2, ...An are mutually uncoupled}, and A1 + A2 + ...An form a complete logical process; {B represents that one of the events does not pass};
[0085] There is a logical relationship between consecutive events;
[0086] If P(B) < 35%, the vehicle can be released to enter the first test task test. In this way, the entire test task test can be completed according to the priority of the sub-test task, thereby realizing the alternative test of the high-risk situation that may exist in the vehicle running state, effectively reducing the situation of vehicle out of control causing personnel injury during the test process, and effectively improving the test efficiency.
[0087] The present disclosure provides a power system test device of an electric vehicle, which is applied to power system testing on a torque load test bench. The power system is connected to an isolation router to form a CANFD network and an Ethernet network that are isolated from each other. Figure 4 The power system test device of the electric vehicle according to an example embodiment is shown in the structural schematic diagram. As shown in the figure, the device comprises: Figure 4
[0088] A task determination module 40 is configured to divide the test task into a plurality of test sub-tasks with a priority test sequence according to the function acceptance logic of the test task.
[0089] A control signal sending module 41 is configured to send a control signal through the BMS system at the Ethernet network end based on the plurality of test sub-tasks.
[0090] A test signal generation module 42 is configured to generate a test signal at a test terminal connected to the external isolated CANFD network based on the control signal.
[0091] A test signal response module 43 is configured to send the test signal to the test controller through the CANFD network through the gateway to obtain a response result of the test controller to the test signal.
[0092] A test sub-task execution module 44 is configured to send the response result to the BMS system through the test controller to perform the test sub-task and obtain a test result corresponding to each test sub-task with different priorities.
[0093] In the example embodiment, the power system test of the electric vehicle is performed on the torque load test bench. The power system of the electric vehicle can be fixed on the torque load test bench. The BMS system is connected to one interface of the gateway through Ethernet. The gateway also has two other interfaces, one CANFD import and one CANFD export. The gateway is connected to the test terminal through the CANFD import, and the gateway is connected to the controller through the CANFD export. The CANFD network and the Ethernet network are isolated.
[0094] In an exemplary embodiment, the task to be tested is divided into a plurality of test subtasks with a priority test order according to the functional succession logic of the task to be tested. For example, the test subtasks include a basic task with the highest priority, a first test task with a medium priority, and a second test task with the lowest priority. Among them, the first test task with a medium priority and the second test task with the lowest priority need to be executed on the basis of the passing of the basic task with the highest priority. For example, if the basic task is active discharge, on the basis that the active discharge is controllable and the normal state passes, the second test task test of torque control, speed control, and auxiliary heating can be executed; or, when there is a fault in the execution of the basic task, the first test task test in the fault state is executed. After the fault state of the basic task is resolved, the second test task test of torque control, speed control, and auxiliary heating can be executed.
[0095] According to the power system testing device of the electric vehicle according to the embodiment of the present disclosure, it is used to perform power system testing on a torque load test bench, wherein the power system is connected to the isolation router to form a mutually isolated CANFD network and Ethernet network, including dividing the task to be tested into multiple test subtasks with a priority test order according to the functional acceptance logic of the task to be tested; based on the multiple test subtasks, a control signal is sent through the BMS system at the Ethernet network end; based on the control signal, a test signal is generated at the test terminal connected to the external isolated CANFD network; the test signal is sent to the controller to be tested through the CANFD network through the gateway, and a response result of the controller to be tested to the test signal is obtained; the response result is sent to the BMS system through the controller to be tested, and the test subtask is executed to obtain the test results corresponding to the test subtasks of different priorities. This application tests the power system on a torque-loaded test bench, and the power system is connected to an isolated router to form a mutually isolated CANFD network and Ethernet network. A test signal is generated at a test terminal connected to an external isolated CANFD network; the test signal is sent to the controller to be tested via the CANFD network through a gateway to obtain the response result of the controller to be tested to the test signal; the response result is sent to the BMS system through the controller to be tested to execute the test subtasks and obtain the test results corresponding to the test subtasks of different priorities. The entire process does not require on-site vehicle testing, and test signals can be generated according to the test task requirements, test tasks can be executed, and test results can be viewed. This can effectively reduce casualties caused by vehicle loss of control during the test and effectively improve test efficiency.
[0096] In some embodiments, the tasks to be tested include test tasks that cannot be field tested after the vehicle is assembled; the test subtasks include a basic task with the highest priority, a first test task with a medium priority, and a second test task with the lowest priority;
[0097] The test subtask execution module is used to
[0098] If the basic task is executed successfully, the first test task of medium priority is executed to obtain the first test result of executing the first test task of medium priority, and / or the second test task of lowest priority is executed to obtain the second test result of executing the second test task of lowest priority.
[0099] In an exemplary embodiment, the test subtask execution module is used to
[0100] If the basic task is executed successfully, the first test task of the medium priority is executed, and according to the execution status of the first test task, whether the first test result of the first test task is passed is determined;
[0101] If the basic task is executed successfully, the second test task with the lowest priority is executed, and according to the execution status of the second test task, it is determined whether the second test result of the second test task is passed.
[0102] In an exemplary embodiment, the test subtask execution module is used to
[0103] If the execution status of the first test task is failed, the execution status of the first test task is determined to be A; if the execution status of the first test task is passed, the execution status of the first test task is determined to be B;
[0104] Determining whether the first test result of the first test task is passed based on a logical relationship between individual events A and B; wherein the logical relationship between individual events A and B includes: P(A)>0, P(B|A)=P(AB) / P(A);
[0105] If P(B|A) is less than 10%, the first test result of the first test task is determined to be passed;
[0106] Alternatively, if the first test task includes several events A1, A2, ..., An, and A1+A2+...An constitute a complete logical process, then based on the logical relationship between the several events A1, A2, ..., An and B, it is determined whether the first test result of the first test task is passed; wherein the logical relationship between the several events A1, A2, ..., An and B includes:
[0107] If P(B) is less than 35%, it is determined that the first test result of the first test task is passed.
[0108] In an exemplary embodiment, the task to be tested is an active discharge test. While motor discharge cannot be triggered at high speeds on a real vehicle, the MCU may be able to do so. By generating an active discharge test signal, the BMS system is tested for erroneous operation and its tolerance limits when an error occurs. The test signal is generated at the test terminal and is obtained by modifying the control signal to produce a trigger signal that can trigger motor discharge at high speeds.
[0109] The test process can be divided into the highest priority basic task, the medium priority first test task and the lowest priority second test task, which can be tested in sequence.
[0110] When testing each task, the normal state and the stress state can be distinguished during the test according to the situation;
[0111] The normal state confirms the status result according to the framework. It is not allowed to jump directly from the working state to the abnormal and power-off states. It must jump to the Standby state before entering other states.
[0112] The pressure state performs pressure injection according to the preconditions in the framework, allowing injection interference to the working state or directly performing the next pressure injection without waiting for Standby;
[0113] Among them, the test injection execution principles include:
[0114] Prioritize confirming the functional status of the basic task, and stop if the normal state cannot be passed;
[0115] If the basic task function status is normal, then confirm the second test task function status. If the normal status fails, it is necessary to count the fault points for judgment;
[0116] Here, let {the failed event be A, the passed event be B}, and A and B are not coupled:
[0117] Individual events have logical relationships; P(A)>0, P(B|A)=P(AB) / P(A);
[0118] If P(B|A) is less than 10%, the system can proceed to the first test task.
[0119] Assume that {some events A1, A2, ...An are mutually uncoupled}, and A1 + A2 + ...An form a complete logical process; {B represents that one of the events does not pass};
[0120] There is a logical relationship between consecutive events;
[0121] Among them, if P(B) is less than 35%, the system can be allowed to enter the first test task test.
[0122] The present disclosure provides a computer-readable storage medium on which a power system test program for an electric vehicle is stored. When the power system test program for the electric vehicle is executed by a processor, the power system test method for the electric vehicle described in the above embodiments is implemented.
[0123] The present disclosure provides a testing system, including a memory, a processor, and an electric vehicle power system testing program stored in the memory and executable on the processor. When the processor executes the electric vehicle power system testing program, the electric vehicle power system testing method described in the above embodiments is implemented.
[0124] It should be noted that the logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device), or in conjunction with such instruction execution system, apparatus, or device. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, apparatus, or device, or in conjunction with such instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion having one or more wires (electronic device), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing it in a suitable manner if necessary, and then storing it in a computer memory.
[0125] It should be understood that various parts of the present disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0126] In the description of the present disclosure, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" and the like means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the present description, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0127] In the description of the present disclosure, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like are based on the orientation or positional relationship shown in the drawings, and are only for the purpose of facilitating the description of the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present disclosure.
[0128] In addition, the terms "first", "second", and the like used in the embodiments of the present disclosure are only for the purpose of description and can not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated in the embodiments. Therefore, the features defined with the terms "first", "second" and the like in the embodiments of the present disclosure can explicitly or implicitly indicate that the embodiments include at least one of the features. In the description of the present disclosure, the meaning of the word "plurality" is at least two or two or more, such as two, three, four, etc., unless otherwise specifically limited in the embodiments.
[0129] In the present disclosure, unless otherwise specifically defined or limited in the embodiments, the terms "mounting", "connecting", "connecting" and "fixing" and the like appearing in the embodiments should be broadly understood, for example, the connection can be a fixed connection, or a detachable connection, or integrated, which can be understood, or can be a mechanical connection, an electrical connection, etc. Of course, it can also be directly connected, or indirectly connected through an intermediate medium, or it can be the internal communication of two elements, or the interaction relationship between two elements. For those skilled in the art, the specific meaning of the above terms in the present disclosure can be understood according to the specific implementation situation.
[0130] In the present disclosure, unless otherwise expressly specified or limited, when a first feature is "above" or "below" a second feature, it may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Furthermore, when a first feature is "above," "above," or "above" a second feature, it may mean that the first feature is directly above or diagonally above the second feature, or simply means that the first feature is at a higher level than the second feature. When a first feature is "below," "below," or "below" a second feature, it may mean that the first feature is directly below or diagonally below the second feature, or simply means that the first feature is at a lower level than the second feature.
[0131] Although the embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are illustrative and are not to be construed as limitations on the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.
Claims
1. A method for testing the power system of an electric vehicle, characterized in that: The method is applied to testing a power system on a torque load test bench, wherein the power system is connected to an isolation router to form a mutually isolated CANFD network and an Ethernet network. The method includes: According to the function succession logic of the task to be tested, the task to be tested is divided into a plurality of test subtasks with a priority test order; Based on the multiple test subtasks, a control signal is sent through the BMS system at the Ethernet network end; generating a test signal at a test terminal connected to an external isolated CANFD network based on the control signal; Sending the test signal to the controller to be tested through the CANFD network via a gateway, and obtaining a response result of the controller to be tested to the test signal; The response result is sent to the BMS system through the controller to be tested, and the test subtask is executed to obtain the test results corresponding to the test subtasks of different priorities.
2. The electric vehicle power system testing method according to claim 1, characterized in that: The tasks to be tested include test tasks that cannot be field tested after the vehicle is assembled; the test subtasks include a basic task with the highest priority, a first test task with a medium priority, and a second test task with the lowest priority; The step of sending the response result to the BMS system through the controller to be tested, executing the test subtask, and obtaining test results corresponding to test subtasks of different priorities includes: If the basic task is executed successfully, the first test task of medium priority is executed to obtain the first test result of executing the first test task of medium priority, and / or the second test task of lowest priority is executed to obtain the second test result of executing the second test task of lowest priority.
3. The electric vehicle power system testing method according to claim 2, characterized in that: If the basic task is executed successfully, executing the first test task of medium priority to obtain a first test result of executing the first test task of medium priority, and / or executing the second test task of lowest priority to obtain a second test result of executing the second test task of lowest priority, including: If the basic task is executed successfully, the first test task of the medium priority is executed, and according to the execution status of the first test task, whether the first test result of the first test task is passed is determined; If the basic task is executed successfully, the second test task with the lowest priority is executed, and according to the execution status of the second test task, it is determined whether the second test result of the second test task is passed.
4. The electric vehicle power system testing method according to claim 3, characterized in that: The determining, according to the execution status of the first test task, whether the first test result of the first test task is passed includes: If the execution status of the first test task is failed, the execution status of the first test task is determined to be A; if the execution status of the first test task is passed, the execution status of the first test task is determined to be B; Determining whether the first test result of the first test task is passed based on a logical relationship between individual events A and B; wherein the logical relationship between individual events A and B includes: P(A)>0, P(B|A)=P(AB) / P(A); If P(B|A) is less than 10%, the first test result of the first test task is determined to be passed; Alternatively, if the first test task includes several events A1, A2, ..., An, and A1+A2+...An constitute a complete logical process, then based on the logical relationship between the several events A1, A2, ..., An and B, it is determined whether the first test result of the first test task is passed; wherein the logical relationship between the several events A1, A2, ..., An and B includes: If P(B) is less than 35%, it is determined that the first test result of the first test task is passed.
5. A power system testing device for an electric vehicle, characterized in that: Applicable to power system testing on a torque load test bench, wherein the power system is connected to an isolation router to form a mutually isolated CANFD network and Ethernet network. The device includes: A task determination module is used to divide the task to be tested into a plurality of test subtasks with a priority test order according to the function acceptance logic of the task to be tested; A control signal issuing module, configured to issue a control signal on the Ethernet network end through the BMS system based on the multiple test subtasks; a test signal generating module, configured to generate a test signal at a test terminal connected to an external isolated CANFD network based on the control signal; A test signal response module is used to send the test signal to the controller to be tested through the CANFD network via a gateway, and obtain a response result of the controller to be tested to the test signal; The test subtask execution module is used to send the response result to the BMS system through the controller to be tested, execute the test subtask, and obtain test results corresponding to test subtasks of different priorities.
6. The electric vehicle power system testing device according to claim 5, characterized in that: The tasks to be tested include test tasks that cannot be field tested after the vehicle is assembled; the test subtasks include a basic task with the highest priority, a first test task with a medium priority, and a second test task with the lowest priority; The test subtask execution module is used to If the basic task is executed successfully, the first test task of medium priority is executed to obtain the first test result of executing the first test task of medium priority, and / or the second test task of lowest priority is executed to obtain the second test result of executing the second test task of lowest priority.
7. The electric vehicle power system testing device according to claim 6, characterized in that: The test subtask execution module is used to If the basic task is executed successfully, the first test task of the medium priority is executed, and according to the execution status of the first test task, whether the first test result of the first test task is passed is determined; If the basic task is executed successfully, the second test task with the lowest priority is executed, and according to the execution status of the second test task, it is determined whether the second test result of the second test task is passed.
8. The electric vehicle power system testing device according to claim 7, characterized in that: The test subtask execution module is used to If the execution status of the first test task is failed, the execution status of the first test task is determined to be A; if the execution status of the first test task is passed, the execution status of the first test task is determined to be B; Determining whether the first test result of the first test task is passed based on a logical relationship between individual events A and B; wherein the logical relationship between individual events A and B includes: P(A)>0, P(B|A)=P(AB) / P(A); If P(B|A) is less than 10%, the first test result of the first test task is determined to be passed; Alternatively, if the first test task includes several events A1, A2, ..., An, and A1+A2+...An constitute a complete logical process, then based on the logical relationship between the several events A1, A2, ..., An and B, it is determined whether the first test result of the first test task is passed; wherein the logical relationship between the several events A1, A2, ..., An and B includes: If P(B) is less than 35%, it is determined that the first test result of the first test task is passed.
9. A computer-readable storage medium, characterized in that A power system test program of an electric vehicle is stored thereon, and when the power system test program of the electric vehicle is executed by the processor, the power system test method of the electric vehicle according to any one of claims 1 to 4 is implemented.
10. A testing system, characterized in that: The invention comprises a memory, a processor and a power system test program of an electric vehicle stored in the memory and executable on the processor. When the processor executes the power system test program of the electric vehicle, the power system test method of the electric vehicle described in any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Vehicle-mounted test system and method and storage medium
CN114465940A
Vehicle-mounted controller test method and system, test management platform and storage medium
CN115220415A