Vehicle electric quantity balance test method, device and equipment and storage medium

By building a test environment based on hardware in the ring mount, using the power balance test standards and vehicle logic parameters to conduct vehicle power balance testing, the problem of comprehensive testing and analysis in the existing technology is solved, and efficient and accurate power balance testing is achieved.

CN120215302APending Publication Date: 2025-06-27VOYAH AUTOMOBILE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510358730.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

The existing HIL testing technology has shortcomings in vehicle power balance testing, and it is impossible to conduct comprehensive test and analysis under different operating conditions, and lacks automated testing and functional scalability.

Method used

By obtaining the power balance test standards, a test environment based on hardware in the ring bench is built, including program-controlled power supply, controller, actuator, load and test board, and power scenario model and vehicle logic parameters are generated based on the test scenario model to conduct vehicle power balance testing.

Benefits of technology

It realizes a comprehensive test and analysis of the power balance of the vehicle under different working conditions, improves the efficiency and accuracy of the test, reduces the testing cost, and provides strong data support for vehicle research and development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120215302A_ABST
    Figure CN120215302A_ABST
Patent Text Reader

Abstract

The invention discloses a whole vehicle electric quantity balance testing method, device and equipment and a storage medium, and relates to the technical field of whole vehicle simulation testing. According to the electric quantity balance test standard, a test environment based on a hardware-in-the-loop rack is constructed, a test scene model is obtained, and the test environment comprises a programmable power supply, a controller, an actuator, a load and a test board card; obtaining a power supply scene model and vehicle logic parameters according to the test scene model; and the whole vehicle electric quantity balance test is carried out based on the test environment, the power supply scene model and the vehicle logic parameters, so that the problem of how to carry out comprehensive test analysis on the whole vehicle electric quantity balance under different working conditions is solved, the test efficiency and accuracy of the whole vehicle electric quantity balance are improved, and the test cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle simulation testing, and particularly to a method, device, equipment and storage medium for testing the power balance of a whole vehicle. Background Art

[0002] With the rapid development of the automotive industry and the popularization of electric vehicles and intelligent connected vehicles, the testing of the power balance of a whole vehicle has become an essential part of the vehicle R & D process. The power balance is directly related to the vehicle's endurance, energy utilization efficiency, and overall performance. Traditional vehicle power testing methods often rely on real vehicle testing, which is not only time-consuming and laborious but also difficult to comprehensively cover various complex working conditions. Especially in the initial stage of a project when the real vehicle has not been off the production line, it is even more difficult to carry out the testing work.

[0003] Under this background, the HIL (Hardware-in-the-Loop) testing technology has emerged, providing a new solution for the testing of the power balance of a whole vehicle. HIL testing enables hardware devices to be tested and verified in a virtual environment by simulating the operation of a real system in a simulation environment, greatly improving the flexibility and controllability of testing. In an HIL testing system, sensors and actuators are placed in a simulated environment, and the operation of the hardware devices is controlled by software components, and virtual reality technology is used to simulate the generation of sensor data and control signals, thereby effectively simulating the hardware-in-the-loop simulation test scenario of the system. However, there are still many deficiencies in the existing HIL testing technology in terms of power balance testing. For example, although some existing methods for testing the electromagnetic compatibility of a whole vehicle can achieve objective evaluation testing of the vehicle, they are not specifically designed for power balance testing, cannot implement automated testing, and have insufficient functional scalability for different application scenarios.

[0004] Therefore, how to comprehensively test and analyze the power balance of a whole vehicle under different working conditions is an urgent problem to be solved at present. Summary of the Invention

[0005] The main purpose of this application is to provide a method, device, equipment and storage medium for testing the power balance of a whole vehicle, aiming to solve the technical problem of how to comprehensively test and analyze the power balance of a whole vehicle under different working conditions.

[0006] To achieve the above object, this application proposes a method for testing the power balance of a whole vehicle, the method comprising:

[0007] Obtain the power balance test standard;

[0008] Construct a test environment based on the hardware-in-the-loop bench according to the power balance test standard to obtain a test scenario model. The test environment includes a programmable power supply, a controller, an actuator, a load, and a test board;

[0009] Obtain a power supply scenario model and vehicle logic parameters according to the test scenario model;

[0010] Conduct a vehicle power balance test based on the test environment, the power supply scenario model, and the vehicle logic parameters.

[0011] In one embodiment, the step of obtaining a power supply scenario model and vehicle logic parameters according to the test scenario model includes:

[0012] Set the power management mode of the vehicle under different working conditions based on the test scenario model;

[0013] Generate a corresponding power supply scenario model according to the power management mode;

[0014] Configure the vehicle logic parameters corresponding to the power supply scenario model according to the preset actual operation logic of the vehicle. The vehicle logic parameters include environmental parameters, sensor signal parameters, and energy management parameters.

[0015] In one embodiment, the step of conducting a vehicle power balance test based on the test environment, the power supply scenario model, and the vehicle logic parameters includes:

[0016] Conduct a simulation based on the test environment, the power supply scenario model, and the vehicle logic parameters to obtain the vehicle current and vehicle voltage;

[0017] Conduct a vehicle power balance test according to the vehicle current and the vehicle voltage. The vehicle power balance test includes a vehicle static current test and a vehicle dynamic power balance test.

