A local trajectory selection method for intelligent vehicles based on extended search A-star algorithm

Through the intelligent vehicle local trajectory selection method based on the extended search A-star algorithm, using weighted cost function calculation and path planning space search, the problem of low efficiency in the existing technology is solved, and efficient path planning and path planning under multiple constraints are achieved. Driving safety is improved.

CN118565506BActive Publication Date: 2024-10-22WUHAN UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411044300.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-22
Estimated Expiration
2044-07-31

AI Technical Summary

Technical Problem

The existing technology has the problem of low efficiency in efficiently planning local paths for intelligent vehicles under multiple constraints to safely avoid obstacles, and it is difficult for a single algorithm to obtain the optimal solution.

Method used

An intelligent vehicle local trajectory selection method based on the extended search A-star algorithm is used to establish a path planning space by obtaining the global navigation path, vehicle positioning information and road environment information, and use the weight cost function to calculate the weight cost of the selected point, and select the minimum cost point Search and form local trajectory planning.

Benefits of technology

It improves the efficiency and accuracy of path planning, enhances the adaptability and real-time performance of the algorithm, ensures safe driving of vehicles in complex environments, and flexibly balances multiple factors of path planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565506B_ABST
    Figure CN118565506B_ABST
Patent Text Reader

Abstract

The present invention provides a method for selecting a local trajectory of an intelligent vehicle based on an extended search A-star algorithm, which relates to the field of intelligent vehicle trajectory generation. The method comprises: obtaining a global navigation path corresponding to the intelligent vehicle, selecting a local reference path from the global navigation path; establishing a path planning space based on the local reference path, and performing discrete sampling on the path planning space; using the extended search A-star algorithm to search in a forward three-selected point extended search manner, using a weight cost function to calculate the weight cost from the selected point to the forward three selected points, selecting the selected point with the smallest weight cost to add to a closed list; connecting the selected points in the closed list in sequence, and finally forming the planning of the local trajectory of the intelligent vehicle. The method improves the adaptability of the extended search A-star algorithm by proposing corresponding rules, and improves the solution efficiency and practical applicability of the path planning algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent vehicle trajectory generation and selection, and in particular to an intelligent vehicle local trajectory selection method based on an extended search A-star algorithm. Background Art

[0002] As a key technology for realizing autonomous driving of intelligent vehicles, path planning is mainly divided into global path planning and local trajectory selection, where local trajectory selection refers to providing an optimal path for intelligent vehicles that meets vehicle dynamics constraints and does not collide with obstacles based on the global path. In the prior art, there are methods for intelligent vehicles to plan local paths in the frenet coordinate system. The invention patent with publication number CN117193308A discloses an intelligent vehicle obstacle avoidance path planning method based on improved RRT and back-end optimization strategy. This method is applicable to the problem of autonomous obstacle avoidance path planning of intelligent vehicles with Ackerman steering mechanisms traveling at low speeds in the Frenet coordinate system, and can quickly generate smooth and safe local obstacle avoidance paths. The invention patent with publication number CN 116182884 A discloses an intelligent vehicle local path planning method based on lateral and longitudinal decoupling of the frenet coordinate system, which uses SL graphs and ST graphs to process the path and speed respectively to improve efficiency, and can be widely used in the field of trajectory planning technology in unmanned driving.

[0003] However, how to efficiently plan a local path for intelligent vehicles under multiple constraints to safely avoid obstacles is an urgent problem to be solved. There are many algorithms for implementing local trajectory selection, but each algorithm has its own advantages, applicable conditions and limitations. It is unrealistic to rely on a single algorithm to obtain the best solution to complex path planning problems. Summary of the invention

[0004] The present invention takes into account that actual vehicles have high real-time requirements for local trajectory selection. Therefore, under the premise of the same hardware platform, it is extremely important to solve the problem of how to improve the operating efficiency of the path planning algorithm. Based on this, the present invention proposes a local trajectory selection method for intelligent vehicles based on the extended search A-star algorithm.

[0005] According to one aspect of the present invention, a method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm is provided, comprising:

