Path planning method and device

By dividing the mine caliber paths into forward and reverse car paths in the open-pit mine loading area and performing splicing and smoothing treatment, the problems of low path planning accuracy and insufficient adaptability in narrow scenarios are solved, and more efficient and safe mine caliber is achieved Path planning.

CN119043357APending Publication Date: 2024-11-29EACON TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411155344.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The mine calorie path planning in the loading area of ​​the open-pit mine has problems such as low path planning accuracy, uncontrollable length of the commutation path, and insufficient adaptability in narrow scenarios.

Method used

By obtaining the initial path information, dividing it into a collection of key points that are the starting point and the end point, forward and reverse sub-paths are generated, and splicing and smoothing are performed to generate the target planning path.

Benefits of technology

It improves the accuracy and adaptability of path planning, ensures the optimization of path length and turning radius, reduces collision risks and operating personnel burdens, and improves operating efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119043357A_ABST
    Figure CN119043357A_ABST
Patent Text Reader

Abstract

The invention discloses a path planning method and device. The method relates to the technical field of automatic driving and comprises the steps that initial path information is acquired, the initial path information at least comprises a first key point set and a second key point set, the first key point set comprises a starting point of a target planning path, and the second key point set comprises an end point of the target planning path; generating a first sub-path based on the first key point set, and generating a second sub-path based on the second key point set; splicing the first sub-path and the second sub-path to generate a reference path; and smoothing the reference path to obtain a target planning path. According to the invention, the technical problem of low accuracy of vehicle path planning in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a path planning method and device. Background Art

[0002] In the field of mining truck path planning in the loading area of ​​open-pit mines, it is currently usually necessary to obtain key points and loading area boundary information from the map editing platform to plan safe and controllable mining truck paths. However, these traditional methods have problems such as uncontrollable switching path length, insufficient adaptability to narrow scenes, and deviations in the end points of mining truck paths, resulting in low planning accuracy for vehicle path planning.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a path planning method and device to at least solve the technical problem of low accuracy of path planning for a vehicle in the related art.

[0005] According to one aspect of an embodiment of the present invention, a path planning method is provided, comprising: obtaining initial path information, wherein the initial path information includes at least a first key point set and a second key point set, the first key point set includes a starting point of a target planning path, and the second key point set includes an end point of the target planning path; generating a first sub-path based on the first key point set, and generating a second sub-path based on the second key point set; splicing the first sub-path and the second sub-path to generate a reference path; and smoothing the reference path to obtain the target planning path.

[0006] According to another aspect of an embodiment of the present invention, a path planning device is also provided, including: an acquisition module, used to acquire initial path information, wherein the initial path information at least includes a first key point set and a second key point set, the first key point set includes the starting point of the target planning path, and the second key point set includes the end point of the target planning path; a first generation module, used to generate a first sub-path based on the first key point set, and to generate a second sub-path based on the second key point set; a second generation module, used to splice the first sub-path and the second sub-path to generate a reference path; and a smoothing module, used to smooth the reference path to obtain the target planning path.

[0007] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the method in each embodiment of the present invention is executed when the program is running.

[0008] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.

[0009] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.

[0010] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.

[0011] According to another aspect of the embodiments of the present invention, a computer program is further provided. When the computer program is executed by a processor, the methods in the embodiments of the present invention are implemented.

[0012] In an embodiment of the present invention, the initial path information is obtained, wherein the initial path information at least includes a first key point set and a second key point set, the first key point set includes the starting point of the target planning path, and the second key point set includes the end point of the target planning path; based on the first key point set, a first sub-path is generated, and based on the second key point set, a second sub-path is generated; the first sub-path and the second sub-path are spliced ​​to generate a reference path; the reference path is smoothed to obtain the target planning path. It is easy to notice that by dividing the path information into different key information sets and generating corresponding sub-paths based on corresponding key point sets, the path planning is made more targeted and flexible, and the planning accuracy of the sub-paths can be improved. Secondly, by smoothing the spliced ​​reference path, the planned path can be optimized, and the purpose of accurate vehicle path planning is achieved, thereby achieving the technical effect of improving the accuracy of vehicle path planning, and thus solving the technical problem of low accuracy of vehicle path planning in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0014] Figure 1 is a flow chart of a path planning method according to an embodiment of the present invention;

[0015] Figure 2is a schematic diagram of an optional reference path including a switching path according to an embodiment of the present invention;

[0016] Figure 3 is a schematic diagram of an optional reference path that does not include a switching path according to an embodiment of the present invention;

[0017] Figure 4 is a flow chart of an optional path planning method according to an embodiment of the present invention;

[0018] Figure 5 is a schematic diagram of a path planning device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0021] According to an embodiment of the present invention, a path planning method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0022] Figure 1 is a flow chart of a path planning method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0023] Step S102, obtaining initial path information, wherein the initial path information at least includes a first key point set and a second key point set, the first key point set includes a starting point of the target planning path, and the second key point set includes an end point of the target planning path.

[0024] The above-mentioned initial path information is the information entered by the user in the map editing platform before the user needs to plan the path for the vehicle. It can reflect the driving path information of vehicles of different sizes or types in different operating areas. For example, it can include but is not limited to: the starting point of the path, the end point of the path, each waypoint in the path, and the distance between the starting point and the end point of the path. Based on the initial path information, a path can be generated so that the vehicle can travel along the generated path. The above-mentioned target planning path can be an optimized path that enables the vehicle to travel safely and efficiently. The above-mentioned vehicle can be any vehicle that can travel based on the generated path. For example, the type of vehicle can include but is not limited to: a passenger car, a truck, and a car. The specific type can be set by the user according to the actual use needs. In this embodiment, a truck (for example, a mining truck, referred to as a mining truck) is used as an example for explanation, but it is not limited to this. Among them, the truck can be an automatic driving vehicle or a human-driven vehicle, but it is not limited to this. The above-mentioned first key point set can include only the starting point, and can also include the starting point and the waypoint. The above-mentioned second key point set can include only the end point, and can also include the waypoint and the end point.

