Unmanned mine car reference path generation method based on cubic spline curve sampling
The unmanned mine car reference path is generated through a sampling method based on cubic splines, which solves the problems of sudden curvature changes and limited scope of application, achieves smoother and adaptable path planning, and improves the driving efficiency and safety of unmanned mine cars. sex.
Patent Information
- Application Number
- CN202410704638.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-03
AI Technical Summary
In the existing technology, the reference path generation of unmanned mine carts has the problems of sudden curvature and limited scope of application. Especially in the unstructured road environment of open-pit mining areas, it is difficult to generate smooth and adaptable paths.
A sampling method based on cubic splines is used to generate candidate reference paths and select the optimal path by obtaining the road boundary map of the mining area, marking reference path anchor points, lateral offset sampling, and constructing a cost function.
It effectively avoids sudden changes in curvature, and the generated path has better smoothness and continuity, is highly adaptable, can cope with the changing terrain and environmental conditions of open-pit mining areas, and improves the driving efficiency and safety of unmanned mine trucks.
Smart Images

Figure CN118587375A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned driving technology in open-pit mines, and in particular to a method for generating a reference path for an unmanned mine car based on cubic spline curve sampling. Background Art
[0002] Unmanned transportation in open-pit mines is one of the key technologies in the field of intelligent transportation under the new infrastructure, and plays an important role in promoting the innovative development strategy of intelligent vehicles. Path planning, as an important research direction of this technology, has a far-reaching impact on the improvement of unmanned mining vehicles' autonomous navigation capabilities, obstacle avoidance safety performance, and task execution efficiency, and is of great significance to promoting the industrialization of unmanned transportation. Related technologies are often used to generate driving reference paths for intelligent vehicles and industrial robots.
[0003] The Chinese invention patent application with publication number CN111189467A discloses a global path planning method, device, computer equipment and storage medium based on dubins, and the Chinese invention patent application with publication number CN116957180A discloses a minimum curvature trajectory generation method and device based on dubins curve. The above scheme generates a reference path based on the method of dubins curve. This method can quickly find the shortest feasible path between a given starting point and an end point after considering the turning radius limit, and has good application performance. However, when the dubins curve is generated, there is a sudden change in curvature at the connection of the basic curve combination, and the control module cannot track completely without deviation, which increases vehicle loss and easily brings potential risks. The Chinese invention patent application with publication number CN114812580A discloses a global path planning method and system for unmanned vehicles in a mining area. The scheme divides the mining area into multiple lanes, obtains the parameters and driving information of each lane, and combines the alternative lanes to generate a reference path through the evaluation index of mobile consumption. However, mining roads are unstructured roads without obvious signs, and the lane division method is difficult to determine. In addition, this method is affected by the layout of mining roads and its scope of application is limited. Summary of the invention
[0004] In view of the above problems, the present invention provides a method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling, which solves the technical problems in the prior art that the reference path generated has sudden changes in curvature and the generated reference path has limited universality.
[0005] The present invention provides a method for generating a reference path of an unmanned mining vehicle based on cubic spline curve sampling, comprising the following steps:
[0006] Step S1, obtaining a mining area road boundary map, and marking reference path anchor points in the boundary map;
[0007] Step S2: based on the normal distance between the reference path anchor point and the road boundary in the boundary map, perform lateral offset sampling on the reference path anchor point to obtain a sampling point set;
[0008] Step S3: for the sampling point set, generating a candidate reference path set based on cubic spline curve parameterized modeling;
[0009] Step S4: constructing a cost function for evaluating the reference path;
[0010] Step S5: Select an optimal reference path from the candidate reference path set based on the cost function as a reference path generation result.
[0011] Preferably, step S1 specifically includes: step S1-1, establishing an original map of the mining area based on the aerial image data, dividing the map into a drivable area and a non-drivable area, and forming a mining area road boundary map; step S1-2, manually marking reference path anchor points in the mining area road boundary map, and recording the reference path anchor point sequence.
[0012] Step S1-1 specifically includes: establishing an original map of the mining area based on the aerial image data, identifying the drivable area and the non-drivable area in the original map, performing grayscale binarization processing on the original map, where the white part is the drivable area and the black part is the non-drivable area, and forming a road boundary map of the mining area;
[0013] Step S1-2 specifically includes: manually marking reference path anchor points in the drivable area and recording their position information (x k ,y k ,θ k ), record the anchor point sequence {(x0,y0),(x1,y1),...,(x n ,y n )}, where x k ,y k represents the position coordinates of the kth reference path anchor point in the Cartesian coordinate system, θ k represents the direction pointed by the kth reference path anchor point, and n is the total number of reference path anchor points.
[0014] Preferably, step S2 specifically includes: step S2-1, calculating the normal distance between the reference path anchor point and the left and right sides of the road boundary; step S2-2, based on the direction of the normal distance between the reference path anchor point and the left and right sides of the road boundary, performing lateral offset sampling on the left and right sides of the heading of each reference path anchor point, removing the sampling points that fall into the non-drivable area, and obtaining a sampling point set for each reference path anchor point.
[0015] Preferably, step S2-1 specifically includes: the road boundary is the boundary of the drivable area, and the two sides of the boundary of the drivable area are recorded as point sets P l ={(x l ,y l )} and P r ={(x r ,y r )}, by calculating the Euclidean distance, the nearest point coordinates (x lk ,y lk ) and (x rk ,y rk ), the Euclidean distance S between the reference path anchor point and the nearest point lk and S rk The normal distances between the reference path anchor point and the left and right sides of the road boundary respectively;
[0016] Preferably, step S2-2 specifically includes: moving the reference path anchor point to the left and right road boundaries by a normal distance S respectively. lk and S rk The left and right offset sampling is performed in the direction of h and And construct a sampling point set Where h is the width of the unmanned mining vehicle. The distance that the kth reference path anchor point is offset to the left of the heading is The sampling point coordinates corresponding to the time are The distance to the right of the k-th reference path anchor point is The sampling point coordinates corresponding to the time are calculated, and the sampling points that fall in the non-drivable area are removed.
[0017] Preferably, step S3 specifically includes: step S3-1, constructing a cubic spline curve interpolation constraint equation; step S3-2, based on the cubic spline curve interpolation constraint equation, combining the points of the sampling point sets of each reference path anchor point, performing cubic spline curve interpolation on all the combined trajectories, and generating a set of candidate reference paths.
[0018] Preferably, step S3-1 specifically includes: the pose information (x k ,y k ,θ k ) is known, the following cubic spline interpolation method is defined:
[0019] s(t)={y k (x),x∈[x k-1 ,x k ],k=1,...,n}
[0020] y k (x) = a k +b k (xx k )+c k (xx k ) 2 +d k (xx k ) 3
[0021]
[0022] Among them, s(t) is the path trajectory obtained by interpolating the road segment between every two reference path anchor points by cubic spline curve, and y k (x) is the path trajectory between the k-1th and kth reference path anchor points,
[0023] for y k The first derivative of (x), for y k The second derivative of (x), a k , b k 、c k d k is the curve parameter, x k ,y k 、x k-1 ,y k-1 are the coordinates of the kth and k-1th reference path anchor points in the Cartesian coordinate system, is the first-order derivative of the path trajectory at the first reference path anchor point position, is the first-order derivative of the path trajectory of the nth reference path anchor point position, v0, v n are the speeds at the start and end of the path, respectively.
[0024] Preferably, step S4 specifically includes: step S4-1, performing discrete sampling at fixed intervals on each reference path in the candidate reference path set; step S4-2, based on the discrete sampling, constructing a cost function according to the closest distance between the path point and the boundary, the degree of centralization in the two-way lane, the change in curvature and the total length of the overall reference path.
[0025] Preferably, step S4-1 specifically includes: taking points at fixed-length intervals on each reference path in the candidate reference path set, and recording the position coordinates of each discrete point;
[0026] Step S4-2 specifically includes: constructing a cost function as follows:
[0027] ct(L j )=k1ctbor +k2ct cen +k3ct cur +k4ct len
[0028] Where j is the reference path number, k1, k2, k3, k4 are the weighted values of each sub-item cost, ct bor Indicates the shortest distance between the path point and the boundary, ct cen Indicates the degree of centering in a two-way lane, ct cur Indicates the change of curvature, ct len Represents the total length of the overall reference path;
[0029]
[0030] in is the mean distance between the path point and the nearest point on the right boundary, (x ji ,y ji ) represents the position coordinates of discrete points, (x lji ,y lji ) and (x rji ,y rji ) are the coordinates of the nearest points of the discrete points on the left and right boundaries, j is the number of the reference path, i is the index of the discrete point, O is the number of discrete points, is the average value of the path width corresponding to the discrete points of the reference path;
[0031]
[0032] in, is the mean distance between the path point and the nearest point on the left boundary;
[0033]
[0034] Among them, κ ji is the curvature of each discrete point;
[0035]
[0036] Among them, len j is the length of the j-th path, len max is the maximum expected length.
[0037] Preferably, step S5 specifically includes: selecting a discretized reference path with a minimum cost function from the candidate reference path set as the unmanned mining vehicle reference path generation result.
[0038] Compared with the prior art, the present invention has at least the following beneficial effects:
[0039] (1) The present invention uses cubic spline curves for path generation, which can effectively avoid the problem of sudden change in curvature compared to the prior art, and the generated reference path has better smoothness and continuity. For the unmanned mine car scene, a smooth path can reduce vibration during driving and improve the driving efficiency and safety of the unmanned mine car.
[0040] (2) The present invention manually marks reference path anchor points on the map and performs lateral offset sampling on the left and right sides of the heading of each anchor point to increase candidate reference paths, thereby generating a reference path that is more in line with the actual terrain and obstacle distribution. The method has strong adaptability and can cope with the changeable terrain and environmental conditions in open-pit mining areas.
[0041] (3) The present invention can quickly and effectively screen out the optimal reference path by evaluating each path in the reference path candidate set. The cost function for evaluating and screening the reference path is constructed, which takes into account various factors in the driving process and ensures the driving efficiency and safety of the unmanned mining vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings are only for the purpose of illustrating particular embodiments and are not to be construed as limiting the invention.
[0043] Figure 1 A flow chart of a method for generating a reference path for an unmanned mining vehicle disclosed in an embodiment of the present invention;
[0044] Figure 2 A schematic diagram of road boundaries and manually marked anchor points disclosed in an embodiment of the present invention;
[0045] Figure 3 A schematic diagram of generating a cubic spline curve between two adjacent anchor points disclosed in an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of fixed-length discrete sampling of a reference path disclosed in an embodiment of the present invention;
[0047] Figure 5 The optimal reference path generation result diagram disclosed in the embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. In addition, the present invention can also be implemented in other ways different from those described herein, and therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.
[0049] The unmanned mine car reference path generation method provided by the present invention first generates the unmanned mine car driving reference path based on a cubic spline curve, and then constructs a cost function and compares to select the optimal reference path.
[0050] In order to illustrate the effectiveness of the method proposed by the present invention, the above technical solution of the present invention is described in detail below through a specific embodiment. Figure 1 As shown, a method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling is disclosed, which specifically includes the following steps:
[0051] Step S1, obtaining a mining area road boundary map, and marking reference path anchor points in the boundary map;
[0052] Obtain the mine road boundary map. Rely on high-resolution aerial image data to establish the original mine map, and use image processing algorithms such as feature extraction, edge detection and image segmentation to analyze and process, and identify different areas and objects in the map. Then, the map is processed into grayscale binarization, and the map pixels are divided into two categories according to the different identified areas: the white part representing the drivable area and the black part representing the background non-drivable area, forming the mine road boundary map.
[0053] In some embodiments, a convolutional neural network (CNN) based on deep learning can be used for feature extraction, a Sobel or Canny operator can be used for edge detection, a threshold segmentation or a graph cut algorithm can be used to divide pixels in the image into regions representing different physical meanings, and the identified road regions are converted into a mining area road boundary map by grayscale binarization, where the white part represents the drivable area and the black part represents the non-drivable area, such as Figure 2 shown.
[0054] Manually mark the reference path anchor points in the map and record the anchor point sequence used to generate the reference path: Based on the mining area road boundary map generated in step S11, considering the safety and feasibility of vehicle driving, manually mark the reference path anchor points in the drivable area and record their position information (x k ,y k ,θ k ), where x k ,y k represents the position coordinates of the kth reference path anchor point in the Cartesian coordinate system, θ k Indicates the direction that the kth reference path anchor point points to, specifically the angle of counterclockwise rotation from the positive direction of the x-axis. At the same time, record the anchor point sequence {(x0,y0),(x1,y1),...,(x n ,y n)}, where n is the total number of reference path anchor points.
[0055] Step S2: based on the normal distance between the reference path anchor point and the road boundary in the boundary map, perform lateral offset sampling on the reference path anchor point to obtain a sampling point set;
[0056] Calculate the normal distances of all reference path anchor points from the left and right sides of the irregular boundary. Since the road boundary is irregular, the boundaries on both sides of the road are recorded as point sets P l ={(x l ,y l )} and P r ={(x r ,y r )}. By calculating the Euclidean distance, the nearest point (x lk ,y lk ) and (x rk ,y rk ), the Euclidean distance S between the reference path anchor point and these two points lk and S rk As the normal distance from the anchor point to the road boundary, the road width W is k =S lk +S rk .
[0057] In some embodiments, for each anchor point, the left boundary point set P is traversed l Each point (x l ,y l ), by calculating the anchor point and P l The Euclidean distance of each point in the , find the point with the smallest distance (x lk ,y lk ) as the nearest point. The same method is applied to the right boundary point set P r , find the closest point (x rk ,y rk ). Then, the Euclidean distance from the anchor point to the two nearest points is calculated as the normal distance S from the anchor point to the left and right road boundaries respectively. lk and S rk .
[0058] Based on the normal distance S from the anchor point to the left and right road boundaries lk and S rk The lateral offset sampling is performed on the left and right sides of the heading of each reference path anchor point. Through investigation, the offset distance is determined to be h and Where h is the width of the unmanned mining vehicle. The normal distance S between the manually marked reference path anchor point and the left and right road boundaries is calculated.lk and S rk The sampling is performed in the direction of left and right offset to build a sampling point set in, The distance that the kth reference path anchor point is offset to the left of the heading is The sampling point coordinates corresponding to the time are The distance to the right of the k-th reference path anchor point is The corresponding sampling point coordinates are expressed in a similar way for other sampling points. At the same time, considering that some roads are limited in width, some sampling points may fall into non-drivable areas, which need to be pruned in advance to prevent subsequent useless calculations.
[0059] Step S3: for the sampling point set, generating a candidate reference path set based on cubic spline curve parameterized modeling;
[0060] Based on the cubic spline curve parametric modeling, the reference lines between the path anchor points are generated to obtain the reference path candidate set. The pose information (x k ,y k ,θ k ) is known, the following cubic spline interpolation method is defined:
[0061] s(t)={y k (x),x∈[x k-1 ,x k ],k=1,...,n}
[0062] y k (x) = a k +b k (xx k )+c k (xx k ) 2 +d k (xx k ) 3
[0063] y k (x k-1 )=y k-1 ,y k (x k )=y k ,k=1,...,n
[0064]
[0065] Where n is the total number of reference path anchor points, s(t) is the path trajectory obtained by interpolating the road segments between every two reference path anchor points using cubic spline curves, and y k(x) is the path trajectory between the k-1th and kth reference path anchor points,
[0066] for y k The first derivative of (x), for y k The second derivative of (x), a k , b k 、c k d k is the curve parameter, x k 、x k-1 are the horizontal coordinates of the kth and k-1th reference path anchor points in the Cartesian coordinate system, y k ,y k-1 are the ordinates of the kth and k-1th reference path anchor points in the Cartesian coordinate system, is the first-order derivative of the path trajectory at the first reference path anchor point position, is the first-order derivative of the path trajectory of the nth reference path anchor point position, v0, v n are the speeds at the start and end of the path, respectively.
[0067] In general, the complete path planning of the unmanned mining vehicle should be to start from rest and reach the target area and then stop, so: v0 = v n =0.
[0068] At the same time, since the velocities of the intermediate nodes of the cubic spline curve are unknown, the continuity conditions of the intermediate accelerations need to be considered:
[0069]
[0070] By the constraints of the above equations, y k (x k-1 )=y k-1 ,y k (x k )=y k It ensures that each curve segment is continuous and passes through the interpolation point. The continuity of the first-order derivative at the connection of two adjacent curves is guaranteed. The continuity of the second-order derivative at the connection of two adjacent curves is ensured. Thus, the parameters of the cubic spline curve are solved and the result is used as the reference path of the generated unmanned mining vehicle.
[0071] like Figure 3 As shown in the figure, the sampling points in the n sampling point sets are fully arranged and combined to form a reference path. Each sampling point set contains sampling points with offset distances of -1.5h, -h, -0.5h, 0, 0.5h, h, and 1.5h. When all sampling points are located in the drivable area, there can be a maximum of 7 points. Therefore, the total number of reference paths that can be generated is at most m = 7.n-1 , construct a set of candidate reference paths of cubic spline curves L = {L1, L2, ..., Lm}, where L1, L2, ..., L m are the reference paths obtained for the full permutation.
[0072] Step S4: constructing a cost function for evaluating the reference path;
[0073] First, the path points of each reference path in the reference path candidate set are discretely sampled at fixed intervals. Each path in the reference path set obtained in step S15 is sampled at fixed length intervals, and the position information of each point is recorded to obtain m point sets.
[0074] Construct a cost function for evaluating and screening reference paths, and obtain the total cost function score of each discretized reference path. The cost function is constructed by considering factors such as the closest distance between the path point and the boundary, the degree of centralization in the two-way lane, the change in curvature, and the total length of the overall reference path:
[0075] ct(L j )=k1ct bor +k2ct cen +k3ct cur +k4ct len
[0076] Among them, j is the label of the reference path, and k1, k2, k3, k4 are the weighted values of each sub-item cost.
[0077] In some embodiments, the weighted value of each sub-item cost can be determined based on an expert system, statistical or machine learning method, global optimization method or simulation experiment, and the present invention does not limit the method for obtaining the weighted value of each sub-item cost.
[0078] ct bor The cost function representing the shortest distance between the path point and the boundary is used to find all discrete points (x ji ,y ji )The coordinates of the nearest point on both sides of the boundary (x rji ,y rji ) and (x lji ,y lji ), where j is the reference path index and i is the discrete point index.
[0079] For a two-way lane, calculate the average distance between the path point and the nearest point on the right boundary As the boundary distance:
[0080]
[0081] Among them, ctbor is the cost function of the shortest distance between the path point and the boundary, O is the number of discrete points, is the average value of the path width corresponding to the discrete points of the reference path.
[0082] ct cen The cost function representing the degree of centering in a two-way lane is calculated as:
[0083]
[0084] in, is the mean distance between the path point and the nearest point on the left boundary.
[0085] ct cur Indicates the change of curvature. The curvature κ of each discrete point is calculated according to the curvature formula. ji , calculate the quadratic value of the curvature (κ ji ) 2 The variance of is used as the cost function, and the specific calculation method is:
[0086]
[0087] ct len The cost function represents the total length of the overall reference path, by calculating the length len of each path j With the maximum expected length len set max The ratio is:
[0088]
[0089] Step S5: Select an optimal reference path from the candidate reference path set based on the cost function as a reference path generation result.
[0090] The discretized reference path with the minimum cost function is obtained as the reference path generation result. The result of the reference path with the minimum cost is obtained by comparison as the optimal reference path for the unmanned mining vehicle.
[0091] Although the specific embodiments of the present invention depict various actions or steps in a specific order, this should be understood as requiring such actions or steps to be performed in the specific order shown or in a sequential order, or requiring all illustrated actions or steps to be performed to obtain the desired results. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single implementation in combination. On the contrary, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination. The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or replacements that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
[0092] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling, characterized in that: The steps include: Step S1, obtaining a mining area road boundary map, and marking reference path anchor points in the boundary map; Step S2: based on the normal distance between the reference path anchor point and the road boundary in the boundary map, perform lateral offset sampling on the reference path anchor point to obtain a sampling point set; Step S3: for the sampling point set, generating a candidate reference path set based on cubic spline curve parameterized modeling; Step S4: constructing a cost function for evaluating the reference path; Step S5: Select an optimal reference path from the candidate reference path set based on the cost function as a reference path generation result.
2. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to claim 1, characterized in that: Step S1 specifically includes: Step S1-1, establishing an original map of the mining area based on the aerial image data, dividing the map into a drivable area and a non-drivable area, and forming a road boundary map of the mining area; Step S1-2: manually marking reference path anchor points in the mining area road boundary map and recording a reference path anchor point sequence.
3. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to claim 2, characterized in that: Step S1-1 specifically includes: establishing an original map of the mining area based on the aerial image data, identifying the drivable area and the non-drivable area in the original map, performing grayscale binarization processing on the original map, where the white part is the drivable area and the black part is the non-drivable area, and forming a road boundary map of the mining area; Step S1-2 specifically includes: manually marking reference path anchor points in the drivable area and recording their position information (x k ,y k ,θ k ), record the anchor point sequence {(x0,y0),(x1,y1),...,(x n ,y n )}, where x k ,y k represents the position coordinates of the kth reference path anchor point in the Cartesian coordinate system, θ k represents the direction pointed by the kth reference path anchor point, and n is the total number of reference path anchor points.
4. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to claim 3, characterized in that: Step S2 specifically includes: Step S2-1, calculating the normal distance between the reference path anchor point and the left and right sides of the road boundary; Step S2-2: Based on the direction of the normal distance between the reference path anchor point and the left and right sides of the road boundary, lateral offset sampling is performed on the left and right sides of the heading of each reference path anchor point, and sampling points falling into the non-drivable area are removed to obtain a sampling point set for each reference path anchor point.
5. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to claim 4, characterized in that: Step S2-1 specifically includes: the road boundary is the boundary of the drivable area, and the two sides of the boundary of the drivable area are recorded as point sets P l ={(x l ,y l )} and P r ={(x r ,y r )}, by calculating the Euclidean distance, the nearest point coordinates (x lk ,y lk ) and (x rk ,y rk ), the Euclidean distance S between the reference path anchor point and the nearest point lk and S rk The normal distances between the reference path anchor point and the left and right sides of the road boundary respectively; Step S2-2 specifically includes: moving the reference path anchor point to the left and right road boundaries by a normal distance S lk and S rk The left and right offset sampling is performed in the direction of h and And construct a sampling point set Where h is the width of the unmanned mining vehicle. The distance that the kth reference path anchor point is offset to the left of the heading is The sampling point coordinates corresponding to the time are The distance to the right of the k-th reference path anchor point is The sampling point coordinates corresponding to the time are calculated, and the sampling points that fall in the non-drivable area are removed.
6. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to claim 5, characterized in that: Step S3 specifically includes: Step S3-1, constructing a cubic spline curve interpolation constraint equation; Step S3-2: Based on the cubic spline curve interpolation constraint equation, the points in the sampling point set of each reference path anchor point are combined, and cubic spline curve interpolation is performed on all the combined trajectories to generate a candidate reference path set.
7. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to claim 6, characterized in that: Step S3-1 specifically includes: the pose information (x k ,y k ,θ k ) is known, the following cubic spline interpolation method is defined: s(t)={y k (x),x∈[x k-1 ,x k ],k=1,...,n} y k (x)=a k +b k (x-x k )+c k (x-x k ) 2 +d k (x-x k ) 3 and k (x k-1 )=and k-1 ,and k (x k )=and k ,k=1,...,n Among them, s(t) is the path trajectory obtained by interpolating the road segment between every two reference path anchor points by cubic spline curve, and y k (x) is the path trajectory between the k-1th and kth reference path anchor points, for y k The first derivative of (x), for y k The second derivative of (x), a k , b k 、c k ,d k is the curve parameter, x k ,y k 、x k-1 ,y k-1 are the coordinates of the kth and k-1th reference path anchor points in the Cartesian coordinate system, is the first-order derivative of the path trajectory at the first reference path anchor point position, is the first-order derivative of the path trajectory of the nth reference path anchor point position, v0, v n are the speeds at the start and end of the path, respectively.
8. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to any one of claims 1 to 7, characterized in that: Step S4 specifically includes: Step S4-1, performing discrete sampling at fixed intervals on each reference path in the candidate reference path set; Step S4-2: Based on the discrete sampling, a cost function is constructed according to the shortest distance between the path point and the boundary, the degree of centering in the two-way lane, the change of curvature and the total length of the overall reference path.
9. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to claim 8, characterized in that: Step S4-1 specifically includes: taking points at fixed length intervals on each reference path in the candidate reference path set, and recording the position coordinates of each discrete point; Step S4-2 specifically includes: constructing a cost function as follows: <h2 style=";text-align:left;direction:ltr">ct(L<h2 style=";text-align:left;direction:ltr"> j <h2 style=";text-align:left;direction:ltr"> )=k1ct<h2 style=";text-align:left;direction:ltr"> bor <h2 style=";text-align:left;direction:ltr"> +k2ct<h2 style=";text-align:left;direction:ltr"> cen <h2 style=";text-align:left;direction:ltr"> +k3ct<h2 style=";text-align:left;direction:ltr"> cur <h2 style=";text-align:left;direction:ltr"> +k4ct<h2 style=";text-align:left;direction:ltr"> len Among them, j is the reference path number, k1, k2, k3, k4 are the weighted values of each sub-item cost, ct bor Indicates the shortest distance between the path point and the boundary, ct cen Indicates the degree of centering in a two-way lane, ct cur Indicates the change of curvature, ct len represents the total length of the overall reference path; in is the mean distance between the path point and the nearest point on the right boundary, (x ji ,y ji ) represents the position coordinates of discrete points, (x lji ,y lji ) and (x rji ,y rji ) are the coordinates of the nearest points of the discrete points on the left and right boundaries, j is the number of the reference path, i is the index of the discrete point, O is the number of discrete points, is the average value of the path width corresponding to the discrete points of the reference path; in, is the mean distance between the path point and the nearest point on the left boundary; Among them, κ ji is the curvature of each discrete point; Among them, len j is the length of the j-th path, len max is the maximum expected length.
10. The method for generating a reference path for an unmanned mining vehicle based on cubic spline curve sampling according to claim 9, characterized in that: Step S5 specifically includes: selecting a discretized reference path with a minimum cost function from the candidate reference path set as the unmanned mining vehicle reference path generation result.
Citation Information
Cited By
Intelligent automobile road curvilinear abstraction method and vectorized path
CN120668101A