[0006] Obtaining a global navigation path corresponding to the intelligent vehicle, and selecting a local reference path from the global navigation path according to vehicle positioning information, obstacle information in front of the vehicle, and road environment information;

[0007] Establishing a path planning space based on the local reference path, and performing discrete sampling on the path planning space to obtain m columns and n rows, with a total of m×n sampling points;

[0008] Use the extended search A-star algorithm to search in the forward three-point extended search mode, using the weighted cost function Calculate the weighted cost from the candidate point to the three forward candidate points, select the candidate point with the smallest weighted cost and add it to the closed list, then continue searching for the neighboring candidate points of the candidate point with the smallest weighted cost until the candidate point in the mth column is searched and added to the closed list, then end the search; connect the candidate points in the closed list in sequence, and finally form the local trajectory planning of the intelligent vehicle;

[0009] The forward three candidate points are based on the candidate point at the starting point of the local reference path of the intelligent vehicle, and the sampling points are searched from the 1st column to the mth column in sequence; if the current position of the intelligent vehicle is at the candidate point in the i-th row and j-th column , select Column , , Three candidate points for the line , , As the adjacent candidate points, , .

[0010] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0011] Combined with the vehicle positioning information, the obstacle information in front of the vehicle and the road environment information, a partial path is selected from the global navigation path as the local reference path for system path planning, wherein the local reference path is composed of a plurality of path points. Indicates that the total number of path points is n, and the location coordinate information of the path points is .

[0012] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0013] Taking the local reference path as a reference, a Frenet coordinate system is established along the tangent direction and normal direction of the local reference path, and the vehicle positioning information, the obstacle information in front of the vehicle, and the road environment information are projected onto the local reference path to complete the establishment of the path planning space; the road environment information includes road boundaries and lane lines.

[0014] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0015] Starting from the starting point of the intelligent vehicle path planning, the path planning space is sampled; the discrete sampling includes sampling along the S direction of the frenet coordinate system at a sampling interval Sampling is performed along the L direction of the frenet coordinate system with a sampling interval Sampling is performed. When sampling, m levels are sampled along the S direction. For a single level in the S direction, n points are sampled along the L direction to obtain m×n sampling points in the entire planning space.

[0016] According to the sampling points, the local reference path is constructed using a quintic polynomial curve, wherein the quintic polynomial curve between two points at adjacent levels is expressed as:

[0017]

[0018] Where: are the coordinate values ​​in the L and S directions of the coordinate system respectively; are the coefficients of a fifth-degree polynomial.

[0019] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0020] Calculating the weighted cost includes: for a single quintic polynomial path along the S direction at the sampling interval ds Perform equidistant sampling to obtain n path points. The weighted cost of the single quintic polynomial path is the sum of the weighted costs of the n path points on the single quintic polynomial path. The s coordinate of each sampling point is expressed as:

[0021]

[0022] The calculation formula of path weight cost is:

[0023]

[0024] in, represents the path smoothing weight cost, represents the reference trajectory deviation weight cost, represents the collision weight cost, Represents the road boundary weight cost, w1, w2, w3, w4 are weight values.

[0025] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0026] The path smoothing weight cost The size of represents the smoothness of the entire path; the path weight cost The size of represents the deviation degree between the whole path and the smooth reference path; the collision weight cost and the road boundary weight cost Represents the risk of collision between the entire path and obstacles in front of the vehicle and the road boundary.

[0027] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0028] The weighted cost function It is expressed as:

[0029]

[0030] In the formula, A weighted cost function for selecting a starting point from the local trajectory of the intelligent vehicle to reach the current point to be selected; The accumulated value of the weighted cost of the path from the starting point of the local trajectory of the intelligent vehicle to the current point to be selected; It is the estimated weighted cost from the current candidate point to the end point of path planning.

[0031] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0032] The path weight cost cumulative value It is expressed as:

[0033]

[0034] The estimated weighted cost from the current candidate point to the path planning end point The horizontal distance from the current candidate point to the reference line The longitudinal distance from the current candidate point to the end point of path planning It consists of two parts:

[0035]

[0036] In the formula, and The frenet L coordinates and frenet S coordinates of the current point to be selected in the path planning space; is the frenet S coordinate of the target point to be selected.