[0025] In an optional embodiment, in the path planning of the mining truck (i.e., vehicle) in the loading area (i.e., the working area) of the open-pit mine, there is a technical problem of inaccurate path planning, which has a great impact on the driving safety and working efficiency of the mining truck. In order to solve the above technical problems, when performing path planning in the embodiment of the present invention, first, the user can input or the system automatically generates initial path information in the map editing platform, wherein the initial path information contains at least a first key point set and a second key point set, wherein the first key point set can only include the starting point of the target planning path, and can also include the starting point and the waypoint, and the second key point set can only include the end point of the target planning path, and can also include the waypoint and the end point. Based on the first key point set and the second key point set, the path of the mining truck can be planned more accurately, thereby improving the driving safety and working efficiency of the vehicle.

[0026] Step S104: Generate a first sub-path based on the first key point set, and generate a second sub-path based on the second key point set.

[0027] The first sub-path may be a driving path of the mining truck including a starting point, such as a forward driving path. The second sub-path may be a driving path of the mining truck including a terminal, such as a reverse driving path or a forward driving path including a terminal.

[0028] In an optional embodiment, when the initial path information is obtained, the first sub-path can be generated based on the first key point set in the initial path information. For example, when it is determined that the vehicle will not start from the starting point and move forward (i.e., when the first type of waypoint is empty), the first sub-path can be determined to be the starting point of the target planning path. For another example, when it is determined that the vehicle will start from the starting point and move forward, the starting point and the first type of waypoint contained in the first key point set can be input into the path generation model, and the first sub-path can be obtained. For another example, when it is determined that the vehicle will start from the starting point and move forward, the path planning algorithm can be used to calculate the starting point and the first type of waypoint in the first key point set, and the first sub-path can be obtained. For another example, when it is determined that the vehicle will start from the starting point and move forward, in order to ensure that the driving direction of the vehicle will not change when moving forward, the first insertion point can be inserted at the front position of the starting point direction based on the starting point direction, wherein the direction of the first insertion point is the same as the starting point direction, and then the starting point, the first insertion point and the forward first type of waypoint are connected in sequence, and the first sub-path can be obtained.

[0029] In another optional embodiment, when the initial path information is obtained, the second sub-path can also be generated based on the second key point set in the initial path information. For example, when it is determined that the vehicle will not travel toward the end point (i.e., when the second type of waypoint is empty), the second sub-path can be determined to be the end point of the target planning path. For another example, when it is determined that the vehicle will travel toward the end point, the second type of waypoints and the end point contained in the second key point set can be input into the path generation model, and the second sub-path can be obtained. For another example, when it is determined that the vehicle will travel toward the end point, the second type of waypoints and the end point in the second key point set can be calculated using the path planning algorithm, and the second sub-path can be obtained. For another example, when it is determined that the vehicle will travel toward the end point, in order to ensure that the driving direction of the vehicle will not change when traveling toward the end point, the direction of the second insertion point is the same as the direction of the end point, and the position of the second insertion point is behind the direction of the end point, and then the starting point of the second sub-path in the second key point set, the second type of waypoints and the end point of the target planning path can be connected in sequence to obtain the second sub-path.

[0030] It should be noted that the first type of waypoints are the waypoints that the vehicle will pass through when driving forward from the starting point in the first sub-path, and the second type of waypoints are the waypoints that the vehicle will pass through when driving toward the end point in the second sub-path.

[0031] Step S106: concatenate the first sub-path and the second sub-path to generate a reference path.

[0032] The reference path mentioned above may be a driving path of the vehicle which is obtained by splicing the first sub-path and the second sub-path and has not been optimized.

[0033] In an optional embodiment, when the first sub-path and the second sub-path are obtained, the first sub-path and the second sub-path may be directly spliced, that is, a reference path may be generated.

[0034] In another optional embodiment, when the first sub-path and the second sub-path are obtained, in order to ensure the driving safety and driving efficiency of the vehicle, it can also be determined whether there is a reversing path. If there is a reversing path, the first sub-path, the reversing path and the second sub-path can be sequentially spliced ​​to generate a reference path. The reversing path is used to change the driving direction of the vehicle for transition, so that the vehicle can safely and efficiently change from the forward direction to the reverse direction.

[0035] Step S108, smoothing the reference path to obtain a target planning path.

[0036] In an optional embodiment, in order to ensure a smooth transition of the generated target planning path at the junction, when a reference path is obtained, the reference path can be smoothed, that is, the target planning path can be obtained. Based on the target planning path, the vehicle can achieve efficient and safe driving operations in the operating area.

[0037] It should be noted that the reference path can be smoothed by an optimization smoothing method, which is a discrete point smoothing method. The objective function is the sum of the smoothness cost, the length cost, and the original point offset cost. The constraints are the position constraint, the curvature constraint, and the orientation constraint of the start and end points.

[0038] In an embodiment of the present invention, the initial path information is obtained, wherein the initial path information at least includes a first key point set and a second key point set, the first key point set includes the starting point of the target planning path, and the second key point set includes the end point of the target planning path; based on the first key point set, a first sub-path is generated, and based on the second key point set, a second sub-path is generated; the first sub-path and the second sub-path are spliced ​​to generate a reference path; the reference path is smoothed to obtain the target planning path. It is easy to notice that by dividing the path information into different key information sets and generating corresponding sub-paths based on corresponding key point sets, the path planning is made more targeted and flexible, and the planning accuracy of the sub-paths can be improved. Secondly, by smoothing the spliced ​​reference path, the planned path can be optimized, and the purpose of accurate vehicle path planning is achieved, thereby achieving the technical effect of improving the accuracy of vehicle path planning in the related technology, and then solving the technical problem of low accuracy of vehicle path planning in the related technology.

[0039] Furthermore, based on the first key point set, a first sub-path is generated, including: generating a first insertion point along the orientation direction of the starting point; wherein the orientation of the first insertion point is the same as the orientation of the starting point, or the difference between the orientation of the first insertion point and the orientation of the starting point is less than a first difference threshold; generating the first sub-path at least based on the starting point and the first insertion point.

[0040] The above-mentioned first insertion point is used to ensure that the forward driving direction of the vehicle from the starting point does not change. The specific number can be set by the user according to the actual path planning requirements, and is not limited in this embodiment. For example, it can be one or two, but not limited to this. The above-mentioned first difference threshold can be set in advance by the user, which can ensure the maximum threshold for safe and efficient turning during the forward driving of the vehicle from the starting point. When the difference between the direction of the first insertion point and the direction of the starting point is greater than or equal to the first difference threshold, it can indicate that the vehicle cannot turn safely and efficiently. Among them, the specific angle value of the first difference threshold can be set by the user according to the size and type of the vehicle, as well as the specific path planning requirements, and is not specifically limited in this embodiment.

