Vehicle simulation test method, device and system based on closed-loop scene and medium

By acquiring user requirements, establishing control algorithms and simulation scenarios, and constructing vehicle models for closed-loop simulation testing, the problems of low development efficiency and incomplete verification of electronic control systems have been solved, achieving efficient and comprehensive verification of electronic control systems.

CN120949604APending Publication Date: 2025-11-14CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510845158.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

Traditional methods for developing and verifying electronic control systems are time-consuming and have limited coverage of verification scenarios, failing to meet user needs.

Method used

By acquiring user requirements for vehicle electronic control systems, establishing control algorithms and simulation scenarios, constructing vehicle and scenario models, and using logical models for simulation testing, a closed-loop verification mechanism is formed to comprehensively verify the performance of the electronic control system.

Benefits of technology

It improves the development efficiency and verification comprehensiveness of the electronic control system, ensures the stability and responsiveness of the electronic control system in different scenarios, and meets user needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120949604A_ABST
    Figure CN120949604A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicles, in particular to a vehicle simulation test method, device and system based on a closed-loop scene and a medium, and the method comprises the steps: obtaining a user demand of a vehicle electronic control system, and determining an electronic control system demand related to the user demand, the electronic control system demand comprising a function demand and a performance index of the electronic control system; respectively establishing a control algorithm and a simulation scene of the electric control system based on the requirements of the electric control system, and establishing a test case model based on the control algorithm and the simulation scene of the electric control system; the control algorithm is used for simulating the response of the electric control system under different working conditions, and the simulation scene is used for simulating the driving state of the vehicle under different driving scenes; a vehicle model carrying an electric control system and a scene model used for testing the vehicle model are constructed, simulation testing is carried out based on the vehicle model, the scene model and the test case model, and a vehicle simulation testing result is obtained; according to the invention, the development efficiency and verification comprehensiveness of the vehicle electronic control system can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle technology, and specifically to a vehicle simulation testing method, apparatus, system, and medium based on a closed-loop scenario. Background Technology

[0002] With the development of the automotive industry, automobile development has gradually shifted from performance development based on professional engineering theories to functional performance development oriented towards user needs. Traditional development methods are no longer able to meet users' demands for new models in terms of development efficiency.

[0003] The chassis electronic control system is the first line of defense to ensure the stable and safe driving of a vehicle. However, the development and verification of electronic control systems are still based on traditional development and calibration methods, which are time-consuming and have low coverage of verification scenarios. This makes it impossible to fully and comprehensively verify the performance of the electronic control system and develop an electronic control system that meets user needs.

[0004] In summary, to improve the development efficiency of intelligent chassis electronic control systems and fully verify the performance of these systems, there is an urgent need for a scenario development method that comprehensively considers user needs as well as system functional and performance requirements. Summary of the Invention

[0005] In view of this, the purpose of this invention is to provide a vehicle simulation testing method, device, system and medium based on a closed-loop scenario, which aims to improve the efficiency of vehicle electronic control system development and the comprehensiveness of verification.

[0006] On one hand, embodiments of the present invention provide a vehicle simulation testing method based on a closed-loop scenario, the method comprising the following steps: Obtain user requirements for the vehicle electronic control system, and determine the electronic control system requirements related to the user requirements. The electronic control system requirements include the functional requirements and performance indicators of the electronic control system. Based on the requirements of the electronic control system, control algorithms and simulation scenarios for the electronic control system are established, and test case models are established based on the control algorithms and simulation scenarios. The control algorithms are used to simulate the response of the electronic control system under different operating conditions, and the simulation scenarios are used to simulate the driving state of the vehicle under different driving scenarios. A vehicle model equipped with an electronic control system and a scenario model for testing the vehicle model are constructed. Simulation tests are conducted based on the vehicle model, scenario model, and test case model to obtain vehicle simulation test results.

[0007] Optionally, the establishment of control algorithms and simulation scenarios for the electronic control system based on the requirements of the electronic control system includes: Establish corresponding control algorithms based on the functional requirements of the electronic control system; Based on the performance indicators of the electronic control system, functional scenarios, abstract scenarios, logical scenarios, and specific scenarios are established in sequence as simulation scenarios for the electronic control system.

