WO2021169588A1 - Automatic driving simulation method and apparatus, and electronic device and storage medium - Google Patents
Automatic driving simulation method and apparatus, and electronic device and storage medium Download PDFInfo
- Publication number
- WO2021169588A1 WO2021169588A1 PCT/CN2020/141757 CN2020141757W WO2021169588A1 WO 2021169588 A1 WO2021169588 A1 WO 2021169588A1 CN 2020141757 W CN2020141757 W CN 2020141757W WO 2021169588 A1 WO2021169588 A1 WO 2021169588A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- vehicle
- information
- control signal
- message manager
- automatic driving
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M17/00—Testing of vehicles
- G01M17/007—Wheeled or endless-tracked vehicles
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/15—Vehicle, aircraft or watercraft design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
Definitions
- the present disclosure relates to the field of simulator simulation technology, and in particular to an automatic driving simulation method and device, electronic equipment and storage medium.
- Autopilot systems need to be continuously tested during the research and development process, but the autopilot system has a relatively long period of road testing, and the test efficiency is relatively low. If it is tested in a more realistic autopilot simulation test device, not only can it be fully tested The performance of the autonomous driving system in rich scenarios can also provide timely feedback on problems and speed up the iteration of the system.
- the embodiments of the present disclosure provide an automatic driving simulation method and device, electronic equipment, and storage medium.
- the first aspect of the embodiments of the present disclosure provides an automatic driving simulation method, including:
- the message manager receives the first vehicle state information sent by the vehicle simulator, where the first vehicle state information includes first chassis information and first positioning information;
- the message manager performs format conversion on the first chassis information and the first positioning information, obtains second chassis information and second positioning information, and sends the second chassis information and the second chassis information to the automatic driving system. Positioning information;
- the message manager receives the first control signal sent by the automatic driving system, converts the format of the first control signal to obtain a second control signal, and the second control signal is used for the vehicle simulator to update the State the vehicle status information;
- the message manager sends the second control signal to the vehicle simulator.
- the method further includes:
- the message manager receives the second vehicle state information sent by the vehicle simulator, where the second vehicle state information includes information obtained by the vehicle simulator after updating the vehicle state information according to the second control signal
- the third chassis information and the third positioning information are examples of the second vehicle state information sent by the vehicle simulator.
- the second control signal includes one or more of the following: positioning information to be processed, throttle data, brake data, gear position, and steering wheel angle;
- the first chassis information includes one or more of the following: speed, acceleration, and attitude information;
- the attitude information includes one or more of the following: yaw angle, steering wheel angle.
- the method further includes:
- the message manager performs format conversion on the first chassis information and the first positioning information, obtains the information of the target vehicle, and sends the information of the target vehicle to the agent manager, where the target vehicle is the target vehicle.
- the information of the target vehicle is used to: the agent manager updates the information of the agent in the vehicle simulation scene according to the information of the target vehicle when the vehicle simulation scene is loaded. State to obtain first perception information;
- the message manager performs format conversion on the first perception information, obtains second perception information, and sends the second perception information to the automatic driving system, so that the automatic driving system is based on the second perception information Performing decision planning with the second vehicle state information to obtain the first control signal.
- a second aspect of the embodiments of the present disclosure provides a message manager, including:
- a transmission module for receiving first vehicle state information sent by a vehicle simulator, where the first vehicle state information includes first chassis information and first positioning information;
- the conversion module is used for format conversion of the first chassis information and the first positioning information to obtain second chassis information and second positioning information; the transmission module is also used for sending the first chassis information to the automatic driving system 2. Chassis information and the second positioning information;
- the transmission module is further configured to receive the first control signal sent by the automatic driving system; the conversion module is also configured to perform format conversion on the first control signal to obtain a second control signal, and the second control signal is The control signal is used by the vehicle simulator to update the vehicle state information;
- the transmission module is further configured to send the second control signal to the vehicle simulator.
- the transmission module is further configured to, after sending the second control signal to the vehicle simulator, receive second vehicle status information sent by the vehicle simulator, wherein the second vehicle status information It includes third chassis information and third positioning information obtained after the vehicle simulator updates the vehicle state information according to the second control signal.
- the second control signal includes: positioning information to be processed, throttle data, braking data, gear position and/or steering wheel angle;
- the first chassis information includes speed, acceleration and/or attitude information, and the attitude information includes a yaw angle and/or a steering wheel angle.
- the conversion module is further configured to perform format conversion on the first chassis information and the first positioning information to obtain information about the target vehicle;
- the transmission module is also configured to send to the agent manager The information of the target vehicle, wherein the information of the target vehicle is used to update the information of the agent in the vehicle simulation scene according to the information of the target vehicle when the agent manager loads the vehicle simulation scene State to obtain first perception information;
- the conversion module is further configured to convert the format of the first perception information to obtain second perception information; the transmission module is also configured to send the second perception information to the automatic driving system so that all The automatic driving system performs decision planning according to the second perception information and the second vehicle state information, and obtains the first control signal.
- a third aspect of the embodiments of the present disclosure provides an automatic driving simulation test system, including:
- the automatic driving system includes a positioning module, a map module, a decision planning module, and a controller, where:
- the map module is used to load a map and display at least one target vehicle on the map;
- the positioning module is configured to obtain second chassis information and second position information from the message manager, and determine and update the target vehicle in the map according to the second chassis information and the second position information ,
- the target vehicle is a simulated vehicle in the vehicle simulator;
- the decision planning module is configured to determine the driving decision result of the target vehicle in the map according to the state of the target vehicle and second perception information from the message manager; the controller is configured to determine the driving decision result of the target vehicle in the map according to the target The driving decision result of the vehicle obtains a first control signal, and sends the first control signal to the message manager.
- the vehicle simulator stores a vehicle dynamics model, and the vehicle dynamics model is pre-established based on data collected by actual vehicle sensors during the driving process of the vehicle;
- the vehicle simulator is used for:
- Second vehicle state information Updating vehicle state information based on the vehicle dynamics model and the second control signal to obtain second vehicle state information, where the second vehicle state information includes third chassis information and third positioning information;
- the second control signal includes to-be-processed positioning information, throttle data, braking data, gear position, and steering wheel angle;
- the vehicle simulator is specifically used to obtain the accelerator data, brake data, and gear in the second control signal according to the preset mapping relationship between the accelerator data, brake data, gear position of the vehicle and the speed and acceleration of the vehicle Corresponding first speed and first acceleration;
- the first speed, the first acceleration, the first front wheel angle, the first yaw angle the distance from the center of the front wheel axle of the vehicle to the center of gravity of the vehicle, and the vehicle The distance from the center of the rear wheel axle to the center of gravity of the vehicle to obtain the second vehicle state information.
- a vehicle dynamics model building module for:
- the first data includes multiple sets of throttle data, brake data and speed, acceleration, wherein the throttle data, the brake data and the speed and the speed
- the acceleration has a corresponding relationship
- Second data of a real vehicle traveling on a road collected by a sensor including multiple sets of steering wheel angles and vehicle front wheel angles, and the steering wheel angle and the vehicle front wheel angle have a corresponding relationship;
- a vehicle dynamics model is obtained based on the mapping relationship and the rotation ratio relationship.
- it also includes:
- Agent manager for:
- the vehicle simulation scene includes an agent, and the agent includes at least one vehicle;
- agent manager is also used to:
- the information of is sent to the simulated vehicle, so that the simulated vehicle updates its own state according to the information of the other agent.
- the intelligent body further includes one or more of the following: non-motor vehicles, animals, pedestrians, traffic cones, traffic lights, traffic signs, road signs, lane lines, and obstacles.
- a fourth aspect of the embodiments of the present disclosure provides an electronic device, including a processor and a memory, the memory is used to store a computer program, the computer program is configured to be executed by the processor, and the processor is used to execute Part or all of the steps described in any method of the first aspect of the embodiments are disclosed.
- the fifth aspect of the embodiments of the present disclosure provides another electronic device, including a processor and a memory, where the memory is used to store a computer program configured to be executed by the processor, and the processor is used to control
- the message manager in the second aspect of the embodiment of the present disclosure runs, or controls the operation of the automatic driving simulation test system as in the third aspect of the embodiment of the present disclosure.
- a sixth aspect of the embodiments of the present disclosure provides a computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to execute any method in the first aspect of the embodiments of the present disclosure Part or all of the steps described may enable the processor to control the operation of the message manager as described in the second aspect of the embodiment of the present disclosure, or enable the processor to control the operation of the message manager as described in the third aspect of the embodiment of the present disclosure. system running.
- the seventh aspect of the embodiments of the present disclosure provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the above-mentioned first aspect and any one of its possible implementation methods.
- the first vehicle status information sent by the vehicle simulator is received through the message manager, and the first chassis information and the first positioning information included in the first vehicle status information are formatted to obtain the second chassis information and the second vehicle status information. Positioning information, and send the second chassis information and second positioning information to the automatic driving system.
- the message manager also receives the first control signal sent by the automatic driving system, converts the format of the first control signal, and obtains the second control signal.
- the manager sends a second control signal to the vehicle simulator, so that the vehicle simulator can update the vehicle status information according to the second control signal, thereby realizing the function of data format conversion and forwarding.
- the data format converted by the message manager is more conducive to forwarding objects Receiving and processing enables the automatic driving simulation test to be executed quickly and correctly, and improves the stability of data processing.
- the message manager can convert the custom control signal of the autopilot system to be tested into a general control signal that can be recognized and processed by the vehicle simulator, so that the autopilot simulation task can be executed more accurately in the vehicle simulator. Since the control signal mainly includes the relatively simple parameters of the vehicle's chassis information and positioning information, and the analysis is simple, the message manager can quickly identify and convert.
- the vehicle simulator and automatic driving system no longer need to be developed, that is, on the basis of not modifying the source code of the vehicle simulator or the source code of the automatic driving system, data exchange can be carried out and the automation can be accurately completed by replacing the intermediate message manager.
- the driving simulation test improves the compatibility of the automatic driving system and the versatility of the automatic driving simulation test system.
- FIG. 1 is a schematic flowchart of an automatic driving simulation method disclosed in an embodiment of the present disclosure
- Figure 2 is a schematic structural diagram of a message manager disclosed in an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of the architecture of an automatic driving simulation test system disclosed in an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of another automatic driving simulation test system disclosed in an embodiment of the present disclosure.
- Fig. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present disclosure.
- the term "and/or" in the present disclosure is merely an association relationship describing associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, and A and B exist at the same time. There are three cases of B alone.
- the term "at least one" in this document means any one of a plurality of or any combination of at least two of the plurality, for example, including at least one of A, B, and C, may mean including A, Any one or more elements selected in the set formed by B and C.
- the terms “first”, “second”, etc. in the specification, claims, and drawings of the present disclosure are used to distinguish different objects, rather than to describe a specific sequence.
- FIG. 1 is a schematic flowchart of an automatic driving simulation method disclosed in an embodiment of the present disclosure. As shown in FIG. 1, the automatic driving simulation method may be executed by a message manager, and may specifically include the following steps:
- the message manager receives first vehicle state information sent by a vehicle simulator, where the first vehicle state information includes first chassis information and first positioning information.
- the automatic driving system (Auto Driving System) involved in the embodiments of the present disclosure also known as an automatic driving control system, is used to control a car or a robot to drive automatically under unmanned driving control.
- the vehicle simulator can realize the vehicle simulation of the automatic driving system and test the performance of the automatic driving system.
- the message manager in the embodiment of the present disclosure can realize data conversion and forwarding between the automatic driving system and the vehicle simulator.
- the foregoing message manager may be a hardware device, and the automatic driving simulation method may be implemented by a processor in the message manager calling computer-readable instructions stored in a memory.
- the product form of the message manager may also be software, or an electronic device integrating software and hardware, and so on.
- a software message manager can be obtained on the software side, or a software program developed and designed can be deployed on an electronic device to execute the method executable by the message manager in the embodiment of FIG. 1.
- the message manager as an intermediate station, data processing and forwarding can be performed, and as a data exchange bridge between the vehicle simulator and the automatic driving system, it can solve that the data or data interface provided by the general vehicle simulator does not meet specific requirements.
- the data requirements of the autonomous driving system project caused the problem of data exchange between the two.
- the message manager may receive the first vehicle state information sent by the vehicle simulator, where the first vehicle state information includes first chassis information and first positioning information.
- the first chassis information may include one or more of the following: speed, acceleration, and attitude information; the attitude information may include one or more of the following: yaw angle, steering wheel angle.
- the first positioning information is positioning information of the target vehicle, and specifically may be coordinate information or latitude and longitude information.
- the vehicle simulator can perform vehicle simulation processing on the target vehicle according to the control signal sent by the automatic driving system and converted and forwarded by the message manager to obtain The vehicle status information of the target vehicle, where the control signal output by the automatic driving system may include one or more of the following: the target vehicle’s pending positioning information, throttle data, brake data, gear position, steering wheel angle, these data can be controlled by the automatic
- the automatic driving algorithm of the driving system is obtained and updated periodically.
- step 102 After receiving the first vehicle state information sent by the vehicle simulator, step 102 may be executed.
- an agent manager can be set for the automated driving simulation task, and the method further includes:
- the message manager performs format conversion on the first chassis information and the first positioning information, obtains the information of the target vehicle, and sends the information of the target vehicle to the agent manager, where the target vehicle is a simulation in the vehicle simulator.
- a vehicle the information of the target vehicle is used to: when the agent manager loads the vehicle simulation scene, update the state of the agent in the vehicle simulation scene according to the information of the target vehicle to obtain the first perception information;
- the message manager performs format conversion on the first perception information, obtains the second perception information, and sends the second perception information to the automatic driving system, so that the automatic driving system performs processing according to the second perception information and the second vehicle status information. Make decisions and plans and get the first control signal.
- the agent manager may load a vehicle simulation scene, the vehicle simulation scene includes an agent, and the agent may include at least one vehicle.
- the agent also includes one or more of the following: non-motorized vehicles, animals, pedestrians, traffic cones, traffic lights, traffic signs, road signs, lane lines, obstacles, and there is no restriction here.
- the target vehicle is a simulated vehicle in the vehicle simulator
- the message manager may also convert the first chassis information and the first positioning information sent by the vehicle simulator into the target vehicle information, and send the information to the agent manager
- the information of the target vehicle so that the agent manager can update the state of the agent in the vehicle simulation scene according to the information of the target vehicle when the vehicle simulation scene is loaded, and obtain the above-mentioned first perception information.
- the agent manager can control the agent in the vehicle simulation scene according to the information of the target vehicle sent by the vehicle simulator that is converted and forwarded by the message manager.
- the information is sent to other agents in the vehicle simulation scene, so that other agents can update their own state according to the information of the simulated vehicle.
- the message manager may send the second perception information to the aforementioned automatic driving system.
- the automatic driving system can comprehensively make decision planning based on the second perception information and the obtained second vehicle state information, so as to control the target vehicle to consider the state of the surrounding agents when driving, and obtain the above-mentioned first control signal.
- the message manager performs format conversion on the first chassis information and the first positioning information, obtains the second chassis information and the second positioning information, and sends the second chassis information and the second positioning information to the automatic driving system.
- the message manager can realize the information format conversion between the vehicle simulator and the automatic driving system. Specifically, the message manager can pre-set the format mapping relationship between the vehicle simulator and the automatic driving system of data of different message types, as well as different The forwarding and mapping relationship of message type data between data interfaces; when receiving data sent by one of the parties, the data can be identified first to determine the message type of the data.
- the forwarding object corresponding to the first chassis information is the data interface of the automatic driving system, so as to send the second chassis information to the automatic driving system after obtaining the second chassis information.
- the message manager can convert the format of the first positioning information to obtain the second positioning information and send it to the automatic driving system.
- the message manager receives the first control signal sent by the automatic driving system, performs format conversion on the first control signal, and obtains a second control signal, which is used by the vehicle simulator to update the vehicle state information .
- the message manager may receive the first control signal sent by the autopilot system, and the first control signal may include one or more of the following: positioning information to be processed, throttle data, brake data , Gears, steering wheel angle.
- the autopilot system can process the vehicle status information of the target vehicle sent by the vehicle simulator and converted and forwarded by the message manager to obtain The control signal of the target vehicle is forwarded to the vehicle simulator through the conversion of the message manager.
- the message manager receives the first control signal sent by the automatic driving system, it also performs format conversion on the first control signal to obtain the second control signal, and step 104 may be executed.
- the message manager sends the second control signal to the vehicle simulator.
- the message manager After the message manager obtains the second control signal by converting the data format of the first control signal of the automatic driving system into a data format suitable for processing by the vehicle manager, the message manager sends the second control signal to the vehicle simulator to enable the vehicle simulator
- the vehicle state information of the target vehicle can be updated according to the second control signal.
- step 104 the method further includes:
- the message manager receives the second vehicle status information sent by the vehicle simulator, where the second vehicle status information includes the third chassis information and third chassis information obtained after the vehicle simulator updates the vehicle status information according to the second control signal. Positioning information.
- the vehicle simulator can update the vehicle state information according to the second control signal, obtain the second vehicle state information, including the third chassis information and the third positioning information, and send it to the message manager ,
- the message manager then processes the second vehicle status information, which is specifically described in step 101, which will not be repeated here. It can be seen that this step can be executed periodically until the automatic driving simulation task ends.
- the interface of the autopilot system can be set and changed in the message manager to be able to adapt to different autopilot systems for simulation testing.
- the interface of the vehicle simulator can be set and changed, so that different vehicle simulators can be used for application.
- the existing automatic driving system data interface needs to be adapted to the vehicle simulator for development. If other types of vehicle simulators are replaced in the test system, the automatic driving system needs to be re-developed for the new vehicle simulator, otherwise it cannot be adapted to use , The development cost is very high.
- a message manager is added to the test system, and the message manager is used to convert and forward the data exchanged between the autopilot system and the vehicle simulator. When the vehicle simulator needs to be replaced, the message manager and vehicle simulator are modified.
- the agent management needs to be replaced
- the communication interface between the message manager and the agent manager is modified without the need to redesign the automatic driving system and the vehicle simulator, thereby reducing the cost and improving the versatility of the automatic driving simulation test device.
- the embodiment of the present disclosure receives the first vehicle state information sent by the vehicle simulator through the message manager, the first vehicle state information includes the first chassis information and the first positioning information, and then the first chassis information and the first positioning information
- the format conversion is performed to obtain the second chassis information and the second positioning information, and the second chassis information and the second positioning information are sent to the automatic driving system.
- the message manager also receives the first control signal sent by the automatic driving system, performs format conversion on the first control signal, and obtains a second control signal, which is used by the vehicle simulator to update the vehicle state information.
- the message manager sends the second control signal to the vehicle simulator, which can realize the function of data format conversion and forwarding.
- the data format converted by the message manager is used for the forwarding object to receive and process, so that the automatic driving simulation test can be Fast and correct execution improves the stability of data processing.
- the message manager can convert the custom control signal of the autopilot system to be tested into a general control signal that can be recognized and processed by the vehicle simulator, so that the autopilot simulation task can be executed more accurately in the vehicle simulator. Since the control signal mainly includes the relatively simple parameters of the vehicle's chassis information and positioning information, and the analysis is simple, the message manager can quickly identify and convert.
- the vehicle simulator and the automatic driving system no longer need to be developed, that is, on the basis of not modifying the source code of the vehicle simulator or the source code of the automatic driving system, only the middle message manager can be replaced to exchange data and complete the automatic operation accurately.
- the driving simulation test improves the compatibility of the automatic driving system and the versatility of the automatic driving simulation test system.
- the writing order of each step does not mean a strict execution order but constitutes any limitation on the implementation process.
- the specific execution order of each step should be based on its function and possible inherent Logic is determined.
- the message manager and/or the automated driving simulation test system includes hardware structures and/or software modules corresponding to each function.
- the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for specific applications to implement the described functions, but such implementation should not be considered as going beyond the scope of the present disclosure.
- the embodiments of the present disclosure can divide the message manager into functional units (modules) according to the method examples described above.
- each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one.
- the integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present disclosure is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
- FIG. 2 is a schematic structural diagram of a message manager provided by an embodiment of the present disclosure. As shown in FIG. 2, the message manager 200 includes:
- the transmission module 210 is configured to receive first vehicle state information sent by a vehicle simulator, where the first vehicle state information includes first chassis information and first positioning information;
- the conversion module 220 is used for format conversion of the first chassis information and the first positioning information to obtain second chassis information and second positioning information; the transmission module 210 is also used for sending the second chassis to the automatic driving system Information and the second positioning information;
- the transmission module 210 is also used to receive the first control signal sent by the automatic driving system; the conversion module 220 is also used to format the first control signal to obtain a second control signal, and the second control signal is used Update the vehicle status information in the vehicle simulator;
- the transmission module 210 is also used to send the second control signal to the vehicle simulator.
- the transmission module 210 is further configured to, after sending the second control signal to the vehicle simulator, receive second vehicle status information sent by the vehicle simulator, where the second vehicle status information includes The third chassis information and third positioning information obtained after the simulator updates the vehicle state information according to the second control signal.
- the second control signal includes: positioning information to be processed, throttle data, braking data, gear position and/or steering wheel angle;
- the first chassis information includes speed, acceleration, and/or attitude information
- the attitude information includes yaw angle and/or steering wheel angle.
- the conversion module 220 is further configured to perform format conversion on the first chassis information and the first positioning information to obtain information about the target vehicle;
- the transmission module 210 is also configured to send the target vehicle to the agent manager Vehicle information, where the target vehicle information is used to: when the agent manager loads the vehicle simulation scene, update the state of the agent in the vehicle simulation scene according to the target vehicle information to obtain the first perception information ;
- the conversion module 220 is also used for format conversion of the first perception information to obtain second perception information; the transmission module 210 is also used for sending the second perception information to the automatic driving system, so that the automatic driving system A decision plan is made according to the second perception information and the second vehicle state information, and the first control signal is obtained.
- the automated driving simulation test system 300 includes:
- the automated driving simulation test system may further include the agent manager 340 mentioned in the embodiment shown in FIG. 1.
- FIG. 4 is a schematic structural diagram of another automatic driving simulation test system disclosed in an embodiment of the present disclosure.
- the automatic driving simulation test system includes a vehicle simulator 410, a message manager 420, an agent manager 430, and an automatic driving system 440, where the automatic driving system 440 is a system to be tested.
- the automated driving simulation process may specifically include:
- the vehicle simulator 410 can obtain general control signals from the message manager 420 to update its own position, and at the same time send general first chassis information and first positioning information to the message manager 420;
- the message manager 420 may convert the first chassis information and the first positioning information into target vehicle information, send it to the agent manager 430, and convert the first chassis information and the first positioning information into second chassis information And the second positioning information, sent to the automatic driving system 440;
- the agent manager 430 obtains the target vehicle information through the message manager 420 for processing, controls the managed agent to respond to the target vehicle, updates the agent's own state, obtains the first perception information, and sends it to the message manager 420;
- the message manager 420 may also convert the first perception information into second perception information, and send it to the automatic driving system 440;
- the automatic driving system 440 may perform automatic driving control of the target vehicle according to the second chassis information, the second positioning information, and the second perception information, output the first control signal, and send it to the message manager 420;
- the message manager 420 may convert the first control signal into a second control signal and send it to the vehicle simulator 410.
- the vehicle simulator 410 may execute the processing steps described in (1) in response to the second control signal, that is, the above steps (1)-(6) may be executed periodically until the automatic driving simulation test ends.
- the automatic driving system 440 includes a positioning module 441, a map module 442, a decision planning module 443, and a controller 444, wherein:
- the map module 442 is used to load the map and display at least one target vehicle on the map;
- the positioning module 441 is used to obtain the second chassis information and second location information from the message manager, and determine and update the state of the target vehicle in the map according to the second chassis information and the second location information.
- the target vehicle is The simulated vehicle in the vehicle simulator;
- the decision planning module 443 is configured to determine the driving decision result of the target vehicle in the map according to the state of the target vehicle and the second perception information from the message manager; the controller 44 is configured to determine the driving decision result of the target vehicle according to the target vehicle. As a result, the first control signal is obtained, and the first control signal is sent to the message manager.
- the map module 442 in the automatic driving system 440 is used to load the map and display at least one target vehicle on the map;
- the positioning module 441 can obtain the second chassis information and the second location information from the message manager 420, determine and update the status of the target vehicle on the map according to the second chassis information and the second location information, and then the decision-making and planning module 443 then according to the target
- the state of the vehicle and the second perception information from the message manager 420 are used to make decisions on the subsequent driving path, direction, speed, etc. of the vehicle to determine the driving decision result of the target vehicle on the map; the controller 444 can then make a decision based on the driving decision.
- the first control signal is obtained, and the automatic driving system 440 may send the first control signal to the message manager 420.
- the simulation result can be output by relying on the visualization function of the autopilot system 400 under test, that is, the autopilot simulation test system 400 can display data such as simulation videos and images.
- the vehicle simulator 410 stores a vehicle dynamics model, which is pre-established based on data collected by actual vehicle sensors during the driving process of the vehicle;
- the vehicle simulator 410 is used for:
- the vehicle simulator 410 in the embodiment of the present disclosure may use a preset vehicle dynamics model to describe the movement mode of the simulated vehicle. Collect data during the driving process of the vehicle through actual vehicle sensors, establish a more realistic vehicle dynamics model in advance, and apply it in the vehicle simulator 410, so that the vehicle simulator 410 can be based on the vehicle dynamics model and the received second vehicle dynamics model.
- the control signal updates the vehicle state information, thereby obtaining the second vehicle state information.
- the operation is performed in the device 410. Therefore, the vehicle's accelerator data, brake data, the mapping relationship between gear and speed, acceleration, and the rotation ratio between the steering wheel angle of the vehicle and the front wheel angle of the vehicle can be preset in the vehicle dynamics model.
- the establishment process of the vehicle dynamics model includes:
- the first data includes multiple sets of throttle data, brake data, speed, and acceleration, where the throttle data, the brake data, and the speed, and the acceleration have a corresponding relationship ;
- Second data of a real vehicle traveling on a road collected by a sensor including multiple sets of steering wheel angles and vehicle front wheel angles, and the steering wheel angle and the vehicle front wheel angle have a corresponding relationship;
- a vehicle dynamics model is obtained based on the mapping relationship and the rotation ratio relationship.
- the parameters and performance of the simulated vehicle in the general vehicle simulator are not consistent with the actual vehicle parameters and performance.
- it is necessary to obtain the parameters of the bottom of the vehicle such as the torsion torque of the vehicle, vehicle power, tire friction coefficient, etc. These parameters are generally difficult to obtain, so the simulation of the vehicle is difficult to match the actual road test vehicle well.
- the preset mapping relationship between the accelerator data, brake data, gear position of the vehicle and the speed and acceleration of the vehicle, and the preset rotation ratio relationship between the steering wheel angle of the vehicle and the front wheel angle of the vehicle can be collected by The real vehicle data statistics are obtained.
- sensors and real vehicles can be first used to randomly and massively collect multiple sets of throttle data, brake data and data by driving real vehicles on the road.
- Speed, acceleration where the throttle data, the braking data and the speed, the acceleration have a corresponding relationship, and can measure multiple sets of steering wheel angles and vehicle front wheel angles of multiple vehicles, the steering wheel angle and the vehicle front wheel angle have a correspondence Relations, and then through interpolation fitting method to construct the preset vehicle throttle data, brake data, gears and vehicle speed, acceleration mapping relationship, and the preset vehicle steering wheel angle and vehicle front wheel angle of rotation ratio
- the relationship as the longitudinal mathematical expression of the vehicle dynamics model, can realize the control of the simulated vehicle. Only the parameters such as accelerator, brake, gear position and steering wheel angle can be calculated and output vehicle status messages. This avoids the difficulty of vehicles. Provides the dilemma of the underlying performance parameters, which can more realistically simulate actual road test vehicles.
- the second control signal includes to-be-processed positioning information, throttle data, braking data, gear position and steering wheel angle;
- the vehicle simulator 410 is specifically used for:
- the second vehicle is obtained status information.
- the vehicle simulator 410 for the received control signal, according to the preset vehicle's accelerator data, brake data, the mapping relationship between the gear and the vehicle's speed and acceleration, and the preset vehicle's steering wheel angle and the front wheel of the vehicle
- the rotation ratio relationship of the rotation angle can obtain the corresponding first speed, first acceleration and first front wheel rotation angle, so that the calculation of the vehicle state can be performed.
- the distance from the center of the front wheel axle of the target vehicle to the center of gravity of the vehicle and the distance from the center of the rear wheel axle of the vehicle to the center of gravity of the vehicle can be obtained. It is set and sent to the vehicle simulator 410 through the message manager 420.
- the distance to obtain the second vehicle state information may specifically include any one or more of the following: second positioning information, second speed, second acceleration, and second yaw angle.
- the positioning information of the vehicle in the embodiment of the present disclosure may be represented by the position coordinate of the vehicle.
- the suspension system, tire model, and environment model of the vehicle are simplified.
- the obtained vehicle dynamics model includes the obtained mapping relationship and the rotation ratio relationship, where the mapping relationship and the rotation ratio relationship are Based on the calculation formula.
- the calculation formula provided can be as follows:
- x t+1 x t +v t cos( ⁇ t + ⁇ )*dt;
- y t+1 y t +v t sin( ⁇ t + ⁇ )*dt;
- ⁇ t+1 ⁇ t +v t l r sin( ⁇ )*dt;
- (x, y) represents the position coordinates of the vehicle
- v and a are the speed and acceleration of the vehicle respectively
- ⁇ t is the yaw angle of the vehicle, which represents the direction of the vehicle body
- l f and l r are the vehicle's center of gravity to the front wheel axle respectively
- the distance between the midpoint and the midpoint of the rear wheel axle, ⁇ f is the front wheel angle of the vehicle, which can be limited to negative counterclockwise, or it can be set as required. Since the rear wheels of most vehicles are not rotatable, the vehicle dynamics model of the embodiments of the present disclosure may not consider the rotation angle of the rear wheels, which can reduce the amount of data processing to a certain extent.
- the vehicle dynamics model is obtained by using the actual real vehicle parameters and the calibration relationship, which is closer to the real road test vehicle, and makes the simulation test scene more abundant, more comprehensive and accurate.
- the control of the simulated vehicle only needs throttle data, brake data, gear position and steering wheel angle, as well as the positioning information to be processed and the fixed vehicle parameters (l f and l r ) as a reference.
- Carry out conversion operation and calculation processing specifically including the conversion of input data based on the mapping relationship and the rotation ratio relationship, and then perform calculation processing according to the formula, and finally output vehicle status information, including vehicle position update (second positioning information), speed, acceleration And attitude information (including the second yaw angle and steering wheel angle, etc.), data processing in the automatic driving simulation test can be realized simply and accurately.
- the automated driving simulation test system 400 further includes: an agent manager 430 for:
- the vehicle simulation scene includes an agent, and the agent includes at least one vehicle;
- the first perception information is sent to the message manager 420.
- the agent manager 430 can be used to combine with the vehicle simulator 410 to simulate a simulation scene.
- the agent in the simulation scene is an element that can interact with the target vehicle.
- the agent also includes one or more of the following : Non-motorized vehicles, animals, pedestrians, traffic cones, traffic lights, traffic signs, road signs, lane lines, obstacles. It should be noted that, in addition to the target vehicle concerned in the set simulation test, other vehicles can be traffic flow vehicles simulated in the scene.
- agent manager 430 which agents can interact with the simulated vehicle can be set and changed, and interaction rules can be set.
- the agent manager 430 may obtain the information of the target vehicle through the message manager 420, control the managed agent to respond to the target vehicle according to the corresponding interaction rules, update its own state to obtain perception information, and then feed back to the message manager 420.
- a preset automatic driving algorithm can be used to complete the simulated driving and can interact with the target vehicle.
- the message manager 420 can send the first perception information of the agent in the simulation scene where the target vehicle is located to the automatic driving system 440, where the message manager 420 can also perform format conversion, and the obtained second perception information is satisfactory for the automatic driving system 440
- Data in a custom format can specifically include the location information, speed, etc. of the agent in the agent manager. For example, when the target vehicle hits a traffic cone, the traffic cone changes its state in response to the situation (dumping or flying out, moving to a certain position, etc.), or the traffic flow vehicle is under the influence of the target vehicle. Changing its own driving route, etc., is not limited in the embodiment of the present disclosure.
- the general purpose and customization involved in the embodiments of the present disclosure refer to the data format.
- the general purpose format of the general format is relatively strong, but the general automatic driving system will define its own data format according to its own needs.
- the agent manager 430 is further used to: send the information of the simulated vehicle in the vehicle simulation scene to other agents in the vehicle simulation scene, so that the other agents can update their own state according to the information of the simulated vehicle; and The information of other agents is sent to the simulated vehicle, so that the simulated vehicle updates its own state according to the information of other agents.
- vehicle simulation using traffic flow is a scenario in the form of a script, which is mainly for traffic flow playback.
- the simulated vehicle can be managed uniformly with other agents in the simulation scene through the agent manager, and all objects can use the same state update interface, which can realize the interaction of objects in the simulation scene and the simulation scene.
- At least two simulated vehicles may be set in the automatic driving simulation test system 400 for simulation testing, and at least two simulated vehicles may independently perform automatic driving simulation processing.
- the multi-vehicle simulation can be the same as the data processing method of the aforementioned one target vehicle as a simulated vehicle.
- the information of the at least two simulated vehicles can be processed separately in the same automatic driving system 400, and different control signals can be generated and provided to the same vehicle simulator. 410 for processing.
- the simulated vehicle and other agents in the agent manager 430 belong to the same concept, so they can be managed in a unified manner to achieve simultaneous multi-vehicle simulation.
- the agent manager 430 compared to one of the simulated vehicles, the other simulated vehicle can be regarded as other agents. Therefore, the agent manager 430 can also support the information interaction between multiple simulated vehicles to generate corresponding The perception information is provided to the automatic driving system 400 through the message manager 420.
- the interaction between the simulated vehicle and the simulated simulation scene can also be realized.
- the interaction between the traffic flow vehicles can form complex agent behaviors, providing more abundant Test scenario.
- the vehicle simulator 410, the agent manager 430 and the automatic driving system 440 can all be replaced as needed.
- the interface communication part can be set and changed in the message manager 420, so that the modules can be smooth and accurate. Data interaction.
- the automatic driving simulation test system 400 may be a software system deployed on an electronic device, and the message manager 420, the vehicle simulator 410, the agent manager 430, and the automatic driving system may be software modules.
- the automatic driving simulation test system 400 can be deployed on a terminal device to perform simulation test tasks; in another embodiment, the automatic driving simulation test system 400 includes a vehicle simulator 410, an agent manager 430, and a message manager Both the 420 and the automatic driving system 400 may be physical devices.
- the existing automatic driving system data interface needs to be adapted to the vehicle simulator for development. If other types of vehicle simulators are replaced in the test system, the automatic driving system needs to be re-developed for the new vehicle simulator, otherwise it cannot be adapted to use , The development cost is very high.
- the message manager is used to convert and forward the data exchanged between the autopilot system and the vehicle simulator. When the vehicle simulator needs to be replaced, the message manager and the vehicle simulator can be modified.
- the communication interface between the vehicle simulators eliminates the need to redesign the automatic driving system, thereby improving the compatibility of the automatic driving system; and/or, when the automatic driving system to be tested needs to be replaced, the message manager and the The communication interface between the automatic driving systems, so that there is no need to replace the vehicle simulator with a vehicle simulator that is compatible with the new automatic driving system; optionally, if the test system is also equipped with an agent manager, on the basis of the foregoing, When the agent manager needs to be replaced, the communication interface between the message manager and the agent manager can be modified, so that there is no need to redesign the automatic driving system and the vehicle simulator, thereby reducing costs and improving the generality of the automatic driving simulation test system sex.
- FIG. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present disclosure.
- the electronic device 500 includes a processor 501 and a memory 502.
- the electronic device 500 may also include a bus 503.
- the processor 501 and the memory 502 may be connected to each other through the bus 503, and the bus 503 may be an interconnection of peripheral components.
- the bus 503 can be divided into an address bus, a data bus, a control bus, and so on. For ease of presentation, only one thick line is used to represent in FIG. 5, but it does not mean that there is only one bus or one type of bus.
- the electronic device 500 may also include an input/output device 504, and the input/output device 504 may include a display screen, such as a liquid crystal display screen.
- the memory 502 is used to store a computer program; the processor 501 is used to call the computer program stored in the memory 502 to execute some or all of the method steps mentioned in the embodiment of FIG. 1.
- the electronic device 500 shown in FIG. 5 can set and change the interface with the automatic driving system, so as to be able to adapt to different automatic driving systems for simulation testing, which will not be repeated here.
- the processor 501 is configured to call a computer program stored in the memory 502 to execute part or all of the method steps executed by the automatic driving simulation test system 400 in the embodiment described in FIG. 4.
- the embodiments of the present disclosure also provide a computer storage medium, wherein the computer storage medium is used to store a computer program, and the computer program causes the computer to execute any of the automatic driving simulation methods or automatic driving simulation methods recorded in the method embodiments described above. Part or all of the steps of the method executed by the driving simulation test system.
- the disclosed device may be implemented in other ways.
- the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
- the units (modules) described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple networks. Unit. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the functional units in the various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the integrated unit can be implemented in the form of hardware or software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
- the technical solution of the present disclosure essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present disclosure.
- the aforementioned memory includes: U disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
- the program can be stored in a computer-readable memory, and the memory can include : Flash disk, read-only memory, random access device, magnetic disk or CD, etc.
Abstract
Description
Claims (18)
- 一种自动驾驶仿真方法,其特征在于,包括:An automatic driving simulation method, characterized in that it includes:消息管理器接收车辆仿真器发送的第一车辆状态信息,所述第一车辆状态信息包括第一底盘信息和第一定位信息;The message manager receives the first vehicle state information sent by the vehicle simulator, where the first vehicle state information includes first chassis information and first positioning information;所述消息管理器对所述第一底盘信息和所述第一定位信息进行格式转换,获得第二底盘信息和第二定位信息,向自动驾驶系统发送所述第二底盘信息和所述第二定位信息;The message manager performs format conversion on the first chassis information and the first positioning information, obtains second chassis information and second positioning information, and sends the second chassis information and the second chassis information to the automatic driving system. Positioning information;所述消息管理器接收所述自动驾驶系统发送的第一控制信号,对所述第一控制信号进行格式转换,获得第二控制信号,所述第二控制信号用于所述车辆仿真器更新所述车辆状态信息;The message manager receives the first control signal sent by the automatic driving system, converts the format of the first control signal to obtain a second control signal, and the second control signal is used for the vehicle simulator to update the State the vehicle status information;所述消息管理器向所述车辆仿真器发送所述第二控制信号。The message manager sends the second control signal to the vehicle simulator.
- 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:所述消息管理器向所述车辆仿真器发送所述第二控制信号之后,所述方法还包括:After the message manager sends the second control signal to the vehicle simulator, the method further includes:所述消息管理器接收所述车辆仿真器发送的第二车辆状态信息,其中,所述第二车辆状态信息包括由所述车辆仿真器根据所述第二控制信号更新所述车辆状态信息后获得的第三底盘信息和第三定位信息。The message manager receives the second vehicle state information sent by the vehicle simulator, where the second vehicle state information includes information obtained by the vehicle simulator after updating the vehicle state information according to the second control signal The third chassis information and the third positioning information.
- 根据权利要求1或2所述的方法,其特征在于,所述第二控制信号包括以下一种或多种:待处理定位信息、油门数据、刹车数据、档位、方向盘转角;The method according to claim 1 or 2, wherein the second control signal includes one or more of the following: positioning information to be processed, throttle data, braking data, gear position, steering wheel angle;和/或,and / or,所述第一底盘信息包括以下一种或多种:速度、加速度、姿态信息;所述姿态信息包括以下一种或多种:偏航角、方向盘转角。The first chassis information includes one or more of the following: speed, acceleration, and attitude information; the attitude information includes one or more of the following: yaw angle, steering wheel angle.
- 根据权利要求1-3任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:所述消息管理器对所述第一底盘信息和所述第一定位信息进行格式转换,获得目标车辆的信息,向智能体管理器发送所述目标车辆的信息,其中,所述目标车辆为所述车辆仿真器中的仿真车辆,所述目标车辆的信息用于:所述智能体管理器在加载车辆仿真场景的情况下,根据所述目标车辆的信息更新所述车辆仿真场景中智能体的状态以获得第一感知信息;The message manager performs format conversion on the first chassis information and the first positioning information, obtains the information of the target vehicle, and sends the information of the target vehicle to the agent manager, where the target vehicle is the target vehicle. For the simulated vehicle in the vehicle simulator, the information of the target vehicle is used to: the agent manager updates the information of the agent in the vehicle simulation scene according to the information of the target vehicle when the vehicle simulation scene is loaded. State to obtain first perception information;所述消息管理器对所述第一感知信息进行格式转换,获得第二感知信息,向所述自动驾驶系统发送所述第二感知信息,以使所述自动驾驶系统根据所述第二感知信息和所述第二车辆状态信息进行决策规划,获得所述第一控制信号。The message manager performs format conversion on the first perception information, obtains second perception information, and sends the second perception information to the automatic driving system, so that the automatic driving system is based on the second perception information Performing decision planning with the second vehicle state information to obtain the first control signal.
- 一种消息管理器,其特征在于,包括:A message manager, characterized in that it comprises:传输模块,用于接收车辆仿真器发送的第一车辆状态信息,所述第一车辆状态信息包括第一底盘信息和第一定位信息;A transmission module for receiving first vehicle state information sent by a vehicle simulator, where the first vehicle state information includes first chassis information and first positioning information;转换模块,用于对所述第一底盘信息和所述第一定位信息进行格式转换,获得第二底盘信息和第二定位信息;所述传输模块还用于,向自动驾驶系统发送所述第二底盘信息和所述第二定位信息;The conversion module is used for format conversion of the first chassis information and the first positioning information to obtain second chassis information and second positioning information; the transmission module is also used for sending the first chassis information to the automatic driving system 2. Chassis information and the second positioning information;所述传输模块还用于,接收所述自动驾驶系统发送的第一控制信号;所述转换模块还用于,对所述第一控制信号进行格式转换,获得第二控制信号,所述第二控制信号用于所述车辆仿真器更新所述车辆状态信息;The transmission module is further configured to receive the first control signal sent by the automatic driving system; the conversion module is also configured to perform format conversion on the first control signal to obtain a second control signal, and the second control signal is The control signal is used by the vehicle simulator to update the vehicle state information;所述传输模块还用于,向所述车辆仿真器发送所述第二控制信号。The transmission module is further configured to send the second control signal to the vehicle simulator.
- 根据权利要求5所述的消息管理器,其特征在于,The message manager according to claim 5, wherein:所述传输模块还用于,向所述车辆仿真器发送所述第二控制信号之后,接收所述车辆仿真器发送的第二车辆状态信息,其中,所述第二车辆状态信息包括由所述车辆仿真器根据所述第二控制信号更新所述车辆状态信息后获得的第三底盘信息和第三定位信息。The transmission module is further configured to receive second vehicle status information sent by the vehicle simulator after sending the second control signal to the vehicle simulator, wherein the second vehicle status information includes The third chassis information and third positioning information obtained after the vehicle simulator updates the vehicle state information according to the second control signal.
- 根据权利要求5或6所述的消息管理器,其特征在于,所述第二控制信号包括:待处理定位信息、油门数据、刹车数据、档位和/或方向盘转角;The message manager according to claim 5 or 6, wherein the second control signal comprises: positioning information to be processed, throttle data, brake data, gear position and/or steering wheel angle;和/或,and / or,所述第一底盘信息包括速度、加速度和/或姿态信息,所述姿态信息包括偏航角和/或方向盘转角。The first chassis information includes speed, acceleration and/or attitude information, and the attitude information includes a yaw angle and/or a steering wheel angle.
- 根据权利要求5-7任一所述的消息管理器,其特征在于,The message manager according to any one of claims 5-7, wherein:所述转换模块还用于,对所述第一底盘信息和所述第一定位信息进行格式转换,获得目标车辆的信息;所述传输模块还用于,向智能体管理器发送所述目标车辆的信息,其中,所述目标车辆的信息用于:所述智能体管理器在加载车辆仿真场景的情况下,根据所述目标车辆的信息更新所述车辆仿真场景中智能体的状态以获得第一感知信息;The conversion module is also used for format conversion of the first chassis information and the first positioning information to obtain information of the target vehicle; the transmission module is also used for sending the target vehicle to the agent manager The information of the target vehicle is used to: the agent manager updates the state of the agent in the vehicle simulation scene according to the information of the target vehicle when the vehicle simulation scene is loaded to obtain the first A perception information;所述转换模块还用于,对所述第一感知信息进行格式转换,获得第二感知信息;所述传输模块还用于,向所述自动驾驶系统发送所述第二感知信息,以使所述自动驾驶系统根据所述第二感知信息和所述第二车辆状态信息进行决策规划,获得所述第一控制信号。The conversion module is further configured to convert the format of the first perception information to obtain second perception information; the transmission module is also configured to send the second perception information to the automatic driving system so that all The automatic driving system performs decision planning according to the second perception information and the second vehicle state information, and obtains the first control signal.
- 一种自动驾驶仿真测试系统,其特征在于,包括:An automatic driving simulation test system, which is characterized in that it comprises:自动驾驶系统、车辆仿真器和如权利要求5-8任一所述的消息管理器。An automatic driving system, a vehicle simulator, and a message manager according to any one of claims 5-8.
- 根据权利要求9所述的系统,其特征在于,所述自动驾驶系统包括定位模块、地图模块、决策规划模块和控制器,其中:The system according to claim 9, wherein the automatic driving system comprises a positioning module, a map module, a decision planning module and a controller, wherein:所述地图模块,用于加载地图并在地图上显示至少一个目标车辆;The map module is used to load a map and display at least one target vehicle on the map;所述定位模块用于获取来自所述消息管理器的第二底盘信息和第二位置信息,并根据所述第二底盘信息和所述第二位置信息确定并更新所述地图中所述目标车辆的状态,所述 目标车辆为所述车辆仿真器中的仿真车辆;The positioning module is configured to obtain second chassis information and second position information from the message manager, and determine and update the target vehicle in the map according to the second chassis information and the second position information , The target vehicle is a simulated vehicle in the vehicle simulator;所述决策规划模块,用于根据所述目标车辆的状态和来自消息管理器的第二感知信息,确定所述地图中的所述目标车辆的驾驶决策结果;The decision planning module is configured to determine the driving decision result of the target vehicle in the map according to the state of the target vehicle and the second perception information from the message manager;所述控制器用于根据所述目标车辆的所述驾驶决策结果获得第一控制信号,向所述消息管理器发送所述第一控制信号。The controller is configured to obtain a first control signal according to the driving decision result of the target vehicle, and send the first control signal to the message manager.
- 根据权利要求9或10所述的系统,其特征在于,所述车辆仿真器存储有车辆动力学模型,所述车辆动力学模型基于通过实际车辆传感器采集的车辆行驶过程中的数据预先建立;The system according to claim 9 or 10, wherein the vehicle simulator stores a vehicle dynamics model, and the vehicle dynamics model is pre-established based on data collected by actual vehicle sensors during the driving process of the vehicle;所述车辆仿真器用于:The vehicle simulator is used for:获取所述消息管理器发送的第二控制信号;Acquiring a second control signal sent by the message manager;基于所述车辆动力学模型和所述第二控制信号更新车辆状态信息,获得第二车辆状态信息,所述第二车辆状态信息包括第三底盘信息和第三定位信息;Updating vehicle state information based on the vehicle dynamics model and the second control signal to obtain second vehicle state information, where the second vehicle state information includes third chassis information and third positioning information;向所述消息管理器发送所述第二车辆状态信息。Sending the second vehicle status information to the message manager.
- 根据权利要求11所述的系统,其特征在于,所述第二控制信号包括待处理定位信息、油门数据、刹车数据、档位和方向盘转角;The system according to claim 11, wherein the second control signal includes positioning information to be processed, throttle data, braking data, gear position, and steering wheel angle;所述车辆仿真器具体用于,根据预设的车辆的油门数据、刹车数据、档位与车辆的速度、加速度的映射关系,获得所述第二控制信号中的油门数据、刹车数据和档位对应的第一速度和第一加速度;The vehicle simulator is specifically used to obtain the accelerator data, brake data, and gear in the second control signal according to the preset mapping relationship between the accelerator data, brake data, gear position of the vehicle and the speed and acceleration of the vehicle Corresponding first speed and first acceleration;根据预设的车辆的方向盘转角和车辆前轮转角的转动比例关系,将所述第二控制信号中的方向盘转角转换为对应的第一前轮转角;Converting the steering wheel angle in the second control signal into the corresponding first front wheel angle according to the preset rotation ratio between the steering wheel angle of the vehicle and the front wheel angle of the vehicle;获取所述目标车辆的第一偏航角,以及车辆前轮车轴中心到车辆重心的距离和车辆后轮车轴中心到车辆重心的距离;Acquiring the first yaw angle of the target vehicle, and the distance from the center of the front wheel axle of the vehicle to the center of gravity of the vehicle and the distance from the center of the vehicle rear axle to the center of gravity of the vehicle;基于所述定位信息、所述第一速度、所述第一加速度、所述第一前轮转角、所述第一偏航角、所述车辆前轮车轴中心到车辆重心的距离和所述车辆后轮车轴中心到车辆重心的距离,获得所述第二车辆状态信息。Based on the positioning information, the first speed, the first acceleration, the first front wheel angle, the first yaw angle, the distance from the center of the front wheel axle of the vehicle to the center of gravity of the vehicle, and the vehicle The distance from the center of the rear wheel axle to the center of gravity of the vehicle to obtain the second vehicle state information.
- 根据权利要求11或12所述的系统,其特征在于,还包括车辆动力学模型建立模块,用于:The system according to claim 11 or 12, further comprising a vehicle dynamics model establishment module for:获取通过传感器采集的真实车辆在道路上行驶的第一数据,所述第一数据包括多组油门数据、刹车数据与速度、加速度,其中所述油门数据、所述刹车数据与所述速度、所述加速度具有对应关系;Acquire the first data of the real vehicle traveling on the road collected by the sensor. The first data includes multiple sets of throttle data, brake data and speed, acceleration, wherein the throttle data, the brake data and the speed and the speed The acceleration has a corresponding relationship;基于所述第一数据构建车辆的油门数据、刹车数据、档位与速度、加速度的映射关系;Constructing a mapping relationship between accelerator data, brake data, gear position and speed and acceleration of the vehicle based on the first data;获取通过传感器采集的真实车辆在道路上行驶的第二数据,所述第二数据包括多组方向盘转角和车辆前轮转角,所述方向盘转角和所述车辆前轮转角具有对应关系;Acquiring second data of a real vehicle traveling on a road collected by a sensor, the second data including multiple sets of steering wheel angles and vehicle front wheel angles, and the steering wheel angle and the vehicle front wheel angle have a corresponding relationship;基于所述第二数据构建车辆的方向盘转角和车辆前轮转角的转动比例关系;Constructing a rotation proportional relationship between the steering wheel angle of the vehicle and the front wheel angle of the vehicle based on the second data;基于所述映射关系和所述转动比例关系获得车辆动力学模型。A vehicle dynamics model is obtained based on the mapping relationship and the rotation ratio relationship.
- 根据权利要求9-13任一所述的系统,其特征在于,还包括:The system according to any one of claims 9-13, further comprising:智能体管理器,用于:Agent manager for:加载车辆仿真场景,所述车辆仿真场景包括智能体,所述智能体包括至少一车辆;Load a vehicle simulation scene, the vehicle simulation scene includes an agent, and the agent includes at least one vehicle;接收来自消息管理器的目标车辆的信息,根据所述目标车辆的信息更新所述车辆仿真场景中所述智能体的状态,获得第一感知信息;Receiving the information of the target vehicle from the message manager, and updating the state of the agent in the vehicle simulation scene according to the information of the target vehicle to obtain first perception information;向所述消息管理器发送所述第一感知信息。Sending the first perception information to the message manager.
- 根据权利要求14所述的系统,其特征在于,所述智能体管理器还用于:The system according to claim 14, wherein the agent manager is further used for:将所述车辆仿真场景中的仿真车辆的信息发送给所述车辆仿真场景中的其他智能体,以使所述其他智能体根据所述仿真车辆的信息更新自身状态;以及将所述其他智能体的信息发送给所述仿真车辆,以使所述仿真车辆根据所述其他智能体的信息更新自身状态;Sending the information of the simulated vehicle in the vehicle simulation scene to other agents in the vehicle simulation scene, so that the other agents can update their own state according to the information of the simulated vehicle; and send the other agents The information of is sent to the simulated vehicle, so that the simulated vehicle updates its own state according to the information of the other agent;所述智能体还包括以下一种或多种:非机动车、动物、行人、交通锥、交通灯、交通标志、道路标识、车道线、障碍物。The intelligent body also includes one or more of the following: non-motor vehicles, animals, pedestrians, traffic cones, traffic lights, traffic signs, road signs, lane lines, and obstacles.
- 一种电子设备,其特征在于,包括处理器以及存储器,所述存储器用于存储计算机程序,所述计算机程序被配置成由所述处理器执行,所述处理器用于执行如权利要求1-4任一项所述的方法,或者,所述处理器用于控制如权利要求5-8任一项所述的消息管理器运行,或者,控制如权利要求9-15任一项所述的自动驾驶仿真测试系统运行。An electronic device, comprising a processor and a memory, the memory is used to store a computer program, the computer program is configured to be executed by the processor, and the processor is used to execute claims 1-4 The method according to any one, or, the processor is used to control the operation of the message manager according to any one of claims 5-8, or to control the automatic driving according to any one of claims 9-15 The simulation test system is running.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储计算机程序,其中,所述计算机程序被处理器调用时,使得所述处理器执行如权利要求1-4任一项所述的方法,或者,使得所述处理器控制如权利要求5-8任一项所述的消息管理器运行,或者,使得所述处理器控制如权利要求9-15任一项所述的自动驾驶仿真测试系统运行。A computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, wherein, when the computer program is called by a processor, the processor executes any of claims 1-4 The method according to one item, or, makes the processor control the operation of the message manager according to any one of claims 5-8, or makes the processor control the operation according to any one of claims 9-15 The described automatic driving simulation test system is running.
- 一种计算机程序产品,所述计算机程序产品包括计算机程序或指令,在所述计算机程序或指令在计算机上运行的情况下,使得所述计算机执行权利要求1-4任一项所述的方法,或者,使得所述计算机控制如权利要求5-8任一项所述的消息管理器运行,或者,使得所述计算机控制如权利要求9-15任一项所述的自动驾驶仿真测试系统运行。A computer program product, the computer program product comprising a computer program or instruction, in the case that the computer program or instruction runs on a computer, the computer is caused to execute the method according to any one of claims 1 to 4, Alternatively, the computer is made to control the operation of the message manager according to any one of claims 5-8, or the computer is made to control the operation of the automatic driving simulation test system according to any one of claims 9-15.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020217025610A KR20210114467A (en) | 2020-02-24 | 2020-12-30 | Autonomous driving simulation method and apparatus, electronic device and storage medium |
JP2021547822A JP2022524584A (en) | 2020-02-24 | 2020-12-30 | Automated driving simulation methods and devices, electronic devices and storage media |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010113305.9A CN111353221A (en) | 2020-02-24 | 2020-02-24 | Automatic driving simulation method and device, electronic equipment and storage medium |
CN202010113305.9 | 2020-02-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021169588A1 true WO2021169588A1 (en) | 2021-09-02 |
Family
ID=71195761
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/141757 WO2021169588A1 (en) | 2020-02-24 | 2020-12-30 | Automatic driving simulation method and apparatus, and electronic device and storage medium |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP2022524584A (en) |
KR (1) | KR20210114467A (en) |
CN (1) | CN111353221A (en) |
WO (1) | WO2021169588A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113762406A (en) * | 2021-09-15 | 2021-12-07 | 东软睿驰汽车技术(沈阳)有限公司 | Data mining method and device and electronic equipment |
CN113823121A (en) * | 2021-09-18 | 2021-12-21 | 深圳须弥云图空间科技有限公司 | Vehicle running configuration method and device |
CN114067610A (en) * | 2021-09-22 | 2022-02-18 | 广州文远知行科技有限公司 | Simulation scene construction method and device for missing turnout accident |
CN114167752A (en) * | 2021-12-01 | 2022-03-11 | 中汽研(天津)汽车工程研究院有限公司 | Simulation test method and system device for vehicle active safety system |
CN115145246A (en) * | 2022-06-27 | 2022-10-04 | 小米汽车科技有限公司 | Controller testing method and device, vehicle, storage medium and chip |
CN115277442A (en) * | 2022-06-24 | 2022-11-01 | 重庆长安汽车股份有限公司 | Method for intelligent automobile function verification and simulation model car thereof |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111353221A (en) * | 2020-02-24 | 2020-06-30 | 上海商汤临港智能科技有限公司 | Automatic driving simulation method and device, electronic equipment and storage medium |
CN112255931B (en) * | 2020-10-10 | 2024-04-16 | 万物镜像(北京)计算机系统有限公司 | Data processing method and device, storage medium and electronic equipment |
CN114553972A (en) * | 2020-11-10 | 2022-05-27 | 魔门塔(苏州)科技有限公司 | Data transmission device and method applied to automatic driving, vehicle-mounted terminal and medium |
CN113238933B (en) * | 2021-04-30 | 2024-03-12 | 阿波罗智联(北京)科技有限公司 | Chassis simulation method, device, server, storage medium and program product |
CN113885754A (en) * | 2021-09-30 | 2022-01-04 | 奥特酷智能科技(南京)有限公司 | Simulator for automatic driving simulation platform |
CN115099070B (en) * | 2022-08-14 | 2022-12-09 | 北京昂克科技有限公司 | Digital twin-based chassis data acquisition method and device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3037901A2 (en) * | 2014-12-22 | 2016-06-29 | Rockwell Automation Technologies, Inc. | Cloud-based emulation and modeling for automation systems |
CN109884916A (en) * | 2019-02-26 | 2019-06-14 | 初速度(苏州)科技有限公司 | A kind of automatic Pilot Simulation Evaluation method and device |
CN110046833A (en) * | 2019-05-13 | 2019-07-23 | 吉林大学 | A kind of traffic congestion auxiliary system virtual test system |
CN110209146A (en) * | 2019-05-23 | 2019-09-06 | 杭州飞步科技有限公司 | Test method, device, equipment and the readable storage medium storing program for executing of automatic driving vehicle |
CN110333730A (en) * | 2019-08-12 | 2019-10-15 | 安徽江淮汽车集团股份有限公司 | Verification method, platform and the storage medium of automatic Pilot algorithm expectation function safety |
CN111353221A (en) * | 2020-02-24 | 2020-06-30 | 上海商汤临港智能科技有限公司 | Automatic driving simulation method and device, electronic equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107991898A (en) * | 2016-10-26 | 2018-05-04 | 法乐第(北京)网络科技有限公司 | A kind of automatic driving vehicle simulating test device and electronic equipment |
US11328219B2 (en) * | 2018-04-12 | 2022-05-10 | Baidu Usa Llc | System and method for training a machine learning model deployed on a simulation platform |
-
2020
- 2020-02-24 CN CN202010113305.9A patent/CN111353221A/en active Pending
- 2020-12-30 WO PCT/CN2020/141757 patent/WO2021169588A1/en active Application Filing
- 2020-12-30 JP JP2021547822A patent/JP2022524584A/en active Pending
- 2020-12-30 KR KR1020217025610A patent/KR20210114467A/en active Search and Examination
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3037901A2 (en) * | 2014-12-22 | 2016-06-29 | Rockwell Automation Technologies, Inc. | Cloud-based emulation and modeling for automation systems |
CN109884916A (en) * | 2019-02-26 | 2019-06-14 | 初速度(苏州)科技有限公司 | A kind of automatic Pilot Simulation Evaluation method and device |
CN110046833A (en) * | 2019-05-13 | 2019-07-23 | 吉林大学 | A kind of traffic congestion auxiliary system virtual test system |
CN110209146A (en) * | 2019-05-23 | 2019-09-06 | 杭州飞步科技有限公司 | Test method, device, equipment and the readable storage medium storing program for executing of automatic driving vehicle |
CN110333730A (en) * | 2019-08-12 | 2019-10-15 | 安徽江淮汽车集团股份有限公司 | Verification method, platform and the storage medium of automatic Pilot algorithm expectation function safety |
CN111353221A (en) * | 2020-02-24 | 2020-06-30 | 上海商汤临港智能科技有限公司 | Automatic driving simulation method and device, electronic equipment and storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113762406A (en) * | 2021-09-15 | 2021-12-07 | 东软睿驰汽车技术(沈阳)有限公司 | Data mining method and device and electronic equipment |
CN113823121A (en) * | 2021-09-18 | 2021-12-21 | 深圳须弥云图空间科技有限公司 | Vehicle running configuration method and device |
CN114067610A (en) * | 2021-09-22 | 2022-02-18 | 广州文远知行科技有限公司 | Simulation scene construction method and device for missing turnout accident |
CN114167752A (en) * | 2021-12-01 | 2022-03-11 | 中汽研(天津)汽车工程研究院有限公司 | Simulation test method and system device for vehicle active safety system |
CN115277442A (en) * | 2022-06-24 | 2022-11-01 | 重庆长安汽车股份有限公司 | Method for intelligent automobile function verification and simulation model car thereof |
CN115277442B (en) * | 2022-06-24 | 2023-07-28 | 重庆长安汽车股份有限公司 | Method for verifying functions of intelligent automobile and simulation model automobile thereof |
CN115145246A (en) * | 2022-06-27 | 2022-10-04 | 小米汽车科技有限公司 | Controller testing method and device, vehicle, storage medium and chip |
Also Published As
Publication number | Publication date |
---|---|
KR20210114467A (en) | 2021-09-23 |
CN111353221A (en) | 2020-06-30 |
JP2022524584A (en) | 2022-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021169588A1 (en) | Automatic driving simulation method and apparatus, and electronic device and storage medium | |
US11354468B2 (en) | Generating autonomous vehicle simulation data from logged data | |
Kaur et al. | A survey on simulators for testing self-driving cars | |
CN111897305B (en) | Data processing method, device, equipment and medium based on automatic driving | |
Chen et al. | A novel integrated simulation and testing platform for self-driving cars with hardware in the loop | |
CN113032285B (en) | High-precision map testing method and device, electronic equipment and storage medium | |
Chen et al. | Autonomous vehicle testing and validation platform: Integrated simulation system with hardware in the loop | |
US20200409369A1 (en) | System and Methods for Autonomous Vehicle Testing | |
JP2021526699A (en) | Data collection methods, devices, devices, programs and computer-readable storage media | |
US11385991B1 (en) | Collision evaluation for log-based simulations | |
CN113848855B (en) | Vehicle control system test method, device, equipment, medium and program product | |
CN111665738A (en) | In-loop simulation system and information processing method and device thereof | |
CN110687828A (en) | Intelligent networking automobile simulation test system based on whole automobile hardware-in-loop | |
US20220204009A1 (en) | Simulations of sensor behavior in an autonomous vehicle | |
Barosan et al. | Development of a virtual simulation environment and a digital twin of an autonomous driving truck for a distribution center | |
CN111696405A (en) | Driving simulator | |
CN115344503B (en) | Traffic flow simulation system and simulation method for automatic driving planning control test | |
CN115185205A (en) | Intelligent driving simulation method, system, terminal device and readable storage medium | |
CN115454843A (en) | Unmanned simulation device and automatic test method | |
US11126763B1 (en) | Realism metric for testing software for controlling autonomous vehicles | |
Zhou et al. | A survey on autonomous driving system simulators | |
CN116451434A (en) | New energy truck simulation scheduling method and equipment with cooperation of vehicles Lu Yun | |
CN114296424A (en) | Simulation test system and method | |
CN115454082A (en) | Vehicle obstacle avoidance method and system, computer readable storage medium and electronic device | |
CN112230659A (en) | Method for accurately planning movement track, intelligent control equipment and automatic driving vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 20217025610 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2021547822 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20921818 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20921818 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09-03-2023) |