[0037] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0038] The weighted cost function Calculating the weighted cost from the candidate point to the three forward candidate points also includes determining whether the three forward candidate points interfere with the obstacle in front of the vehicle. If none of them exist, The candidate point with the smallest value is added to the closed list, and then the adjacent candidate points of the candidate point are searched; if there are any, the search range needs to be expanded to the candidate points in the i-2 and i+2 rows of the j+1th column, and the candidate points in the i-3 and i+3 rows of the j+1th column, until there is no interference with the obstacle in front of the vehicle and The smallest candidate point.

[0039] The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm provided by the present invention includes:

[0040] The method of using the extended search A-star algorithm to search in a forward three-point extended search manner includes storing the points to be searched in an open list, and if an adjacent point to be searched is in the open list, comparing the points after passing through the adjacent point to be searched. Is the value of smaller? If so, update the parent candidate point to the adjacent candidate point. If not, do not make any changes. If the adjacent candidate point has not been searched, add the adjacent candidate point to the open list.

[0041] According to another aspect of the present invention, a system for selecting a local trajectory of an intelligent vehicle using an extended search A-star algorithm is provided, comprising:

[0042] Navigation module, local reference path generation module, path discrete space generation module and path search module;

[0043] The navigation module is used to obtain the global navigation path and vehicle positioning information of the intelligent vehicle;

[0044] The local reference path generation module is used to select the local reference path from the global navigation path according to the vehicle state information;

[0045] The path discrete space generation module is used to establish a path planning space based on the local reference path and to perform discrete sampling on the path planning space;

[0046] The path search module is used to select an initial path solution based on the local trajectory of the intelligent vehicle of the extended search A-star algorithm.

[0047] According to another aspect of the present invention, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements a local trajectory selection method for an intelligent vehicle based on an extended search A-star algorithm when executing the computer program.

[0048] The present invention can efficiently plan a local path for the intelligent vehicle under the multi-constraint conditions of safely avoiding obstacles, improve the efficiency and accuracy of the path planning of the intelligent vehicle in a complex road environment, and can dynamically adjust the local trajectory according to the real-time vehicle positioning information and the road environment, so as to improve the real-time and adaptability of the path planning. Considering that the actual vehicle has high requirements for the real-time selection of the local trajectory, the present invention can improve the operation efficiency of the planning algorithm under the premise of the same hardware platform, and use the extended search A-star algorithm of the forward three candidate points, and on this basis, combine the open list and the closed list to form the local trajectory planning of the intelligent vehicle, so as to better improve the adaptability of the A-star algorithm, improve the solution efficiency and practical applicability of the path planning algorithm, and can effectively control the search range and reduce the computational complexity;

[0049] The present invention can also calculate a weighted cost function to select a path based on path smoothness, deviation degree and collision risk, thereby improving driving safety. It can also flexibly balance multiple factors of path planning by setting weights of path smoothness weights, path deviation degree and collision risk, thereby making vehicle driving more stable and safe. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 A schematic diagram of the flow of the method for selecting local trajectories of an intelligent vehicle based on the extended search A-star algorithm provided by the present invention;

[0052] Figure 2 A schematic diagram of the process of the extended search A-star algorithm in the first embodiment of the present invention;

[0053] Figure 3 In the fourth embodiment of the present invention, the extended search A-star algorithm is used to search for a local path schematic diagram in the path discrete space;

[0054] Figure 4 This is a schematic diagram of simulation results based on a one-way three-lane scenario in the fourth embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.

[0056] The present invention obtains the reference driving trajectory required for the local trajectory selection of the intelligent vehicle according to the vehicle state information, the road environment information and the global navigation path information; obtains the path frenet coordinate system according to the reference path, and projects the obstacles within a certain range of the vehicle at this moment to the frenet coordinate system to generate an SL graph; then the SL graph is discretely sampled according to the rules to generate a path discrete space, and the candidate points of adjacent levels in the S direction can be connected in sequence in the form of a quintic polynomial curve to complete the path from the local trajectory selection starting point to the final level; then, by defining the heuristic estimation function F(n) of the extended search A star algorithm, it is convenient to calculate the subsequent path weight cost; then, the extended search A star algorithm is used to search according to the forward three candidate points extended search method defined in the present invention, and the candidate point with the lowest weight cost is put into a closed list by calculating the weight cost, and finally these candidate points are connected in sequence to obtain the local path.