[0018] In one embodiment, the step of conducting a simulation based on the test environment, the power supply scenario model, and the vehicle logic parameters to obtain the vehicle current and vehicle voltage includes:

[0019] Based on the power supply scenario model and the vehicle logic parameters, simulate the vehicle operating conditions through the programmable power supply, the test board, the controller, the actuator, and the load;

[0020] Collect the vehicle current and vehicle voltage corresponding to the vehicle operating conditions according to the test board.

[0021] In one embodiment, the step of collecting the vehicle current and vehicle voltage corresponding to the vehicle operating conditions according to the test board includes:

[0022] Obtain the static acquisition accuracy and dynamic acquisition accuracy;

[0023] When the vehicle operating condition is any one of the electrical working condition, charging condition, and abnormal condition, collect the vehicle current and vehicle voltage through the test board at the static acquisition accuracy;

[0024] When the vehicle operating condition is a dynamic operating condition, collect the vehicle current and vehicle voltage through the test board at the dynamic acquisition accuracy.

[0025] In one embodiment, the step of performing the vehicle power balance test according to the vehicle current and the vehicle voltage includes:

[0026] Compare the vehicle current and the vehicle voltage with a preset determination criterion to obtain a test result;

[0027] Generate a power balance test report according to the test result, and the power balance test report includes passed test cases, failed test cases, coverage rate, and test defects.

[0028] In one embodiment, the step of obtaining the power balance test standard includes:

[0029] Obtain test requirement data;

[0030] Perform requirement analysis based on the test requirement data to obtain test target requirements and test target scope;

[0031] Determine the power balance test standard according to the test target requirements and the test target scope, and the power balance test standard includes test priority and test specification.

[0032] In addition, to achieve the above object, the present application also proposes a vehicle power balance test device, and the device includes:

[0033] A data acquisition module for acquiring a power balance test standard;

[0034] A scenario construction module for constructing a test environment based on a hardware-in-the-loop test bench according to the power balance test standard to obtain a test scenario model, and the test environment includes a programmable power supply, a controller, an actuator, a load, and a test board;

[0035] An analog logic module for obtaining a power supply scenario model and vehicle logic parameters according to the test scenario model;

[0036] An analog test module for performing a vehicle power balance test based on the test environment, the power supply scenario model, and the vehicle logic parameters.

[0037] In addition, to achieve the above object, the present application also provides a vehicle power balance test device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the vehicle power balance test method as described above.

[0038] In addition, to achieve the above object, the present application also provides a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, it implements the steps of the vehicle power balance test method as described above.

[0039] In addition, to achieve the above object, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the vehicle power balance test method as described above.

[0040] The present application provides a vehicle power balance test method. The method of the present application includes: obtaining a power balance test standard; constructing a test environment based on a hardware-in-the-loop test bench according to the power balance test standard to obtain a test scenario model, where the test environment includes a programmable power supply, a controller, an actuator, a load, and a test board; obtaining a power supply scenario model and vehicle logic parameters according to the test scenario model; and performing a vehicle power balance test based on the test environment, the power supply scenario model, and the vehicle logic parameters. In summary, it can be seen that the present application builds a dedicated power balance test system to comprehensively and meticulously test and analyze the vehicle power balance, can simulate the power usage under various complex working conditions, provides strong data support for vehicle research and development, improves the test efficiency and accuracy of the vehicle power balance, and reduces the test cost. Description of the Drawings

[0041] The drawings here are incorporated into the specification and form a part of the specification, showing the embodiments in line with the present application, and are used together with the specification to explain the principles of the present application.

[0042] To more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0043] Figure 1 It is a schematic flowchart provided for the first embodiment of the vehicle power balance test method of the present application;

[0044] Figure 2Schematic diagram of the power balance test system in an embodiment of the vehicle power balance test method of the present application;

[0045] Figure 3 Schematic diagram of the power balance test principle framework in an embodiment of the vehicle power balance test method of the present application;

[0046] Figure 4 Flow chart provided by the second embodiment of the vehicle power balance test method of the present application;

[0047] Figure 5 I / t graph of the vehicle static current in an embodiment of the vehicle power balance test method of the present application;

[0048] Figure 6 V / t graph of the vehicle dynamic power balance in an embodiment of the vehicle power balance test method of the present application;

[0049] Figure 7 Schematic diagram of the module structure of the vehicle power balance test device in an embodiment of the present application;

[0050] Figure 8 Schematic diagram of the device structure of the hardware operating environment involved in the vehicle power balance test method in an embodiment of the present application.

[0051] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners

[0052] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0053] For a better understanding of the technical solutions of the present application, the following will be described in detail in conjunction with the accompanying drawings of the specification and the specific implementation manners.

[0054] The main solution of the embodiment of the present application is: obtaining the power balance test standard; constructing a test environment based on the hardware-in-the-loop bench according to the power balance test standard to obtain a test scenario model, where the test environment includes a programmable power supply, a controller, an actuator, a load, and a test board; obtaining a power supply scenario model and vehicle logic parameters according to the test scenario model; and performing a vehicle power balance test based on the test environment, the power supply scenario model, and the vehicle logic parameters.