[0041] Furthermore, the distance between the position of the first insertion point and the starting point is determined based on the turning radius of the vehicle, and the distance between the position of the first insertion point and the starting point is greater than the accuracy value of the pure tracking algorithm and less than the distance between the last first-class waypoint in the first subpath and the starting point.

[0042] In an optional embodiment, when the initial path information is obtained, the starting point position and the starting point orientation in the first key point set can be determined first, and then the first insertion point can be inserted at a certain distance from the starting point position along the orientation direction of the starting point, wherein the orientation of the first insertion point is the same as the orientation of the starting point, and then the first sub-path can be generated based on at least the starting point and the first insertion point. For example, at least the starting point and the first insertion point can be directly connected to generate the first sub-path. For another example, after at least the starting point and the first insertion point are connected to obtain the first reference path, the first reference path can be smoothed to generate the first sub-path, but it is not limited to this.

[0043] In another optional embodiment, when the initial path information is obtained, the starting point position and the starting point orientation in the first key point set can be determined first, and then based on the starting point orientation and the first difference threshold, a first insertion point can be inserted at a certain distance from the starting point position, wherein the orientation of the first insertion point is different from the orientation of the starting point, but the difference between the orientation of the first insertion point and the orientation of the starting point is less than the first difference threshold, and then a first sub-path can be generated at least based on the starting point and the first insertion point. For example, at least the starting point and the first insertion point can be directly connected to generate the first sub-path. For another example, after at least the starting point and the first insertion point are connected to obtain a first reference path, the first reference path can be smoothed to generate the first sub-path, but it is not limited to this.

[0044] The above-mentioned pure tracking algorithm is an algorithm used to control a robot or self-driving car to travel on a known path. It is mainly used for vehicle path tracking to ensure that the vehicle travels along a predetermined path while maintaining a stable speed and direction. Among them, the accuracy of the pure tracking algorithm is usually determined by comparing the error between its tracking result and the true target position. This can usually be evaluated by calculating the average error, maximum error, standard deviation and other indicators of the tracking algorithm to evaluate the performance of the algorithm. In addition, some evaluation indicators such as root mean square error, mean absolute error, etc. can also be used to quantify the accuracy of the algorithm. Generally speaking, the higher the accuracy, the better the performance of the algorithm.

[0045] Furthermore, the first key point set also includes a first type of waypoints, and generating a first subpath based at least on the starting point and the first insertion point includes: generating a first subpath based at least on the starting point, the first insertion point and the first type of waypoints.

[0046] The first type of waypoints mentioned above can be generated based on the starting point and end point entered by the user, as well as possible intermediate stops or preferred routes. Users can enter multiple waypoints in the path planning application, or specify specific waypoints to guide the path planning algorithm to select the best path. Waypoints can also be dynamically added by the map editing platform based on real-time traffic conditions and road conditions to optimize the effect of path planning. In the actual path planning process, the choice of waypoints will affect the final path selection and driving time, so users can flexibly set waypoints according to their needs and preferences.

[0047] In an optional embodiment, the first key point set also includes the first type of waypoints, and the first sub-path can be generated at least based on the starting point, the first insertion point and the first type of waypoints. For example, when the first type of waypoints is not empty, it indicates that the vehicle has a need to start from the starting point and move forward. At this time, the starting point, the first insertion point and the first type of waypoints can be connected in sequence to generate the first sub-path. When the first type of waypoints is empty, it indicates that the vehicle does not have a need to start from the starting point and move forward, that is, the vehicle does not need to move forward, and the starting point can be directly used as the first sub-path.

[0048] Furthermore, generating a first sub-path based at least on the starting point, the first insertion point and the first type of waypoints includes: determining whether a first target waypoint exists among the first type of waypoints, wherein a distance between the first target waypoint and the starting point is less than a distance between the first insertion point and the starting point; removing the first target waypoint from the first type of waypoints to obtain processed first type waypoints; generating a first sub-path based at least on the starting point, the first insertion point and the processed first type waypoints.

[0049] The distance between the first target waypoint and the starting point is less than the distance between the first insertion point and the starting point. For example, when the distance between the first insertion point and the starting point is 6m (but not limited to this, it can also be 5m, 8m, etc.), if the distance between the first target waypoint and the starting point is less than 6m (for example, 2m), when the first sub-path is generated based on the starting point, the first insertion point and the first target waypoint, there will be a situation where the vehicle turns back, that is, the vehicle will first drive to the first insertion point 6m away from the starting point, then drive to the first target waypoint 2m away from the starting point, and then continue to drive to the first type of waypoint 9m away from the starting point. At this time, in order to avoid the vehicle turning back, the first target waypoint can be eliminated.

[0050] In an optional embodiment, the first key point set also includes the first type of waypoints. In order to ensure that the vehicle's driving direction is always consistent and there is no turning back, it is first possible to determine whether there is a first target waypoint in the first type of waypoints. If it is determined that there is a first target waypoint, the first target waypoint can be eliminated to obtain the processed first type of waypoints. Finally, the first sub-path can be generated based on at least the starting point, the first insertion point and the processed first type of waypoints. For example, when the first type of waypoints is not empty, it indicates that the vehicle has a need to start from the starting point and move forward. At this time, the starting point, the first insertion point and the processed first type of waypoints can be connected in sequence to generate the first sub-path. When the first type of waypoints is empty, it indicates that the vehicle does not have a need to start from the starting point and move forward, that is, the vehicle does not need to move forward. At this time, the starting point can be directly used as the first sub-path.

[0051] Furthermore, based on the second set of key points, a second sub-path is generated, including: determining a second insertion point toward the location of the end point, wherein the orientation of the second insertion point is the same as the orientation of the end point, or the orientation difference between the orientation of the second insertion point and the orientation of the end point is less than a second difference threshold; generating a second sub-path based on at least the second insertion point and the end point.

[0052] Furthermore, the distance between the position of the second insertion point and the end point is determined based on the turning radius of the vehicle, and the distance between the position of the second insertion point and the end point is greater than the accuracy value of the pure tracking algorithm and less than the distance between the starting point of the second sub-path and the last second-category waypoint.

