Automatic driving simulation test method, equipment and medium
By distributing multiple simulation scenarios on a single simulation road and using distance triggering to start the target vehicle, the time-consuming problem of repeated acceleration and scene switching in the autonomous driving test is solved, and efficient and interference-free autonomous driving simulation testing is achieved.
Patent Information
- Application Number
- CN202410438570.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2024-08-23
AI Technical Summary
The existing self-driving simulation testing technology takes a long time, mainly due to the time-consuming process of accelerating the self-driving test vehicle from standstill to cruising speed and switching scenario use case files each time, resulting in low work efficiency.
By distributing multiple simulation scenarios on a single simulation road, the self-driving test vehicle starts at the starting point of the road and maintains continuous motion, traverses multiple road sections in sequence, and uses distance triggering to start the self-driving target vehicle in each simulation scenario. Avoid the time consuming caused by repeated acceleration and scene switching, and take measures after each simulation scene to prevent the target car from interfering with the test of the next scene.
It greatly improves the work efficiency of autonomous driving simulation testing, avoids the time-consuming caused by each acceleration and scene switching, improves the test quality, and ensures efficient and interference-free testing of multiple simulation scenarios.
Smart Images

Figure CN118534786A
Abstract
Description
Technical Field
[0001] The present application relates to the field of simulation testing technology, and more specifically, to an autonomous driving simulation testing method, device, and medium. Background Art
[0002] With the development of autonomous driving technology, autonomous driving functions are becoming more and more mature. Among them, autonomous driving simulation testing is an important and indispensable part of the development of autonomous driving technology.
[0003] Generally speaking, it is a normal process to generate simulation scenarios based on simulation test cases and then conduct simulation tests. One test case generally corresponds to one simulation scenario, which is tested one by one on the HIL test bench. The most time-consuming part of this process is the time it takes for the autonomous driving controller ECU to control the vehicle (autonomous driving test vehicle) to accelerate from a standstill to a cruising speed. This acceleration time normally takes about 15 seconds, and the total time for a single simulation scenario test is about 30 seconds. In addition, there is the time consumed by switching the scenario case file on the VTD each time.
[0004] Therefore, it takes a relatively long time to test simulation scenarios one by one, and the work efficiency of existing autonomous driving simulation testing technology needs to be further improved. Summary of the invention
[0005] In response to at least one defect or improvement need in the prior art, the present application provides an autonomous driving simulation test method, device and medium for improving the work efficiency of autonomous driving simulation testing.
[0006] To achieve the above objectives, in a first aspect, the present application provides an autonomous driving simulation test method, comprising:
[0007] A simulated road is divided into a plurality of road sections in sequence along a road extension direction starting from the road starting point;
[0008] Constructing corresponding simulation scenes in each of the road sections;
[0009] An autonomous driving test vehicle is started from the starting point of the road and traverses the plurality of road sections in sequence while maintaining a continuous motion state, so as to respectively implement autonomous driving simulation tests under the corresponding simulation scenarios.
[0010] Furthermore, the simulated road includes three lanes along the extension direction of the road;
[0011] The middle lane is the first lane, which is used for the driving of the autonomous driving test vehicle;
[0012] Located on both sides of the first lane are the second lane and the third lane;
[0013] The first to third lanes are used for constructing the simulation scene.
[0014] Furthermore, constructing a corresponding simulation scene in each of the road sections includes:
[0015] In each of the road sections, an automatic driving target vehicle is respectively arranged, which is initially stationary;
[0016] When the autonomous driving test vehicle enters a road section, the autonomous driving target vehicle set for the road section is started by a distance trigger method;
[0017] The automatic driving target vehicle is caused to perform uniform speed motion, variable speed motion and / or lane changing motion on the first to third lanes;
[0018] The autonomous driving target vehicle is set to brake and stop immediately in the second or third lane at the simulation scenario test time set for the road section after the trigger starts, and is within the range of the road section;
[0019] The autonomous driving test vehicle is driven into a next road section adjacent to the road section, and the autonomous driving target vehicle set for the next road section is started by the distance triggering method.
[0020] Further, the data required for constructing the simulation scenario includes one or more of target vehicle type data, target vehicle speed data, target vehicle position data, target vehicle motion data, target vehicle trigger distance data, test vehicle speed data, test vehicle position data and simulation scenario test time data;
[0021] The target vehicle type data, data representing the type of the autonomous driving target vehicle;
[0022] The target vehicle speed data, data representing the driving speed of the autonomous driving target vehicle;
[0023] The target vehicle position data, data representing the coordinates of the autonomous driving target vehicle on the first to third lanes;
[0024] The target vehicle motion data, data representing the acceleration, deceleration and lane change conditions of the autonomous driving target vehicle;
[0025] The target vehicle trigger distance data, which indicates that the autonomous driving target vehicle can be triggered to start when it is just within the target vehicle trigger distance of the autonomous driving test vehicle;
[0026] The test vehicle speed data, data representing the driving speed of the autonomous driving test vehicle;
[0027] The test vehicle position data, data representing the coordinates of the autonomous driving test vehicle on the first lane;
[0028] The simulation scenario test time data represents the time interval from the start of the simulation test of the autonomous driving target vehicle after being triggered to the exit from the corresponding simulation scenario.
[0029] Furthermore, the simulated road also includes two lanes, a fourth lane and a fifth lane, along the extension direction of the road;
[0030] The fourth and fifth lanes are respectively located on the side of the second and third lanes away from the first lane;
[0031] The autonomous driving target vehicle is set to immediately change lanes to the fourth or fifth lane at the simulation scenario test time set for the road section starting after the trigger is started, and be within the range of the road section.
[0032] Further, the simulated road includes a simulated straight road and / or a simulated curved road;
[0033] The simulated straight road is a simulated road that is straight as a whole;
[0034] The simulated curved road includes a closed circle curve and / or a non-closed circle curve;
[0035] The closed circle curve, i.e. the closed simulated road that is circular in shape as a whole, can only be applied to a curve scene with one curvature radius;
[0036] The non-closed circular curve, which is a non-closed simulated road formed by connecting a plurality of semicircular arcs, can be applied to curve scenes with a variety of curvature radii.
[0037] Furthermore, the continuous motion state includes a situation where the speed changes after starting or a situation where a constant speed is maintained after starting to a preset cruising speed.
[0038] In a second aspect, the present application provides an electronic device comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit is enabled to perform the steps of any one of the above-mentioned methods.
[0039] In a third aspect, the present application provides a storage medium storing a computer program executable by an access authentication device, wherein when the computer program runs on the access authentication device, the access authentication device is enabled to perform the steps of any one of the above methods.
[0040] In general, the above technical solutions conceived by the present application can achieve the following beneficial effects compared with the prior art:
[0041] (1) The present application distributes multiple simulation scenarios one by one on a single simulation road, so that the autonomous driving test vehicle starts at the starting point of the road and maintains a continuous motion state to traverse multiple road sections in sequence, so as to realize the autonomous driving simulation test under the corresponding simulation scenarios respectively. This can avoid the time-consuming process of the ECU controlling the test vehicle to accelerate from a standstill to a cruising speed and switch the scenario use case file to start the simulation tool each time. Multiple simulation scenarios can be tested at one time, which greatly improves the work efficiency of the autonomous driving simulation test.
[0042] (2) After the simulation test of each simulation scene is completed, in order to avoid the autonomous driving target vehicle of the simulation scene from interfering with the simulation test of the next simulation scene, the present application proposes two processing methods. One is to control the autonomous driving target vehicle of the simulation scene to stop suddenly in the second or third lane, and the other is to let the autonomous driving target vehicle of the simulation scene drive to the outermost fourth or fifth lane. In this way, the autonomous driving target vehicle of the simulation scene can be prevented from interfering with the simulation test of the next simulation scene due to continued movement, thereby improving the test quality of the simulation test. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A flowchart of an autonomous driving simulation test method provided in an embodiment of the present application;
[0045] Figure 2 A vehicle position state diagram when the autonomous driving test vehicle provided in an embodiment of the present application reaches a first simulation scene;
[0046] Figure 3 A vehicle position state diagram of the autonomous driving test vehicle provided in an embodiment of the present application when it travels from a first simulation scene to a second simulation scene;
[0047] Figure 4 A schematic diagram of a simulated road of a closed circle curve type provided in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a simulated road of a non-closed circle curve type provided in an embodiment of the present application;
[0049] Figure 6 A calculation graph for calculating the coordinate points of an autonomous driving target vehicle provided in an embodiment of the present application;
[0050] Figure 7 A block diagram of an electronic device suitable for implementing the method described above provided in an embodiment of the present application;
[0051] Reference numerals:
[0052] exist Figure 2 Among them, 1, the first lane; 2, the second lane; 3, the third lane; 4, the fourth lane; 5, the fifth lane. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In addition, the technical features involved in each embodiment of the present application described below can be combined with each other as long as they do not conflict with each other.
[0054] The terms "including" or "having" and any variations thereof in the specification, claims or drawings of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0055] Glossary:
[0056] 1. Automotive HIL testing, or Hardware-in-the-Loop Testing, is a testing method that simulates the actual operating environment of automotive electronic control systems in a laboratory environment. HIL bench, or Hardware-in-the-Loop test bench, is a tool used to test embedded systems, control systems, and electronic systems.
[0057] 2. ECU (Electronic Control Unit) Electronic control unit, also known as "driving computer", "on-board computer", etc. In terms of use, it is a special microcomputer controller for automobiles, also called a special single-chip microcomputer for automobiles. Like ordinary single-chip microcomputers, it consists of a microprocessor (CPU), memory (ROM, RAM), input / output interface (I / O), analog-to-digital converter (A / D), and large-scale integrated circuits such as shaping and driving.
[0058] 3. VTD (Virtual Test Drive) is a complete modular simulation tool for active safety and autonomous driving of driver assistance systems developed by VIRES of Germany. It runs on the Linux platform and its functions cover road environment modeling, traffic scene modeling, weather and environment simulation, simple and physically realistic sensor simulation, and high-precision real-time image rendering. VIRES is the main contributor to the autonomous driving simulation open formats OpenDRIVE, OpenCRG and OpenScenario, and VTD's functions and storage also rely on these open formats.
[0059] 4. OpenDRIVE is the main open format and de facto standard for describing road networks in driving simulation applications. The OpenDRIVE format provides a common basis for describing trajectory-based road networks using Extensible Markup Language (XML) syntax.
[0060] 5. XML, or Extensible Markup Language, is a subset of the Standard Generalized Markup Language. It can be used to mark data and define data types. It is a source language that allows users to define their own markup languages.
[0061] 6. Test Case is a description of the test task for a specific software product, reflecting the test plan, method, technology and strategy. Its content includes test objectives, test environment, input data, test steps, expected results and test scripts, etc., and finally forms a document. Simply put, a test case is a set of test inputs, execution conditions and expected results compiled for a special goal, used to verify whether a specific software requirement is met.
[0062] As described in the background technology section, the existing autonomous driving simulation test method of testing a single simulation scene on a single simulation road takes a long time to test and has low efficiency due to the repeated startup of the autonomous driving test vehicle (hereinafter referred to as "self-vehicle") and the time consumed by each switching of scene use case files. In view of this, the present application proposes a new idea of integrating multiple simulation scenes on a single simulation road for simulation testing. In this way, the time consumed by the self-vehicle accelerating from a stationary speed to a cruising speed in each repeated simulation scene can be omitted, and the time consumed by switching scene use case files to start the simulation tool can also be saved.
[0063] Specifically, in one embodiment, refer to Figure 1 ,An autonomous driving simulation testing method may include the following steps.
[0064] Step 1: Prepare basic data.
[0065] First, prepare simulation test cases. In each test case, road data must be clearly written, such as road type (straight and / or curved), road length, and road width; traffic flow data must also be clearly written, such as the type of autonomous driving target vehicle (hereinafter referred to as "target vehicle"), target vehicle speed, target vehicle position, target vehicle action, target vehicle trigger distance, self-vehicle speed, self-vehicle position, and simulation scenario test time. The first line of the test case is the header, fill in the name of each type of information, and the specific values of different information starting from the second line.
[0066] Target vehicle type data, data representing the vehicle type of the target vehicle, such as a car, van, truck, or bus.
[0067] Target vehicle speed data, data representing the target vehicle's driving speed.
[0068] Target vehicle position data, data representing the coordinates of the target vehicle on the lane.
[0069] Target vehicle action data, data representing the acceleration, deceleration and lane change conditions of the target vehicle.
[0070] The target vehicle trigger distance data represents the data that the target vehicle can be triggered to start from a standstill when it is just within the trigger distance of the target vehicle.
[0071] The vehicle speed data is data representing the vehicle's driving speed.
[0072] The vehicle position data represents the coordinates of the vehicle on the lane.
[0073] The simulation scenario test time represents the time interval from the target vehicle starting the simulation test after the trigger to the vehicle leaving the corresponding simulation scenario. Each simulation scenario can be set to a unified and identical simulation scenario test time, or it can be set to a different simulation scenario test time, which can be determined according to the actual needs of the test.
[0074] Step 2: Build a simulated road.
[0075] First, determine the number of simulation scenarios to be constructed, and then construct the length of the simulated road based on the number of simulation scenarios. Assuming that the number of simulation scenarios to be constructed is n, and the road length (line length of the road section) required for a simulation scenario is 2 km, then the total length of the constructed simulated road is 2n km. In fact, the road length required to set each simulation scenario may also be different. For convenience, the line length of each road section is uniformly set to 2 km here. In each such road section, a simulation scene that is different from that set in other road sections can be set. The number of lanes of this single simulation road is constructed as 5 lanes, refer to Figure 2 and Figure 3The first to fifth lanes. The ego vehicle is located in the first lane in the middle. The first lane and the second and third lanes on both sides are used together to build the simulation scene. The fourth and fifth lanes on the outermost sides are used for the area where the target vehicle needs to reach after the simulation scene ends. The code is used to write this information into the corresponding attribute values in the opendrive simulation road file, and a long simulation road is built.
[0076] For a long straight road, the total length of the road can be given directly. The other information is the same as that of a short straight road. The initial coordinates, curvature, and line type information of the straight road are written into the planView attribute under the opendrive file.<geometry hdg="0"length="2000"s="0"x="0.0"y="0.0"> <line / > The total length of the road is written into length, the initial coordinates are written into x, y respectively, the straight road is placed horizontally, hdg is assigned a value of 0, indicating that the deflection angle is 0, and the 5 lanes are written into the id under laneSection according to the lane id, 1 to 5, respectively. The road width is calculated as 3.75m and written into width. The long straight road distance can be infinitely long, so it can accommodate an infinite number of simulation scenarios.
[0077] For curves, there are two methods: closed circle curves and non-closed circle curves. Figure 4 and Figure 5 The total length of a closed circle curve is limited, and the number of simulation scenarios it can accommodate is also limited, and it can only be applied to curve scenarios with one curvature radius. A non-closed circle curve is composed of multiple semicircular arcs, with an infinite total length, an infinite number of scenarios, and can define curve scenarios with different curvature radii. The initial coordinates, curvature, and line type information of the curve are written into the planView attribute under the opendrive file.<geometry hdg="0"length="1420.0"s="0"x="0"y="0.0"><arccurvature="0.002" / > , length indicates the length of the arc, the initial coordinates are written in x, y, and the arc curvature is written in curvature. For a closed circle, assuming the radius of curvature is r, the total length is length = 2*π*r, curvature = 1 / r, and only one geometry attribute needs to be established; for an open circle, multiple such geometries need to be established. Each semicircular arc of an open circle is described by a geometry, and the length and curvature of each location are determined by the radius of the curve required by the simulation scene. Figure 2 and Figure 3 What is shown is a long straight road with 5 lanes. The length of the road section required for each simulation scenario is 2km, which can accommodate countless simulation scenarios; Figure 4What is shown is a closed circular curve with a fixed curvature, which can accommodate a limited number of simulation scenarios. The length of the circular curve required for each simulation scenario can also be 2km; Figure 5 What is displayed is an infinitely long curve composed of semicircular arcs of different curvatures, which can accommodate countless simulation scenes. The length of the arc curve required for each simulation scene can also be 2km.
[0078] Step 3: Build a simulation scene.
[0079] First, clarify the traffic flow data for each simulation test case, such as the aforementioned target vehicle type (car, van, truck or bus, etc.), target vehicle position (coordinates on the first to third lanes), target vehicle trigger distance (when the self-vehicle and the target vehicle are just at this distance, the target vehicle starts to start and drive), target vehicle action (uniform motion, acceleration and deceleration, left and right lane changes, etc.) and other data. According to the sequence of simulation scenes, each 2km interval belongs to a road section of a simulation scene, and a target vehicle that is initially stationary is placed in each road section. Assuming that the coordinates of the target vehicle in the test case are (x, y), and it is located in the mth simulation scene, then the position coordinates of the target vehicle in the long straight road multi-scene are (x+2000*(m-1), y); if it is on a curve, it needs to be converted according to the radius of curvature of the curve, refer to Figure 6 , assuming that the length of the circular arc road line is 2km, the radius of the arc is r, and the target vehicle point coordinates (x, y), the length of the semicircle arc is π*r, then the target vehicle point coordinates corresponding to the central angle is a=(2000*180) / π*r, then x=r-r*cos(a), y=r*sin(a), if this semicircle arc is connected by n semicircles with a radius of r, then the target vehicle point coordinates x=n*r+r-r*cos(a), y=r*sin(a). Other information such as the target vehicle trigger distance, target vehicle action, etc. are all set according to the requirements of the test case. The simulation scenario test time of each simulation scenario is set to 30s, then the current target vehicle is set to leave the lane immediately after the self-vehicle starts, and enter the outermost lane (the fourth or fifth lane), or stop suddenly (stop suddenly in the second or third lane), then the mth simulation scenario ends, and the self-vehicle enters the m+1th simulation scenario, and repeats the above process. Use code to write this information into the corresponding attribute values in the XML simulation scene file, and multiple simulation scenes based on a single simulation road are constructed.
[0080] The description of initial velocity and coordinates in the xml file is as follows: <init><Speed Value="0.0" / ><PosAbsolute AlignToRoad="true"Direction="0"PermanentLane0ffset="0.0"X="11.0"Y="-5.625"Z="0.0" / >< / init>, the initial coordinates are written into x,y, and the initial speed is written into value. The description of the action in the xml file is as follows: <PosAbsolute CounterComp="COMP_EQ"CounterID=""CounterVal="0"NetDist="false"Pivot="Ego"Radius="200"X="392.5"Y="53.27988526034443" / ><SpeedChange ActiveOnEnter="true"DelayTime="1"ExecutionTimes="1"Force="true"Rate="200"Target="0.0" / > SpeedChange indicates a speed change. The radius in the PosAbsolute field is written with the distance that triggers the target vehicle's action. The DelayTime in the SpeedChange field is written with the delay time of the target vehicle's movement. The rate is written with the acceleration, and the target is written with the target speed. If it is a lane change action, the relevant content is written under LaneChange in the xml. Figure 2 and Figure 3 In the simulation scenario of a long straight road, when the first simulation scenario (scenario 1) is in progress, the target vehicle in the second simulation scenario (scenario 2) is stationary and waiting for the arrival of the ego vehicle (the ego vehicle keeps moving after starting from the starting point of the road, and the continuous movement includes the situation where the speed changes after starting or the situation where the speed is kept constant after starting to a preset cruising speed, etc.). When the first simulation scenario ends and the second simulation scenario is in progress, there are two ways to deal with the first target vehicle (target vehicle 1) in the first simulation scenario, one is to brake it immediately (brake it on the second or third lane), and the other is to drive it to the outermost fourth or fifth lane and brake it. Figure 3 The first target car drives to the outermost lane and stops. The target cars in the first simulation scene and the second simulation scene are triggered to start according to the distance from the self-vehicle until the nth simulation scene is traversed. The whole process is similar. Figure 4 and Figure 5 As shown, the execution process of the closed circle curve and non-closed circle curve simulation scenes is the same as the execution process of the long straight road simulation scene. In the simulation scene where the ego vehicle is located, the ego vehicle and the target vehicle in the simulation scene move together according to the test case, and the process of executing the simulation scene is that the corresponding target vehicle that has not been executed in the next simulation scene waits for the ego vehicle to reach the distance to trigger the start, and the target vehicle of the completed simulation scene drives away from the brake stop, so as not to affect the test quality of the simulation test of the next simulation scene.
[0081] Step 4: Conduct autonomous driving simulation test.
[0082] Import the above generated opendrive file and xml file on vtd, connect the hil test bench, the autonomous driving controller, and the ecu-test test software, and then you can perform the autonomous driving simulation test. The time required for this single-road multi-scenario simulation test is greatly reduced compared to the total time required for the original multiple single-road single-scenario simulation tests, which can greatly improve the work efficiency of the autonomous driving simulation test.
[0083] The embodiment of the present application is a single-road multi-scene integrated automatic driving simulation test method, which constructs an opendrive file of a single simulation road and an xml file of multiple simulation scenes, distributes multiple simulation scenes equidistantly on a single simulation road, and starts the self-vehicle at the starting point of the road, and then starts the target car of each simulation scene in turn according to the distance trigger mode, and the target car of each simulation scene moves with the self-vehicle to form each simulation scene. After the current simulation scene ends, in order to avoid the interference caused by the continued movement of the target car of the current simulation scene to the next simulation scene, there are two processing methods, one is to control the target car to stop suddenly, and the other is to let the target car drive to the outermost lane, and the processing method of the target car of the next simulation scene is similar, until all simulation scenes are finished. There is no mutual interference between the multiple simulation scenes on the entire single simulation lane, and multiple simulation scenes can be tested quickly and with high quality at one time, avoiding the time-consuming time caused by the automatic driving controller ecu controlling the self-vehicle to accelerate from static to cruising speed each time and the time-consuming time caused by switching the scene use case file on vtd to start vtd, which greatly improves the work efficiency of automatic driving simulation test.
[0084] Figure 7 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present application is schematically shown. Figure 7 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0085] like Figure 7 As shown, the electronic device 1000 described in this embodiment includes: a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), and the like. The processor 1001 may also include an onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present application.
[0086] In RAM 1003, various programs and data required for the operation of system 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other via bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present application by executing the program in ROM 1002 and / or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present application by executing the program stored in the one or more memories.
[0087] According to an embodiment of the present application, the electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to the bus 1004. The system 1000 may further include one or more of the following components connected to the I / O interface 1005: an input part 1006 including a keyboard, a mouse, etc.; an output part 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage part 1008 including a hard disk, etc.; and a communication part 1009 including a network interface card such as a LAN card, a modem, etc. The communication part 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that the computer program read therefrom is installed into the storage part 1008 as needed.
[0088] According to the method flow of the embodiment of the present application, it can be implemented as a computer software program. For example, the embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-mentioned functions defined in the system of the embodiment of the present application are executed. According to the embodiment of the present application, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0089] The embodiments of the present application also provide a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiments of the present application is implemented.
[0090] According to an embodiment of the present application, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present application, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present application, the computer-readable storage medium may include one or more memories other than the ROM 1002 and / or RAM 1003 described above.
[0091] It should be noted that the functional modules in the various embodiments of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is 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.
[0092] The flow chart or block diagram in the accompanying drawings illustrates the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or code, and the above-mentioned module, program segment or code part contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope of the present application.
[0094] Although the present application has been shown and described with reference to specific exemplary embodiments of the present application, it should be understood by those skilled in the art that various changes in form and details may be made to the present application without departing from the spirit and scope of the present application as defined by the appended claims and their equivalents. Therefore, the scope of the present application should not be limited to the above-mentioned embodiments, but should be determined not only by the appended claims, but also by the equivalents of the appended claims.
Claims
1. An automatic driving simulation test method, characterized in that: include: A simulated road is divided into a plurality of road sections in sequence along a road extension direction starting from the road starting point; Constructing corresponding simulation scenes in each of the road sections; An autonomous driving test vehicle is started from the starting point of the road and traverses the plurality of road sections in sequence while maintaining a continuous motion state, so as to respectively implement autonomous driving simulation tests under the corresponding simulation scenarios.
2. The automatic driving simulation test method according to claim 1, characterized in that: The simulated road includes three lanes along the extending direction of the road; The middle lane is the first lane, which is used for the driving of the autonomous driving test vehicle; Located on both sides of the first lane are the second lane and the third lane; The first to third lanes are used for constructing the simulation scene.
3. The automatic driving simulation test method according to claim 2, characterized in that: The constructing of a corresponding simulation scene in each of the road sections comprises: In each of the road sections, an automatic driving target vehicle is respectively arranged, which is initially stationary; When the autonomous driving test vehicle enters a road section, the autonomous driving target vehicle set for the road section is started by a distance trigger method; The automatic driving target vehicle is caused to perform uniform speed motion, variable speed motion and / or lane changing motion on the first to third lanes; The autonomous driving target vehicle is set to brake and stop immediately in the second or third lane at the simulation scenario test time set for the road section after the trigger starts, and is within the range of the road section; The autonomous driving test vehicle is driven into a next road section adjacent to the road section, and the autonomous driving target vehicle set for the next road section is started by the distance triggering method.
4. The automatic driving simulation test method according to claim 3, characterized in that: The data required to construct the simulation scenario include one or more of target vehicle type data, target vehicle speed data, target vehicle position data, target vehicle motion data, target vehicle trigger distance data, test vehicle speed data, test vehicle position data and simulation scenario test time data; The target vehicle type data, data representing the type of the autonomous driving target vehicle; The target vehicle speed data, data representing the driving speed of the autonomous driving target vehicle; The target vehicle position data, data representing the coordinates of the autonomous driving target vehicle on the first to third lanes; The target vehicle motion data, data representing the acceleration, deceleration and lane change conditions of the autonomous driving target vehicle; The target vehicle trigger distance data, which indicates that the autonomous driving target vehicle can be triggered to start when it is just within the target vehicle trigger distance of the autonomous driving test vehicle; The test vehicle speed data, data representing the driving speed of the autonomous driving test vehicle; The test vehicle position data, data representing the coordinates of the autonomous driving test vehicle on the first lane; The simulation scenario test time data represents the time interval from the start of the simulation test of the autonomous driving target vehicle after being triggered to the exit from the corresponding simulation scenario.
5. The automatic driving simulation test method according to claim 3, characterized in that: The simulated road also includes two lanes, a fourth lane and a fifth lane, along the extension direction of the road; The fourth and fifth lanes are respectively located on the side of the second and third lanes away from the first lane; The autonomous driving target vehicle is set to immediately change lanes to the fourth or fifth lane at the simulation scenario test time set for the road section starting after the trigger is started, and be within the range of the road section.
6. The automatic driving simulation test method according to claim 1, characterized in that: The simulated road includes a simulated straight road and / or a simulated curved road; The simulated straight road is a simulated road that is straight as a whole; The simulated curved road includes a closed circle curve and / or a non-closed circle curve; The closed circle curve, i.e. the closed simulated road that is circular in shape as a whole, can only be applied to a curve scene with one curvature radius; The non-closed circular curve, which is a non-closed simulated road formed by connecting a plurality of semicircular arcs, can be applied to curve scenes with a variety of curvature radii.
7. The automatic driving simulation test method according to claim 1, characterized in that: The continuous motion state includes a situation where the speed changes after starting or a situation where the speed is kept constant after starting to a preset cruising speed.
8. An electronic device, characterized in that: The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit is enabled to perform the steps of the method according to any one of claims 1 to 7.
9. A storage medium, characterized in that: It stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device can execute the steps of the method according to any one of claims 1 to 7.
Citation Information
Cited By
Method, device and equipment for constructing roads at intersections with different heights and readable storage medium
CN120745247A