[0055] With the rapid development of the automotive industry and the popularization of electric vehicles and intelligent connected vehicles, the overall vehicle power balance test has become an essential part of the vehicle R & D process. The power balance is directly related to the vehicle's endurance, energy utilization efficiency, and overall performance. Traditional vehicle power testing methods often rely on in-vehicle testing, which is not only time-consuming and labor-intensive but also difficult to comprehensively cover various complex working conditions. Especially in the initial stage of the project when the actual vehicle has not been off the production line, it is even more difficult to carry out the testing work.

[0056] In this context, the HIL test technology emerged, providing a new solution for the vehicle power balance test. The HIL test enables the hardware device to be tested and verified in a virtual environment by simulating the operation of the real system in a simulation environment, greatly improving the flexibility and controllability of the test. In the HIL test system, sensors and actuators are placed in the simulated environment, and the operation of the hardware device is controlled by software components. The generation of sensor data and control signals is simulated using virtual reality technology, thereby effectively simulating the in-loop simulation test scenario of the system hardware. However, there are still many deficiencies in the existing HIL test technology for power balance testing. For example, although some existing vehicle electromagnetic compatibility test methods can achieve objective evaluation tests of vehicles, they are not specifically designed for power balance testing, cannot implement automated testing, and have insufficient functional scalability for different application scenarios. Therefore, how to comprehensively test and analyze the overall vehicle power balance under different working conditions is an urgent problem to be solved currently.

[0057] This application provides a dedicated power balance test system to comprehensively and meticulously test and analyze the overall vehicle power balance, which can simulate the power usage under various complex working conditions, provide strong data support for vehicle R & D, improve the test efficiency and accuracy of the overall vehicle power balance, and reduce the test cost.

[0058] It should be noted that the execution subject of this embodiment can be the overall vehicle power balance test system, or a computing service device with data processing, network communication, and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of implementing the above overall vehicle power balance test function. This embodiment does not specifically limit this. The following takes the overall vehicle power balance test system as an example to illustrate this embodiment and the following embodiments.

[0059] Based on this, the embodiment of this application provides a method for testing the overall vehicle power balance, referring to Figure 1 , Figure 1 which is a schematic flowchart of the first embodiment of the method for testing the overall vehicle power balance of this application.

[0060] In this embodiment, the vehicle power balance test method includes steps S10 to S40:

[0061] Step S10: Obtain the power balance test standard.

[0062] It should be noted that in this step, the system will formulate the power balance test standard according to the project development and performance development requirements (such as vehicle static current requirements, storage time, DC-DC output power, etc.), in combination with relevant industry standards and enterprise internal specifications. These standards cover key elements such as test objective requirements, test scope, test conditions, and expected results. It can be understood that the power balance test standard provides clear guidance and basis for subsequent test environment construction, test scenario model design, and actual testing, ensuring the scientificity and effectiveness of the testing.

[0063] In a feasible implementation manner, step S10 specifically includes:

[0064] Step S101: Obtain test requirement data.

[0065] It should be noted that in this step, the system will obtain the power balance test requirements of the vehicle in the current test project under different working conditions. The test requirement data includes but is not limited to the static current test requirements of the vehicle, dynamic power balance test requirements, test requirements under specific environmental conditions (such as high temperature, low temperature, rainy day, snowy day, etc.), and the power consumption of each vehicle system (such as air conditioner, lighting, entertainment system, etc.) under specific working conditions.

[0066] In addition, it should be noted that the test requirement data is the basis of the power balance test, which directly determines the goals and requirements of subsequent tests. These data are derived from project documents related to the vehicle power balance, including but not limited to vehicle performance specifications, user manuals, industry standards, etc.

[0067] Step S102: Perform requirement analysis based on the test requirement data to obtain test objective requirements and test objective scope.

[0068] It should be noted that in this step, the system will perform requirement analysis based on the obtained test requirement data. Specifically, the system will decompose the test requirements, break down the test requirement data into more specific test sub-requirements, and clarify the specific test content and objectives of each sub-requirement. Determine the test objective requirements. Based on the test sub-requirements, determine the test objective requirements, including test indicators, test methods, test conditions, etc. Define the test objective scope, clarify the coverage of the test activities, including test objects, test scenarios, test time, etc. It can be understood that the function of this step is to ensure that the test activities have clear goals and scopes, thereby improving test efficiency and accuracy.

[0069] Step S103: Determine the power balance test criteria according to the test target requirements and the test target scope. The power balance test criteria include test priorities and test specifications.

[0070] It should be noted that the power balance test criteria are the core basis for test activities, which include test priorities and test specifications. Specifically, the system will determine the priorities of each test point according to the test target requirements and the test target scope to ensure that key test points are processed first. Detailed test specifications will be formulated for each test point, including test methods, test steps, test conditions, expected results, etc. The test priorities and test specifications will be integrated into a complete power balance test criteria to provide guidance for subsequent test activities. It can be understood that the function of this step is to ensure that test activities have unified standards and specifications, thereby improving the reliability and comparability of test results.

[0071] Step S20: Build a test environment based on a hardware-in-the-loop test bench according to the power balance test criteria to obtain a test scenario model. The test environment includes a programmable power supply, a controller, an actuator, a load, and a test board.

[0072] It should be noted that in this step, as Figure 2 shown, the system will build and configure a suitable hardware-in-the-loop test bench according to the power balance test criteria, including a programmable power supply, various vehicle controllers (such as BCM, BMS, VCU, etc.), actuators (such as windshield wipers, headlights, etc.), a load, and test boards (such as digital output boards, analog output boards, etc.). The specific functions, roles, and types of each test board are shown in Table 1. Then the system will integrate these hardware devices into a complete test system and build various test scenario models that meet the test criteria.