[0053] The above-mentioned second insertion point is used to ensure that the driving direction of the vehicle towards the destination does not change. The specific number can be set by the user according to the actual path planning requirements, and is not limited in this embodiment. For example, it can be one or two, but not limited to this. The above-mentioned second difference threshold can be set in advance by the user, which can ensure the maximum threshold for safe and efficient turning of the vehicle during the driving process towards the destination. When the difference between the direction of the first insertion point and the direction of the starting point is greater than or equal to the second difference threshold, it can indicate that the vehicle cannot turn safely and efficiently. Among them, the specific angle value of the second difference threshold can be set by the user according to the size and type of the vehicle, as well as the specific path planning requirements, and is not specifically limited in this embodiment.

[0054] In an optional embodiment, when the initial path information is obtained, the end point position and the end point orientation in the second key point set can be determined first, and then based on the end point orientation, a second insertion point can be inserted in the opposite direction of the end point orientation and at a certain distance from the end point position, wherein the orientation of the second insertion point is the same as the orientation of the end point, and then a second sub-path can be generated based on at least the second insertion point and the end point. For example, at least the second insertion point and the end point can be directly connected to generate the second sub-path. For another example, after at least the second insertion point and the end point are connected to generate the second reference path, the second reference path is smoothed to obtain the second sub-path, but it is not limited to this.

[0055] In another optional embodiment, when the initial path information is obtained, the end point position and the end point orientation in the second key point set can be determined first, and then based on the end point orientation and the second difference threshold, a second insertion point can be inserted at a certain distance from the end point position, wherein the orientation of the second insertion point is different from the orientation of the end point, but the difference between the orientation of the second insertion point and the orientation of the end point is less than the second difference threshold, and then a second sub-path can be generated at least based on the second insertion point and the end point. For example, at least the second insertion point and the end point can be directly connected to generate the second sub-path. For another example, at least the second insertion point and the end point can be connected to generate a second reference path, and then the second reference path can be smoothed to obtain the second sub-path, but it is not limited to this.

[0056] Furthermore, the second key point set also includes a second type of waypoints, and generates a second sub-path based on at least the second insertion point and the end point, including: generating a second sub-path based on at least the second type of waypoints, the second insertion point and the end point.

[0057] The method for obtaining the second type of waypoints mentioned above is the same as the method for obtaining the first type of waypoints, and will not be repeated here.

[0058] In an optional embodiment, the second key point set also includes a second type of waypoints, and in this case, a second sub-path can be generated based on at least the second type of waypoints, the second insertion point, and the end point. For example, when the second type of waypoints are not empty, it indicates that the vehicle has a need to travel toward the end point, and in this case, the second type of waypoints, the second insertion point, and the end point can be connected in sequence to generate a second sub-path. When the second type of waypoints are empty, it indicates that the vehicle has no need to travel toward the end point, and in this case, the end point can be directly used as the second sub-path.

[0059] Furthermore, generating a second sub-path based on at least the second category waypoints, the second insertion point and the endpoint includes: determining whether there is a second target waypoint among the second category waypoints, wherein the distance between the second target waypoint and the endpoint is less than the distance between the second insertion point and the endpoint; removing the second target waypoint from the second category waypoints to obtain processed second category waypoints; generating a second sub-path based on at least the endpoint, the second insertion point and the processed second category waypoints.

[0060] The distance between the second target waypoint and the end point is less than the distance between the second insertion point and the end point. For example, when the distance between the second insertion point and the starting point is 6m (but not limited to this, it can also be 5m, 8m, etc.), if the distance between the second target waypoint and the end point is less than 6m (for example, 2m), when the second sub-path is generated based on the second type of waypoints, the second insertion point and the end point, there may be a situation where the vehicle turns back, that is, the vehicle will first drive to the second target waypoint 2m away from the end point, and then drive to the second insertion point 6m away from the end point, and then continue to drive to the end point. At this time, in order to avoid the vehicle turning back, the second target waypoint can be eliminated.

[0061] In an optional embodiment, the second key point set also includes a second type of waypoints. In order to ensure that the vehicle's driving direction is always consistent and there is no turning back, it is first possible to determine whether there is a second target waypoint in the second type of waypoints. If it is determined that there is a second target waypoint, the second target waypoint can be eliminated to obtain a processed second type of waypoint. Finally, a second sub-path can be generated based on at least the processed second type of waypoints, the second insertion point, and the end point. For example, if the second type of waypoints is not empty, it indicates that the vehicle has a need to travel toward the end point. At this time, the processed second type of waypoints, the second insertion point, and the end point can be connected in sequence to generate a second sub-path. If the second type of waypoints is empty, it indicates that the vehicle has no need to travel toward the end point. At this time, the end point can be directly used as the second sub-path.

[0062] Furthermore, the first subpath and the second subpath are spliced ​​to generate a reference path, including: sampling the path points in the first subpath that are located before the end point of the first subpath for multiple times to obtain a first sampling point set; based on the kinematic characteristics of the vehicle, sequentially connecting the first sampling points in the first sampling point set with the starting point of the second subpath to obtain multiple first connection paths; obtaining a first target path based on at least the shortest path among the multiple first connection paths; and splicing the first subpath, the first target path, and the second subpath to generate a reference path.

[0063] The above-mentioned first sampling point set is obtained by summarizing the first sampling points sampled from the path before the end point of the first sub-path. The sampling method can be equal-interval sampling or unequal-interval sampling. In this embodiment, equal-interval sampling is used as an example for explanation, but it is not limited to this. The actual sampling distance of the equal interval can be set by the user based on the actual path planning requirements. In this embodiment, it can be 5 meters, but it is not limited to this. It can also be 4 meters, 7 meters, etc. It should be noted that the maximum length of the sampling distance is less than the total length of the first sub-path. For example, when the total length of the first sub-path is 50 meters, it can be sampled every 5 meters before the end point of the first sub-path, with a maximum sampling of 30 meters, and the path points at 50, 45, 40, 35, 30, 25, and 20 meters of the forward path are obtained to obtain a sampling point set.

