CN114527674A - Model in-loop simulation test method and system based on vehicle road test data - Google Patents
Model in-loop simulation test method and system based on vehicle road test data Download PDFInfo
- Publication number
- CN114527674A CN114527674A CN202111596812.3A CN202111596812A CN114527674A CN 114527674 A CN114527674 A CN 114527674A CN 202111596812 A CN202111596812 A CN 202111596812A CN 114527674 A CN114527674 A CN 114527674A
- Authority
- CN
- China
- Prior art keywords
- test
- vehicle
- data
- model
- simulation test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 155
- 238000004088 simulation Methods 0.000 title claims abstract description 78
- 238000010998 test method Methods 0.000 title claims abstract description 18
- 238000004891 communication Methods 0.000 claims description 7
- 238000000034 method Methods 0.000 claims description 7
- 238000012795 verification Methods 0.000 claims description 6
- 238000005065 mining Methods 0.000 claims description 5
- 238000013461 design Methods 0.000 claims description 3
- 230000007613 environmental effect Effects 0.000 claims description 3
- 230000003993 interaction Effects 0.000 claims description 3
- 230000000007 visual effect Effects 0.000 claims description 3
- 238000004458 analytical method Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 3
- 238000009412 basement excavation Methods 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B17/00—Systems involving the use of models or simulators of said systems
- G05B17/02—Systems involving the use of models or simulators of said systems electric
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention provides a model-in-loop simulation test method and system based on vehicle road test data, which are used for road test through a real vehicle carrying a limited automatic driving algorithm, synchronously collecting and storing road test data of the vehicle, analyzing the vehicle road test data, excavating key points of the real vehicle road test, compiling a model-in-loop simulation test case as a test key point of the model-in-loop simulation test, developing the model-in-loop simulation test to obtain a simulation test result, comparing the simulation test data with the vehicle road test data, exactly verifying the effectiveness of the model and the consistency degree with the real vehicle, and reproducing the vehicle road test effect.
Description
Technical Field
The invention relates to the technical field of automatic driving, and particularly provides a model in-loop simulation test method.
Background
The current society autopilot has become the development direction of the automobile industry in the future, and the autopilot technology is not mature at present, and in order to ensure the safety and stability of the autopilot, a large number of real vehicle road tests are usually carried out in the industry, and the completeness, effectiveness and safety of the intelligent vehicle can be ensured through sufficient simulation tests, so that the core competitiveness of products in the market can be ensured, and the development and application of the intelligent vehicle technology achieve the competition of the automobile enterprise market.
An automatic driving automobile is an automobile which can realize unmanned driving through an intelligent controller, and intelligent driving is still in a technical iteration period, so that complete unmanned driving cannot be realized, but limited automatic driving is realized. To realize unmanned driving, the technical problems in the automobile fields such as high-precision maps, sensor fusion, artificial intelligence, cloud computing and information security are solved, all parts of automatic driving form an industrial chain, and the problem that the industrial chain on the upstream and downstream of the automatic driving automobile is incomplete is solved.
The traditional vehicle mainly takes real vehicle testing as a main part, but the real vehicle testing not only consumes a large amount of manpower and material resources, but also has great risk, so that the real vehicle testing can be assisted in a simulation testing mode in the industry.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a model-in-loop simulation test method based on vehicle road test data to verify the effectiveness of a simulation test and reproduce the vehicle road test effect.
The technical scheme of the invention is as follows:
the invention provides a model in-loop simulation test method based on vehicle road test data, which comprises the following steps: the method comprises the steps of road test data acquisition, data analysis, test focus mining, simulation test cases, simulation test verification and comparison of simulation test results and road test data. Specifically, the method comprises the following steps:
and acquiring vehicle road test data, and synchronously acquiring and storing the vehicle road test data of the real vehicle on the road test.
And analyzing the data, analyzing and analyzing the vehicle road test data, analyzing the road test data into standard visual data through a Vector CANape tool, manually analyzing the vehicle test condition according to the analyzed data, and preparing for testing key excavation.
And (4) performing test key excavation, namely excavating to obtain a side key point of the test according to the analyzed real vehicle data from the aspects of environmental scenes, vehicle conditions, driver operation, system states and the like and the overall condition of the real vehicle road test, and decomposing the key point into the simulation test as a test key point of the model in-loop simulation test.
And simulating the test case, and compiling the model in-loop simulation test case.
And (4) simulation test verification, namely after simulating the test environment of the real vehicle, verifying the key points of the test by using a model-in-loop simulation test method and generating a simulation test result.
And comparing the simulation test result with the road test data, comparing the test data obtained by the model in-loop simulation test with the vehicle road test data, and repeatedly testing and perfecting the simulation test model until the data contact ratio of the two test methods is consistent.
The invention further provides a model-in-loop simulation test system based on vehicle road test data, which comprises:
the working condition scene design module is used for simulating the real environment of the vehicle and the driving process of the vehicle, including elements of external environments such as roads, vehicles, pedestrians and other traffic participants, all vehicle information of the vehicle and the target vehicle, all parameters of the roads, the traffic participants and the external environment and the like.
The vehicle dynamics is used for simulating real power output of a real vehicle, meanwhile, the power response needs to be debugged and calibrated according to vehicle performance indexes, the response is connected with the algorithm module, the output of the algorithm is fed back to the dynamics, and finally, closed-loop control of the algorithm on the vehicle dynamics is achieved.
And the algorithm module is used for controlling the whole vehicle system, gives a corresponding decision and control to the vehicle according to the running environment of the vehicle based on the designed running range of the whole system, further realizes the operation of replacing a part of drivers, and plays a role in assisting the driving.
And the communication module is configured for communication based on a CAN bus protocol and is used for data interaction of the whole system, so that data form a closed loop in the whole system.
And the simulation platform is used for building and adapting all simulation environments according to the test contents, and fully verifying and testing the limited automatic driving algorithm in the running range through the simulation test environments.
Based on the technical scheme, the road test is carried out through the real vehicle carrying the limited automatic driving algorithm, the road test data of the vehicle are synchronously collected and stored, the vehicle road test data are analyzed, the key point of the real vehicle road test is mined, the key point of the model in-loop simulation test is used as the test key point of the model in-loop simulation test, the model in-loop simulation test case is compiled, the model in-loop simulation test is developed, the simulation test result is obtained, and the simulation test data are compared with the vehicle road test data. Therefore, the whole vehicle road test condition can be reproduced in the simulation environment based on the data of the vehicle road test, the whole real vehicle test environment and the real vehicle environment are simulated in the simulation environment in a simulation mode, the model-based simulation test method can exactly verify the effectiveness of the model and the consistency degree with the real vehicle, and the vehicle road test effect can be reproduced.
Drawings
FIG. 1 is a block diagram of a simulation test verification system for a model-based limited autopilot system;
FIG. 2 is a general flow diagram of a model-in-loop simulation test method based on vehicle road test data.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings and the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments, and as such, they do not limit the present invention.
As shown in fig. 1, the simulation test method of the present invention is implemented on a simulation test verification system as shown in the figure, and the system includes:
the working condition scene design module is used for simulating a vehicle and a real environment of the vehicle in the driving process, the information is simulated by Prescan, the information comprises elements of external environments such as roads, vehicles, pedestrians and other traffic participants, and all vehicle information, all parameters of the roads, the traffic participants and the external environment of the vehicle and the target vehicle are configured.
The vehicle dynamic model is used for simulating real power output of a real vehicle, and meanwhile, the power response needs to be debugged and calibrated according to vehicle performance indexes, such as vehicle acceleration, vehicle deceleration and other key parameters of the vehicle, which influence the vehicle response. The vehicle dynamics model is built by using Carsim software and is connected with decision control to form a vehicle execution part. The response is connected with an algorithm module, and the output of the algorithm is fed back to dynamics, so that the closed-loop control of the algorithm on the vehicle power is finally realized.
And the algorithm module is used for controlling the whole vehicle system, gives a corresponding decision and control to the vehicle according to the running environment of the vehicle based on the designed running range of the whole system, further realizes the operation of replacing a part of drivers, and plays a role in assisting the driving.
In this embodiment, the algorithm is developed by using a Matlab/Simulink tool, and the algorithm is suitable for a limited automatic driving system based on a model, so that the limited automatic driving system can realize limited decision on a vehicle instead of a driver, and assists the driver in controlling and driving the vehicle, and the control can only be suitable for some special working conditions.
The communication module is configured based on a CAN bus protocol, is used for data interaction of the whole system, mainly comprises communication between a platform and an algorithm, and CAN enable data to form a closed loop in the whole system after the communication configuration is successful.
The simulation platform is an important component of an automatic driving system and is used for adapting to the whole test environment, and the simulation platform can also be called as a simulation test environment. The simulation test platform is built by Simulink and used for building and adapting all simulation environments according to test contents, and fully verifying and testing the limited automatic driving algorithm in the operating range through the simulation test environments.
As shown in fig. 2, the present embodiment is a general flow of a model-in-loop simulation test method based on vehicle road test data, and specifically includes:
the vehicle road test data acquisition mainly stores test data of road tests of real vehicles by using data acquisition equipment, wherein the data comprises data of sensors, actuators, vehicle body controllers, main controllers and the like on the test vehicles.
And the data analysis is to analyze and analyze the vehicle road test data and prepare for subsequent data use. The analysis of the test data is to analyze the road test data into standard visual data through a Vector CANape tool, and manually analyze the vehicle test condition according to the analyzed data. CANape is an on-board controller matching and calibration system based on the ASAP standard developed by Vector, germany. CANape simultaneously calibrates parameter values and collects measurement signals during system operation.
The test focus mining is to analyze the data and then know the test key points of the simulation test. Specifically, according to the analyzed real vehicle data, from the aspects of environmental scenes, vehicle conditions, driver operation, system states and the like, and according to the overall conditions of the real vehicle road test, the lateral key points of the test are obtained by mining, and the key points are decomposed into the simulation test as the test key points of the model in-loop simulation test.
Writing a simulation test case refers to a scheme for guiding simulation test, and the case must contain information such as required function points, test starting conditions, passing standards and the like.
The simulation test verification is that after the test environment of the real vehicle is simulated, the key point of the test is verified by using a model-in-loop simulation test method, and a simulation test result is generated.
And comparing the simulation test result with the road test data, wherein the test data obtained by the model in-loop simulation test is mainly compared with the vehicle road test data, and after a large number of repeated tests, the simulation test model is continuously perfected until the data contact ratio of the two test methods is consistent.
Claims (4)
1. A model in-loop simulation test method based on vehicle road test data is characterized by comprising the following steps:
acquiring vehicle road test data, and synchronously acquiring and storing vehicle road test data of a real vehicle in a road test;
analyzing the data, namely analyzing and analyzing the vehicle road test data, wherein the analysis of the test data is to analyze the road test data into standard visual data through a tool, and manually analyzing the vehicle test condition according to the analyzed data;
mining test key points, namely mining the key points of the test according to the analyzed real vehicle data from the aspects of environmental scenes, vehicle conditions, driver operation, system states and the like and the overall condition of the real vehicle road test, and decomposing the key points into the simulation test as the test key points of the model in-loop simulation test;
simulating a test case, and compiling a model in-loop simulation test case;
simulation test verification, after simulating the test environment of the real vehicle, verifying the key points of the test by using a model-in-loop simulation test method, and generating a simulation test result;
and comparing the simulation test result with the road test data, comparing the test data obtained by the model in-loop simulation test with the vehicle road test data, and repeatedly testing and perfecting the simulation test model until the data contact ratio of the two test methods is consistent.
2. The model-in-loop simulation test method based on vehicle road test data according to claim 1, wherein the vehicle road test data includes but is not limited to data of sensors, actuators, body controllers, master controllers, etc. on a test vehicle.
3. The method as claimed in claim 1, wherein the simulation test case contains information of required function point, start condition of test, passing standard, etc.
4. A model-in-loop simulation test system based on vehicle road test data, implementing the method of any one of claims 1-3, the system comprising:
the working condition scene design module is used for simulating real environments of vehicles and vehicle driving processes, including elements of external environments such as roads, vehicles, pedestrians and other traffic participants, all vehicle information of the vehicles and target vehicles, all parameters of the roads, the traffic participants and external environments and the like;
the vehicle dynamics is used for simulating real power output of a real vehicle, debugging and calibrating power response according to vehicle performance indexes, connecting the response with an algorithm module, and feeding back the output of the algorithm to the dynamics so as to finally realize closed-loop control of the algorithm on the vehicle dynamics;
the algorithm module is used for controlling the whole vehicle system, and gives a corresponding decision and control to the vehicle according to the running environment of the vehicle based on the designed running range of the whole system, so that the operation of replacing a part of drivers is realized, and the function of assisting the driving is achieved;
the communication module is configured for communication based on a CAN bus protocol and is used for data interaction of the whole system so that data form a closed loop in the whole system;
and the simulation platform is used for building and adapting all simulation environments according to the test contents, and fully verifying and testing the limited automatic driving algorithm in the running range through the simulation test environments.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111596812.3A CN114527674A (en) | 2021-12-24 | 2021-12-24 | Model in-loop simulation test method and system based on vehicle road test data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111596812.3A CN114527674A (en) | 2021-12-24 | 2021-12-24 | Model in-loop simulation test method and system based on vehicle road test data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114527674A true CN114527674A (en) | 2022-05-24 |
Family
ID=81619499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111596812.3A Withdrawn CN114527674A (en) | 2021-12-24 | 2021-12-24 | Model in-loop simulation test method and system based on vehicle road test data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114527674A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115114786A (en) * | 2022-06-29 | 2022-09-27 | 重庆长安汽车股份有限公司 | Evaluation method, system and storage medium for traffic flow simulation model |
CN115145243A (en) * | 2022-06-17 | 2022-10-04 | 重庆长安汽车股份有限公司 | Simulation test system and method for automatic driving |
CN115309074A (en) * | 2022-08-31 | 2022-11-08 | 重庆长安汽车股份有限公司 | Automatic driving simulation test method and device, simulation equipment and storage medium |
CN116151045A (en) * | 2023-04-21 | 2023-05-23 | 中汽研汽车检验中心(天津)有限公司 | Vehicle simulation test data accuracy analysis method, device, equipment and medium |
CN116611268A (en) * | 2023-07-19 | 2023-08-18 | 苏州智行众维智能科技有限公司 | Vehicle in-loop simulation test system and method based on multiple traffic scenes |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110794810A (en) * | 2019-11-06 | 2020-02-14 | 安徽瑞泰智能装备有限公司 | Method for carrying out integrated test on intelligent driving vehicle |
WO2021120575A1 (en) * | 2019-12-16 | 2021-06-24 | Suzhou Zhijia Science & Technologies Co., Ltd. | Real-time simulation and test method for control system of autonomous driving vehicle |
-
2021
- 2021-12-24 CN CN202111596812.3A patent/CN114527674A/en not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110794810A (en) * | 2019-11-06 | 2020-02-14 | 安徽瑞泰智能装备有限公司 | Method for carrying out integrated test on intelligent driving vehicle |
WO2021120575A1 (en) * | 2019-12-16 | 2021-06-24 | Suzhou Zhijia Science & Technologies Co., Ltd. | Real-time simulation and test method for control system of autonomous driving vehicle |
Non-Patent Citations (1)
Title |
---|
申静峰: "自动驾驶汽车车辆在环测试方法研究", 《万方数据》, 8 September 2021 (2021-09-08), pages 35 - 50 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115145243A (en) * | 2022-06-17 | 2022-10-04 | 重庆长安汽车股份有限公司 | Simulation test system and method for automatic driving |
CN115114786A (en) * | 2022-06-29 | 2022-09-27 | 重庆长安汽车股份有限公司 | Evaluation method, system and storage medium for traffic flow simulation model |
CN115309074A (en) * | 2022-08-31 | 2022-11-08 | 重庆长安汽车股份有限公司 | Automatic driving simulation test method and device, simulation equipment and storage medium |
CN116151045A (en) * | 2023-04-21 | 2023-05-23 | 中汽研汽车检验中心(天津)有限公司 | Vehicle simulation test data accuracy analysis method, device, equipment and medium |
CN116611268A (en) * | 2023-07-19 | 2023-08-18 | 苏州智行众维智能科技有限公司 | Vehicle in-loop simulation test system and method based on multiple traffic scenes |
CN116611268B (en) * | 2023-07-19 | 2023-09-15 | 苏州智行众维智能科技有限公司 | Vehicle in-loop simulation test system and method based on multiple traffic scenes |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114527674A (en) | Model in-loop simulation test method and system based on vehicle road test data | |
CN110794810B (en) | Method for carrying out integrated test on intelligent driving vehicle | |
Pütz et al. | Database approach for the sign-off process of highly automated vehicles | |
KR20120117333A (en) | Simulation system of vehicle model for hils | |
CN105629960B (en) | A kind of vehicle control unit of electric vehicle model is in ring test system and method | |
Grazioli et al. | Simulation Framework for Executing Component and Connector Models of Self-Driving Vehicles. | |
Steimle et al. | Toward generating sufficiently valid test case results: A method for systematically assigning test cases to test bench configurations in a scenario-based test approach for automated vehicles | |
CN108597223A (en) | A kind of data processing method and system for intelligent vehicle behavior description | |
CN114894505A (en) | Electric power steering system model and automatic test system and method thereof | |
US8751094B2 (en) | Method for validation of a graphically based executable control specification using model extraction | |
CN112698582A (en) | ADAS ECU simulation test method and system | |
CN109683491A (en) | Vehicle-mounted camera analogue system | |
Koller et al. | Implementation of vehicle simulation model in a modern dynamometer test environment | |
Wang et al. | Hybrid online model-based testing for communication-based train control systems | |
EP3979009A1 (en) | Creation of a simplified model for xil systems | |
CN116800656B (en) | CAN communication test method, system, device, electronic equipment and storage medium | |
CN115795900A (en) | Software in-loop simulation test method and device for automatic driving system and electronic equipment | |
Haberl et al. | Model-level debugging of embedded real-time systems | |
CN115309074A (en) | Automatic driving simulation test method and device, simulation equipment and storage medium | |
Dahmen et al. | Modeling operational scenarios for simulation-based validation of technical systems | |
Philipps et al. | Prototype-based tests for hybrid reactive systems | |
CN113467429B (en) | Real vehicle scene reinjection system and method based on PCAN-USB and ADAS controller | |
Ho et al. | A simulation framework for V2X autonomous vehicles based on cyber physical vehicle systems technologies | |
Chang et al. | Evaluation of hardware-in-the-loop framework for intelligent safety systems verification | |
CN118467395B (en) | Vehicle function test method and system, storage medium and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220524 |
|
WW01 | Invention patent application withdrawn after publication |