[0008] Optionally, the establishment of a test case model based on the control algorithm and simulation scenario of the electronic control system includes: Acquire the various control algorithms and simulation scenarios of the electronic control system; Based on the various control algorithms and simulation scenarios, multiple test case models corresponding to user requirements are generated.

[0009] Optionally, the step of generating multiple test case models corresponding to user requirements based on each of the control algorithms and simulation scenarios includes: Each control algorithm and simulation scenario of the electronic control system is paired one by one to form a combination of multiple control algorithms and simulation scenarios; For each combination, a test case model is generated. The information settings of the test case model include requirement definition, scenario description and functional verification information.

[0010] Optionally, the simulation test based on the vehicle model, scenario model, and test case model to obtain the vehicle simulation test results includes: Establish a mapping relationship between user needs and electronic control system needs, and determine the electronic control system corresponding to the user needs and multiple control algorithms of the electronic control system; An algorithm architecture model for the electronic control system is established based on multiple control algorithms. The algorithm architecture model includes the triggering conditions, execution order, and parameter configuration for executing each control algorithm. A logical model of the electronic control system is established based on the test case model, and logical connections are established between the logical model and the vehicle model and the algorithm architecture model, respectively. The vehicle model is called by the logical model to perform simulation tests in the scenario model according to each test case model, and the vehicle simulation test results are obtained.

[0011] Optionally, the step of calling the vehicle model through the logical model to perform simulation tests in the scenario model according to each test case model, and obtaining vehicle simulation test results, includes: The information settings in the test case model are passed to the vehicle model through the logical model. The vehicle model is invoked within the scene model for testing via the aforementioned logical model. Read the various performance indicators of the vehicle model when it moves in the scene model, and use them as the vehicle simulation test results.

[0012] Optionally, the step of calling the vehicle model in the scene model through the logical model for testing includes: The logical model calls the vehicle model to execute the information settings in the test case model, passes the state information of the vehicle model to the scene model, and displays the movement process of the vehicle model in the scene model.

[0013] On the other hand, embodiments of the present invention provide a vehicle simulation testing device based on a closed-loop scenario, the device comprising: The first module is used to obtain user requirements for the vehicle electronic control system and determine the electronic control system requirements related to the user requirements. The electronic control system requirements include the functional requirements and performance indicators of the electronic control system. The second module is used to establish control algorithms and simulation scenarios for the electronic control system based on the requirements of the electronic control system, and to establish test case models based on the control algorithms and simulation scenarios of the electronic control system. The control algorithms are used to simulate the response of the electronic control system under different operating conditions, and the simulation scenarios are used to simulate the driving state of the vehicle under different driving scenarios. The third module is used to build a vehicle model equipped with an electronic control system and a scenario model for testing the vehicle model. Simulation tests are then conducted based on the vehicle model, scenario model, and test case model to obtain vehicle simulation test results.

[0014] On the other hand, embodiments of the present invention provide a parking lot scheduling system based on spatiotemporal decision-making, comprising: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor performs the method described above.

[0015] On the other hand, embodiments of the present invention provide a computer-readable storage medium storing a processor-executable program, which, when executed by a processor, is used to perform the above-described method.

[0016] The embodiments of the present invention have the following beneficial effects: This invention proposes a vehicle simulation testing method, device, system, and medium based on a closed-loop scenario. It obtains user requirements for the vehicle's electronic control system (ECU) and determines related ECU requirements. Control algorithms and simulation scenarios are constructed by combining functional and performance indicators, and test case models are generated. By building vehicle and scenario models and using a logical model to connect the test cases, vehicle model, and algorithm architecture, simulation testing is performed in a closed-loop environment to comprehensively verify the performance of the ECU. This invention effectively improves the efficiency of vehicle ECU development and the comprehensiveness of verification. Attached Figure Description

[0017] Figure 1This is a flowchart illustrating the steps of a vehicle simulation testing method based on a closed-loop scenario provided in an embodiment of the present invention. Figure 2 This is a logical framework diagram of a vehicle simulation test based on a closed-loop scenario provided by an embodiment of the present invention; Figure 3 This is a structural block diagram of a vehicle simulation test system based on a closed-loop scenario provided by an embodiment of the present invention. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0019] It should be noted that although the device diagram shows a modular division and the flowchart illustrates a logical order, in some cases, the steps shown or described may be performed in a different order than the modular division in the device or the order shown in the flowchart. The terms "first," "second," etc., used in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0021] Furthermore, the described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this application. However, those skilled in the art will recognize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this application.