[0064] The kinematic characteristics of the above-mentioned vehicles mainly include the following aspects: acceleration, steering performance, braking performance and stability. Among them, the acceleration of the vehicle during driving refers to the rate of change of the vehicle speed. Acceleration can be positive (acceleration) or negative (deceleration). The magnitude of acceleration depends on factors such as the engine power, mass, and air resistance of the vehicle. The steering performance of the vehicle includes aspects such as turning radius, turning speed, and handling stability. The steering performance depends on the performance of the vehicle's suspension system, steering system, and tires. The braking performance of the vehicle includes aspects such as braking distance, braking force, and braking effect. The braking performance depends on factors such as the vehicle's braking system, tire grip, and road conditions. The stability of the vehicle refers to the ability of the vehicle to remain stable and not lose control during driving. Stability depends on factors such as the vehicle's center of gravity height, wheelbase, suspension system, and handling system. In general, the kinematic characteristics of the vehicle directly affect the vehicle's handling, safety, and comfort. Vehicle manufacturers usually optimize the vehicle's kinematic characteristics through vehicle design and testing to improve the vehicle's performance and driving experience.

[0065] The first connecting path mentioned above is determined based on the actual driving condition of the vehicle.

[0066] In an optional embodiment, when the first sub-path is obtained, the path points in the first sub-path that are located before the end point of the first sub-path can first be sampled multiple times at equal intervals to obtain multiple first sampling points, and then the multiple first sampling points can be summarized to obtain a first sampling point set.

[0067] Secondly, when the first sampling point set is obtained, in order to ensure the smooth connection of each sub-path in the target planning path, and to ensure the driving safety and working efficiency of the vehicle, the shortest path among multiple first connection paths can be determined based on the kinematic characteristics of the vehicle. For example, based on the acceleration and steering performance of the vehicle, the first sampling point in the first sampling point set can be connected with the starting point of the second sub-path in sequence to obtain multiple first connection paths, and then the shortest path among the multiple first connection paths can be determined as the first target path, and finally the first sub-path, the first target path and the second sub-path can be spliced ​​to generate a reference path.

[0068] It should be noted that, considering the characteristics of the Dubins curve when the sampling point is too close to the reversing path, the path is too long or self-intersecting when connected by an arc path (for example, the first sampling point at 50 meters is 5 meters away from the starting point of the second sub-path, and the angle difference is 20 degrees. Considering the turning radius constraint of the mining truck, the first sampling point at this location is likely to be connected by a straight line + a large arc to generate a 50-meter long first connection path, which is 45 meters longer than the straight line connection; and the first sampling point at 20 meters, because the distance is sufficient, although the angle deviation is large, it can be adjusted by a distance of angle to connect the starting point of the reversing path to an approximate straight line, and finally generate a 40-meter long first connection path, which is 5 meters longer than the straight line connection). Therefore, the shortest path among multiple first connection paths can be selected to obtain the first target path. Among them, the Dubins curve is a shortest path curve used to describe the minimum curve path of a rigid body from one posture to another on a plane. The Dubins curve consists of a straight line segment and an arc segment, and its characteristic is that the curve length is the shortest and the posture restrictions of the initial and end points are met at the same time.

[0069] Further, the path information also includes a reversing path for controlling the vehicle to switch from a forward state to a reverse state; splicing the first sub-path and the second sub-path to generate a reference path for the vehicle, including: sampling the path points in the first sub-path before the end point of the first sub-path multiple times to obtain a first sampling point set, and sampling the path points in the second sub-path after the starting point of the second sub-path multiple times to obtain a second sampling point set; based on the kinematic characteristics of the vehicle, sequentially connecting the first sampling points in the first sampling point set with the starting point of the reversing path to obtain multiple first connection paths, and sequentially connecting the second sampling points in the second sampling point set with the end point of the reversing path to obtain multiple second connection paths; obtaining a first target path based on at least the shortest path among the multiple first connection paths; obtaining a second target path based on at least the shortest path among the multiple second connection paths; connecting the first sub-path, the first target path, the reversing path, the second target path, and the second sub-path to generate a reference path.

[0070] The above-mentioned reversing path is a path where the vehicle needs to change the direction of travel. Among them, the reversing path is determined by the user based on the template in the map editing platform, and the template contains reversing paths corresponding to different types of vehicles. The above-mentioned second sampling point set is obtained by summarizing the second sampling points sampled from the path after the starting point of the second sub-path. Among them, the sampling method can be equal-spaced sampling, and can also be unequal-spaced sampling. In this embodiment, equal-spaced sampling is used as an example for explanation, but it is not limited to this. Among them, the actual sampling distance of equal spacing can be set by the user based on the actual path planning needs. In this embodiment, it can be 5 meters, but it is not limited to this, it can also be 4 meters, 7 meters, etc. It should be noted that the maximum length of the sampling distance is less than the total length of the second sub-path.

[0071] In an optional embodiment, when the initial path information is obtained, it is firstly possible to determine whether there is a switching path. When it is determined that there is a switching path, when the first sub-path and the second sub-path are obtained, the path points in the first sub-path before the end point of the first sub-path can be sampled multiple times to obtain a first sampling point set. The steps of obtaining the first sampling point set have been explained above and will not be repeated here. At the same time, the path after the starting point of the second sub-path can be sampled at equal intervals to obtain second sampling points, and the second sampling points can be summarized to obtain a second sampling point set. Secondly, when the first sampling point set and the second sampling point set are obtained, based on the kinematic characteristics of the vehicle, such as the acceleration and steering performance of the vehicle, the first sampling points in the first sampling point set can be connected to the starting point of the switching path in sequence to obtain multiple first connection paths, and the second sampling points in the second sampling point set can be connected to the end point of the switching path in sequence to obtain multiple second connection paths. Then, when multiple first connection paths and multiple second connection paths are obtained, the shortest path among the multiple first connection paths can be determined to obtain the first target path, and the shortest path among the multiple second connection paths can be determined to obtain the second target path. Finally, the first sub-path, the first target path, the reversing path, the second target path and the second sub-path can be connected in sequence to generate a reference path.

[0072] Figure 2 is a schematic diagram of an optional reference path including a switching path according to an embodiment of the present invention, such as Figure 2 As shown in the figure, the hollow circle is the starting point of the target planning path, the black solid circle is the first type of waypoint after processing, the hollow square is the first sampling point in the first sub-path, the hollow triangle is the end point of the target planning path, the black solid triangle is the second type of waypoint after processing, and the hollow five-pointed star is the second sampling point in the second sub-path. Figure 2It can be seen that the black thin solid line passing through the starting point of the target planning path and the first type of processed waypoints is the first subpath. Figure 2 It can be seen that the path formed by the first sampling point in the first subpath and the black point is the first target path, that is, there is an overlapping path between the first target path and the first subpath, and the overlapping path is the path between the first sampling point and the last processed first-category waypoint. Figure 2 As shown in the figure, the path composed of dotted lines is the switching path. Figure 2 As shown in , the thick black solid line with the second sampling point in the second sub-path as the end point is the second target path. Figure 2 As shown, the dotted line passing through the second type of waypoint and the end point of the target planning path is the second subpath. That is, there is an overlapping path between the second target path and the second subpath, and the overlapping path is the path between the first processed second type of waypoint and the second sampling point of the second subpath.