[0073] Table 1

[0074]

[0075] In addition, it should be noted that the programmable power supply in the test environment refers to a power supply controlled by a control computer, which is responsible for supplying power to the HIL test bench, various vehicle control systems / loads, and signal output boards; the controller is responsible for receiving and executing test instructions; the actuator and the load simulate the actual operating components of the vehicle; and the test board is used to collect and simulate various data during the test process.

[0076] Step S30: Obtain a power supply scenario model and vehicle logic parameters according to the test scenario model.

[0077] It should be noted that in this step, the system will determine all the scenarios included in the vehicle power management mode according to the test scenario model, and construct the corresponding power scenario model according to different scenarios. Then, according to the actual operation conditions of the vehicle and the test requirements, various parameters and logical relationships during the operation of the vehicle simulated by the vehicle HIL bench are determined and used as the vehicle logical parameters to be input into the test system.

[0078] In a feasible implementation manner, step S30 specifically includes:

[0079] Step S301: Set the power management mode of the vehicle under different working conditions based on the test scenario model.

[0080] It should be noted that in this step, the system will analyze the test scenario model, such as different working conditions and environmental conditions in the test scenario model, such as temperature, humidity, driving speed, load demand, etc. Then, based on the analysis of the test scenario model, the system determines the power management requirements of the vehicle under different working conditions, such as battery charging strategy, energy recovery strategy, load management strategy, etc. At the same time, the system will set the power management mode of the vehicle under different working conditions according to the power management requirements and integrate it into the control system of the vehicle HIL bench. It can be understood that the function of this step is to ensure that the vehicle HIL bench can simulate the real power management situation under different working conditions and provide an accurate basis for the subsequent power balance test.

[0081] In addition, it should be noted that the power management mode refers to the strategy for the vehicle to allocate and use electric energy under different working conditions, which directly affects the power balance and performance of the vehicle.

[0082] Step S302: Generate the corresponding power scenario model according to the power management mode.

[0083] It should be noted that in this step, the system will define the key elements in the power scenario model based on the power management mode, such as power types, load types, power flow paths, etc. (i.e., power and communication). Then the system will construct the logical relationships in the power scenario model according to the elements in the power scenario, such as the connection relationship between the power source and the load, the priority of power flow, etc. Then the defined power scenario elements and the constructed logical relationships are integrated into a complete power scenario model and integrated into the test system of the vehicle HIL bench. It can be understood that in the power scenario model, power types such as power sources, generators, and DC-DC converters, as well as load types such as air conditioners, headlights, and entertainment systems, can be defined. By constructing the logical relationships between these power sources and loads, the power flow situation of the vehicle under different working conditions can be simulated.

[0084] Specifically, such as Figure 3As shown, it consists of a programmable power supply, a signal output board card, and related interfaces, which supply power to the vehicle HIL bench / cabinet and its loads, and at the same time output the relevant vehicle power management modes to the vehicle HIL bench. Each ECU turns on or off the ECU and associated loads according to the relevant output instructions, and is used to simulate and output the charging and discharging characteristics of the vehicle's battery and power battery, including changes in voltage, current, and internal resistance.

[0085] Step S303: Configure the vehicle logic parameters corresponding to the power scenario model according to the preset actual vehicle operation logic, where the vehicle logic parameters include environmental parameters, sensor signal parameters, and energy management parameters.

[0086] It should be noted that in this step, the vehicle logic parameters refer to various parameters and logical relationships when the vehicle HIL bench simulates vehicle operation after the power scenario model is output from the main control computer to the programmable power supply, such as environmental parameters (such as temperature, humidity), sensor signal parameters (such as vehicle speed, acceleration, battery power, etc.), and energy management parameters (such as charge state, energy recovery efficiency, etc.). The system will configure the vehicle logic parameters corresponding to the power scenario model according to the analysis results of the actual vehicle operation logic and integrate them into the test system of the vehicle HIL bench. It can be understood that this step can ensure that the vehicle HIL bench can accurately simulate the logical relationships and parameter changes of the vehicle during actual operation, thus providing an accurate basis for the power balance test.

[0087] Step S40: Perform a vehicle power balance test based on the test environment, the power scenario model, and the vehicle logic parameters.

[0088] It should be noted that in this step, the system will design and execute corresponding test cases according to the power scenario model. During the test execution, the system will simulate the real vehicle operation conditions according to the power scenario model and vehicle logic parameters, and collect and record various data (such as current, voltage, etc.) during the test process. Then, by analyzing and processing the collected data, the test results are obtained and compared and evaluated with the expected results. For example, when testing the dynamic power balance performance of a new energy vehicle, the system will execute a series of test cases corresponding to different power scenario models, such as acceleration test, deceleration test, braking test, etc. During the test execution, the test system will simulate the real vehicle operation conditions (such as high-speed driving on a rainy night in summer, climbing a slope on a snowy night in winter, etc.) and collect and record data such as current and voltage during the test process. Then, by analyzing and processing the collected data, the evaluation results of the dynamic power balance performance of the vehicle under different conditions are obtained and compared and evaluated with the expected results.