[0022] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0023] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0024] To overcome the shortcomings of the prior art, this invention provides a closed-loop scenario generation method that integrates logical models and functional performance models. It comprehensively considers user needs, the functions and performance of the intelligent chassis electronic control system, and develops and verifies scenarios in a targeted manner, thereby improving the scenario coverage of the electronic control system.

[0025] like Figure 1 and Figure 2 As shown, Figure 1 A vehicle simulation testing method based on a closed-loop scenario is provided in this embodiment of the invention. The method includes the following steps: S100, Obtain user requirements for the vehicle electronic control system, and determine the electronic control system requirements related to the user requirements. The electronic control system requirements include the functional requirements and performance indicators of the electronic control system. It should be noted that user needs for vehicle electronic control systems were surveyed through questionnaires and interviews, including requirements for vehicle stability, acceleration performance, and energy management. Data analysis was used to identify key indicators for each user need, resulting in a system function and performance requirement document. Combining this with the expertise of automotive engineers, user needs were translated into specific functional and performance requirements for the electronic control system, ensuring that the functional requirements and performance indicators of the electronic control system in vehicle simulation testing accurately match user expectations. For example, regarding vehicle stability requirements, performance indicators such as yaw rate and sideslip angle need to be defined, translating into functional requirements for suspension tuning and ESP intervention strategies to ensure stable vehicle operation under various road conditions.

[0026] S200: Based on the requirements of the electronic control system, establish the control algorithm and simulation scenario of the electronic control system respectively, and establish a test case model based on the control algorithm and simulation scenario of the electronic control system; the control algorithm is used to simulate the response of the electronic control system under different operating conditions, and the simulation scenario is used to simulate the driving state of the vehicle under different driving scenarios. Specifically, after reviewing the functional requirements and performance indicators of the electronic control system and establishing its relationship with user needs, the control algorithm of the electronic control system and the simulation scenarios for verifying the electronic control system are established based on the functional requirements and performance indicators of the electronic control system. The control algorithms include, but are not limited to, PID control and fuzzy control, ensuring that the control algorithms accurately respond to various performance indicators. The effectiveness and stability of the control algorithms are verified through simulation scenarios. These simulation scenarios cover a variety of road conditions and driving behaviors, simulating real-world environments to ensure that the electronic control system can operate stably under different conditions.

[0027] S300 constructs a vehicle model equipped with an electronic control system and a scenario model for testing the vehicle model. Based on the vehicle model, scenario model, and test case model, simulation tests are performed to obtain vehicle simulation test results.

[0028] It should be noted that the logical model possesses data interaction capabilities, transmitting requirement definitions, scenario descriptions, and functional verification information from the test case model to the vehicle model. Simultaneously, it receives feedback data from the vehicle model during simulation testing, forming a closed-loop verification mechanism. Through this mechanism, the performance of the electronic control system under different scenarios can be dynamically evaluated, and test results can be quantitatively analyzed, providing a basis for subsequent optimization. The logical model not only efficiently connects the vehicle model and the test case model but also comprehensively monitors the simulation testing process, ensuring the accuracy and reliability of test results, thus providing strong support for the development and verification of intelligent chassis electronic control systems.

[0029] This invention can be applied to the field of generating virtual scenarios for performance verification of intelligent chassis electronic control systems. By statistically analyzing user needs and combining them with the functional and performance requirements of the chassis electronic control system, a logical model of the electronic control system is constructed. A mapping model between requirements, functions, and performance is established. Based on the system architecture, corresponding control algorithms are developed, and corresponding scenarios are designed, ensuring that scenarios and algorithms are developed collaboratively based on the same requirements. Finally, by combining the development process of functional scenarios - logical scenarios - specific scenarios, a high-coverage functional performance verification scenario for the electronic control system is constructed. The method provided by this patent can save manpower and resources and is specifically designed for the development of scenarios corresponding to the electronic control system algorithms.