[0073] In another optional embodiment, when the initial path information is obtained, it is also possible to first determine whether there is a switching path. When it is determined that there is no switching path, the path points in the first sub-path that are located before the end point of the first sub-path can be sampled multiple times to obtain a first sampling point set. Secondly, based on the kinematic characteristics of the vehicle, the first sampling points in the first sampling point set can be connected with the starting point of the second sub-path in sequence to obtain multiple first connecting paths. Then, the first target path can be obtained based on at least the shortest path among the multiple first connecting paths. Finally, the first sub-path, the first target path and the second sub-path can be spliced ​​to generate a reference path.

[0074] Figure 3 is a schematic diagram of an optional reference path that does not include a switching path according to an embodiment of the present invention, such as Figure 3 As shown in the figure, the hollow circle is the starting point of the target planning path, the black solid circle is the first type of waypoint after processing, the white hollow square is the first sampling point in the first sub-path, the hollow triangle is the end point of the target planning path, and the black solid triangle is the second type of waypoint after processing. Figure 3 As shown in , the solid line passing through the starting point of the target planning path and the processed first-type waypoints is the first sub-path. Figure 3 As shown, the dotted path between the first sampling point in the first subpath and the first processed second-category waypoint in the second subpath is the first target path, that is, there is an overlapping path between the first target path and the first subpath, and the overlapping path is the path between the first sampling point and the last processed first-category waypoint. Figure 3 As shown, the dot-dashed line between the processed second-type waypoint and the end point of the target planned path is the second sub-path.

[0075] The present invention provides a method for planning a mining truck path based on key points and paths in an open-pit mine loading area. The key points are divided into starting points, forward path points, reverse path points, and end points; the key path is a reversing path. Path planning is mainly divided into four parts: forward driving path generation, reverse driving path generation, path splicing, and path smoothing. Figure 4 is a flow chart of an optional path planning method according to an embodiment of the present invention. Figure 4 As shown, the method includes:

[0076] Step S401, combining the starting point and the forward waypoint to generate a forward driving path.

[0077] Among them, when the forward path is generated, if the forward waypoint is not empty, insert a point 6 meters forward of the starting point to ensure that the direction of the path at the starting point is consistent with the direction of the starting point during path planning. Then, connect the starting point, the insertion point, and the forward pathpoint after the insertion point in a straight line in sequence (for example: if there are 3 forward waypoints, the distance to the starting point is 2 / 7 / 10 meters respectively, then the direction of the starting point is guaranteed. At the same time, in order to avoid the existence of a return path when connecting in a straight line, remove the forward waypoint at 2 meters), and purely track the path after smooth connection to obtain the forward path. When the forward waypoint is empty, the forward path only contains the starting point.

[0078] Step S402, combining the reversing waypoints and the end point to generate a reversing driving path.

[0079] Among them, when generating the reversing path, when the reversing waypoint is not empty, insert a point 6 meters forward of the end point to ensure that the direction of the path at the end point is consistent with the direction of the end point during path planning. Then, connect the reversing waypoints before the insertion point (analogously removing the forward waypoints), the insertion point, and the end point in sequence, and purely track the path after smooth connection to obtain the reversing path. When the reversing waypoint is empty, the reversing path only contains the end point.

[0080] Step S403, determine whether a switching path exists, if so, proceed to step S404, if not, proceed to step S405.

[0081] Step S404, sequentially splice the forward driving path, the turning path, and the reverse driving path to generate a reference path, and then proceed to step S406.

[0082] Among them, when the commutation path exists, the forward path and the commutation path, and the commutation path and the reversing path need to be spliced ​​separately. In the splicing of the forward path and the commutation path, samples are taken every 5 meters before the end of the forward path, and the maximum sampling is 30 meters to obtain a set of sampling points. The sampling points are traversed in sequence, and the Dubins curve algorithm is used to connect the sampling points and the starting point of the commutation path to obtain a reference path set. Similarly, the shortest path in the reference path set is selected, and the connection path 1 is obtained after pure tracking and smoothing. In the splicing of the commutation path and the reversing path, samples are taken every 5 meters after the starting point of the reversing path, and the maximum sampling is 30 meters to obtain a set of sampling points. The sampling points are traversed in sequence, and the Dubins curve algorithm is used to connect the sampling points and the end point of the commutation path to obtain a reference path set. Similarly, the shortest path in the reference path set is selected, and the point order is reversed, and the connection path 2 is obtained after pure tracking and smoothing. Finally, the forward path, the connection path 1, the commutation path, the connection path 2, and the reversing path are connected in sequence to obtain the reference path.

[0083] Step S405: splice the forward driving path and the reverse driving path to generate a reference path.

[0084] Among them, when the reversing path does not exist, the forward path and the reverse path are spliced. Samples are taken every 5 meters before the end of the forward path, with a maximum sampling of 30 meters to obtain a set of sampling points. (For example: if the forward path is 50 meters long, the points at 50 / 45 / 40 / 35 / 30 / 25 / 20 meters of the forward path are obtained respectively) The sampling points are traversed in sequence, and the Dubins curve algorithm is used to connect the sampling points and the starting point of the reverse path to obtain a reference path set. Considering the characteristics of the Dubins curve when the sampling point is too close to the reverse path, it is connected by an arc path, resulting in a path that is too long or self-intersecting. (For example, the sampling point at 50 meters is 5 meters away from the starting point of the reversing path, and the angle difference is 20 degrees. Considering the turning radius constraint of the mining truck, the sampling points at this location are most likely connected by a straight line + large arc to generate a 50-meter-long connection path, which is 45 meters longer than the straight line connection. At the sampling point at 20 meters, since the distance is sufficient, although the angle deviation is large, it can be adjusted by a certain distance to connect the starting point of the reversing path in an approximate straight line, and finally generate a 40-meter-long connection path, which is 5 meters longer than the straight line connection.) Therefore, the shortest path in the reference path is selected, and then the shortest path is purely tracked and smoothed to obtain the connection path.