[0057] Reference Figure 1-2 , is an embodiment of the present invention, and provides a method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm, comprising:

[0058] S1. Obtaining the global navigation path, vehicle positioning information, obstacle information in front of the vehicle, and road environment information corresponding to the intelligent vehicle;

[0059] Set system data. The navigation module is used to obtain the global navigation path and vehicle positioning information of the intelligent vehicle. The perception module is used to obtain obstacle information and road environment information near the intelligent vehicle.

[0060] S2, selecting a local reference path from the global navigation path according to the vehicle positioning information, the obstacle information in front of the vehicle and the road environment information;

[0061] The system obtains a reference path based on the vehicle positioning information, the obstacle information in front of the vehicle and the global navigation path; combines the vehicle positioning information and the relative position between the vehicle and the obstacle in front of the vehicle, selects a part from the global navigation path as the local reference path for system path planning, and the local reference path consists of multiple path points. Indicates that the total number of path points is n, and the location coordinate information of the path points is (1).

[0062] S3. Establish a path planning space based on the local reference path and perform discrete sampling.

[0063] S31. Taking the local reference path as a reference, establishing a Frenet coordinate system based on the tangent direction and normal direction of the local reference path, and adding the vehicle positioning information, the obstacle information in front of the vehicle, and the road environment information to the local reference path to complete the establishment of the path planning space; the road environment information includes the road boundary and lane line projection.

[0064] S32, during discrete sampling, starting from the starting point of the vehicle path planning, the path planning space is sampled. The discrete sampling rule is: along the S direction of the Frenet coordinate system with a sampling interval Sampling is performed along the L direction of the frenet coordinate system with a sampling interval During sampling, m levels are sampled along the S direction, and for a single level in the S direction, n sampling points are sampled along the L direction, so there are a total of m×n sampling points in the entire planning space.

[0065] S33. According to the discrete sampling point information, the present invention takes into account the vehicle dynamics constraints, and therefore uses a quintic polynomial curve to construct a path. It is necessary to construct a path from the path planning starting point to the first layer sampling point, the second layer sampling point to the third layer sampling point, and so on, until the m-1 layer sampling point to the m layer sampling point, thereby generating a complete path in the path planning space, wherein the quintic polynomial curve between two points at adjacent levels can be expressed as:

[0066]

[0067] Where: l and s are the coordinate values ​​in the L and S directions of the coordinate system respectively; are the coefficients of a fifth-degree polynomial.

[0068] S4. Use the extended search A-star algorithm to search in the forward three-selected point extended search manner to obtain a local trajectory.

[0069] S41. Considering how to reflect the selection priority of different paths, the calculation of the path weight cost of the present invention requires sampling a single quintic polynomial path along the S direction at an equidistant sampling interval of ds to obtain n path points. The weight cost of a single quintic polynomial path is the sum of the weight costs of the n path points on the path. The coordinates are expressed as:

[0070]

[0071] The calculation of path weight cost needs to consider multiple factors, including path smoothing weight cost, reference trajectory deviation weight cost, collision weight cost and road boundary weight cost. express,

[0072]

[0073] in, represents the path smoothing weight cost, represents the reference trajectory deviation weight cost, represents the collision weight cost, Represents the road boundary weight cost, w1, w2, w3, w4 are weight values.

[0074] Furthermore, the path smoothing weight cost The size of represents the smoothness of the entire path, and the first-order derivative of the lateral displacement of the path point , second-order derivative and the third derivative As the path smoothing weight cost indicator, It is expressed as:

[0075]

[0076] Further, refer to the path weight cost The size of represents the deviation degree between the whole path and the smooth reference path, which is expressed as the lateral displacement between the path point and the smooth reference path. As the reference path weight cost indicator, It is expressed as:

[0077]