[0089] It is understandable that test cases are executable test steps involved according to test requirements and test scenarios, including input conditions, expected outputs, and judgment criteria, etc. By executing and evaluating test cases, the effectiveness and reliability of test methods can be verified.

[0090] This embodiment provides a method for testing the balance of vehicle power. The method of this embodiment includes: obtaining the power balance test standard; constructing a test environment based on the hardware-in-the-loop bench according to the power balance test standard to obtain a test scenario model, where the test environment includes a programmable power supply, a controller, an actuator, a load, and a test board; obtaining a power supply scenario model and vehicle logic parameters according to the test scenario model; and performing a vehicle power balance test based on the test environment, the power supply scenario model, and the vehicle logic parameters. In summary, this embodiment builds a dedicated power balance test system to comprehensively and meticulously test and analyze the vehicle power balance, can simulate the power usage in various complex working conditions, provides strong data support for vehicle R & D, improves the test efficiency and accuracy of vehicle power balance, and reduces the test cost.

[0091] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar content as in the above-mentioned first embodiment can be referred to the above introduction and will not be repeated hereinafter. On this basis, please refer to Figure 4 , Figure 4 is a schematic flowchart of the second embodiment of the vehicle power balance test method of the present application. The step S40 specifically includes:

[0092] Step S401: Simulate to obtain the vehicle current and vehicle voltage based on the test environment, the power supply scenario model, and the vehicle logic parameters.

[0093] It should be noted that in this step, the system will perform the simulation of the vehicle current and voltage according to the constructed test environment (including the hardware environment such as the vehicle HIL bench, power supply, various vehicle controllers and their actuators / loads, I / O and PDX boards, and control computers, and the software environment such as the power balance test model, DC-DC input / output model, vehicle dynamics / parameter logic, test tools, etc.), as well as the power supply scenario model and vehicle logic parameters.

[0094] In addition, it should be noted that the vehicle current and vehicle voltage refer to the current and voltage values of the vehicle passing through each electrical device and wire under different working conditions, and they are important data for evaluating the vehicle power balance performance.

[0095] In a feasible implementation manner, the step S401 specifically includes:

[0096] Step A10: Based on the power supply scenario model and the vehicle logic parameters, simulate the operating conditions of the entire vehicle through the programmable power supply, the test board, the controller, the actuator, and the load.

[0097] It should be noted that in this step, the system will load the power supply scenario model and the vehicle logic parameters, and then configure the output voltage and current of the programmable power supply according to the power supply scenario model to simulate the charge and discharge characteristics of the power sources such as the vehicle's battery and power battery. The control computer sends control signals to the test board to simulate various sensor signals and actuator commands of the entire vehicle. These signals and commands are configured according to the vehicle logic parameters to reflect various operating conditions of the vehicle during actual operation. The test board transmits the simulated signals and commands to the vehicle controllers (such as BCM, BMS, VCU, etc.), and the controllers then drive the corresponding actuators (such as windshield wipers, headlights, air conditioning systems, etc.) and loads according to these signals and commands. Through the above steps, the vehicle HIL bench can simulate the operating states of the entire vehicle under different operating conditions, including static current scenarios (such as the vehicle is normally powered off and locked, abnormal charging, etc.) and dynamic power balance scenarios (such as rainy nights in summer, snowy nights in winter, etc.).

[0098] Step A20: According to the test board, collect the vehicle current and vehicle voltage corresponding to the operating conditions of the entire vehicle.

[0099] It should be noted that in this step, the system will configure the acquisition parameters of the test board according to the test requirements, such as the acquisition frequency, sampling accuracy, etc. These parameters determine the accuracy and reliability of the current and voltage data that the test board can collect. During the process of the vehicle HIL bench simulating the operating conditions of the entire vehicle, the test board will collect the vehicle current and voltage data in real time. These data reflect the power consumption and distribution of the entire vehicle under different operating conditions. The collected vehicle current and voltage data will be stored in the database of the control computer for subsequent analysis and processing. By analyzing these data, the power balance performance of the entire vehicle can be evaluated, potential problems can be found and optimized.

[0100] In a feasible implementation manner, the step A20 specifically includes:

[0101] Step A201: Obtain the static acquisition accuracy and the dynamic acquisition accuracy.

[0102] It should be noted that the static acquisition accuracy is usually used to acquire the current and voltage data of the whole vehicle under static working conditions (such as the following electrical working conditions, charging working conditions, and abnormal working conditions, etc.), while the dynamic acquisition accuracy is used to acquire the current and voltage data of the whole vehicle under dynamic operating conditions. In this step, the system will set the acquisition parameters of the test board according to the pre-determined acquisition accuracy to ensure the accuracy of the test data. For example, in the static current test of the whole vehicle, the static acquisition accuracy of the test board is 0.01 mA and 1 mV, and the dynamic acquisition accuracy is 0.1 A and 0.01 V to ensure that the minute current and voltage changes of the whole vehicle under static working conditions can be accurately acquired.

[0103] Step A202: When the operating condition of the whole vehicle is any one of the following electrical working conditions, charging working conditions, and abnormal working conditions, acquire the vehicle current and vehicle voltage through the test board at the static acquisition accuracy.

[0104] It should be noted that in this step, the system will identify the current operating condition of the whole vehicle through the control system of the HIL bench, and judge whether it is a following electrical working condition, charging working condition, or abnormal working condition. Once it is determined that the current condition is one of the above static conditions, the test board will automatically switch to the static acquisition mode and start acquiring the vehicle current and voltage data at the predetermined static acquisition accuracy.