[0085] Step S406, smoothing the reference path using an optimization smoothing method to obtain a mine card path (ie, a target planning path).

[0086] Step S407, end.

[0087] The present invention provides a method for planning a mining truck path in an open-pit mine loading area based on key points and path planning. Compared with the traditional technology, the present invention has the following significant differences: the present invention introduces the concept of key paths, divides the path in the loading area into a forward driving path and a reverse driving path, and pays special attention to the connection between the two paths, that is, the reversing path. This division of key paths makes path planning more targeted and flexible. In the traditional method, when manually selecting key points and planning paths, it is usually necessary to consider the vehicle turning radius and the length of the reversing path. The present invention automatically generates a reversing path through a background algorithm without manual intervention, which reduces the burden on operators. In the present invention, the reversing path generated by the algorithm is more easily adapted to narrow scenes, because the algorithm can consider the turning ability of the mining truck, thereby generating a suitable path, which is difficult to achieve in the traditional method of manually selecting key points. The present invention uses an optimization smoothing method to optimize the generated path to ensure that the end position and orientation of the path remain unchanged. In this way, the generated path is more in line with the needs of actual on-site operations, and compared with the traditional path planning method based on key points, it can improve the operating efficiency and safety of the mining truck.

[0088] The present invention provides a method for planning a mining truck path based on key points and paths in an open-pit mine loading area. The scheme has the following technical effects: Optimization of path length and turning radius: The present invention ensures that the generated path meets the standard turning radius requirements by automatically optimizing the path length and turning radius through an algorithm. This reduces collision and safety risks, making the driving of mining trucks more controllable and safe. Strong adaptability to narrow scenarios: The present invention takes into account the turning ability of mining trucks, and the generated path is more easily adapted to narrow loading area scenarios, reducing the probability of collision with boundaries. This improves safety and operating efficiency in the loading area. Path smoothing and end point retention: Through the optimization smoothing method, the present invention ensures that the path transitions smoothly at the junction while maintaining the end point position and orientation of the path unchanged. This facilitates the collaborative operation of different excavators and improves production continuity and efficiency. Reduction of manual work: Traditional path planning requires multiple key point adjustments, while the automation method of the present invention reduces the workload of operators, allowing them to focus more on other important tasks.

[0089] According to an embodiment of the present invention, a path planning device embodiment is provided. It should be noted that the device can be used to execute the above-mentioned path planning method.

[0090] Figure 5 is a schematic diagram of a path planning device according to an embodiment of the present invention. Figure 5As shown, the device includes: an acquisition module 52, used to acquire initial path information, wherein the initial path information at least includes a first key point set and a second key point set, the first key point set includes the starting point of the target planning path, and the second key point set includes the end point of the target planning path; a first generation module 54, used to generate a first sub-path based on the first key point set, and to generate a second sub-path based on the second key point set; a second generation module 56, used to splice the first sub-path and the second sub-path to generate a reference path; a smoothing module 58, used to smooth the reference path to obtain the target planning path.

[0091] Furthermore, the first generation module includes: a first generation unit, used to generate a first insertion point along the orientation direction of the starting point; wherein the orientation of the first insertion point is the same as the orientation of the starting point, or the difference between the orientation of the first insertion point and the orientation of the starting point is less than a first difference threshold; a second generation unit, used to generate a first sub-path based on at least the starting point and the first insertion point.

[0092] Furthermore, the first key point set also includes a first type of waypoints, and the second generation unit includes: a first generation subunit, used to generate a first subpath based on at least a starting point, a first insertion point and the first type of waypoints.

[0093] Furthermore, the first generating sub-unit is also used to: determine whether there is a first target waypoint among the first category waypoints, wherein the distance between the first target waypoint and the starting point is less than the distance between the first insertion point and the starting point; eliminate the first target waypoint from the first category waypoints to obtain processed first category waypoints; and generate a first sub-path based on at least the starting point, the first insertion point and the processed first category waypoints.

[0094] Furthermore, the first generation module also includes: a determination unit, used to determine a second insertion point towards the location of the end point, wherein the orientation of the second insertion point is the same as the orientation of the end point, or the orientation difference between the orientation of the second insertion point and the orientation of the end point is less than a second difference threshold; a third generation unit, used to generate a second sub-path based on at least the second insertion point and the end point.

[0095] Furthermore, the second key point set also includes a second type of waypoints, and the third generation unit includes: a second generation subunit, used to generate a second sub-path based on at least the second type of waypoints, the second insertion point and the end point.

[0096] Furthermore, the second generation sub-unit is also used to: determine whether there is a second target waypoint among the second category waypoints, wherein the distance between the second target waypoint and the end point is less than the distance between the second insertion point and the end point; eliminate the second target waypoint from the second category waypoints to obtain processed second category waypoints; and generate a second sub-path based on at least the end point, the second insertion point and the processed second category waypoints.

[0097] Furthermore, the second generation module includes: a first sampling unit, used to sample the path points in the first sub-path that are located before the end point of the first sub-path for multiple times to obtain a first sampling point set; a first connection unit, used to connect the first sampling points in the first sampling point set with the starting point of the second sub-path in sequence based on the kinematic characteristics of the vehicle to obtain multiple first connection paths; a first processing unit, used to obtain a first target path based on at least the shortest path among the multiple first connection paths; and a splicing unit, used to splice the first sub-path, the first target path and the second sub-path to generate a reference path.

[0098] Furthermore, the path information also includes a reversing path for controlling the vehicle to switch from a forward state to a reverse state; the second generation module also includes: a second sampling unit, which is used to perform multiple sampling of path points in the first sub-path before the end point of the first sub-path to obtain a first sampling point set, and perform multiple sampling of path points in the second sub-path after the starting point of the second sub-path to obtain a second sampling point set; a second connection unit, which is used to sequentially connect the first sampling points in the first sampling point set with the starting point of the reversing path based on the kinematic characteristics of the vehicle to obtain multiple first connection paths, and sequentially connect the second sampling points in the second sampling point set with the end point of the reversing path to obtain multiple second connection paths; a second processing unit, which is used to obtain a first target path based on at least the shortest path among the multiple first connection paths; a third processing unit, which is used to obtain a second target path based on at least the shortest path among the multiple second connection paths; and a third connection unit, which is used to connect the first sub-path, the first target path, the reversing path, the second target path, and the second sub-path to generate a reference path.