[0030] In some embodiments, establishing control algorithms and simulation scenarios for the electronic control system based on the requirements of the electronic control system includes: S210, Establish the corresponding control algorithm according to the functional requirements of the electronic control system; S220 establishes functional scenarios, abstract scenarios, logical scenarios, and specific scenarios in sequence based on the performance indicators of the electronic control system, serving as simulation scenarios for the electronic control system.

[0031] Specifically, the simulation scenarios include functional scenarios, abstract scenarios, logical scenarios, and specific test scenarios. The process involves sequentially establishing functional scenarios, abstract scenarios, logical scenarios, and specific scenarios. First, functional requirements are determined, then abstract scenarios are refined, logical scenarios are constructed, and finally, specific scenarios are generated, ensuring that each step is closely integrated to verify the performance of the electronic control system under different scenarios. Functional scenarios cover basic operations such as vehicle start-up, acceleration, braking, and steering; abstract scenarios extract various road conditions and environmental factors; logical scenarios construct the interaction relationships between these factors; and finally, specific scenarios simulate real driving situations to comprehensively test the response and stability of the electronic control system. Specific scenarios cover various complex road conditions such as urban congestion, highway driving, and mountain winding roads. Combined with different driving behaviors and environmental changes, they meticulously simulate the performance of the electronic control system in practical applications, ensuring that all performance indicators meet standards under diverse conditions.

[0032] In some embodiments, establishing a test case model based on the control algorithm and simulation scenario of the electronic control system includes: S230, acquires various control algorithms and simulation scenarios of the electronic control system; S240, based on the various control algorithms and simulation scenarios, generates multiple test case models corresponding to user requirements.

[0033] Specifically, by mapping relationships, the electronic control system requirements corresponding to user needs are identified. Combining the control algorithms and simulation scenarios in the electronic control system requirements, test case models covering various operating conditions are generated to ensure that each test case accurately corresponds to user needs and comprehensively verifies the performance of the electronic control system.

[0034] In some embodiments, generating multiple test case models corresponding to user requirements based on each of the control algorithms and simulation scenarios includes: S241, pair each control algorithm and simulation scenario of the electronic control system one by one to form a combination of multiple control algorithms and simulation scenarios; Specifically, each control algorithm of the electronic control system is paired with each simulation scenario to form a diverse combination model, ensuring that each test case can fully cover user needs and accurately verify the performance of the electronic control system under different conditions.

[0035] S242, Generate a test case model for each combination. The information settings of the test case model include requirement definition, scenario description and functional verification information.

[0036] Specifically, after pairing the control algorithm of the electronic control system with the simulation scenario, a test case model is generated. The requirement definition describes the functional requirements and performance indicators of the electronic control system, the scenario description describes the specific parameters and conditions of the simulation scenario, and the functional verification information describes the response and stability of the electronic control system in the actual scenario, ensuring that the test results are comprehensive, accurate, and meet the expected standards. The requirement definition clarifies the test objectives, the scenario description details the simulation scenario, and the functional verification information describes the response of the electronic control system, ensuring comprehensive and accurate testing. Each module is interconnected, forming a closed-loop verification system to ensure that the vehicle model accurately simulates the real driving environment under various working conditions, comprehensively testing the response speed and stability of the electronic control system in practical applications, and verifying its performance under complex road conditions.

[0037] In some embodiments, the simulation testing based on the vehicle model, scenario model, and test case model to obtain vehicle simulation test results includes: S310, Establish the mapping relationship between user needs and electronic control system needs, and determine the electronic control system corresponding to the user needs and multiple control algorithms of the electronic control system; S320, an algorithm architecture model of the electronic control system is established based on multiple control algorithms, the algorithm architecture model including the triggering conditions, execution order and parameter configuration for executing each control algorithm; Specifically, the design of the algorithm architecture model needs to comprehensively consider the functional requirements and performance indicators of the electronic control system, ensure that each control algorithm can be executed sequentially under appropriate triggering conditions, optimize its response efficiency through parameter configuration, and ensure that each control algorithm can work together and achieve the expected function under different operating conditions.