[0105] In addition, it should be noted that the following electrical working condition refers to the scenario where the whole vehicle is normally powered off and locked, the charging working condition refers to the scenario where the whole vehicle is normally charging, and the abnormal working condition refers to abnormal scenarios such as the door not being closed, there being people or pets or items left in the vehicle, charging failure, interruption, etc. The current-time curve of the static current of the whole vehicle is as follows Figure 5 as shown. It can be understood that the static acquisition accuracy is usually higher than the dynamic acquisition accuracy to ensure that the instantaneous changes of current and voltage can be accurately captured when the whole vehicle is in the static operating condition. At the same time, the acquisition frequency of the test board also needs to be reasonably set according to the characteristics of the static operating condition to ensure that the vehicle current and voltage data can be acquired in real time.

[0106] Step A203: When the operating condition of the whole vehicle is a dynamic operating condition, acquire the vehicle current and vehicle voltage through the test board at the dynamic acquisition accuracy.

[0107] It should be noted that in this step, the system will identify the current operating condition of the whole vehicle through the control system of the vehicle HIL bench, and judge whether it is a dynamic operating condition. Once it is determined that the current condition is a dynamic operating condition, the test board will automatically switch to the dynamic acquisition mode and start acquiring the vehicle current and voltage data at the predetermined dynamic acquisition accuracy.

[0108] In addition, it should be noted that the dynamic operating conditions refer to the scenarios where the corresponding air conditioners, lights, and information entertainment systems in the vehicle work in environments such as summer rainy nights and winter snowy nights, as well as the scenarios where the vehicle accelerates and decelerates.

[0109] Step S402: Perform a vehicle power balance test based on the vehicle current and the vehicle voltage. The vehicle power balance test includes a vehicle static current test and a vehicle dynamic power balance test.

[0110] It should be noted that the vehicle power balance test mainly includes two parts: the vehicle static current test and the vehicle dynamic power balance test. The vehicle static current test includes: when all electrical devices of the vehicle are in the off state and normally locked, collect the static current data of the vehicle. Then, respectively test the vehicle static current data in various charging modes (such as DC fast charging, AC charging, scheduled charging, etc.) and abnormal scenarios (such as the door is not closed, sleep after intelligent power compensation, sleep after remote wake-up, etc.). The vehicle dynamic power balance test includes: according to the test scenario model, simulate the operating state of the vehicle under different working conditions (such as summer rainy nights, winter snowy nights, etc.), and at the same time collect the dynamic current and voltage data of the vehicle. By analyzing these data, evaluate the power balance performance of the vehicle in the dynamic state. For example, when performing a vehicle dynamic power balance test on a vehicle HIL bench, the vehicle HIL bench needs to be connected to complete various low-voltage controllers and actuators, such as various lights (high and low beams, brake lights, hazard warning lights, interior lights), air conditioning systems (blower, cooling fan, defrosting and demisting), information entertainment systems (large screen, host, power amplifier, speaker), body and seat control execution modules (window lift system, seat ventilation, heating, massage, adjustment, sunroof / sunshade), chassis control and execution (chassis steering, braking, etc.), etc. These controllers and their loads are turned on / off according to signal commands (simulating a real vehicle), and the dynamic power balance is set according to the corresponding climates of summer rainy nights and winter snowy nights, and the simulated vehicle speeds are as follows Figure 6 shown.

[0111] It can be understood that the vehicle static current test is used to evaluate the power consumption of the vehicle in the static state and discover potential static current leakage problems. The vehicle dynamic power balance test is used to verify the performance of the core electrical equipment of the vehicle's charging and discharging system and the power matching of each electrical equipment of the vehicle under typical load conditions.

[0112] In a feasible implementation manner, the step S402 specifically includes:

[0113] Step B10: Compare the vehicle current and the vehicle voltage with a preset determination criterion to obtain a test result.

[0114] It should be noted that the preset determination criteria are determined according to the design specifications and performance requirements of the whole vehicle. Different vehicle models and uses may have different determination criteria. In this step, the system will compare the vehicle current and vehicle voltage data collected by the test board with the preset determination criteria. This step is usually automatically completed by the test software in the control computer, and the software will process and analyze the collected data according to the preset algorithm. Then, the system will judge whether the vehicle power balance performance meets the design requirements based on the result of the data comparison with your bureau. If the collected data is within the preset determination criteria range, the test is judged to pass; otherwise, the test is judged to fail.

[0115] Step B20: Generate a power balance test report according to the test result, where the power balance test report includes passed test cases, failed test cases, coverage rate, and test defects.

[0116] It should be noted that in this step, the system will sort out the test results, including passed test cases (i.e., cases where the test passes), failed test cases (i.e., cases where the test fails), coverage rate (i.e., the proportion of the actual test coverage of the vehicle operating conditions and functions), and test defects (i.e., problems and deficiencies found during the test). According to the sorted test results, the system will generate a power balance test report, and the report content includes but is not limited to test purpose, test method, test environment, test results (including passed test cases, failed test cases, coverage rate), test defects, and improvement suggestions, etc.

