Method and device for determining vehicle driving path
By acquiring vehicle and environmental information in self-driving cars, aggregating obstacle contours and optimizing paths, the problem of large obstacle judgment calculations and poor paths is solved, and more efficient and safer driving path planning is achieved.
Patent Information
- Application Number
- CN202110986229.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-26
- Publication Date
- 2024-08-16
- Estimated Expiration
- 2041-08-26
AI Technical Summary
When there are many obstacles in front of existing self-driving cars, the calculation of obstacle judgment is too large, the tracking path may not be the optimal path, and it is easy to be trapped by new obstacles.
By obtaining vehicle information and environmental information, the obstacle contours within the target planning range are determined, and the aggregation and minimum convex hull algorithms are used to optimize the obstacle contours, reduce the amount of calculation, and determine the optimal driving path.
It reduces the amount of system calculations, reduces the number of path planning times, improves path planning efficiency, and ensures the smooth driving and driving safety of autonomous vehicles.
Smart Images

Figure CN113682322B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method and device for determining a vehicle driving path. Background Art
[0002] Self-driving cars rely on the coordination of artificial intelligence, visual computing, radar, monitoring devices and positioning systems. They achieve unmanned driving through computer systems and use radar to make comprehensive judgments on road and vehicle conditions during driving to avoid obstacles and bypass them.
[0003] In the existing obstacle judgment, it is necessary to traverse the obstacles in front of the autonomous driving car to search for traces, and judge the feasibility of detour and whether the vehicle can pass according to the intersection results of the vehicle's driving trajectory with each obstacle outline.
[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:
[0005] In the existing obstacle judgment, when there are many obstacles ahead, the amount of calculation required to judge each obstacle is too large; since there may be multiple detour paths, the path determined by the tracking method may not be the optimal path; when continuing to drive based on the tracking path, you may be trapped by new obstacles in a very short time or instantly. Summary of the invention
[0006] In view of this, an embodiment of the present invention provides a method and device for determining a vehicle driving path, which can aggregate multiple obstacles when there are many obstacles in front of the autonomous driving vehicle, determine the optimal driving path of the autonomous driving vehicle, thereby reducing the system's calculation amount, reducing the number of path planning times, and improving the system's path planning efficiency, ensuring the smooth driving of the autonomous driving vehicle and improving driving safety.
[0007] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for determining a vehicle driving path is provided, comprising:
[0008] Acquire vehicle information and vehicle environment information;
[0009] Determining a target planning range corresponding to the vehicle according to the vehicle information;
[0010] Determining obstacle contours of a plurality of obstacles within the target planning range according to obstacle information in the environmental information;
[0011] Aggregating the plurality of obstacle contours to obtain an aggregated obstacle contour;
[0012] A driving path of the vehicle is determined according to the aggregated obstacle profile.
[0013] Optionally, aggregating the plurality of obstacle contours to obtain an aggregated obstacle contour includes:
[0014] Determining a first distance between every two obstacle contours in a plurality of the obstacle contours;
[0015] Comparing the first spacing with the vehicle travel distance, obtaining at least two target obstacle contours whose first spacing is smaller than the vehicle travel distance;
[0016] The at least two target obstacle contours are aggregated to determine the aggregated obstacle contour.
[0017] Optionally, aggregating the at least two target obstacle contours to determine the aggregated obstacle contour includes:
[0018] Obtaining a set of intermediate obstacle contours according to the at least two target obstacle contours;
[0019] The intermediate obstacle contour set is optimized using a minimum convex hull algorithm to obtain the aggregated obstacle contour.
[0020] Optionally, the environmental information further includes lane boundaries; the vehicle information includes positioning information and speed information of the vehicle; and determining the target planning range corresponding to the vehicle according to the vehicle information includes:
[0021] Determine the vehicle body boundary of the vehicle and the distance to be traveled by the vehicle within a preset time period according to the positioning information and the speed information;
[0022] The target planning range is determined according to the vehicle body boundary, the lane boundary and the distance to be traveled.
[0023] Optionally, the lane boundary includes boundaries on both sides, and determining the driving path of the vehicle according to the aggregated obstacle contour includes:
[0024] Respectively determining a plurality of second distances between a plurality of end points of the aggregate obstacle contour and the lane boundaries on both sides;
[0025] A driving path of the vehicle is determined according to the plurality of second intervals.
[0026] Optionally, determining the driving path of the vehicle according to the plurality of second intervals includes:
[0027] Comparing the minimum second spacing with the vehicle travel distance;
[0028] When the minimum second distance is greater than the vehicle travel distance, the lane boundary side corresponding to the minimum second distance is used as the driving path of the vehicle.
[0029] Optionally, the vehicle information also includes vehicle body width; wherein:
[0030] The vehicle travel distance is determined according to the vehicle body width and a preset safety distance.
[0031] According to another aspect of an embodiment of the present invention, there is provided a device for determining a vehicle driving path, comprising:
[0032] An acquisition module, used to acquire vehicle information and vehicle environment information;
[0033] A range limiting module, used to determine a target planning range corresponding to the vehicle according to the vehicle information;
[0034] A data processing module, used to determine the obstacle contours of multiple obstacles within the target planning range according to the obstacle information in the environmental information;
[0035] An aggregation module, used for aggregating the plurality of obstacle contours to obtain an aggregated obstacle contour;
[0036] A path determination module is used to determine the driving path of the vehicle according to the aggregated obstacle contour.
[0037] According to another aspect of an embodiment of the present invention, there is provided an electronic device for determining a vehicle driving path, comprising:
[0038] one or more processors;
[0039] a storage device for storing one or more programs,
[0040] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the vehicle driving path provided by the present invention.
[0041] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method for determining a vehicle driving path provided by the present invention is implemented.
[0042] An embodiment of the above invention has the following advantages or beneficial effects: because the target planning range is determined according to vehicle information, multiple obstacles whose spacing is less than the vehicle travel distance are aggregated into an aggregated obstacle contour within the target planning range, and then the optimal vehicle driving path is determined according to the distance between the aggregated obstacle contour and other obstacles and lane boundaries within the target planning range. Therefore, the technical problem that the existing obstacle judgment calculation amount is too large, the tracing method may not determine the optimal path, and it is easy to be trapped is overcome, thereby achieving the technical effect of reducing the system calculation amount, reducing the number of path planning times, improving the system's path planning efficiency, ensuring the smooth driving of the autonomous driving vehicle, and improving driving safety.
[0043] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0045] Figure 1 is a schematic diagram of the main process of the method for determining a vehicle driving path according to an embodiment of the present invention;
[0046] Figure 2 is a schematic diagram of the main process of the method for determining the target planning range according to an embodiment of the present invention;
[0047] Figure 3 is a schematic diagram of a target planning range according to an embodiment of the present invention;
[0048] Figure 4 is a schematic diagram of the main process of the method for determining the aggregate obstacle profile according to an embodiment of the present invention;
[0049] Figure 5 is a schematic diagram of the main process of a method for determining a vehicle's driving path based on aggregated obstacle contours according to a first embodiment of the present invention;
[0050] Figure 6 is a schematic diagram of the main process of a method for determining a vehicle's driving path based on aggregated obstacle contours according to a second embodiment of the present invention;
[0051] Figure 7 is a schematic diagram of main modules of a device for determining a vehicle driving path according to an embodiment of the present invention;
[0052] Figure 8 An exemplary system architecture diagram of a method for determining a vehicle driving path or a device for determining a vehicle driving path suitable for application in an embodiment of the present invention is shown;
[0053] Fig. 9 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0054] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0055] Figure 1 is a schematic diagram of the main process of the method for determining a vehicle driving path according to an embodiment of the present invention, such as Figure 1 As shown, the method for determining a vehicle driving path of the present invention includes:
[0056] Step S101, obtaining vehicle information and vehicle environment information.
[0057] When driving, autonomous vehicles use high-precision maps to determine their routes. During normal driving, if they encounter obstacles such as pedestrians or vehicles, they need to judge the obstacles and bypass them.
[0058] In the embodiment of the present invention, the vehicle information includes the vehicle's positioning information, speed information, body size information, etc., wherein the vehicle's positioning information and speed information can be obtained through the position sensor and speed sensor installed on the vehicle, respectively. The vehicle's environmental information includes obstacle information, lane boundaries, etc., wherein the vehicle's obstacle information, lane boundaries, etc. can be obtained through the laser radar sensor installed on the vehicle.
[0059] Furthermore, obstacle information of the vehicle is determined based on multiple point cloud frame data acquired by the lidar sensor, and the obstacle information includes all obstacles around the vehicle.
[0060] Point cloud refers to a collection of point data on the product surface obtained by measuring instruments in reverse engineering. Taking a laser radar sensor as an example, when a laser beam hits the surface of an object, the reflected laser will carry information such as direction and distance. Scanning the laser beam along a certain trajectory will obtain the reflected laser point information. Since the scanning is extremely precise, a large number of laser points can be obtained, thus forming a laser point cloud.
[0061] Step S102: determining a target planning range corresponding to the vehicle according to the vehicle information.
[0062] In the embodiment of the present invention, when determining the driving path of the vehicle, only multiple obstacles that affect the driving of the vehicle within a preset range in front of the vehicle are analyzed, and obstacles that are far away from the vehicle or behind the vehicle do not need to be considered. The preset range is the target planning range. The target planning range is determined based on the vehicle's positioning information, speed information, and lane boundaries.
[0063] In the embodiment of the present invention, Figure 2 As shown, the method for determining the target planning range of the present invention includes the following steps:
[0064] Step S201, determining the vehicle body boundary of the vehicle according to the positioning information of the vehicle.
[0065] In the embodiment of the present invention, the center of mass P of the vehicle is determined according to the positioning information of the vehicle, such as Figure 3 As shown, the plane passing through the center of mass P of the vehicle and perpendicular to the driving direction of the vehicle is the body boundary of the vehicle.
[0066] In the embodiment of the present invention, the vehicle spatial coordinate system xyz takes the vehicle's center of mass P as its origin, the vehicle's driving direction is the x-axis, the vehicle's center of mass P pointing upward is the z-axis, and the left side of the vehicle's driving direction that is perpendicular to the xz plane is the y-axis.
[0067] Step S202, determining the distance to be traveled by the vehicle within a preset time period according to the speed information of the vehicle.
[0068] In an embodiment of the present invention, the speed information of the vehicle includes the current vehicle speed v. According to the current vehicle speed and the preset time t, the distance to be traveled s of the vehicle is determined to be = the current vehicle speed v*the preset time t; wherein the preset time t can be determined according to the decision frequency f, the preset time t=1 / f, for example, the decision frequency f is 10 Hz, and the preset time t=1 / 10 Hz=0.1s.
[0069] Furthermore, the distance s to be traveled of the vehicle is determined according to the current vehicle speed v, the preset time t and the number of experiences n, and the distance s to be traveled of the vehicle is determined as follows: the distance s to be traveled of the vehicle = the current vehicle speed v*the preset time t*the number of experiences n.
[0070] Step S203, determining the planned boundary of the vehicle according to the distance to be traveled and the boundary of the vehicle body.
[0071] In the embodiment of the present invention, Figure 3 As shown, along the driving direction of the vehicle, the plane obtained by accumulating the distance to be driven on the basis of the vehicle body boundary is the planned boundary of the vehicle.
[0072] Step S204, determining a target planning range according to the vehicle body boundary, lane boundary and planning boundary.
[0073] In an embodiment of the present invention, the lane boundary includes two side boundaries, namely, the left lane boundary and the right lane boundary along the driving direction of the vehicle. The area enclosed by the vehicle body boundary, the left lane boundary, the right lane boundary and the planning boundary is the target planning range; the lane boundary is a plane passing through the left lane and the right lane respectively and parallel to the xz plane.
[0074] Furthermore, after determining the target planning range, only multiple obstacles within the target planning range are analyzed, and obstacles that are spatially far from the vehicle or behind the vehicle are filtered out.
[0075] In an embodiment of the present invention, through the method for determining the target planning range of the present invention, the target planning range of the obstacle can be determined, and then a decision can be made based on multiple obstacles within the target planning range at a single time to determine the driving path of the vehicle within the target planning range. There is no need to traverse multiple obstacles multiple times, which reduces the system calculation amount, reduces the number of path planning times, and improves the path planning efficiency of the system.
[0076] Step S103, determining obstacle contours of a plurality of obstacles within the target planning range according to the obstacle information in the environmental information.
[0077] In the embodiment of the present invention, based on the obstacle information of the vehicle, a plurality of point cloud frame data corresponding to the obstacles within the target planning range are aggregated to determine a plurality of obstacle contours.
[0078] In the embodiment of the present invention, the corner points of the obstacle determined by the plurality of point cloud frame data are sequentially constructed into a convex polygon, and the obstacle contour is determined according to the obstacle polygon.
[0079] Step S104: Aggregate the multiple obstacle contours to obtain an aggregated obstacle contour.
[0080] In an embodiment of the present invention, after determining the obstacle contours of multiple obstacles, a comparison is made based on the spacing between the obstacle contours and the vehicle travel distance, and at least two target obstacle contours through which vehicles cannot pass are aggregated into a single aggregated obstacle contour, thereby reducing the amount of system calculations and improving planning efficiency.
[0081] In the embodiment of the present invention, Figure 4 As shown, the method for determining the profile of a polymer obstacle of the present invention includes:
[0082] Step S401: determining a first distance between every two obstacle contours among a plurality of obstacle contours.
[0083] In the embodiment of the present invention, a first distance between every two obstacle polygons in a plurality of obstacles is calculated according to edge points of the obstacle polygons.
[0084] Step S402: Compare the first spacing with the vehicle travel distance to obtain at least two target obstacle contours whose first spacing is smaller than the vehicle travel distance.
[0085] In the embodiment of the present invention, the vehicle body size information includes the vehicle body width, vehicle body length, vehicle body height, etc. w and preset safety distance d s , determine the vehicle travel distance s c ; Among them, the vehicle travel distance s c = vehicle body width c w +Preset safety distance d s .
[0086] Step S403: determining a set of intermediate obstacle contours according to at least two target obstacle contours.
[0087] In an embodiment of the present invention, at least two target obstacle contours include at least two obstacle polygons, and the at least two obstacle polygons are combined to obtain a multipolyon, that is, a set of intermediate obstacle contours; wherein, the at least two polygons can be combined to obtain the multipolyon by means of multi-component geometric operations.
[0088] Step S404: Optimize the intermediate obstacle contour set using the minimum convex hull algorithm to obtain an aggregated obstacle contour.
[0089] In the embodiment of the present invention, the set of intermediate obstacle contours obtained by aggregating the target obstacle contours determined according to the vehicle travel distance is actually a set of multiple obstacles between which vehicles cannot pass, and is not a polygon in the strict sense. Vehicles cannot pass through the interior and edge of the multipolygon.
[0090] In the embodiment of the present invention, since the set of intermediate obstacle contours is not a polygon in the strict sense, they need to be connected and fused, and the multipolygon is optimized using the minimum convex hull algorithm to determine the final large polygon and obtain the optimized polygon, i.e., the aggregated obstacle contour; wherein the vehicle cannot reach the coverage area of the polygon.
[0091] In an embodiment of the present invention, through the method for determining the aggregated obstacle contour of the present invention, multiple obstacles within the target planning range can be aggregated, and the final aggregated obstacle contour can be determined after optimization using the minimum convex hull algorithm. There is no need to traverse multiple obstacles multiple times, and the aggregated obstacle contours of multiple obstacles can be determined by a single traversal, which reduces the amount of system calculations, reduces the number of path planning times, and improves the path planning efficiency of the system. At the same time, it prevents the phenomenon of being trapped by obstacles multiple times in a short period of time, ensures smooth driving of the vehicle, improves the operating efficiency of the vehicle, shortens the operating time of the vehicle, and reduces operating costs.
[0092] Step S105: determining a driving path of the vehicle according to the aggregated obstacle contours.
[0093] In the embodiment of the present invention, after the aggregated obstacle contour is determined, the driving path of the vehicle within the target planning range is determined according to the accommodation space between the aggregated obstacle contour and the lane boundary and other obstacles.
[0094] In the embodiment of the present invention, Figure 5 As shown, the method for determining the driving path of a vehicle based on the aggregated obstacle profile according to the first embodiment of the present invention includes:
[0095] Step S501 : respectively determining a plurality of second distances between a plurality of endpoints of the aggregated obstacle contour and the lane boundaries on both sides.
[0096] In an embodiment of the present invention, a perpendicular line is drawn from each end point of the aggregated obstacle contour to the left lane boundary to determine a second distance between each end point and the left lane boundary; and a perpendicular line is drawn from each end point of the aggregated obstacle contour to the right lane boundary to determine a second distance between each end point and the right lane boundary.
[0097] Step S502: Compare the second distance with the vehicle travel distance.
[0098] In the embodiment of the present invention, for each end point of the aggregated obstacle contour, the second distance between the end point and the right lane boundary is compared with the vehicle travel distance.
[0099] Step S503: When the second distance is greater than the vehicle travel distance, the lane boundary side corresponding to the second distance is used as the driving path of the vehicle.
[0100] In an embodiment of the present invention, for each endpoint of the aggregated obstacle contour, when its second spacing to the left lane boundary is greater than the vehicle travel distance, the left side corresponding to the left lane boundary along the vehicle travel direction can be used as the vehicle's travel path; when its second spacing to the right lane boundary is greater than the vehicle travel distance, the right side corresponding to the right lane boundary along the vehicle travel direction can be used as the vehicle's travel path; when its second spacing to both side boundaries is greater than the vehicle travel distance, both sides along the vehicle travel direction can be used as the vehicle's travel path.
[0101] Step S504, determining an optimal vehicle driving path according to the paths between the endpoints of the aggregated obstacle contour and the lane boundaries on both sides.
[0102] In the embodiment of the present invention, since there may be multiple driving possibilities for the endpoints of the aggregated obstacle contour, an optimal vehicle driving path can be determined based on all the endpoints of the aggregated obstacle contour and according to the comparison result of the second distance of each endpoint relative to the two side boundaries and the vehicle travel distance.
[0103] In the embodiment of the present invention, Figure 6 As shown, the method for determining the driving path of a vehicle based on the aggregated obstacle profile according to the second embodiment of the present invention includes:
[0104] Step S601: Determine other obstacle contours except the aggregated obstacle contour within the target planning range.
[0105] Step S602, determine whether there are other obstacle contours between the multiple endpoints of the aggregated obstacle contour and the lane boundaries on both sides. If yes, go to step S603; if not, go to step S606.
[0106] Step S603: determining a third distance between the endpoint of the aggregated obstacle contour and other obstacle contours.
[0107] Step S604, comparing the third distance with the vehicle travel distance.
[0108] In the embodiment of the present invention, for each end point of the aggregated obstacle contour, the second distance between the end point and the right lane boundary is compared with the vehicle travel distance.
[0109] Step S605, when the third spacing is greater than the vehicle travel distance, the path between the endpoint of the aggregated obstacle contour and other obstacle contours is used as the vehicle travel path, and then go to step S609.
[0110] In the embodiment of the present invention, for the endpoint of the aggregated obstacle contour, when the third distance between the endpoint and other obstacle contours is greater than the vehicle travel distance, the path between the endpoint of the aggregated obstacle contour and other obstacle contours can be used as the vehicle travel path.
[0111] Step S606, determining a fourth distance between the endpoint of the aggregated obstacle contour and the lane boundary.
[0112] Step S607, comparing the fourth distance with the vehicle travel distance.
[0113] Step S608, when the fourth spacing is greater than the vehicle travel distance, the path between the endpoints of the aggregated obstacle contour and the lane boundary is used as the vehicle's travel path, and the process goes to step S609.
[0114] In the embodiment of the present invention, for the endpoints of the aggregated obstacle contour, when the fourth distance between the endpoints and the lane boundary is greater than the vehicle travel distance, the path between the endpoints of the aggregated obstacle contour and the lane boundary can be used as the vehicle travel path.
[0115] Step S609, determining the optimal vehicle driving path according to the paths between the endpoints of the aggregated obstacle contours and other obstacle contours and lane boundaries.
[0116] In the embodiment of the present invention, since there may be multiple driving possibilities for the endpoints of the aggregated obstacle contours, an optimal vehicle driving path can be determined based on all the endpoints of the aggregated obstacle contours and according to the comparison results of the third spacing and the fourth spacing of each endpoint relative to other obstacle contours and lane boundaries and the vehicle travel distance.
[0117] In an embodiment of the present invention, when the distance between the aggregated obstacle outline and the lane boundary and other obstacles is less than the vehicle's travel distance, it is determined whether other lanes are passable. If other lanes are passable, the driving paths of other lanes are determined; if other lanes are impassable, a waiting instruction is issued to the vehicle.
[0118] In an embodiment of the present invention, through the method for determining the vehicle driving path based on the aggregated obstacle contour of the present invention, a single traversal can determine the optimal vehicle driving path within the target planning range, reducing the system calculation amount, reducing the number of path planning times, and improving the system's path planning efficiency. At the same time, it prevents the phenomenon of being trapped by obstacles multiple times in a short period of time, ensures smooth driving of the vehicle, improves the vehicle's operating efficiency, shortens the vehicle's operating time, and reduces operating costs.
[0119] In an embodiment of the present invention, by acquiring vehicle information and vehicle environmental information; determining a target planning range corresponding to the vehicle according to the vehicle information; determining obstacle contours of multiple obstacles within the target planning range according to obstacle information in the environmental information; aggregating multiple obstacle contours to obtain an aggregated obstacle contour; determining a driving path of the vehicle according to the aggregated obstacle contour, etc., it is possible to determine the aggregated obstacle contours of multiple obstacles within the target planning range in a single traversal when there are many obstacles in front of the autonomous driving vehicle, and determine the optimal driving path of the autonomous driving vehicle according to the aggregated obstacle contour, without having to traverse multiple obstacles multiple times, thereby reducing the amount of system calculations, reducing the number of path planning times, and improving the path planning efficiency of the system, and preventing the phenomenon of being trapped by obstacles multiple times in a short period of time, thereby improving driving safety while ensuring smooth driving of the vehicle, improving the operating efficiency of the vehicle, shortening the operating time of the vehicle, and reducing operating costs.
[0120] Figure 7 is a schematic diagram of main modules of a device for determining a vehicle driving path according to an embodiment of the present invention, such as Figure 7 As shown, the vehicle driving path determination device 700 of the present invention includes:
[0121] The acquisition module 701 is used to acquire vehicle information and vehicle environment information.
[0122] In the embodiment of the present invention, the acquisition module 701 is used to acquire vehicle information and vehicle environment information through sensors installed on the vehicle. Vehicle information includes vehicle positioning information, speed information, vehicle body size information, etc.; wherein, the acquisition module 701 can respectively acquire vehicle positioning information and speed information through the position sensor and vehicle speed sensor installed on the vehicle. Vehicle environment information includes obstacle information, lane boundaries, etc.; wherein, the acquisition module 701 can acquire vehicle obstacle information, lane boundaries, etc. through the laser radar sensor installed on the vehicle.
[0123] The range limiting module 702 is used to determine the target planning range corresponding to the vehicle according to the vehicle information.
[0124] In the embodiment of the present invention, when determining the driving path of the vehicle, only the multiple obstacles that affect the driving of the vehicle within the preset range in front of the vehicle are analyzed, and obstacles far away from the vehicle or behind the vehicle are not considered. The preset range is the target planning range. The range limiting module 702 determines the target planning range according to the positioning information, speed information and lane boundary of the vehicle.
[0125] The data processing module 703 is used to determine the obstacle contours of multiple obstacles within the target planning range according to the obstacle information in the environmental information.
[0126] In the embodiment of the present invention, the data processing module 703 aggregates a plurality of point cloud frame data corresponding to obstacles within the target planning range according to the obstacle information of the vehicle, and determines a plurality of obstacle contours.
[0127] In the embodiment of the present invention, the data processing module 703 sequentially constructs a convex polygon from the corner points of the obstacle determined by the plurality of point cloud frame data, and determines the obstacle contour according to the obstacle polygon.
[0128] The aggregation module 704 is configured to aggregate the plurality of obstacle contours to obtain an aggregated obstacle contour.
[0129] In an embodiment of the present invention, after determining the obstacle contours of multiple obstacles, the aggregation module 704 compares the distance between the obstacle contours and the vehicle travel distance, and aggregates at least two target obstacle contours between which vehicles cannot pass into a single aggregated obstacle contour, thereby reducing the system calculation amount and improving planning efficiency.
[0130] The path determination module 705 is used to determine the driving path of the vehicle according to the aggregated obstacle contour.
[0131] In the embodiment of the present invention, after determining the aggregated obstacle contour, the path determination module 705 determines the driving path of the vehicle within the target planning range according to the accommodation space between the aggregated obstacle contour and the lane boundary and other obstacles.
[0132] In an embodiment of the present invention, through modules such as an acquisition module, a range limitation module, a data processing module, an aggregation module and a path determination module, when there are many obstacles in front of the autonomous driving vehicle, a single traversal can be used to determine the aggregated obstacle contours of multiple obstacles within the target planning range, and the optimal driving path of the autonomous driving vehicle can be determined based on the aggregated obstacle contours, without having to traverse multiple obstacles multiple times, thereby reducing the amount of system calculations, reducing the number of path planning times, and improving the path planning efficiency of the system. In addition, it prevents the phenomenon of being trapped by obstacles multiple times in a short period of time, improves driving safety, and ensures smooth driving of the vehicle, thereby improving the vehicle's operating efficiency, shortening the vehicle's operating time, and reducing operating costs.
[0133] Figure 8 An exemplary system architecture diagram of a method for determining a vehicle driving path or an apparatus for determining a vehicle driving path suitable for application in an embodiment of the present invention is shown. Figure 8 As shown, an exemplary system architecture of a method for determining a vehicle driving path or an apparatus for determining a vehicle driving path according to an embodiment of the present invention includes:
[0134] like Figure 8As shown, the system architecture 800 may include a vehicle sensor 801, a camera 802, a network 803, and a server 804. The network 803 is used to provide a medium for a communication link between the sensor 801, the camera 802, and the server 804. The network 803 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0135] Sensor 801 and camera 802 can interact with server 804 through network 803 to receive or send messages, etc. Server 804 can be installed with various communication client applications, such as route planning applications, shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0136] The server 804 may be a server that provides various services, such as a background management server that provides support for the data sent by the sensor 801 and the camera 802. The background management server may analyze and process the received sensor parameter data, camera image data, and other data, and determine the processing result (such as the target driving path).
[0137] It should be noted that the method for determining the vehicle driving path provided in the embodiment of the present invention is generally executed by the server 804 , and accordingly, the device for determining the vehicle driving path is generally disposed in the server 804 .
[0138] It should be understood that Figure 8 The number of sensors, cameras, networks and servers in the embodiment is only for illustration. Any number of sensors, cameras, networks and servers may be provided as required.
[0139] Fig. 9 is a schematic diagram of a computer system of a terminal device or server suitable for implementing an embodiment of the present invention, such as Fig. 9 As shown, the computer system 900 of the terminal device or server of the embodiment of the present invention includes:
[0140] A central processing unit (CPU) 901 can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage section 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0141] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.
[0142] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.
[0143] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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), an optical fiber, 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 the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0144] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. 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.
[0145] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be set in a processor. For example, they may be described as: a processor including an acquisition module, a range limitation module, a data processing module, an aggregation module, and a path determination module. The names of these modules do not, in some cases, constitute limitations on the modules themselves. For example, the aggregation module may also be described as a "module for aggregating multiple obstacle contours to obtain an aggregated obstacle contour."
[0146] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: obtaining vehicle information and vehicle environmental information; determining the target planning range corresponding to the vehicle according to the vehicle information; determining the obstacle contours of multiple obstacles within the target planning range according to the obstacle information in the environmental information; aggregating the multiple obstacle contours to obtain an aggregated obstacle contour; and determining the driving path of the vehicle according to the aggregated obstacle contour.
[0147] Existing autonomous driving planning technology uses optimized tracing to determine the feasibility of bypassing each obstacle in front of the vehicle, and determines whether the vehicle is passable based on the intersection of the vehicle's driving trajectory and the obstacle outline. Since it is necessary to optimize tracing for each obstacle independently, the obstacles are traversed multiple times and then divided to determine multiple bypass solutions for the nearest obstacle in front. When facing multiple obstacles in front of the vehicle, the existing planning technology requires a lot of computation when the server optimizes the tracing process. Some obstacles have multiple bypass possibilities, such as left and right. The safety and driving efficiency of each bypass method are different, so the tracing method may not necessarily determine the safest and most efficient driving path.
[0148] According to the technical solution of the embodiment of the present invention, when facing multiple obstacles in front of the vehicle, the multiple obstacles obtained in the current point cloud frame are aggregated, the detour feasibility and the size of the detour space at the current time and on the current path within the target planning range are predicted in advance, and the optimal vehicle driving path is determined, which can reduce the vehicle planning frequency.
[0149] According to the technical solution of the embodiments of the present invention, when there are many obstacles ahead of the autonomous driving vehicle, the aggregated obstacle contours of multiple obstacles within the target planning range can be determined in a single traversal, and the optimal driving path of the autonomous driving vehicle can be determined based on the aggregated obstacle contours, without having to traverse multiple obstacles multiple times, thereby reducing the amount of system calculations, reducing the number of path planning times, and improving the path planning efficiency of the system. In addition, it prevents the phenomenon of being trapped by obstacles multiple times in a short period of time, thereby improving driving safety while ensuring smooth driving of the vehicle, improving the vehicle's operating efficiency, shortening the vehicle's operating time, and reducing operating costs.
[0150] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for determining a vehicle driving path, characterized in that: include: Acquire vehicle information and vehicle environment information; the vehicle information includes positioning information and speed information of the vehicle; The environmental information also includes lane boundaries; the lane boundaries include boundaries on both sides; Determine the target planning range corresponding to the vehicle according to the vehicle information, including: determine the center of mass of the vehicle according to the positioning information of the vehicle, and use the plane passing through the center of mass of the vehicle and perpendicular to the driving direction of the vehicle as the body boundary of the vehicle; determine the distance to be traveled of the vehicle within a preset time according to the speed information of the vehicle; along the driving direction of the vehicle, add the plane of the distance to be traveled on the basis of the body boundary as the planning boundary of the vehicle; use the area surrounded by the body boundary of the vehicle, the boundaries on both sides of the lane boundary and the planning boundary as the target planning range; Determining obstacle contours of a plurality of obstacles within the target planning range according to obstacle information in the environmental information; Aggregating the plurality of obstacle contours to obtain an aggregated obstacle contour; Determining the driving path of the vehicle according to the aggregated obstacle contour includes: respectively determining a plurality of second distances between a plurality of end points of the aggregated obstacle contour and the lane boundaries on both sides; determining the driving path of the vehicle according to the plurality of the second distances; The method further comprises: Within the target planning range, determine whether there are other obstacle contours between the multiple endpoints of the aggregated obstacle contour and the lane boundaries on both sides. If so, determine the third distance between the endpoints of the aggregated obstacle contour and the other obstacle contours; when the third distance is greater than the vehicle's travel distance, use the path between the endpoints of the aggregated obstacle contour and the other obstacle contours as the vehicle's driving path.
2. The method according to claim 1, characterized in that The step of aggregating the plurality of obstacle contours to obtain an aggregated obstacle contour comprises: Determining a first distance between every two obstacle contours in a plurality of the obstacle contours; Comparing the first spacing with the vehicle travel distance, obtaining at least two target obstacle contours whose first spacing is smaller than the vehicle travel distance; The at least two target obstacle contours are aggregated to determine the aggregated obstacle contour.
3. The method according to claim 2, characterized in that Aggregating the at least two target obstacle contours to determine the aggregated obstacle contour includes: Obtaining a set of intermediate obstacle contours according to the at least two target obstacle contours; The intermediate obstacle contour set is optimized using a minimum convex hull algorithm to obtain the aggregated obstacle contour.
4. The method according to claim 1, characterized in that: The determining, according to the vehicle information, a target planning range corresponding to the vehicle includes: Determine the vehicle body boundary of the vehicle and the distance to be traveled by the vehicle within a preset time period according to the positioning information and the speed information; The target planning range is determined according to the vehicle body boundary, the lane boundary and the distance to be traveled.
5. The method according to claim 1, characterized in that The step of determining the driving path of the vehicle according to the plurality of the second intervals comprises: Compare the minimum second spacing with the vehicle travel distance; When the minimum second distance is greater than the vehicle travel distance, the lane boundary side corresponding to the minimum second distance is used as the driving path of the vehicle.
6. The method according to claim 2 or 5, characterized in that: The vehicle information also includes the vehicle body width; wherein: The vehicle travel distance is determined according to the vehicle body width and a preset safety distance.
7. A device for determining a vehicle driving path, characterized in that: include: An acquisition module, used to acquire vehicle information and vehicle environment information; A range limiting module, used to determine a target planning range corresponding to the vehicle according to the vehicle information; Determining the target planning range corresponding to the vehicle according to the vehicle information includes: determining the center of mass of the vehicle according to the positioning information of the vehicle, and taking the plane passing through the center of mass of the vehicle and perpendicular to the driving direction of the vehicle as the body boundary of the vehicle; determining the distance to be traveled of the vehicle within a preset time according to the speed information of the vehicle; accumulating the plane of the distance to be traveled on the basis of the body boundary along the driving direction of the vehicle as the planning boundary of the vehicle; taking the area surrounded by the body boundary of the vehicle, the boundaries on both sides of the lane boundary and the planning boundary as the target planning range; A data processing module, configured to determine obstacle contours of a plurality of obstacles within the target planning range according to obstacle information in the environmental information; An aggregation module, used for aggregating the plurality of obstacle contours to obtain an aggregated obstacle contour; A path determination module, configured to determine the driving path of the vehicle according to the aggregated obstacle contour; wherein the environmental information further includes lane boundaries; the lane boundaries include boundaries on both sides; the determining the driving path of the vehicle according to the aggregated obstacle contour comprises: respectively determining a plurality of second distances between a plurality of end points of the aggregated obstacle contour and the lane boundaries on both sides; and determining the driving path of the vehicle according to the plurality of second distances; The path determination module is also used to determine whether there are other obstacle contours between the multiple endpoints of the aggregated obstacle contour and the lane boundaries on both sides within the target planning range. If so, determine the third distance between the endpoints of the aggregated obstacle contour and the other obstacle contours; when the third distance is greater than the vehicle's travel distance, use the path between the endpoints of the aggregated obstacle contour and the other obstacle contours as the vehicle's driving path.
8. An electronic device for determining a vehicle's driving path, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Unmanned automobile obstacle avoidance system and method based on 3D camera
CN106394555A
Self-piloting automobile based on V2X, and auto-driving vehicle method and device based on V2X
CN109828571A
Obstacle avoidance method for unmanned vehicle
CN110979321A
Local path planning method and device for unmanned vehicle, equipment and medium
CN111552284A
Path planning method and device, equipment and storage medium
CN112325898A
