In-loop simulation method for automatic driving software

A technology of automatic driving and simulation methods, which is applied in the direction of instruments, control/adjustment systems, simulators, etc., can solve the problems of high-speed tcp communication uncertain delay, data timing confusion, and simulation results are wrong, so as to save verification costs, The effect of meeting the accuracy requirement

Inactive Publication Date: 2020-10-20
BEIJING ZHIXINGZHE TECH CO LTD
View PDF2 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The tcp communication module of simulink is directly used in the control loop simulation scheme of the vehicle dynamics software using carsim. The speed of the CarSim model is 1000hz, and the frequency of the automatic driving software is generally between 10 and 20hz. The two are not equal. At this time, the tcp communication module in simulink The tcp module will release data to the autopilot software part at high speed, which wastes memory, and the part of the autopilot software part is heavily burdened, and other abnormalities may occur, which do not match the actual operating status.
At the same time, if the network bandwidth is insufficient, the network speed is slow or other circumstances occur, high-speed tcp communication will have an uncertain delay, resulting in chaotic data timing in use, resulting in a divergent control effect, and the simulation result is wrong, and the algorithm cannot be completed debugging and verification, and it is impossible to use simulation for software-in-the-loop testing
[0004] The scheme of constructing a simplified vehicle dynamics model in the form of partial differential equations is inaccurate, and only simple algorithm logic closed-loop verification can be performed, and the results cannot be used for software performance evaluation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • In-loop simulation method for automatic driving software
  • In-loop simulation method for automatic driving software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0020] The automatic driving software-in-the-loop simulation method of the present invention uses a distributed architecture to perform in-the-loop simulation. The vehicle dynamics model, the simulator module and the automatic driving software system run in different systems respectively, and the simulator module and the automatic driving software system pass data The interactive module is connected, the environment data is output from the simulator module to the corresponding receiving end of the automatic driving software system, and the control quantity fed back by the automatic driving software system is output to the vehicle dynamics model; the vehicle dynamics model and the autom...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an in-loop simulation method for automatic driving software. In-loop simulation is carried out by adopting a distributed architecture, a whole vehicle dynamic model, a simulator module and an automatic driving software system respectively run in different systems, environmental data is output from the simulator module to a corresponding receiving end of the automatic driving software system, and a control quantity fed back by the automatic driving software system is output to the whole vehicle dynamic model; and the whole vehicle dynamic model and the automatic drivingsoftware system are triggered according to the required frequency by adopting a time sequence triggering technology, so that starting, stopping and synchronous control of the simulation process are realized. The method does not depend on hardware or real object in-the-loop, automatic driving software in-the-loop verification from a simple scene to a complex scene can be carried out, and starting,stopping and synchronous control of a simulation process are realized by adopting a time sequence triggering technology under the condition that real-time equipment is not used; and the accuracy requirement of a control module on simulation verification is met.

Description

technical field [0001] The invention relates to the technical field of automatic driving, in particular to a software-in-the-loop simulation method for automatic driving. Background technique [0002] The software-in-the-loop simulation verification of the software system including the vehicle dynamics model is to use CarSim to establish a simulation environment, and at the same time use its vehicle dynamics model, import it into simulink, and use the tcp module and the automatic driving planning control algorithm module in simulink to carry out Data interaction and simulation (CN201811080324.5); the second is to construct a simplified vehicle dynamics model in the form of partial differential equations, and use real data to import to the display and data interaction system for offline simulation of automatic driving software (CN201810590257.5) . [0003] The tcp communication module of simulink is directly used in the control loop simulation scheme of the vehicle dynamics ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G05B17/02
CPCG05B17/02
Inventor 刘海波张放李晓飞张德兆王肖霍舒豪
Owner BEIJING ZHIXINGZHE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products