[0117] In this embodiment, by constructing a vehicle HIL test environment, simulating different operating conditions, collecting vehicle current and voltage data with high precision, and comparing with the preset determination criteria, a power balance test report including passed test cases, failed test cases, coverage rate, and test defects is generated, so as to comprehensively evaluate the vehicle power balance performance, improve the accuracy and efficiency of the vehicle power balance test, and provide data support and improvement basis for subsequent research and development.

[0118] This application also provides a vehicle power balance test device, please refer to Figure 7 , the vehicle power balance test device includes:

[0119] A data acquisition module 10 for acquiring power balance test criteria.

[0120] A scenario construction module 20 for constructing a test environment based on a hardware-in-the-loop test bench according to the power balance test criteria to obtain a test scenario model, where the test environment includes a programmable power supply, a controller, an actuator, a load, and a test board.

[0121] An analog logic module 30 for obtaining a power supply scenario model and vehicle logic parameters according to the test scenario model.

[0122] The simulation test module 40 is used to perform a vehicle power balance test based on the test environment, the power scenario model, and the vehicle logic parameters.

[0123] The vehicle power balance test device provided by this application adopts the vehicle power balance test method in the above embodiment, and can solve the technical problem of how to comprehensively test and analyze the vehicle power balance under different working conditions. Compared with the prior art, the beneficial effects of the vehicle power balance test device provided by this application are the same as those of the vehicle power balance test method provided by the above embodiment, and other technical features in the vehicle power balance test device are the same as those disclosed in the method of the above embodiment, and will not be elaborated here.

[0124] In one embodiment, the data acquisition module 10 is further configured to obtain test requirement data; perform requirement analysis based on the test requirement data to obtain test target requirements and a test target range; and determine a power balance test standard according to the test target requirements and the test target range, where the power balance test standard includes a test priority and test specifications.

[0125] In one embodiment, the simulation logic module 30 is further configured to set a power management mode of the vehicle under different working conditions based on the test scenario model; generate a corresponding power scenario model according to the power management mode; and configure vehicle logic parameters corresponding to the power scenario model according to a preset actual vehicle operation logic, where the vehicle logic parameters include environmental parameters, sensor signal parameters, and energy management parameters.

[0126] In one embodiment, the simulation test module 40 is further configured to perform simulation based on the test environment, the power scenario model, and the vehicle logic parameters to obtain a vehicle current and a vehicle voltage; and perform a vehicle power balance test according to the vehicle current and the vehicle voltage, where the vehicle power balance test includes a vehicle static current test and a vehicle dynamic power balance test.

[0127] In one embodiment, the simulation test module 40 is further configured to simulate a vehicle operation condition based on the power scenario model and the vehicle logic parameters through the programmable power supply, the test board, the controller, the actuator, and the load; and collect the vehicle current and the vehicle voltage corresponding to the vehicle operation condition by the test board.

[0128] In one embodiment, the simulation test module 40 is further configured to obtain the static acquisition accuracy and the dynamic acquisition accuracy; when the vehicle running condition is any one of the following electrician conditions, charging conditions, and abnormal conditions, the vehicle current and the vehicle voltage are acquired through the test board at the static acquisition accuracy; when the vehicle running condition is a dynamic running condition, the vehicle current and the vehicle voltage are acquired through the test board at the dynamic acquisition accuracy.

[0129] In one embodiment, the simulation test module 40 is further configured to compare the vehicle current and the vehicle voltage with a preset determination criterion to obtain a test result; generate a power balance test report according to the test result, and the power balance test report includes passed test cases, failed test cases, coverage rate, and test defects.

[0130] This application provides a vehicle power balance test device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the vehicle power balance test method in the first embodiment above.