[0038] S330 establishes a logical model of the electronic control system based on the test case model, and establishes logical connections between the logical model and the vehicle model and the algorithm architecture model respectively. Specifically, the logical model includes a test case model. By constructing the logical model, seamless integration between the vehicle model, algorithm architecture model, and test case model is ensured. As the core hub, the logical model is responsible for parsing the requirement definitions in the test case model and transforming them into specific simulation tasks, while also coordinating the operational state of the vehicle model within the scenario model. Through precise control of triggering conditions and execution order, the logical model can dynamically adjust the parameter configuration of simulation tests to adapt to different testing requirements.

[0039] S340 uses the logic model to call the vehicle model to perform simulation tests in the scenario model according to each test case model, and obtains the vehicle simulation test results.

[0040] During simulation testing, the logical model collects feedback data from the vehicle model in real time, including vehicle dynamics response, electronic control system performance, and environmental interaction information. This data, after quantitative analysis, generates a detailed test report to evaluate the performance of the electronic control system under different scenarios.

[0041] In some embodiments, the process of calling the vehicle model through the logical model to perform simulation testing in the scenario model according to each test case model, and obtaining vehicle simulation test results, includes: S341, The information settings in the test case model are passed to the vehicle model through the logical model; S342, The vehicle model is called in the scene model for testing through the logic model; S343 reads various performance indicators of the vehicle model when it moves in the scene model, and uses them as the vehicle simulation test results.

[0042] Specifically, the logical model is used to invoke the vehicle model and pass the information settings from the test case model to the vehicle model. Through the scheduling of the logical model, the vehicle model can complete a series of simulation operations in the scene model according to the settings in the test case model. During this process, the vehicle model's state information, such as speed, acceleration, and steering angle, is transmitted to the scene model in real time, and the scene model intuitively displays the vehicle's motion process. This not only helps to observe the dynamic performance of the vehicle in different scenarios but also provides a visual reference for subsequent analysis.

[0043] Reading the performance metrics of the vehicle model running under the scenario model is a crucial step in obtaining simulation test results. These performance metrics include, but are not limited to, vehicle stability parameters, energy consumption levels, response time, and control accuracy. By collecting and analyzing this data, the actual performance of the electronic control system under different operating conditions can be comprehensively evaluated, thereby verifying whether it meets user needs and design objectives.

[0044] In some embodiments, the step of calling the vehicle model in the scene model through the logical model for testing includes: The logical model calls the vehicle model to execute the information settings in the test case model, passes the state information of the vehicle model to the scene model, and displays the movement process of the vehicle model in the scene model.

[0045] Specifically, during testing, the logic model dynamically adjusts the vehicle model's operating state based on the settings in the test case model and monitors environmental changes in the scenario model in real time. This dynamic interaction ensures that simulation testing can comprehensively cover various complex operating conditions and driving scenarios. For example, when simulating high-speed driving scenarios, the logic model triggers the vehicle model's acceleration control algorithm while monitoring changes in external factors such as road conditions and weather conditions in the scenario model to evaluate the electronic control system's response capability at high speeds. Furthermore, by transmitting the vehicle model's state information to the scenario model, the vehicle's performance under different road conditions can be observed more intuitively, such as changes in tire grip and real-time adjustments to the suspension system, thereby further optimizing the performance design of the electronic control system.

[0046] Meanwhile, the logic model can automatically record and output key data from each test, and generate comparative analysis reports to help R&D personnel quickly identify potential problems in the electronic control system in specific scenarios. This automated process not only improves the accuracy of testing but also reduces errors that may be caused by human intervention.

[0047] Compared with related technologies, the present invention has the following beneficial effects: The scene generation method of this invention has rigorous logic, ensuring full coverage of the functional and performance verification of the electronic control system; This invention comprehensively considers the user's needs for the chassis electronic control system, as well as the specific requirements of the electronic control system development profession, ensuring that the development scenario can fully verify the effectiveness of the electronic control system.