[0099] Further, the distance between the position of the first insertion point and the starting point is determined based on the turning radius of the vehicle; and / or the distance between the position of the second insertion point and the end point is determined based on the turning radius of the vehicle.

[0100] Further, the distance between the position of the first insertion point and the starting point is greater than the accuracy value of the pure tracking algorithm; and / or the distance between the position of the second insertion point and the end point is greater than the accuracy value of the pure tracking algorithm.

[0101] An embodiment of the present application further provides an electronic device, comprising: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in various embodiments of the present invention when running.

[0102] An embodiment of the present application further provides a computer-readable storage medium, which includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the methods in various embodiments of the present invention.

[0103] An embodiment of the present application further provides a computer program product, including a computer program, which implements the methods in various embodiments of the present invention when executed by a processor.

[0104] An embodiment of the present application further provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method in each embodiment of the present invention is implemented.

[0105] The embodiments of the present application further provide a computer program, which implements the methods in the above-mentioned embodiments of the present invention when executed by a processor.

[0106] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0107] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0108] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0109] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0110] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0111] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A path planning method, characterized in that: include: Acquire initial path information, wherein the initial path information at least includes a first key point set and a second key point set, the first key point set includes a starting point of a target planning path, and the second key point set includes an end point of the target planning path; Based on the first set of key points, a first subpath is generated, and based on the second set of key points, a second subpath is generated; splicing the first sub-path and the second sub-path to generate a reference path; The reference path is smoothed to obtain the target planning path.

2. The method according to claim 1, characterized in that Generating a first subpath based on the first key point set includes: A first insertion point is generated along the orientation direction of the starting point; wherein the orientation of the first insertion point is the same as the orientation of the starting point, or the difference between the orientation of the first insertion point and the orientation of the starting point is less than a first difference threshold; The first sub-path is generated based on at least the starting point and the first insertion point.

3. The method according to claim 2, characterized in that The first key point set also includes a first type of waypoints, and generating the first subpath at least according to the starting point and the first insertion point includes: The first sub-path is generated based on at least the starting point, the first insertion point and the first type of waypoint.

4. The method according to claim 3, characterized in that Generating the first subpath at least according to the starting point, the first insertion point and the first type of waypoints, comprises: Determining whether there is a first target waypoint in the first type of waypoints, wherein a distance between the first target waypoint and the starting point is less than a distance between the first insertion point and the starting point; Eliminating the first target waypoint from the first category of waypoints to obtain a processed first category of waypoints; The first sub-path is generated based on at least the starting point, the first insertion point and the processed first-category waypoint.

5. The method according to any one of claims 1 to 4, characterized in that Generating a second subpath based on the second key point set includes: Determine a second insertion point toward the location of the end point, wherein the orientation of the second insertion point is the same as the orientation of the end point, or the orientation difference between the orientation of the second insertion point and the orientation of the end point is less than a second difference threshold; The second sub-path is generated at least according to the second insertion point and the end point.

6. The method according to claim 5, characterized in that The second key point set also includes a second type of waypoints, and generating the second subpath at least according to the second insertion point and the end point includes: The second sub-path is generated based on at least the second-type waypoint, the second insertion point and the end point.

7. The method according to claim 6, characterized in that Generating the second subpath at least according to the second-type waypoint, the second insertion point, and the end point, comprises: Determining whether there is a second target waypoint in the second type of waypoints, wherein a distance between the second target waypoint and the end point is less than a distance between the second insertion point and the end point; Eliminate the second target waypoint from the second type of waypoints to obtain a processed second type of waypoint; The second sub-path is generated based on at least the end point, the second insertion point and the processed second-type waypoint.

8. The method according to any one of claims 1 to 7, characterized in that The first sub-path and the second sub-path are concatenated to generate a reference path, including: Sampling the path points in the first subpath that are located before the end point of the first subpath for multiple times to obtain a first sampling point set; Based on the kinematic characteristics of the vehicle, sequentially connecting the first sampling points in the first sampling point set with the starting point of the second sub-path to obtain a plurality of first connection paths; Obtaining a first target path based at least on the shortest path among the plurality of first connecting paths; The first sub-path, the first target path and the second sub-path are concatenated to generate the reference path.

9. The method according to any one of claims 1 to 7, characterized in that: The path information also includes a switching path for controlling the vehicle to switch from a forward state to a reverse state; The first sub-path and the second sub-path are concatenated to generate a reference path for the vehicle, comprising: Sampling the path points in the first subpath before the end point of the first subpath for multiple times to obtain a first sampling point set, and sampling the path points in the second subpath after the starting point of the second subpath for multiple times to obtain a second sampling point set; Based on the kinematic characteristics of the vehicle, sequentially connecting the first sampling point in the first sampling point set with the starting point of the switching path to obtain a plurality of first connecting paths, and sequentially connecting the second sampling point in the second sampling point set with the end point of the switching path to obtain a plurality of second connecting paths; Obtaining a first target path based at least on the shortest path among the plurality of first connecting paths; Obtaining a second target path based at least on the shortest path among the plurality of second connecting paths; The first sub-path, the first target path, the switching path, the second target path, and the second sub-path are connected to generate the reference path.

10. The method according to claim 5, characterized in that The distance between the position of the first insertion point and the starting point is determined based on a turning radius of the vehicle; and / or the distance between the position of the second insertion point and the end point is determined based on a turning radius of the vehicle.

11. The method according to claim 5, characterized in that The distance between the position of the first insertion point and the starting point is greater than the accuracy value of the pure tracking algorithm; and / or the distance between the position of the second insertion point and the end point is greater than the accuracy value of the pure tracking algorithm.

12. A path planning device, characterized in that: include: An acquisition module, configured to acquire initial path information, wherein the initial path information at least includes a first key point set and a second key point set, wherein the first key point set includes a starting point of a target planning path, and the second key point set includes an end point of the target planning path; A first generating module, configured to generate a first subpath based on the first key point set, and to generate a second subpath based on the second key point set; A second generating module, used for splicing the first sub-path and the second sub-path to generate a reference path; The smoothing module is used to smooth the reference path to obtain the target planning path.

Citation Information

Cited By

  • Path planning method, electronic equipment and vehicle

    CN120101824A

  • Path planning method, electronic device and vehicle

    CN120101824B