Multi-step simulation method, system and device for whole vehicle HIL test
By dividing the vehicle controller into multiple step-length modules and determining the simulation step size according to the simulation accuracy requirements, the processor operation pressure problem caused by the reduction of the simulation model step size in HIL test is solved, and efficient simulation model accuracy and Computational resource utilization.
Patent Information
- Application Number
- CN202411064025.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-11-15
AI Technical Summary
In the HIL test of the whole vehicle, although reducing the step size of the simulation model can improve the running accuracy and dynamic response speed of the simulation model, it will cause the number of system operations to increase exponentially, resulting in a significant increase in the processor operating pressure, and may even lead to a crash.
Using multi-step simulation method, the vehicle controller is divided into multiple step-length modules. The simulation step size of each module is determined according to the simulation accuracy requirements of different modules, and the required number of each step-length module is calculated by reference simulation step size. The simulation step size is to achieve efficient utilization of processor resources.
The accuracy of the simulation model of the entire vehicle's HIL test system is improved, and the processor computing resources are used to maximize the needs of different loads and actuators for computing speed, avoiding the risk of processor crash.
Smart Images

Figure CN118963175A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of whole vehicle testing, and in particular relates to a multi-step simulation method, system and device for whole vehicle HIL testing. Background Art
[0002] With the continuous development of vehicle testing technology, HIL testing has gradually become an indispensable part of the vehicle development process. Compared with real vehicle testing, vehicle HIL testing has the advantages of being convenient, safe and efficient, covering a wide range of areas, and having low error costs. Performing HIL testing before real vehicle testing can greatly help automakers reduce testing costs and shorten testing cycles.
[0003] The whole vehicle HIL test is mainly used to test the functions of various vehicle controllers and software, while the key components such as the engine, gearbox, axle, etc. are simulated using virtual models. In this process, whether the simulation model can accurately simulate the characteristics and functions of the physical entity becomes an important guarantee for the accuracy of the whole vehicle HIL test. Reducing the calculation step size of the simulation model is an important method to improve the operation accuracy and dynamic response speed of the simulation model. However, reducing the simulation step size will increase the number of system operations exponentially, greatly increase the operating pressure of the processor, and even put it at risk of operation crash. Summary of the invention
[0004] In order to solve the above technical problems, the present invention proposes a multi-step simulation method, system and device for whole vehicle HIL testing.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A multi-step simulation method for vehicle HIL testing, comprising the following steps:
[0007] Receiving control signals for vehicle controller simulation;
[0008] Divide each sub-controller in the vehicle controller into multiple multiple-step modules according to preset standards;
[0009] Determine a reference simulation step size for vehicle controller simulation; calculate the simulation step size required for each multiple step size module based on the reference simulation step size;
[0010] According to the control signal, the double-step module is simulated according to the simulation step required by the double-step module, and the simulation result is output.
[0011] Furthermore, the preset standard includes: dividing each sub-controller in the vehicle controller into a plurality of multiple-step modules according to the requirements for simulation accuracy.
[0012] Furthermore, the preset standard includes: dividing each sub-controller in the vehicle controller into a plurality of multiple-step modules according to the functional domain of the vehicle.
[0013] Furthermore, each sub-controller in the vehicle controller is divided into a chassis domain, a power domain and a body domain according to the functional domain of the vehicle.
[0014] Furthermore, the method for determining a benchmark simulation step for vehicle controller simulation includes: taking the simulation step of a module having the highest multiple-step requirement for simulation step as the benchmark simulation step, or taking the simulation step of a module having the lowest multiple-step requirement for simulation step as the benchmark simulation step.
[0015] Furthermore, when the simulation step of the module with the highest simulation step requirement is used as the reference simulation step, the method for calculating the simulation step required for each module with the highest simulation step requirement is as follows:
[0016] The reference simulation step size is an integer multiple of the step size of each multiple step size module; that is,
[0017] ΔT 0 =NΔT i ;
[0018] Where, ΔT 0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
[0019] Furthermore, the method of taking the simulation step of the module with the lowest simulation step requirement as the reference simulation step and calculating the simulation step required for each module with the multiple step according to the reference simulation step is:
[0020] The simulation step size of each multiple-step module is an integer multiple of the reference simulation step size; that is,
[0021] ΔT i =NΔT 0 ;
[0022] Where, ΔT 0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
[0023] The present invention also proposes a multi-step simulation system for vehicle HIL testing, the system comprising a signal receiving module, a division module, a calculation module and a simulation output module;
[0024] The receiving signal module is used for the control signal of the vehicle controller simulation;
[0025] The division module is used to divide each sub-controller in the vehicle controller into a plurality of multiple-step modules according to a preset standard;
[0026] The calculation module is used to determine the reference simulation step size for vehicle controller simulation; and calculate the simulation step size required for each multiple step size module according to the reference simulation step size;
[0027] The simulation output module is used to simulate the multiple-step module according to the control signal and the simulation step required by the multiple-step module, and output the simulation result.
[0028] The present invention also proposes a multi-step simulation device for whole vehicle HIL testing, which is used to execute a multi-step simulation method for whole vehicle HIL testing. The device includes a host computer, a HIL bench and a whole vehicle controller; the host computer is communicatively connected to the HIL bench; the HIL bench is communicatively connected to the whole vehicle controller;
[0029] The host computer is used to send a control signal for vehicle controller simulation to the vehicle controller through the HIL test bench; divide each sub-controller in the vehicle controller into a plurality of multiple-step modules according to a preset standard; determine a reference simulation step for vehicle controller simulation; calculate the simulation step required for each multiple-step module according to the reference simulation step; simulate the multiple-step module according to the simulation step required by the multiple-step module according to the control signal;
[0030] The HIL bench is used to realize information interaction between the host computer and the vehicle controller;
[0031] The vehicle controller receives the status signal output by the host computer simulation and completes the closed-loop test of the vehicle HIL.
[0032] Furthermore, the HIL test bench also includes a power supply module; the power supply module is used to supply power to the vehicle controller.
[0033] The effects provided in the content of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:
[0034] The present invention proposes a multi-step simulation method, system and device for whole vehicle HIL testing, the method comprising the following steps: receiving a control signal for whole vehicle controller simulation; dividing each sub-controller in the whole vehicle controller into a plurality of multiple-step modules according to a preset standard; determining a reference simulation step for whole vehicle controller simulation; calculating the simulation step required for each multiple-step module according to the reference simulation step; simulating the multiple-step module according to the simulation step required by the multiple-step module according to the control signal, and outputting the simulation result. Based on a multi-step simulation method for whole vehicle HIL testing, a multi-step simulation system and device for whole vehicle HIL testing are also proposed. The present invention divides the whole vehicle controller into a plurality of multiple-step modules, clarifies the simulation step of different multiple-step modules, improves the accuracy of the simulation model of the whole vehicle HIL testing system, can make the most of the processor computing resources, and can meet the computing speed requirements of different loads and actuators.
[0035] The present invention divides each sub-controller in the vehicle controller into a plurality of multiple-step modules according to the functional domain of the vehicle. The method of dividing according to the actual needs of the functional modules can meet the needs of each functional module in a more detailed manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a flow chart of a multi-step simulation method for vehicle HIL testing proposed in Example 1 of the present invention;
[0037] Figure 2 This is a schematic diagram of a multi-step simulation proposed in Example 1 of the present invention;
[0038] Figure 3 This is a schematic diagram of the vehicle HIL closed-loop test proposed in Example 1 of the present invention;
[0039] Figure 4 This is a schematic diagram of a multi-step simulation system for vehicle HIL testing proposed in Example 2 of the present invention;
[0040] Figure 5 This is a schematic diagram of a multi-step simulation device for whole vehicle HIL testing proposed in Example 3 of the present invention. DETAILED DESCRIPTION
[0041] In order to clearly illustrate the technical features of the present solution, the present invention is described in detail below through specific implementation methods and in conjunction with the accompanying drawings. The disclosure below provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. In addition, the present invention may repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. It should be noted that the components illustrated in the accompanying drawings are not necessarily drawn to scale. The present invention omits the description of known components and processing techniques and processes to avoid unnecessary limitations on the present invention.
[0042] Example 1
[0043] Embodiment 1 of the present invention proposes a multi-step simulation method for whole vehicle HIL testing, which can not only reasonably and efficiently utilize processor computing resources, but also meet the computing speed requirements of different loads and actuators.
[0044] A multi-step simulation method for whole vehicle HIL testing proposed in Example 1 of the present invention is implemented based on a multi-step simulation device for whole vehicle HIL testing, which includes a host computer, a HIL test bench and a whole vehicle controller; the host computer is communicatively connected to the HIL test bench; the HIL test bench is communicatively connected to the whole vehicle controller.
[0045] Figure 1 This is a flow chart of a multi-step simulation method for whole vehicle HIL testing proposed in Example 1 of the present invention; the method runs on a host computer.
[0046] In step 1, a control signal simulated by a vehicle controller is obtained, and each sub-controller in the vehicle controller is divided into a plurality of multiple-step modules according to a preset standard.
[0047] The preset standard can be to divide each sub-controller in the vehicle controller into multiple multiple-step modules according to the requirements for simulation accuracy.
[0048] In the vehicle simulation model, some parts, such as some moving parts and virtual actuators, have high requirements for simulation accuracy. The benchmark simulation step cannot meet their precise control needs. For such parts, the corresponding parts are designed with multiple steps. At the same time, according to the specific control accuracy requirements of different parts, the corresponding parts are designed with multiple steps independently.
[0049] Since different components have different requirements for simulation accuracy, valve bodies with higher requirements for operation accuracy, such as clutch valve bodies, shift valve bodies, etc., have higher requirements for position accuracy and can be designed with multiple steps according to their actual simulation accuracy requirements.
[0050] The preset standard may also be adopted to divide each sub-controller in the vehicle controller into multiple multiple-step modules according to the functional domain of the vehicle.
[0051] The present application can also adopt different calculation step designs according to the actual requirements of each functional module for simulation calculation accuracy. In addition, it can also be divided according to the functional domains of the whole vehicle, such as chassis domain, power domain, body domain, etc. For example, the body domain simulation model does not contain complex moving parts and physical models, and the requirements for simulation accuracy are the lowest. The simulation step can be set relatively large, so its simulation step can be set as the benchmark simulation step; while the power domain and chassis domain respectively contain different kinematic physical models, and the requirements for the accuracy of the simulation model are relatively high, and different low calculation steps can be set according to actual needs. In contrast, the method of dividing according to the actual needs of the functional modules proposed in the present invention can meet the needs of each functional module in a more detailed manner.
[0052] In step 2, a benchmark simulation step size for vehicle controller simulation is determined; the method for determining the benchmark simulation step size for vehicle controller simulation includes: taking the simulation step size of a module with the highest multiple-step size requirement for simulation step size as the benchmark simulation step size, or taking the simulation step size of a module with the lowest multiple-step size requirement for simulation step size as the benchmark simulation step size.
[0053] The maximum operation step required by most of the system's functional modules with lower operation step requirements is used as the benchmark step, and other modules with higher operation requirements are designed based on this step. In addition, the minimum operation step required by the module with the highest operation requirement in the system can also be used as a benchmark to determine the operation step of other modules.
[0054] In addition, only low step length and high step length classification can be performed. In contrast, the multi-step length division method proposed in the present invention can realize the model accuracy to the greatest extent based on the actual needs of different modules, while making the most efficient use of processor computing resources.
[0055] In step 3, the simulation step size required for each multiple-step module is calculated based on the determined benchmark simulation step size.
[0056] When the simulation step of the module with the highest simulation step requirement is taken as the benchmark simulation step, the method for calculating the simulation step required for each module with the highest simulation step requirement is as follows:
[0057] The benchmark simulation step size is an integer multiple of the step size of each multiple-step module; that is,
[0058] ΔT 0 =NΔT i ;
[0059] Where, ΔT 0 is the benchmark simulation step; ΔTi is the simulation step size of the i-th multiple-step module; where N is a positive integer.
[0060] The simulation step of the module with the lowest simulation step requirement is taken as the benchmark simulation step. The method for calculating the simulation step required for each module with the lowest simulation step requirement is as follows:
[0061] The simulation step size of each multiple-step module is an integer multiple of the reference simulation step size; that is,
[0062] ΔT i =NΔT 0 ;
[0063] Where, ΔT 0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
[0064] In step 4, the double-step module is simulated according to the simulation step required by the double-step module. Figure 2 This is a schematic diagram of a multi-step simulation proposed in Example 1 of the present invention;
[0065] Since different components have different requirements for simulation accuracy, there are multiple multiple-step modules in the vehicle controller. Figure 2 In the example, the simulation step of the module with the highest simulation step requirement is used as the benchmark simulation step. There are n simulation step modules, 1 / X, 1 / Y, 1 / Z are the simulation step multiples of the modules 1, 2, and n respectively, and X, Y, and Z are positive integers respectively. Taking the first simulation step module as an example, the benchmark simulation step cannot meet the actual requirements of the simulation accuracy of the first simulation step module, so the benchmark simulation step ΔT is used. 0 Based on the above, the simulation operation step length is shortened by X times to improve the simulation accuracy of this part of the model.
[0066] In step S5, the host computer receives the control instruction of the controller and completes the corresponding calculation and action. That is, after the host computer completes the simulation, it feeds back the controller state signal required by the controller to the controller through the HIL bench. Figure 3 This is a schematic diagram of the vehicle HIL closed-loop test proposed in Example 1 of the present invention;
[0067] A multi-step simulation method for whole vehicle HIL testing proposed in Example 1 of the present invention divides the whole vehicle controller into multiple multiple-step modules, clarifies the simulation step sizes of modules with different multiple-step sizes, improves the accuracy of the simulation model of the whole vehicle HIL testing system, and can maximize the use of processor computing resources while meeting the computing speed requirements of different loads and actuators.
[0068] Embodiment 1 of the present invention proposes a multi-step simulation method for vehicle HIL testing, which divides each sub-controller in the vehicle controller into multiple multiple-step modules according to the functional domain of the vehicle. The method of dividing according to the actual needs of the functional modules can meet the needs of each functional module in a more detailed manner.
[0069] Example 2
[0070] Based on the multi-step simulation method for whole vehicle HIL testing proposed in Example 1 of the present invention, Example 2 of the present invention further proposes a multi-step simulation system for whole vehicle HIL testing. Figure 4 This is a schematic diagram of a multi-step simulation system for vehicle HIL testing proposed in Embodiment 2 of the present invention, wherein the system includes a signal receiving module, a division module, a calculation module, and a simulation output module;
[0071] The receiving signal module is used for the control signal of the vehicle controller simulation;
[0072] The division module is used to divide each sub-controller in the vehicle controller into multiple multiple-step modules according to a preset standard;
[0073] The calculation module is used to determine the reference simulation step size for vehicle controller simulation; the simulation step size required by each multiple step size module is calculated according to the reference simulation step size;
[0074] The simulation output module is used to simulate the multiple-step module according to the control signal and the simulation step required by the multiple-step module, and output the simulation result.
[0075] In the division module, the preset standards include: dividing each sub-controller in the vehicle controller into multiple multiple-step modules according to the requirements for simulation accuracy.
[0076] The preset standards include: dividing each sub-controller in the vehicle controller into multiple multiple-step modules according to the functional domain of the vehicle.
[0077] In the computing module, each sub-controller in the vehicle controller is divided into chassis domain, power domain and body domain according to the functional domain of the vehicle.
[0078] The method for determining a reference simulation step for vehicle controller simulation includes: taking the simulation step of a module with the highest simulation step requirement as the reference simulation step, or taking the simulation step of a module with the lowest simulation step requirement as the reference simulation step.
[0079] When the simulation step of the module with the highest simulation step requirement is taken as the benchmark simulation step, the method for calculating the simulation step required for each module with the highest simulation step requirement is as follows:
[0080] The benchmark simulation step size is an integer multiple of the step size of each multiple-step module; that is,
[0081] ΔT 0 =NΔT i ;
[0082] Where, ΔT 0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
[0083] The simulation step of the module with the lowest simulation step requirement is taken as the benchmark simulation step. The method for calculating the simulation step required for each module with the lowest simulation step requirement is as follows:
[0084] The simulation step size of each multiple-step module is an integer multiple of the reference simulation step size; that is,
[0085] ΔT i =NΔT 0 ;
[0086] Where, ΔT 0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
[0087] A multi-step simulation system for whole vehicle HIL testing proposed in Example 2 of the present invention modularizes a multi-step simulation method for whole vehicle HIL testing proposed in Example 1 of the present invention, divides the whole vehicle controller into multiple multiple-step modules, clarifies the simulation step sizes of modules with different multiple-step sizes, improves the accuracy of the simulation model of the whole vehicle HIL testing system, makes maximum use of processor computing resources, and meets the computing speed requirements of different loads and actuators.
[0088] A multi-step simulation system for whole vehicle HIL testing proposed in Example 2 of the present invention modularizes a multi-step simulation method for whole vehicle HIL testing proposed in Example 1 of the present invention, divides each sub-controller in the whole vehicle controller into multiple multiple-step modules according to the functional domain of the whole vehicle, and divides the method according to the actual needs of the functional modules, which can meet the needs of each functional module in a more detailed manner.
[0089] Example 3
[0090] Embodiment 3 of the present invention further proposes a multi-step simulation device for whole vehicle HIL testing, which is used to implement a multi-step simulation method for whole vehicle HIL testing proposed in Embodiment 1 of the present invention. Figure 5 This is a schematic diagram of a multi-step simulation device for vehicle HIL testing proposed in Example 3 of the present invention. The device includes a host computer, a HIL test bench and a vehicle controller; the host computer is connected to the HIL test bench in communication; the HIL test bench is connected to the vehicle controller in communication;
[0091] The host computer is used to send a control signal for vehicle controller simulation to the vehicle controller through the HIL test bench; divide each sub-controller in the vehicle controller into a plurality of multiple-step modules according to a preset standard; determine a reference simulation step for vehicle controller simulation; calculate the simulation step required for each multiple-step module according to the reference simulation step; simulate the multiple-step module according to the control signal and the simulation step required by the multiple-step module;
[0092] The HIL test bench is used to realize information interaction between the host computer and the vehicle controller;
[0093] The vehicle controller receives the status signal output by the host computer simulation and completes the closed-loop test of the vehicle HIL.
[0094] In this application, the host computer is the core execution unit of this application, and its main functions include two parts: one is to realize the control of the entire system and human-computer interaction, which is used to control and interfere with the entire test process; the other is to carry the virtual physical simulation model of each sub-controller of the vehicle controller, providing a running environment for the virtual physical simulation model.
[0095] In the host computer: each sub-controller in the vehicle controller is divided into a plurality of multiple-step modules according to a preset standard, wherein the preset standard can be to divide each sub-controller in the vehicle controller into a plurality of multiple-step modules according to the requirements for simulation accuracy.
[0096] In the vehicle simulation model, some parts, such as some moving parts and virtual actuators, have high requirements for simulation accuracy. The benchmark simulation step cannot meet their precise control needs. For such parts, the corresponding parts are designed with multiple steps. At the same time, according to the specific control accuracy requirements of different parts, the corresponding parts are designed with multiple steps independently.
[0097] Since different components have different requirements for simulation accuracy, valve bodies with higher requirements for operation accuracy, such as clutch valve bodies, shift valve bodies, etc., have higher requirements for position accuracy and can be designed with multiple steps according to their actual simulation accuracy requirements.
[0098] The preset standard may also be adopted to divide each sub-controller in the vehicle controller into multiple multiple-step modules according to the functional domain of the vehicle.
[0099] The present application can also adopt different calculation step designs according to the actual requirements of each functional module for simulation calculation accuracy. In addition, it can also be divided according to the functional domains of the whole vehicle, such as chassis domain, power domain, body domain, etc. For example, the body domain simulation model does not contain complex moving parts and physical models, and the requirements for simulation accuracy are the lowest. The simulation step can be set relatively large, so its simulation step can be set as the benchmark simulation step; while the power domain and chassis domain respectively contain different kinematic physical models, and the requirements for the accuracy of the simulation model are relatively high, and different low calculation steps can be set according to actual needs. In contrast, the method of dividing according to the actual needs of the functional modules proposed in the present invention can meet the needs of each functional module in a more detailed manner.
[0100] Determine a benchmark simulation step for vehicle controller simulation; the method for determining the benchmark simulation step for vehicle controller simulation includes: taking the simulation step of the module with the highest simulation step requirement as the benchmark simulation step, or taking the simulation step of the module with the lowest simulation step requirement as the benchmark simulation step.
[0101] The maximum operation step required by most of the system's functional modules with lower operation step requirements is used as the benchmark step, and other modules with higher operation requirements are designed based on this step. In addition, the minimum operation step required by the module with the highest operation requirement in the system can also be used as a benchmark to determine the operation step of other modules.
[0102] In addition, only low step length and high step length classification can be performed. In contrast, the multi-step length division method proposed in the present invention can realize the model accuracy to the greatest extent based on the actual needs of different modules, while making the most efficient use of processor computing resources.
[0103] When the simulation step of the module with the highest simulation step requirement is taken as the benchmark simulation step, the method for calculating the simulation step required for each module with the highest simulation step requirement is as follows:
[0104] The benchmark simulation step size is an integer multiple of the step size of each multiple-step module; that is,
[0105] ΔT 0 =NΔT i ;
[0106] Where, ΔT 0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
[0107] The simulation step of the module with the lowest simulation step requirement is taken as the benchmark simulation step. The method for calculating the simulation step required for each module with the lowest simulation step requirement is as follows:
[0108] The simulation step size of each multiple-step module is an integer multiple of the reference simulation step size; that is,
[0109] ΔT i =NΔT 0 ;
[0110] Where, ΔT 0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
[0111] Then the double-step module is simulated according to the simulation step required by the double-step module.
[0112] The host computer receives the control instructions from the controller and completes the corresponding calculations and actions. That is, after the host computer completes the simulation, it feeds back the controller status signal required by the controller to the controller through the HIL bench.
[0113] The HIL bench includes a communication bus, information acquisition and interaction modules, and a power supply module.
[0114] The communication bus can realize the communication between the host computer and the vehicle controller, as well as between different sub-controllers.
[0115] The information acquisition and interaction module provides an interface for data acquisition and control signal interaction between the vehicle controller and the host computer; the power module is used to supply power to multiple vehicle controllers.
[0116] The vehicle controller is the on-board controller under test, such as the engine controller ECU, the transmission controller TCU, etc. It collects the status of the virtual engine, transmission and other entity models, issues control instructions, and realizes simulated closed-loop control.
[0117] The HIL test bench also includes a power supply module; the power supply module is used to supply power to the vehicle controller.
[0118] Embodiment 3 of the present invention proposes a multi-step simulation device for whole vehicle HIL testing, which divides the whole vehicle controller into multiple multiple-step modules, clarifies the simulation step sizes of modules with different multiple-step sizes, improves the accuracy of the simulation model of the whole vehicle HIL test system, and can maximize the use of processor computing resources while meeting the computing speed requirements of different loads and actuators.
[0119] Embodiment 3 of the present invention proposes a multi-step simulation device for whole vehicle HIL testing, which divides each sub-controller in the whole vehicle controller into multiple multiple-step modules according to the whole vehicle functional domain. The method of dividing according to the actual needs of the functional modules can meet the needs of each functional module in a more detailed manner.
[0120] For the description of the relevant parts of a multi-step simulation system and device for whole vehicle HIL testing provided in Examples 2 and 3 of the present application, please refer to the detailed description of the corresponding parts of a multi-step simulation method for whole vehicle HIL testing provided in Example 1 of the present application, and will not be repeated here.
[0121] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment that includes a series of elements are inherent to the elements. In the absence of more restrictions, the elements limited by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or equipment that includes the elements. In addition, the above-mentioned technical solution provided in the embodiment of the present application is consistent with the corresponding technical solution in the prior art in principle, and the part is not described in detail, so as not to repeat too much.
[0122] Although the above describes the specific implementation of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. For those skilled in the art, other different forms of modifications or deformations can be made on the basis of the above description. It is not necessary and impossible to list all the implementation methods here. On the basis of the technical solution of the present invention, various modifications or deformations that can be made by those skilled in the art without creative work are still within the scope of protection of the present invention.
Claims
1. A multi-step simulation method for vehicle HIL testing, characterized in that: The following steps are involved: Receiving control signals for vehicle controller simulation; Divide each sub-controller in the vehicle controller into multiple multiple-step modules according to preset standards; Determine the baseline simulation step size for vehicle controller simulation; Calculate the simulation step required for each multiple-step module according to the benchmark simulation step; According to the control signal, the double-step module is simulated according to the simulation step required by the double-step module, and the simulation result is output.
2. A multi-step simulation method for vehicle HIL testing according to claim 1, characterized in that: The preset standard includes: dividing each sub-controller in the vehicle controller into multiple multiple-step modules according to the requirements for simulation accuracy.
3. The multi-step simulation method for vehicle HIL testing according to claim 1, characterized in that: The preset standard includes: dividing each sub-controller in the vehicle controller into a plurality of multiple-step modules according to the functional domain of the vehicle.
4. The multi-step simulation method for vehicle HIL testing according to claim 3, characterized in that: Each sub-controller in the vehicle controller is divided into a chassis domain, a power domain and a body domain according to the functional domain of the vehicle.
5. The multi-step simulation method for vehicle HIL testing according to claim 1, characterized in that: The method for determining a reference simulation step for vehicle controller simulation includes: taking the simulation step of a module with the highest simulation step requirement as the reference simulation step, or taking the simulation step of a module with the lowest simulation step requirement as the reference simulation step.
6. A multi-step simulation method for vehicle HIL testing according to claim 5, characterized in that: When the simulation step length of the module with the highest simulation step length requirement is used as the reference simulation step length, the method for calculating the simulation step length required for each module with the highest simulation step length requirement is as follows: The reference simulation step size is an integer multiple of the step size of each multiple step size module; that is, ΔT0=NΔT i ; Among them, ΔT0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
7. The multi-step simulation method for vehicle HIL testing according to claim 5, characterized in that: The method of taking the simulation step of the module with the lowest simulation step requirement as the reference simulation step and calculating the simulation step required for each module with the multiple step according to the reference simulation step is: The simulation step size of each multiple-step module is an integer multiple of the reference simulation step size; that is, ΔT i =NΔT0; Among them, ΔT0 is the benchmark simulation step; ΔT i is the simulation step size of the i-th multiple-step module; where N is a positive integer.
8. A multi-step simulation system for vehicle HIL testing, characterized in that: The system includes a signal receiving module, a dividing module, a calculation module and a simulation output module; The receiving signal module is used for the control signal of the vehicle controller simulation; The division module is used to divide each sub-controller in the vehicle controller into a plurality of multiple-step modules according to a preset standard; The calculation module is used to determine the reference simulation step size for vehicle controller simulation; and calculate the simulation step size required for each multiple step size module according to the reference simulation step size; The simulation output module is used to simulate the multiple-step module according to the control signal and the simulation step required by the multiple-step module, and output the simulation result.
9. A multi-step simulation device for whole vehicle HIL testing, used to execute a multi-step simulation method for whole vehicle HIL testing according to any one of claims 1 to 7, characterized in that: It includes a host computer, a HIL test bench and a vehicle controller; the host computer is connected to the HIL test bench for communication; the HIL test bench is connected to the vehicle controller for communication; The host computer is used to send a control signal for vehicle controller simulation to the vehicle controller through the HIL test bench; divide each sub-controller in the vehicle controller into a plurality of multiple-step modules according to a preset standard; determine a reference simulation step for vehicle controller simulation; calculate the simulation step required for each multiple-step module according to the reference simulation step; simulate the multiple-step module according to the simulation step required by the multiple-step module according to the control signal; The HIL bench is used to realize information interaction between the host computer and the vehicle controller; The vehicle controller receives the status signal output by the host computer simulation and completes the closed-loop test of the vehicle HIL.
10. A multi-step simulation device for vehicle HIL testing according to claim 9, characterized in that: The HIL test bench also includes a power supply module; the power supply module is used to supply power to the vehicle controller.