[0078] Furthermore, the collision weight cost and road boundary weight cost Represents the risk of collision between the entire path and obstacles and road boundaries. In the path planning space, the projection coordinates of all obstacles on the reference path are marked as The present invention uses the artificial potential field method to model obstacles, and uses the collision weight cost to keep the intelligent vehicle at a preset safe distance from the obstacle. The collision weight cost is obtained by summing the weight costs between all path points and all obstacles. :

[0079]

[0080] Where: represents the obstacle potential field coefficient, Represents the longitudinal safety factor between the intelligent vehicle and the obstacle, Represents the lateral safety factor between the smart vehicle and obstacles.

[0081] The artificial potential field method is used to model the road boundary. The weighted cost of the road boundary is used to keep the path at a certain safe distance from the road boundary. The weighted cost of the road boundary is obtained by summing up the weighted costs between all path points and the road boundary. :

[0082]

[0083] Where: and are the lateral offsets of the road boundary relative to the reference path, respectively; Represents the road boundary potential.

[0084] S42, based on the weighted cost function F(n), using the extended search A-star algorithm, search for a local path in the path in the path discrete space; since the feasible path from the planning starting point to each sampling point is composed of multiple segmented quintic polynomial paths, the sampling points in the path planning space of the present invention represent the concept of "to be selected points" in graph theory, and the quintic polynomial paths between the sampling points represent the concept of "edges" in graph theory; F(n) is expressed as,

[0085]

[0086] Where F(n) is the weighted cost function from the starting point of the local trajectory of the intelligent vehicle to the current candidate point; G(n) is the cumulative value of the weighted cost of the path from the starting point of the local trajectory of the intelligent vehicle to the current candidate point; H(n) is the estimated weighted cost from the current candidate point to the end point of the path planning.

[0087] The cumulative value of the path weight cost G(n) from the starting point of the path planning to the current candidate point in the present invention is expressed as:

[0088]

[0089] The estimated weighted cost H(n) from the current candidate point to the end point of the path planning is calculated by the lateral distance from the current candidate point to the reference line. The longitudinal distance from the current candidate point to the end point of path planning It consists of two parts:

[0090]

[0091] In the formula, and The frenet L coordinates and frenet S coordinates of the current point to be selected in the path planning space; is the frenet S coordinate of the target point to be selected.

[0092] S43, the search process of the extended search A star algorithm is as follows Figure 2 As shown, the extended search A-star algorithm of the present invention uses the forward three-selected point extended search method defined in the present invention when performing path search. The specific search rules are as follows:

[0093] The discrete planning space constructed above has m columns, n rows, and a total of m×n sampling points. The forward direction represents that the search method of the present invention is to search from the first column to the mth column in sequence. First, two empty tables are defined, named the open list Open_list and the closed list Close_list. The open list stores the candidate points waiting to be searched, and the closed list stores the candidate points that have been searched. When the search starts, the open list and the closed list are empty, and then the candidate point where the local planning starting point of the intelligent vehicle is located is placed in the open list; each candidate point has three attributes, the number of the previous candidate point, G(n), H(n). If the vehicle position at this moment is at the candidate point in the i-th row and j-th column , first select Column , , Three candidate points for the line , , As the adjacent candidate points, i and j need to be kept within a reasonable range. The present invention requires , . Put the above three candidate points into the open list; use the weighted cost function F(n) to calculate the candidate points By comparing the weighted cost function F(n) of the three paths, it can be determined whether there is interference with the obstacle in front of the vehicle. If not, the candidate point with the smallest F(n) in the open list is added to the closed list, and then the adjacent candidate points of the candidate point are searched; if so, the search range needs to be expanded to the candidate points in the i-2 and i+2 rows of the j+1th column, and the candidate points in the i-3 and i+3 rows of the j+1th column until a path with no interference with the obstacle in front of the vehicle and the smallest weighted cost function F(n) value is found. If the adjacent candidate point is in the closed list, the candidate point will be ignored; if the adjacent candidate point is in the open list, the F(n) value after passing through the candidate point is compared to see if it is smaller. If it is true, the parent candidate point is updated to the candidate point, otherwise it is not changed; if the adjacent candidate point has not been searched, it is added to the open list. The search ends when the candidate point in the mth column is searched and added to the closed list. The candidate points in the closed list are connected in sequence with a quintic polynomial curve, and finally a preliminary solution of the path for local trajectory planning of the intelligent vehicle is formed.