[0048] refer to Figure 3 As shown, this embodiment of the invention also provides a vehicle simulation testing device based on a closed-loop scenario, comprising: The first module is used to obtain user requirements for the vehicle electronic control system and determine the electronic control system requirements related to the user requirements. The electronic control system requirements include the functional requirements and performance indicators of the electronic control system. It should be noted that user needs for vehicle electronic control systems were surveyed through questionnaires and interviews, including requirements for vehicle stability, acceleration performance, and energy management. Data analysis was used to identify key indicators for each user need, resulting in a system function and performance requirement document. Combining this with the expertise of automotive engineers, user needs were translated into specific functional and performance requirements for the electronic control system, ensuring that the functional requirements and performance indicators of the electronic control system in vehicle simulation testing accurately match user expectations. For example, regarding vehicle stability requirements, performance indicators such as yaw rate and sideslip angle need to be defined, translating into functional requirements for suspension tuning and ESP intervention strategies to ensure stable vehicle operation under various road conditions.

[0049] The second module is used to establish control algorithms and simulation scenarios for the electronic control system based on the requirements of the electronic control system, and to establish test case models based on the control algorithms and simulation scenarios of the electronic control system. The control algorithms are used to simulate the response of the electronic control system under different operating conditions, and the simulation scenarios are used to simulate the driving state of the vehicle under different driving scenarios. Specifically, after reviewing the functional requirements and performance indicators of the electronic control system and establishing its relationship with user needs, the control algorithm of the electronic control system and the simulation scenarios for verifying the electronic control system are established based on the functional requirements and performance indicators of the electronic control system. The control algorithms include, but are not limited to, PID control and fuzzy control, ensuring that the control algorithms accurately respond to various performance indicators. The effectiveness and stability of the control algorithms are verified through simulation scenarios. These simulation scenarios cover a variety of road conditions and driving behaviors, simulating real-world environments to ensure that the electronic control system can operate stably under different conditions.

[0050] The third module is used to build a vehicle model equipped with an electronic control system and a scenario model for testing the vehicle model. Simulation tests are then conducted based on the vehicle model, scenario model, and test case model to obtain vehicle simulation test results.

[0051] It should be noted that the logical model possesses data interaction capabilities, transmitting requirement definitions, scenario descriptions, and functional verification information from the test case model to the vehicle model. Simultaneously, it receives feedback data from the vehicle model during simulation testing, forming a closed-loop verification mechanism. Through this mechanism, the performance of the electronic control system under different scenarios can be dynamically evaluated, and test results can be quantitatively analyzed, providing a basis for subsequent optimization. The logical model not only efficiently connects the vehicle model and the test case model but also comprehensively monitors the simulation testing process, ensuring the accuracy and reliability of test results, thus providing strong support for the development and verification of intelligent chassis electronic control systems.

[0052] This invention also provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the method described in the above embodiments.

[0053] Taking the example of a processor and memory in a vehicle controller being connected via a bus, the memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include memory remotely located relative to the control processor, and these remote memories can be connected to the control device via a network.

[0054] The non-transitory software program and instructions required to implement the methods of the above embodiments are stored in memory and executed by the processor to perform the methods of the above embodiments.

[0055] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0056] This invention also provides a vehicle including the control device described in the above embodiments.

[0057] The vehicle can be a private car, such as a sedan, SUV, MPV, or pickup truck. It can also be a commercial vehicle, such as a van, bus, small truck, or large semi-trailer. The vehicle must have an electric motor capable of outputting power or acting as a generator to store mechanical energy. When the vehicle is a new energy vehicle, it can be a hybrid or a pure electric vehicle.

[0058] Since the vehicle applies all the technical solutions of the above-mentioned control device or vehicle controller, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.

[0059] Furthermore, one embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions for performing the above-described method.

[0060] It is worth noting that, since the computer-readable storage medium of the present invention is capable of executing the methods of any of the above embodiments, the specific implementation methods and technical effects of the computer-readable storage medium of the present invention can be referred to the specific implementation methods and technical effects of the methods of any of the above embodiments.

[0061] Furthermore, one embodiment of the present invention provides a computer program product, including a computer program or computer instructions, the computer program or computer instructions being stored in a computer-readable storage medium, a processor of a computer device reading the computer program or computer instructions from the computer-readable storage medium, and the processor executing the computer program or computer instructions to cause the computer device to perform the above-described method.

[0062] It is worth noting that, since the computer program product of the present invention can execute the methods of any of the above embodiments, the specific implementation methods and technical effects of the computer program product of the present invention can be referred to the specific implementation methods and technical effects of the methods of any of the above embodiments.