[0131] Next, refer to Figure 8 , which shows a schematic structural diagram of a vehicle power balance test device suitable for implementing the embodiments of this application. The vehicle power balance test device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions, tablet computers), PMPs (Portable Media Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The shown vehicle power balance test device is only an example and should not impose any limitation on the functions and usage scope of the embodiments of this application.

[0132] As Figure 8As shown, the vehicle power balance test device may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to the program stored in the ROM (Read Only Memory) 1002 or the program loaded from the storage device 1003 into the RAM (Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the vehicle power balance test device are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. The input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems may be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, an LCD (Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle power balance test device to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows a vehicle power balance test device with various systems, it should be understood that it is not required to implement or have all the shown systems. More or fewer systems can be alternatively implemented or had.

[0133] Specifically, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of the embodiments disclosed in the present application are executed.

[0134] The vehicle power balance test device provided by the present application adopts the vehicle power balance test method in the above-mentioned embodiments, and can solve the technical problem of how to comprehensively test and analyze the vehicle power balance under different working conditions. Compared with the prior art, the beneficial effects of the vehicle power balance test device provided by the present application are the same as those of the vehicle power balance test method provided by the above-mentioned embodiments, and other technical features in the vehicle power balance test device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.

[0135] It should be understood that each part disclosed in this application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.

[0136] As described above, the above are only specific embodiments of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

[0137] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle power balance test method in the above embodiments.

[0138] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory or flash memory), optical fibers, CD-ROM (Compact Disc - Read Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or combined with an instruction execution system, device, or device. The program code contained on the computer-readable storage medium can be transmitted by any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0139] The above computer-readable storage medium can be included in the vehicle power balance test device; it can also exist separately without being assembled into the vehicle power balance test device.

[0140] The above computer-readable storage medium carries one or more programs. When the one or more programs are executed by the vehicle power balance test device, the vehicle power balance test device is caused to: obtain the power balance test standard; construct a test environment based on the hardware-in-the-loop test bench according to the power balance test standard to obtain a test scenario model, where the test environment includes a programmable power supply, a controller, an actuator, a load, and a test board; obtain a power supply scenario model and vehicle logic parameters according to the test scenario model; and perform a vehicle power balance test based on the test environment, the power supply scenario model, and the vehicle logic parameters.

[0141] Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partially on the user's computer, execute as a stand-alone software package, execute partially on the user's computer and partially on a remote computer, or execute entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a LAN (Local Area Network) or a WAN (Wide Area Network), or may be connected to an external computer (e.g., by connecting through the Internet using an Internet service provider).

[0142] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0143] The modules involved in the embodiments of the present application can be implemented in software or in hardware. In some cases, the name of the module does not constitute a limitation on the unit itself.

[0144] The readable storage medium provided by the present application is a computer-readable storage medium, and the computer-readable storage medium stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle power balance test method, which can solve the technical problem of how to comprehensively test and analyze the vehicle power balance under different working conditions. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as those of the vehicle power balance test method provided by the above embodiments, and will not be elaborated here.

[0145] The present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the vehicle power balance test method as described above are implemented.

[0146] The computer program product provided by the present application can solve the technical problem of how to comprehensively test and analyze the vehicle power balance under different working conditions. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the vehicle power balance test method provided by the above embodiments, and will not be elaborated here.

[0147] The above are only some embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structural transformation made by using the content of the specification and drawings of the present application under the technical concept of the present application, or any direct / indirect application in other related technical fields, is included in the patent protection scope of the present application.

Claims

1. A vehicle power balance test method, characterized in that: The method comprises: Obtain the power balance test standard; According to the power balance test standard, a test environment based on a hardware-in-the-loop test bench is constructed to obtain a test scenario model, wherein the test environment includes a programmable power supply, a controller, an actuator, a load, and a test board; Obtaining a power scenario model and vehicle logic parameters according to the test scenario model; A vehicle power balance test is performed based on the test environment, the power scenario model and the vehicle logic parameters.

2. The method according to claim 1, characterized in that The step of obtaining a power scenario model and vehicle logic parameters according to the test scenario model comprises: Setting a power management mode of the vehicle under different working conditions based on the test scenario model; Generate a corresponding power scenario model according to the power management mode; The vehicle logic parameters corresponding to the power scenario model are configured according to the preset vehicle actual operation logic, and the vehicle logic parameters include environmental parameters, sensor signal parameters and energy management parameters.

3. The method according to claim 1, characterized in that The step of performing a vehicle power balance test based on the test environment, the power scenario model and the vehicle logic parameters includes: Simulating based on the test environment, the power scenario model and the vehicle logic parameters to obtain the vehicle current and the vehicle voltage; A vehicle power balance test is performed according to the vehicle current and the vehicle voltage, and the vehicle power balance test includes a vehicle static current test and a vehicle dynamic power balance test.

4. The method according to claim 3, characterized in that The step of simulating to obtain the vehicle current and the vehicle voltage based on the test environment, the power scenario model and the vehicle logic parameters comprises: Based on the power scenario model and the vehicle logic parameters, the whole vehicle operating condition is simulated through the programmable power supply, the test board, the controller, the actuator and the load; The vehicle current and vehicle voltage corresponding to the vehicle operating condition are collected according to the test board.

5. The method according to claim 4, characterized in that The step of collecting the vehicle current and the vehicle voltage corresponding to the vehicle operating condition according to the test board comprises: Obtain static acquisition accuracy and dynamic acquisition accuracy; When the vehicle is in any one of a power-off condition, a charging condition, and an abnormal condition, the vehicle current and the vehicle voltage are collected by the test board with the static collection accuracy; When the whole vehicle operating condition is a dynamic operating condition, the whole vehicle current and the whole vehicle voltage are collected by the test board with the dynamic collection accuracy.

6. The method according to claim 3, characterized in that The step of performing a vehicle power balance test according to the vehicle current and the vehicle voltage comprises: Comparing the vehicle current and the vehicle voltage with a preset judgment standard to obtain a test result; A power balance test report is generated according to the test result, wherein the power balance test report includes a passed test case, a failed test case, a coverage rate, and a test defect.

7. The method according to any one of claims 1 to 6, characterized in that The step of obtaining the power balance test standard includes: Obtain test requirement data; Performing a demand analysis based on the test demand data to obtain the test target requirements and test target range; A power balance test standard is determined according to the test target requirement and the test target range, and the power balance test standard includes a test priority and a test specification.

8. A vehicle power balance test device, characterized in that: The device comprises: A data acquisition module, used to obtain power balance test standards; A scenario construction module, used to construct a test environment based on a hardware-in-the-loop test bench according to the power balance test standard to obtain a test scenario model, wherein the test environment includes a programmable power supply, a controller, an actuator, a load, and a test board; A simulation logic module, used to obtain a power scenario model and vehicle logic parameters according to the test scenario model; The simulation test module is used to perform a vehicle power balance test based on the test environment, the power scenario model and the vehicle logic parameters.

9. A vehicle power balance test device, characterized in that: The device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle power balance test method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle power balance test method as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Auxiliary method and system for PEMS vehicle in-loop test

    CN121347161A