[0094] The present invention can efficiently plan a local path for the intelligent vehicle under the multi-constraint conditions of safely avoiding obstacles, improve the efficiency and accuracy of the path planning of the intelligent vehicle in a complex road environment, and can dynamically adjust the local trajectory according to the real-time vehicle positioning information and the road environment, so as to improve the real-time and adaptability of the path planning. Considering that the actual vehicle has high requirements for the real-time selection of the local trajectory, the present invention can improve the operation efficiency of the planning algorithm under the premise of the same hardware platform, and use the extended search A-star algorithm of the forward three candidate points, and on this basis, combine the open list and the closed list to form the local trajectory planning of the intelligent vehicle, so as to better improve the adaptability of the A-star algorithm, improve the solution efficiency and practical applicability of the path planning algorithm, and can effectively control the search range and reduce the computational complexity;

[0095] The present invention can also calculate a weighted cost function to select a path based on path smoothness, deviation degree and collision risk, thereby improving driving safety. It can also flexibly balance multiple factors of path planning by setting weights of path smoothness weights, path deviation degree and collision risk, thereby making vehicle driving more stable and safe.

[0096] As one embodiment of the present invention, a system using an intelligent vehicle local trajectory selection method based on an extended search A-star algorithm is provided, comprising:

[0097] Navigation module, local reference path generation module, path discrete space generation module and path search module;

[0098] The navigation module is used to obtain the global navigation path and vehicle positioning information of the intelligent vehicle;

[0099] The local reference path generation module is used to select the local reference path from the global navigation path according to the vehicle state information;

[0100] The path discrete space generation module is used to establish a path planning space based on the local reference path and to perform discrete sampling on the path planning space;

[0101] The path search module is used to select an initial path solution based on the local trajectory of the intelligent vehicle of the extended search A-star algorithm.

[0102] An embodiment of the present invention is different from the first two embodiments in that:

[0103] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0104] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0105] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

[0106] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0107] Reference Figure 3-Figure 4 , which is an embodiment of the present invention, provides a method for selecting local trajectories of intelligent vehicles with an extended search A-star algorithm. In order to verify the beneficial effects of the present invention, a scientific demonstration is carried out through simulation experiments. The simulation has been run in an environment with an Intel processor and 32 GB RAM. The operating system used is Ubuntu 18.04 operating system. The path planning system is simulated using C++ programming language, data is recorded, and data graphs are drawn.