[0063] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically include computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0064] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

Claims

1. A vehicle simulation testing method based on a closed-loop scenario, characterized in that, The method includes: Obtain user requirements for the vehicle electronic control system, and determine the electronic control system requirements related to the user requirements. The electronic control system requirements include the functional requirements and performance indicators of the electronic control system. Based on the requirements of the electronic control system, control algorithms and simulation scenarios for the electronic control system are established, and test case models are established based on the control algorithms and simulation scenarios. The control algorithms are used to simulate the response of the electronic control system under different operating conditions, and the simulation scenarios are used to simulate the driving state of the vehicle under different driving scenarios. A vehicle model equipped with an electronic control system and a scenario model for testing the vehicle model are constructed. Simulation tests are conducted based on the vehicle model, scenario model, and test case model to obtain vehicle simulation test results.

2. The method according to claim 1, characterized in that, The control algorithms and simulation scenarios for the electronic control system are established based on the requirements of the electronic control system, including: Establish corresponding control algorithms based on the functional requirements of the electronic control system; Based on the performance indicators of the electronic control system, functional scenarios, abstract scenarios, logical scenarios, and specific scenarios are established in sequence as simulation scenarios for the electronic control system.

3. The method according to claim 1, characterized in that, The test case model established based on the control algorithm and simulation scenario of the electronic control system includes: Acquire the various control algorithms and simulation scenarios of the electronic control system; Based on the various control algorithms and simulation scenarios, multiple test case models corresponding to user requirements are generated.

4. The method according to claim 3, characterized in that, The generation of multiple test case models corresponding to user needs based on the various control algorithms and simulation scenarios includes: Each control algorithm and simulation scenario of the electronic control system is paired one by one to form a combination of multiple control algorithms and simulation scenarios; For each combination, a test case model is generated. The information settings of the test case model include requirement definition, scenario description and functional verification information.

5. The method according to claim 1, characterized in that, The simulation test based on the vehicle model, scenario model, and test case model yields the vehicle simulation test results, including: Establish a mapping relationship between user needs and electronic control system needs, and determine the electronic control system corresponding to the user needs and multiple control algorithms of the electronic control system; An algorithm architecture model for the electronic control system is established based on multiple control algorithms. The algorithm architecture model includes the triggering conditions, execution order, and parameter configuration for executing each control algorithm. A logical model of the electronic control system is established based on the test case model, and logical connections are established between the logical model and the vehicle model and the algorithm architecture model, respectively. The vehicle model is called by the logical model to perform simulation tests in the scenario model according to each test case model, and the vehicle simulation test results are obtained.

6. The method according to claim 5, characterized in that, The process of calling the vehicle model through the logical model to perform simulation tests in the scenario model according to each test case model, and obtaining vehicle simulation test results, includes: The information settings in the test case model are passed to the vehicle model through the logical model. The vehicle model is invoked within the scene model for testing via the aforementioned logical model. Read the various performance indicators of the vehicle model when it moves in the scene model, and use them as the vehicle simulation test results.

7. The method according to claim 6, characterized in that, The step of calling the vehicle model in the scene model through the logical model for testing includes: The logical model calls the vehicle model to execute the information settings in the test case model, passes the state information of the vehicle model to the scene model, and displays the movement process of the vehicle model in the scene model.

8. A vehicle simulation testing device based on a closed-loop scenario, characterized in that, The device includes: The first module is used to obtain user requirements for the vehicle electronic control system and determine the electronic control system requirements related to the user requirements. The electronic control system requirements include the functional requirements and performance indicators of the electronic control system. The second module is used to establish control algorithms and simulation scenarios for the electronic control system based on the requirements of the electronic control system, and to establish test case models based on the control algorithms and simulation scenarios of the electronic control system. The control algorithms are used to simulate the response of the electronic control system under different operating conditions, and the simulation scenarios are used to simulate the driving state of the vehicle under different driving scenarios. The third module is used to build a vehicle model equipped with an electronic control system and a scenario model for testing the vehicle model. Simulation tests are then conducted based on the vehicle model, scenario model, and test case model to obtain vehicle simulation test results.

9. A vehicle simulation testing system based on a closed-loop scenario, characterized in that, It includes a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the method of any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.