[0108] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for selecting local trajectories of intelligent vehicles based on an extended search A-star algorithm, characterized in that: include: Obtaining a global navigation path corresponding to the intelligent vehicle, and selecting a local reference path from the global navigation path according to vehicle positioning information, obstacle information in front of the vehicle, and road environment information; Establishing a path planning space based on the local reference path, and performing discrete sampling on the path planning space to obtain m columns and n rows, with a total of m×n sampling points; Use the extended search A-star algorithm to search in the forward three-point extended search mode, using the weighted cost function Calculate the weighted cost from the candidate point to the three candidate points in the forward direction, select the candidate point with the smallest weighted cost and add it to the closed list, then continue searching for the neighboring candidate points of the candidate point with the smallest weighted cost, until the candidate point in the mth column is searched and added to the closed list, then end the search; connect the candidate points in the closed list in sequence, and finally form the planning of the local trajectory of the intelligent vehicle; The forward three candidate points are based on the candidate point at the starting point of the local reference path of the intelligent vehicle, and the sampling points are searched from the 1st column to the mth column in sequence; if the current position of the intelligent vehicle is at the candidate point in the i-th row and j-th column , select Column , , Three candidate points for the line , , As the adjacent candidate points, , ; The establishing of the path planning space based on the local reference path includes: Taking the local reference path as a reference, a Frenet coordinate system is established along the tangent direction and the normal direction of the local reference path, and the vehicle positioning information, the obstacle information in front of the vehicle, and the road environment information are projected onto the local reference path to complete the establishment of the path planning space; the road environment information includes road boundaries and lane lines; The weighted cost function It is expressed as: ; In the formula, A weighted cost function for selecting a starting point from the local trajectory of the intelligent vehicle to reach the current point to be selected; The accumulated value of the weighted cost of the path from the starting point of the local trajectory of the intelligent vehicle to the current point to be selected; The estimated weighted cost from the current candidate point to the end point of path planning; The path weight cost cumulative value It is expressed as: ; The calculation formula of path weight cost is: ; in, represents the path smoothing weight cost, represents the reference trajectory deviation weight cost, represents the collision weight cost, Represents the weighted cost of the road boundary, w1, w2, w3, and w4 are weight values; The estimated weighted cost from the current candidate point to the path planning end point The horizontal distance from the current candidate point to the reference line The longitudinal distance from the current candidate point to the end point of path planning It consists of two parts: ; In the formula, and The frenet L coordinates and frenet S coordinates of the current point to be selected in the path planning space; is the frenet S coordinate of the target point to be selected; The weighted cost function Calculating the weighted cost from the candidate point to the three forward candidate points also includes determining whether the three forward candidate points interfere with the obstacle in front of the vehicle. If none of them exist, The candidate point with the smallest value is added to the closed list, and then the adjacent candidate points of the candidate point are searched; if there are any, the search range needs to be expanded to the candidate points in the i-2 and i+2 rows of the j+1th column, and the candidate points in the i-3 and i+3 rows of the j+1th column, until there is no interference with the obstacle in front of the vehicle and The smallest candidate point; The method of using the extended search A-star algorithm to search in a forward three-point extended search manner includes storing the points to be searched in an open list, and if an adjacent point to be searched is in the open list, comparing the points after passing through the adjacent point to be searched. Is the value of smaller? If so, update the parent candidate point to the adjacent candidate point. If not, do not make any changes. If the adjacent candidate point has not been searched, add the adjacent candidate point to the open list.

2. The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm according to claim 1, characterized in that: The selecting a local reference path from the global navigation path comprises: Combined with the vehicle positioning information, the obstacle information in front of the vehicle and the road environment information, a partial path is selected from the global navigation path as the local reference path for system path planning, wherein the local reference path is composed of a plurality of path points. Indicates that the total number of path points is n, and the location coordinate information of the path points is .

3. The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm according to claim 1, characterized in that: The discrete sampling of the path planning space includes: Starting from the starting point of the intelligent vehicle path planning, the path planning space is sampled; the discrete sampling includes sampling along the S direction of the frenet coordinate system at a sampling interval Sampling is performed along the L direction of the frenet coordinate system with a sampling interval Sampling is performed. When sampling, m levels are sampled along the S direction. For a single level in the S direction, n points are sampled along the L direction to obtain m×n sampling points in the entire planning space. According to the sampling points, the local reference path is constructed using a quintic polynomial curve, wherein the quintic polynomial curve between two points at adjacent levels is expressed as: ; Where: are the coordinate values ​​in the L and S directions of the coordinate system respectively; are the coefficients of a fifth-degree polynomial.

4. The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm as claimed in claim 3, characterized in that: Calculating the weighted cost includes: for a single quintic polynomial path along the S direction at the sampling interval ds Perform equidistant sampling to obtain n path points. The weighted cost of the single quintic polynomial path is the sum of the weighted costs of the n path points on the single quintic polynomial path. The s coordinate of each sampling point is expressed as: .

5. The method for selecting local trajectories of an intelligent vehicle based on an extended search A-star algorithm as claimed in claim 4, characterized in that: The path smoothing weight cost The size of represents the smoothness of the entire path; the path weight cost The size of represents the deviation degree between the whole path and the smooth reference path; the collision weight cost and the road boundary weight cost Represents the risk of collision between the entire path and obstacles in front of the vehicle and the road boundary.

Citation Information

Cited By

  • Orchard robot path planning method based on ground undulation degree self-adaption

    CN120820155A