CN111289008B - A local path planning method for unmanned vehicles - Google Patents
A local path planning method for unmanned vehicles Download PDFInfo
- Publication number
- CN111289008B CN111289008B CN202010349542.5A CN202010349542A CN111289008B CN 111289008 B CN111289008 B CN 111289008B CN 202010349542 A CN202010349542 A CN 202010349542A CN 111289008 B CN111289008 B CN 111289008B
- Authority
- CN
- China
- Prior art keywords
- speed limit
- track
- speed
- unmanned vehicle
- road
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3453—Special cost functions, i.e. other than distance or default speed limit of road segments
- G01C21/3492—Special cost functions, i.e. other than distance or default speed limit of road segments employing speed data or traffic data, e.g. real-time or historical
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Aviation & Aerospace Engineering (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
The invention discloses a local path planning method for an unmanned vehicle, which comprises the steps of inputting parameters required by local path planning; selecting a preview point; planning a track based on a road coordinate system to generate a basic track; matching the basic track with the road shape to generate an alternative track; calculating a speed limit value based on the alternative track and a corresponding speed limit position; the alternative tracks are optimized to obtain tracks executed by the unmanned vehicle, and the tracks are called as optimized tracks; and planning the speed of the unmanned vehicle based on the preferred track. The local path planning method avoids planning failure in a complex road, simplifies the planning of the local path in the complex environment and approaches to the driving behavior of people. The local path planning method can effectively process the influence of static obstacles, dynamic objects, traffic lights, speed limit belts and various traffic facilities on the unmanned vehicle in real time in a complex urban road environment.
Description
Technical Field
The invention belongs to the technical field of unmanned path planning, and particularly relates to a local path planning method for an unmanned vehicle.
Background
Unmanned vehicles are a class of vehicles that can autonomously accomplish driving tasks in complex environments on the road. The unmanned control is mainly divided into the following parts: 1) the environment perception module perceives and understands external environment information such as static and dynamic obstacles such as vehicles and pedestrians, lane lines, traffic lights, traffic signs and the like on the road through sensors such as a camera, a laser radar, a millimeter wave radar and the like. 2) And the positioning module carries out high-precision positioning through satellite navigation, inertial navigation, SLAM and the like to obtain the position, the speed, the course, the running curvature and the like of the vehicle. 3) And the high-precision map provides all information on the road for unmanned driving. 4) The global path planning module generally calculates a global reference path by using information such as a global task file and a global map (e.g., global road network information), and the global task planning module outputs the global reference path in the form of a series of coordinate points. Due to the large spatial and temporal scale involved in global path planning, planning can be performed in an off-line manner, and periodic re-planning is not required. 5) Planning a local path; and finishing fine planning according to the global path planning. 6) And the module is used for deciding and controlling, and finally sending a control instruction to the executing mechanism to realize transverse and longitudinal control so as to finish the autonomous driving task. The birth and development of the unmanned automobile benefit from the rapid development of various disciplines such as artificial intelligence, pattern recognition, computer vision, control theory and the like, and the development is the perfect combination of the latest research results in the fields and the modern automobile industry. The unmanned technology has wide application prospect in the fields of national defense and national economy.
The local path planning is one of key technologies for controlling the motion of the unmanned vehicle, and calculates a path or a track to be executed by the vehicle in a future limited time domain by using the guide information of a global reference path or a global coordinate point and combining with the local environment perception information updated in real time. Since the external environment is dynamically changed and it is difficult for the control to accurately track the planning result, the local motion planning is periodically operated, and the calculation period is directly related to the update frequency of the perception information. The local path planning has different planning strategies according to different complexity of path planning problems, and can be roughly divided into two types: one is a local path planning method based on direct trajectory generation; the other type is a local path planning method for graph search. The former mainly aims at processing complex system model constraints and ensuring the performability of a planning result, and the latter mainly aims at dealing with complex barrier environments and converting a planning problem into a sequence decision problem. Since the latter is very computationally intensive and is used in special cases, direct trajectory planning is mostly used. The local path planning method for direct path generation is divided into a space-domain path planning and a time-domain speed planning. The trajectory planning is to plan the trajectory directly in cartesian coordinates.
Because urban roads are complex, structured roads and unstructured roads including paths have different shapes. The conventional direct-acting trajectory generation method is limited. According to the track planned by the starting point and the end point parameters, due to the fact that the road shape is complex, when the planned track point is complex in road shape, the planned track point is possibly outside the feasible road, and planning failure is caused. Also, the first problem to be considered in local path planning is obstacle avoidance, including static obstacle (e.g., curb, post, stationary pedestrian, vehicle, etc.) avoidance and dynamic obstacle (i.e., other traffic participants, e.g., vehicle, bicycle, pedestrian, etc.) avoidance. Since the static obstacle position is independent of time, it is only necessary to ensure that the planned path does not collide spatially with it. But if there are dynamic obstacles in the environment, both temporal and spatial factors need to be considered to ensure the safety of generating the trajectory. Therefore, the optimal trajectory and speed plan can be obtained only by predicting the trajectory of the dynamic obstacle and sampling the speed on planning a plurality of trajectories to perform dynamic collision detection, and the method has the defects of complexity and high calculation requirement.
Disclosure of Invention
The invention aims to provide a local path planning method for an unmanned vehicle, which can realize track generation in complex urban roads and unmanned safe operation in complex dynamic urban environments.
In order to realize the purpose, the invention adopts the following technical scheme:
a method of local path planning for an unmanned vehicle, comprising the steps of:
1) inputting parameters required by local path planning;
2) selecting a preview point;
3) planning a track based on a road coordinate system to generate a basic track;
4) matching the basic track with the road shape to generate an alternative track;
5) calculating a speed limit value based on the alternative track and a corresponding speed limit position;
6) the alternative tracks are optimized to obtain tracks executed by the unmanned vehicle, and the tracks are called as optimized tracks;
7) the speed of the unmanned vehicle is planned based on the preferred trajectory.
The step 3) performs track planning based on the road coordinate system, and the process of generating the basic track is as follows:
the basic track is a plurality of tracks which are possibly driven by the unmanned vehicle in the future according to different preview points, and N candidate tracks exist at N preview points. The basic track is obtained by solving an equation according to the initial parameters of the vehicle and the destination parameters of the preview in a road coordinate system, and the basic track equation is expressed as follows in the road coordinate system:
lj(s)=c0j+c1js+c2js2+c3js3+c4js4+c5js5 (1)
wherein s is the coordinate value of the horizontal axis of the basic track j in the road coordinate system, and lj(s) is the ordinate of the base track j in the road coordinate system, which is a function of the abscissa of the base track in the road coordinate system; the subscript j denotes the index of the alternate track, j ═ 1, 2,. N; n is the total number of the alternative tracks. c. C0j、c1j、c2j、c3j、c4j、c5jThe unknown parameters of the curve equation are obtained by solving the following equation system:
wherein S isc、lcCoordinates of the unmanned vehicle at the current moment in the road coordinate system,
Sfj、lfjcoordinates of the jth basic track end point in a road coordinate system,
tanθfjis the tangent value of the terminal course angle of the jth basic trackfj=0,
tanθcIs the initial heading tangent, θ, of the unmanned vehiclecThe positioning information is obtained by the positioning module,
κccurvature of a driving track for the current position of the unmanned vehicle, related to steering wheel angle, is obtained by a positioning module, kappafjCurvature of the end point of the jth base trajectory,. kappafj=0。
The step 4) of matching the basic track with the road shape and generating the alternative track comprises the following steps:
matching the basic track with the road shape under a road coordinate system to obtain an alternative track; the coordinates of the corresponding planning points on the alternative tracks in the Cartesian coordinate system are expressed by the following formula:
wherein S isbiFor the abscissa, theta, of the global path planning point in the road coordinatebiA point course angle is planned for the global path; xbiAnd YbiFor the abscissa and ordinate of the global path planning point in cartesian coordinates, the subscript j denotes the number of candidate trajectories, j is 1, 2,. N, N is the total number of candidate trajectories, b denotes the global planning point, i denotes the global path planning point number, i is 1, 2,. Nb, and Nb is the total number of planning points.
The step 5) of calculating the speed limit value based on the alternative track and the corresponding speed limit position comprises the following steps:
the speed limit of the unmanned vehicle on the alternative track is divided into the following cases:
51) speed limit and speed limit position of the unmanned vehicle by road conditions:
the speed limit of the road condition to the unmanned vehicle is obtained according to the road curvature and the map, the speed limit of the road condition to the vehicle is obtained, and the global path planning point S is obtainedbiPoint (S) on the corresponding candidate trajectorybi,lj(Sbi) Speed limit is calculated as follows:
if the speed limit V1limjiSpeed limit V greater than road condition requirementRlimThen V is1limji=VRlim(ii) a The speed-limiting position of the road condition corresponding to each alternative track j is recorded as:
S1limji=Sbi (5)
wherein, VRlimThe speed of the vehicle is limited for the road condition,
Sbifor global path planning point inThe abscissa under the road coordinate is the coordinate of,
κjito be the curvature corresponding to the global routing point i on the alternative trajectory,
the index j is the alternate track number, the index i is the corresponding global path plan point number,
ACClmaxthe maximum lateral acceleration required for comfort is determined by the comfort level of the person.
52) Speed limit and speed limit position of unmanned vehicle by static barrier and dynamic barrier
521) Obtaining the position coordinates A of the static obstacle and the dynamic obstacle under a road coordinate system through the measurement of a sensor arranged on the unmanned vehiclek(Sak,lak) Width WakVelocity VakThe like;
522) calculating safe distance of unmanned vehicle to static obstacle and dynamic obstacle
Longitudinal safe distance calculation formula:
DSak=kcVc+ΔDSak (6)
wherein, VCIs the speed of the unmanned vehicle, kcIs a coefficient, empirically determined, Δ DSakIs a parameter related to the type of obstacle.
The transverse safe distance calculation formula is as follows:
wherein, WakFor static or dynamic obstacle width, type-dependent, Δ DlReserving a minimum transverse safety distance, W, for fixationCThe width of the unmanned vehicle.
523) Static obstacle and dynamic obstacle speed limit V2limkAnd corresponding speed limit position S2k
5231) Calculating the speed limit of a static obstacle and the corresponding speed limit position
The speed limit of the static obstacle k to the alternative track j is calculated by adopting the following formula:
the horizontal coordinate of the lower speed limiting position in the road coordinate system is as follows:
S2limjk=Sak-DSak (9)
wherein D islmaxFor the maximum lateral safety distance to be reached,
VRlimthe speed of the unmanned vehicle is limited for road conditions,
Δlakjthe distance of the static obstacle k from the second alternative planned trajectory j.
5232) Calculating speed limit of dynamic barrier and corresponding speed limit position
Velocity V of dynamic obstacleakThe decomposition is (V) under the road coordinate systemSak,Vlak),VSakIs the longitudinal speed of the obstacle k along the road; vlSakIs the lateral speed of the obstacle k along the road.
52321) The first condition is as follows: if VlSak=0
The speed limit of the unmanned vehicle on the alternative track j by the dynamic obstacle k is as follows:
the lateral coordinate of the speed limiting position of the dynamic barrier k on the unmanned vehicle is under a road coordinate system:
S2limjk=Sak-DSak (11)
wherein D islmaxFor the maximum lateral safety distance to be reached,
VRlimto limit the speed of the unmanned vehicle for road conditions.
52322) Case two: VlSakWhen the speed is not equal to 0, the step of calculating the speed limit of the dynamic barrier k to the unmanned vehicle is as follows:
523221) whether the dynamic obstacle is approaching the unmanned vehicle or leaving the candidate trajectory j:
Δlakjrepresenting the distance of the dynamic obstacle k from the second alternative planned trajectory j;
Δlakj> 0 indicates that the dynamic obstacle k is to the left of the alternative trajectory,
at Δ lakjAt > 0:
VlSak> 0 denotes that the dynamic obstacle k leaves the candidate trajectory j
VlSak< 0 indicates that the dynamic obstacle k approaches the candidate trajectory j.
Δlakj< 0 indicates that the dynamic obstacle k is to the right of the alternative trajectory;
at Δ lakjWhen < 0:
VlSak< 0 indicates that the dynamic obstacle k leaves the alternative trajectory j,
VlSaka > 0 indicates that the dynamic obstacle k approaches the candidate trajectory j.
The dynamic obstacle k leaving the candidate trajectory j does not cause a hindrance to the unmanned vehicle.
523222) when the dynamic obstacle k approaches the candidate trajectory j, judging whether the unmanned vehicle is obstructed: estimating the time when the dynamic obstacle k enters the alternative track j:
and (3) estimating the position of the dynamic obstacle k entering the alternative track j:
Sjakin=Sak+VSaktjakin (13)
the time when the unmanned vehicle drives to the position where the dynamic obstacle k enters the alternative track j:
Δtakinfor redundant time, determined based on the type of dynamic obstacle and the moving speed,
when t isjckin<tjakinThe vehicle can exceed the dynamic barrier and cannot block the unmanned vehicle;
when t isjckin≥tjakinIt may cause a hindrance to the vehicle.
523223) calculating the speed limit and speed limit position of the unmanned vehicle when the lateral speed of the dynamic obstacle is not zero
For dynamic obstacles that do not obstruct or restrict the unmanned vehicle, no calculation is needed.
For a dynamic obstacle that obstructs the unmanned vehicle, the speed limit of the dynamic obstacle k to the candidate trajectory j is:
V2limjk=0 (15)
speed limiting position:
S2limjk=Sak-DSak (16)。
53) calculating the speed limit and the speed limit position of the traffic signal lamp on the unmanned vehicle
The abscissa of the position of the vehicle stop line at the intersection of the traffic signal lamps under the road coordinate system is SstopCurrent vehicle speed Vc
531) The first condition is as follows: the current is green light or yellow light and the time for the unmanned vehicle to reach the intersection is less than 1s
Then: speed limit V of alternative trajectory j3limjLimiting the speed of the intersection.
The speed limit position is a stop line S3limj=Sstop (17)
532) Case two: the current is red light or the current is yellow light, and the time for the unmanned vehicle to reach the intersection is more than 1s
Then: speed limit V of alternative trajectory j3limj=0(18)
The speed limit position is a stop line S3limj=Sstop (19)。
54) Calculating the speed limit required by the road traffic management department and the speed limit position
The road traffic management department requires speed limit, including crossing, speed bump, special position and other traffic safety requirements of local speed limit and corresponding speed limit position are obtained from map.
The abscissa of the speed-limiting position on the road coordinate system is marked as S4limjmThe corresponding speed limit is marked as V4limjmThe subscript m is the number of locations in the alternative trajectory that must be slowed down as required by the road traffic authority.
And (3) limiting the speed corresponding to the speed limiting position of each candidate track j:
at the speed-limiting position S1lim jiThe speed limit is V1limji,
At the speed-limiting position S21limjkThe speed limit is V2limjk,
At the speed-limiting position S3limjThe speed limit is V3limj,
At the speed-limiting position S4limjmThe speed limit is V4limjm。
Arranging all speed limit points on the j tracks from near to far according to the distance from the unmanned vehicle to recombine the sequence (S)limjn,Vlimjn) The subscript n represents the serial number of the speed limiting total sequence of the alternative track j, and n is 1, 2. And the speed limit of the speed limit position is processed according to the following method:
under the condition that multiple speed limit constraints exist at the same position, calculating by using a minimum speed limit value;
and secondly, if the speed limit value of the planning point at the same alternative track position with a longer distance is greater than the speed limit value of the previous point, the speed limit value is the speed limit value of the previous point.
The step 6) is to optimize the alternative tracks, and the process of obtaining the track executed by the unmanned vehicle is as follows:
and the candidate track corresponding to the minimum value calculated according to the optimization objective function calculated by each candidate track is the track executed by the last unmanned vehicle.
The calculation formula of the optimization objective function is as follows:
wherein, ω isrThe subscript r represents index serial number, r is 1, 2,. M, MThe total index number is; j is an alternative track, j is 1, 2.. N, and N is the total number of the alternative tracks; .
First index J1(j) For the track length index, the following is calculated:
wherein S isj(t0) is the farthest track length that can be traveled according to the speed limit within the alternative track j within a period of time t 0.
Wherein S ismaxFor the journey calculated at the maximum speed limit at time t0,
Sminthe distance calculated at the lowest speed limit at time t 0.
Second index J2(j) For the curvature term index, the following is calculated:
wherein:
Sffor the abscissa of the end point of the alternative trajectory j in the road coordinate system,
SCfor the unmanned vehicle to be on the abscissa under the road coordinates,
kj(s) curvature at the candidate trajectory j coordinate point s,
κmaxthe maximum curvature of travel of the vehicle.
Third index J3(j) For the trajectory deviation planned path index, the calculation formula is as follows:
wherein:
lj(s) is the ordinate of the current alternative track j in the road coordinate system
lmaxThe longitudinal coordinate of the pre-aiming point with the maximum longitudinal coordinate in the road coordinate system is taken as the longitudinal coordinate of all the pre-aiming points,
fourth index J4(j) For the consistency index before and after the alternative track, the calculation formula is as follows:
wherein:
l*(s) is the ordinate of the last local planned trajectory preview point in the road coordinate system,
lj(s) is the ordinate of the preview point of the candidate track j in the road coordinate system,
l is the road width.
Further, the process of inputting the parameters required by the local path planning in step 1) is as follows:
11) firstly, taking the road length direction as a coordinate horizontal axis S axis, and taking the road length extending direction as a positive direction; taking the direction vertical to the road as the axis of longitudinal axis l, and the left side as the positive direction; the coordinates of the starting point of the unmanned vehicle are set to(s)I,lI,θI) Setting the coordinate of the local path planning track terminal point as(s)f,lf,θf) Wherein, thetaIAnd thetafPlanning a track end course angle, S, for the unmanned vehicle starting point and the local pathIAnd SfPlanning an abscissa value, l, of a trajectory end point in a road coordinate system for a starting point and a local path of the unmanned vehicleIAnd lfAnd planning a longitudinal coordinate value of the track terminal point under a road coordinate system for the starting point and the local path of the unmanned vehicle.
12) Then, inputting parameters required by local path planning:
121) the global path planning module inputs parameters to the local path planning module:
under a series of planned points on the global planned path in Cartesian coordinatesCoordinate B ofi(Xbi,Ybi) Course angle theta of planning pointbiPlanning point road curvature kappabiPlanning point speed limit VbiWherein b represents a global planning point; i denotes a global planning point index, i 1, 2,. Nb, Nb being the total number of planning points.
122) The environment perception module inputs parameters to the local path planning module:
the output of the environment perception module is the position A of the static obstacle and the dynamic obstacle under the road coordinate systemk(Sak,lak) Width WakVelocity VakAnd type, etc., where k denotes the kth static obstacle or dynamic obstacle, and k 1, 2.
123) The positioning module inputs parameters to the local path planning module: position coordinates, speed, heading, etc. of the unmanned vehicle.
124) Inputting vehicle body parameters to the local path planning module: steering wheel angle, vehicle track, etc.
The sequence of steps 121) to 124) can be arbitrarily adjusted.
Further, the process of selecting the preview point in the step 2) is as follows:
firstly, a pre-aiming section is determined, the pre-aiming section is a section perpendicular to a planned path according to a global path planning point, and the intersection point of the section and a road surface is a line segment. And selecting a point of the travelable area on the line segment as a preview point. And selecting the distance of the pre-aiming section according to the speed. The preview point is selected on a line segment determined by the preview section according to a certain interval distance. The course, curvature and speed limit of the preview point are the same as the global path planning point on the preview section. The coordinate of the preview point in the road coordinate system is represented as: (s)fy,lfy,θfy) The subscript f represents a point on the preview cross section, y represents a preview point number, and if N preview points are selected, y is 1, 2,. N.
Further, the step 7) of planning the speed of the unmanned vehicle comprises the following steps:
the planning of the speed of the unmanned vehicle is performed on the preferred trajectory already obtained in the preceding step 6).
The speed of the unmanned vehicle is planned according to the following method:
71) selecting the point position S with the minimum speed limit value on the optimized trackvminSpeed limit note Vmin;
72) And planning a speed curve from the current unmanned vehicle to the point according to the point position and the speed limit, wherein the curve is constructed according to a trapezoidal curve. Where the abscissa is time and the ordinate is speed. The trapezoidal curve is divided into an acceleration section, a stable section and a deceleration section.
VmaxlimFor unmanned vehicles to a lowest speed limit position SvminThe speed of the inner maximum speed limit is limited,
VCfor the current speed of the unmanned vehicle,
Vfspeed limit V which is a speed limit position on an optimized trackmin,
ACCSThe acceleration of the acceleration section is determined according to the comfort degree during the normal running of the vehicle,
DECSthe deceleration of the deceleration section is determined according to the comfort degree during the normal running of the vehicle,
tsteadyis the plateau time, which cannot be too short and is greater than a certain value.
Given the above parameters, the plateau speed cannot exceed VmaxlimA speed profile is established.
73) The speed limit of the upper speed limit position of the optimized track is verified by using the speed curve, and if all the speed limits are met, the function curve is a planned function curve; otherwise, steps 71), 72) and 73) are repeated with the previous speed limit position until all are satisfied.
The invention provides a local path planning method for an unmanned vehicle. The local path planning method simultaneously considers the vehicle kinematic constraint and the geometric constraint of the road coordinates, ensures the performability of the path planning result and the consistency with the road geometric shape, and avoids the situation that the direct planning exceeds the road on a special road.
According to the technical scheme, all obstacles in the environment, including static obstacles (such as curbs, piles, static pedestrians, vehicles and the like) obstacle avoidance and dynamic object (other traffic participants such as vehicles, bicycles, pedestrians and the like) obstacle avoidance, traffic signal lamps, speed reduction belts and the like, are treated as the speed limit of a certain position on the alternative track in the same way as the road speed limit, and then the track is optimized and the speed is planned according to all the speed limits of the alternative track. Collision detection is not needed, a large amount of speed sampling is avoided, the method is suitable for all road conditions, and the calculation pressure is reduced.
The time domain speed planning method of the technical scheme of the invention provides a multipoint speed planning scheme from the aspects of safety and comfort, and the scheme carries out speed planning according to the speed limit of each speed limit position on an optimal track. And then finding out a speed planning scheme suitable for all speed limits according to all speed plans, namely the final executed speed planning scheme. A trapezoidal speed planning method is adopted, and speed limit planning is performed for each speed limit position.
The local path planning method for the unmanned vehicle avoids planning failure in a complex road, simplifies the local path planning in a complex environment and approaches the driving behavior of people. The local path planning method can effectively process the influence of static obstacles, dynamic objects, traffic lights, speed limit belts and various traffic facilities on the unmanned vehicle in real time in a complex urban road environment.
Drawings
FIG. 1 is a block flow diagram of a method of local path planning for an unmanned vehicle according to the present invention;
FIG. 2 is a schematic diagram illustrating a process of defining road coordinates according to the present invention;
fig. 3 is a schematic diagram of a trapezoidal plan in the speed plan of the present invention.
Detailed Description
The following describes a local path planning method for an unmanned vehicle according to the present invention in detail with reference to the accompanying drawings. In the description of the present invention, it is to be understood that the terms "left side", "right side", "upper", "lower", "bottom", etc., indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of describing the present invention and simplifying the description, but do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, "first", "second", etc., do not represent an important degree of the component parts, and thus are not to be construed as limiting the present invention. The specific dimensions used in the present example are only for illustrating the technical solution and do not limit the scope of protection of the present invention.
As shown in fig. 1, a local path planning method for an unmanned vehicle comprises the steps of:
8) inputting parameters required by local path planning;
9) selecting a preview point;
10) planning a track based on a road coordinate system to generate a basic track;
11) matching the basic track with the road shape to generate an alternative track;
12) calculating a speed limit value based on the alternative track and a corresponding speed limit position;
13) the alternative tracks are optimized to obtain tracks executed by the unmanned vehicle, and the tracks are called as optimized tracks;
14) the speed of the unmanned vehicle is planned based on the preferred trajectory.
Specifically, as shown in fig. 2, the process of inputting parameters required for local path planning in step 1) is as follows:
11) firstly, taking the road length direction as a coordinate horizontal axis S axis, and taking the road length extending direction as a positive direction; taking the direction vertical to the road as the axis of longitudinal axis l, and the left side as the positive direction; the coordinates of the starting point of the unmanned vehicle are set to(s)I,lI,θI) Setting the coordinate of the local path planning track terminal point as(s)f,lf,θf) Wherein, thetaIAnd thetafPlanning a track end course angle, S, for the unmanned vehicle starting point and the local pathIAnd SfPlanning an abscissa value, l, of a trajectory end point in a road coordinate system for a starting point and a local path of the unmanned vehicleIAnd lfAnd planning a longitudinal coordinate value of the track terminal point under a road coordinate system for the starting point and the local path of the unmanned vehicle.
12) Then, inputting parameters required by local path planning:
121) the global path planning module inputs parameters to the local path planning module:
coordinate B under Cartesian coordinates of a series of planned points on the global planned pathi(Xbi,Ybi) Course angle theta of planning pointbiPlanning point road curvature kappabiPlanning point speed limit VbiWherein b represents a global planning point; i denotes a global planning point index, i 1, 2,. Nb, Nb being the total number of planning points.
122) The environment perception module inputs parameters to the local path planning module:
the output of the environment perception module is the position A of the static obstacle and the dynamic obstacle under the road coordinate systemk(Sak,lak) Width WakVelocity VakAnd type, etc., where k denotes the kth static obstacle or dynamic obstacle, and k 1, 2.
123) The positioning module inputs parameters to the local path planning module: position coordinates, speed, heading, etc. of the unmanned vehicle.
124) Inputting vehicle body parameters to the local path planning module: steering wheel angle, vehicle track, etc.
The sequence of steps 121) to 124) can be arbitrarily adjusted.
Step 2) the process of selecting the preview point is as follows:
firstly, a pre-aiming section is determined, the pre-aiming section is a section perpendicular to a planned path according to a global path planning point, and the intersection point of the section and a road surface is a line segment. And selecting a point of the travelable area on the line segment as a preview point. And selecting the distance of the pre-aiming section according to the speed. The preview point is selected on a line segment determined by the preview section according to a certain interval distance. Heading, curvature, speed limit and preview of preview pointThe global path planning points on the cross section are the same. The coordinate of the preview point in the road coordinate system is represented as: (s)fy,lfy,θfy) The subscript f represents a point on the preview cross section, y represents a preview point number, and if N preview points are selected, y is 1, 2,. N.
Step 3) planning the track based on the road coordinate system, wherein the process of generating the basic track is as follows:
the basic track is a plurality of tracks which are possibly driven by the unmanned vehicle in the future according to different preview points, and N candidate tracks exist at N preview points. The basic track is obtained by solving an equation according to the initial parameters of the vehicle and the destination parameters of the preview in a road coordinate system, and the basic track equation is expressed as follows in the road coordinate system:
lj(s)=c0j+c1js+c2js2+c3js3+c4js4+c5js5 (1)
wherein s is the coordinate value of the horizontal axis of the basic track j in the road coordinate system, and lj(s) is the ordinate of the basic track j in the road coordinate system, which is a function of the abscissa of the basic track in the road coordinate system; the subscript j denotes the index of the alternate track, j ═ 1, 2,. N; n is the total number of the alternative tracks. c. C0j、c1j、c2j、c3j、c4j、c5jThe unknown parameters of the curve equation are obtained by solving the following equation system:
wherein S isc、lcCoordinates of the unmanned vehicle at the current moment in the road coordinate system,
Sfj、lfjcoordinates of the jth basic track end point in a road coordinate system,
tanθfjis the tangent value of the jth basic track endpoint course anglefj=0,
tanθcIs the initial heading tangent, θ, of the unmanned vehiclecThe positioning information is obtained by the positioning module,
κccurvature of a driving track for the current position of the unmanned vehicle, related to steering wheel angle, is obtained by a positioning module, kappafjCurvature of the end point of the jth base trajectory,. kappafj=0。
Step 4) matching the basic track with the road shape, and generating an alternative track comprises the following steps:
matching the basic track with the road shape under a road coordinate system to obtain an alternative track; the coordinates of the corresponding planning point on the alternative trajectory in the cartesian coordinate system are expressed by the following formula:
wherein S isbiFor the abscissa, theta, of the global path planning point in the road coordinatebiA point course angle is planned for the global path; xbiAnd YbiFor the abscissa and ordinate of the global path planning point in cartesian coordinates, the subscript j denotes the number of candidate trajectories, j is 1, 2,. N, N is the total number of candidate trajectories, b denotes the global planning point, i denotes the global path planning point number, i is 1, 2,. Nb, and Nb is the total number of planning points.
Step 5) the process of calculating the speed limit value based on the alternative track and the corresponding speed limit position is as follows:
the speed limit of the unmanned vehicle on the alternative track is divided into the following cases:
51) speed limit and speed limit position of the unmanned vehicle by road conditions:
the speed limit of the road condition to the unmanned vehicle is obtained according to the road curvature and the map, the speed limit of the road condition to the vehicle is obtained, and the global path planning point S is obtainedbiPoint (S) on the corresponding candidate trajectorybi,lj(Sbi) Speed limit is calculated as follows:
if the speed limit V1limjiSpeed limit V greater than road condition requirementRlimThen V is1limji=VRlim(ii) a The speed-limiting position of the road condition corresponding to each alternative track j is recorded as:
S1limji=Sbi (5)
wherein, VRlimThe speed of the vehicle is limited for the road condition,
Sbifor the abscissa of the global path planning point under the road coordinates,
κjito be the curvature corresponding to the global routing point i on the alternative trajectory,
the index j is the alternate track number, the index i is the corresponding global path plan point number,
ACClmaxthe maximum lateral acceleration required for comfort is determined by the comfort level of the person.
52) Speed limit and speed limit position of unmanned vehicle by static barrier and dynamic barrier
521) Obtaining the position coordinates A of the static obstacle and the dynamic obstacle under a road coordinate system through the measurement of a sensor arranged on the unmanned vehiclek(Sak,lak) Width WakVelocity VakThe like;
522) calculating safe distance of unmanned vehicle to static obstacle and dynamic obstacle
Longitudinal safe distance calculation formula:
DSak=kcVc+ΔDSak (6)
wherein, VCIs the speed of the unmanned vehicle, kcIs a coefficient, empirically determined, Δ DSakIs a parameter related to the type of obstacle.
The transverse safe distance calculation formula is as follows:
wherein, WakFor static or dynamic obstacle width, type-dependent, Δ DlReserving a minimum transverse safety distance, W, for fixationCThe width of the unmanned vehicle.
523) Static obstacle and dynamic obstacle speed limit V2limkAnd corresponding speed limit position S2k
5231) Calculating the speed limit of a static obstacle and the corresponding speed limit position
The speed limit of the static obstacle k to the alternative track j is calculated by adopting the following formula:
the horizontal coordinate of the lower speed limiting position in the road coordinate system is as follows:
S2limjk=Sak-DSak (9)
wherein D islmaxFor the maximum lateral safety distance to be reached,
VRlimthe speed of the unmanned vehicle is limited for road conditions,
Δlakjthe distance of the static obstacle k from the second alternative planned trajectory j.
5232) Calculating speed limit of dynamic barrier and corresponding speed limit position
Velocity V of dynamic obstacleakThe decomposition is (V) under the road coordinate systemSak,Vlak),VSakIs the longitudinal speed of the obstacle k along the road; vlSakIs the lateral speed of the obstacle k along the road.
52321) The first condition is as follows: if VlSak=0
The speed limit of the unmanned vehicle on the alternative track j by the dynamic obstacle k is as follows:
the lateral coordinate of the speed limiting position of the dynamic barrier k on the unmanned vehicle is under a road coordinate system:
S2limjk=Sak-DSak (11)
wherein D islmaxFor the maximum lateral safety distance to be reached,
VRlimto limit the speed of the unmanned vehicle for road conditions.
52322) Case two: VlSakWhen the speed is not equal to 0, the step of calculating the speed limit of the dynamic barrier k to the unmanned vehicle is as follows:
523221) whether the dynamic obstacle is approaching the unmanned vehicle or leaving the candidate trajectory j:
Δlakjrepresenting the distance of the dynamic obstacle k from the second alternative planned trajectory j;
Δlakj> 0 indicates that the dynamic obstacle k is to the left of the alternative trajectory,
at Δ lakjAt > 0:
VlSak> 0 denotes that the dynamic obstacle k leaves the candidate trajectory j
VlSak< 0 indicates that the dynamic obstacle k approaches the candidate trajectory j.
Δlakj< 0 indicates that the dynamic obstacle k is to the right of the alternative trajectory;
at Δ lakjWhen < 0:
VlSak< 0 indicates that the dynamic obstacle k leaves the alternative trajectory j,
VlSaka > 0 indicates that the dynamic obstacle k approaches the candidate trajectory j.
The dynamic obstacle k leaving the candidate trajectory j does not cause a hindrance to the unmanned vehicle.
523222) when the dynamic obstacle k approaches the candidate trajectory j, judging whether the unmanned vehicle is obstructed: estimating the time when the dynamic obstacle k enters the alternative track j:
and (3) estimating the position of the dynamic obstacle k entering the alternative track j:
Sjakin=Sak+VSaktjakin (13)
the time when the unmanned vehicle drives to the position where the dynamic obstacle k enters the alternative track j:
Δtakinfor redundant time, determined based on the type of dynamic obstacle and the moving speed,
when t isjckin<tjakinThe vehicle can exceed the dynamic barrier and cannot block the unmanned vehicle;
when t isjckin≥tjakinIt may cause a hindrance to the vehicle.
523223) calculating the speed limit and speed limit position of the unmanned vehicle when the lateral speed of the dynamic obstacle is not zero
For dynamic obstacles that do not obstruct or restrict the unmanned vehicle, no calculation is needed.
For a dynamic obstacle that obstructs the unmanned vehicle, the speed limit of the dynamic obstacle k to the candidate trajectory j is:
V2limjk=0 (15)
speed limiting position:
S2limjk=Sak-DSak (16)。
53) calculating the speed limit and the speed limit position of the traffic signal lamp on the unmanned vehicle
The abscissa of the position of the vehicle stop line at the intersection of the traffic signal lamps under the road coordinate system is SstopCurrent vehicle speed Vc
531) The first condition is as follows: the current is green light or yellow light and the time for the unmanned vehicle to reach the intersection is less than 1s
Then: speed limit V of alternative trajectory j3limjLimiting the speed of the intersection.
The speed limit position is a stop line S3limj=Sstop (17)
532) Case two: the current is red light or the current is yellow light, and the time for the unmanned vehicle to reach the intersection is more than 1s
Then: speed limit V of alternative trajectory j3limj=0(18)
The speed limit position is a stop line S3limj=Sstop (19)。
54) Calculating the speed limit required by the road traffic management department and the speed limit position
The road traffic management department requires speed limit, and the local speed limit and the corresponding speed limit position required by traffic safety, such as intersections, speed bumps, specific positions (such as school doorways) and the like, are obtained from a map.
The abscissa of the speed-limiting position on the road coordinate system is marked as S4limjmThe corresponding speed limit is marked as V4limjmThe subscript m is the number of locations in the alternative trajectory that must be slowed down as required by the road traffic authority.
And (3) limiting the speed corresponding to the speed limiting position of each candidate track j:
at the speed-limiting position S1limjiThe speed limit is V1limji,
At the speed-limiting position S21limjkThe speed limit is V2limjk,
At the speed-limiting position S3limjThe speed limit is V3limj,
At the speed-limiting position S4limjmThe speed limit is V4limjm。
Arranging all speed limit points on the j tracks from near to far according to the distance from the unmanned vehicle to recombine the sequence (S)limjn,Vlimjn) The subscript n represents the serial number of the speed limiting total sequence of the alternative track j, and n is 1, 2. And the speed limit of the speed limit position is processed according to the following method:
under the condition that multiple speed limit constraints exist at the same position, calculating by using a minimum speed limit value;
and secondly, if the speed limit value of the planning point at the same alternative track position with a longer distance is greater than the speed limit value of the previous point, the speed limit value is the speed limit value of the previous point.
Step 6) selecting the candidate tracks preferably, wherein the process of obtaining the track executed by the unmanned vehicle comprises the following steps:
and the candidate track corresponding to the minimum value calculated according to the optimization objective function calculated by each candidate track is the track executed by the last unmanned vehicle.
The calculation formula of the optimization objective function is as follows:
wherein, ω isrThe subscript r represents the index serial number, r is 1, 2 and M, and M is the total index number; j is an alternative track, j is 1, 2.. N, and N is the total number of the alternative tracks; .
First index J1(j) For the track length index, the following is calculated:
wherein S isj(t0) is the farthest track length that can be traveled according to the speed limit within the alternative track j within a period of time t 0.
Wherein S ismaxFor the journey calculated at the maximum speed limit at time t0,
Sminthe distance calculated at the lowest speed limit at time t 0.
Second index J2(j) For the curvature term index, the following is calculated:
wherein:
Sffor the abscissa of the end point of the alternative trajectory j in the road coordinate system,
SCis unmannedThe driving vehicle is on the abscissa under the road coordinate,
kj(s) curvature at the candidate trajectory j coordinate point s,
κmaxthe maximum curvature of travel of the vehicle.
Third index J3(j) For the trajectory deviation planned path index, the calculation formula is as follows:
wherein:
lj(s) is the ordinate of the current candidate track j in the road coordinate system,
lmaxthe longitudinal coordinate of the pre-aiming point with the maximum longitudinal coordinate in the road coordinate system is taken as the longitudinal coordinate of all the pre-aiming points,
fourth index J4(j) For the consistency index before and after the alternative track, the calculation formula is as follows:
wherein:
l*(s) is the ordinate of the last local planned trajectory preview point in the road coordinate system,
lj(s) is the ordinate of the preview point of the candidate track j in the road coordinate system,
l is the road width.
Step 7) the process of planning the speed of the unmanned vehicle is as follows:
the planning of the speed of the unmanned vehicle is performed on the preferred trajectory already obtained in the preceding step 6).
The speed of the unmanned vehicle is planned according to the following method:
71) selecting the point position S with the minimum speed limit value on the optimized trackvminSpeed limit note Vmin;
72) As shown in fig. 3, a speed curve from the current unmanned vehicle to the point is planned according to the point position and the speed limit, and the curve is constructed according to a trapezoidal curve. Where the abscissa is time and the ordinate is speed. The trapezoidal curve is divided into an acceleration section, a stable section and a deceleration section.
VmaxlimFor unmanned vehicles to a lowest speed limit position SvminThe speed of the inner maximum speed limit is limited,
VCfor the current speed of the unmanned vehicle,
Vfspeed limit V which is a speed limit position on an optimized trackmin,
ACCSThe acceleration of the acceleration section is determined according to the comfort degree during the normal running of the vehicle,
DECSthe deceleration of the deceleration section is determined according to the comfort degree during the normal running of the vehicle,
tsteadyis the plateau time, which cannot be too short and is greater than a certain value.
Given the above parameters, the plateau speed cannot exceed VmaxlimA speed profile is established.
73) Verifying the speed limit of the speed limit position on the optimal track by using a speed curve, and if all the speed limits are met, determining the function curve as a planned function curve; otherwise, steps 71), 72) and 73) are repeated with the previous speed limit position until all are satisfied.
Based upon the foregoing description of the preferred embodiment of the invention, it should be apparent that the invention defined by the appended claims is not limited solely to the specific details set forth in the foregoing description, as many apparent variations thereof are possible without departing from the spirit or scope thereof.
Claims (4)
1. A method of local path planning for an unmanned vehicle, comprising the steps of:
1) inputting parameters required by local path planning;
2) selecting a preview point;
3) planning a track based on a road coordinate system to generate a basic track;
4) matching the basic track with the road shape to generate an alternative track;
5) calculating a speed limit value based on the alternative track and a corresponding speed limit position;
6) the alternative tracks are optimized to obtain tracks executed by the unmanned vehicle, and the tracks are called as optimized tracks;
7) planning a speed of the unmanned vehicle based on the preferred trajectory;
the step 3) performs track planning based on the road coordinate system, and the process of generating the basic track is as follows:
the basic track is a plurality of tracks which are possibly driven by the unmanned vehicle in the future according to different preview points, and N alternative tracks exist at N preview points; the basic track is obtained by solving an equation according to the initial parameters of the vehicle and the destination parameters of the preview in a road coordinate system, and the basic track equation is expressed as follows in the road coordinate system:
lj(s)=c0j+c1js+c2js2+c3js3+c4js4+c5js5 (1)
wherein s is the coordinate value of the horizontal axis of the basic track j in the road coordinate system, and lj(s) is the ordinate of the base track j in the road coordinate system, which is a function of the abscissa of the base track in the road coordinate system; the subscript j denotes the index of the alternate track, j ═ 1, 2,. N; n is the total number of the alternative tracks; c. C0j、c1j、c2j、c3j、c4j、c5jThe unknown parameters of the curve equation are obtained by solving the following equation system:
wherein S isc、lcCoordinates of the unmanned vehicle at the current moment in the road coordinate system,
Sfj、lfjcoordinates of the jth basic track end point in a road coordinate system,
tanθfjis the tangent value of the terminal course angle of the jth basic trackfj=0,
tanθcIs the initial heading tangent, θ, of the unmanned vehiclecThe positioning information is obtained by the positioning module,
κccurvature of a driving track for the current position of the unmanned vehicle, related to steering wheel angle, is obtained by a positioning module, kappafjCurvature of the end point of the jth base trajectory,. kappafj=0;
The step 4) of matching the basic track with the road shape and generating the alternative track comprises the following steps:
matching the basic track with the road shape under a road coordinate system to obtain an alternative track; the coordinates of the corresponding planning points on the alternative tracks in the Cartesian coordinate system are expressed by the following formula:
wherein S isbiFor the abscissa, theta, of the global path planning point in the road coordinatebiA point course angle is planned for the global path; xbiAnd YbiThe abscissa and the ordinate of the global path planning point in cartesian coordinates are given, the subscript j represents the number of the candidate tracks, j is 1, 2,. N, N is the total number of the candidate tracks, b represents the global planning point, i represents the global path planning point number, i is 1, 2,. Nb, and Nb is the total number of the planning points;
the step 5) of calculating the speed limit value based on the alternative track and the corresponding speed limit position comprises the following steps:
the speed limit of the unmanned vehicle on the alternative track is divided into the following cases:
51) speed limit and speed limit position of the unmanned vehicle by road conditions:
the speed limit of the road condition to the unmanned vehicle is obtained according to the road curvature and the map, the speed limit of the road condition to the vehicle is obtained, and the global path planning point S is obtainedbiPoint (S) on the corresponding candidate trajectorybi,lj(Sbi) Speed limit is calculated as follows:
if the speed limit V1limjiSpeed limit V greater than road condition requirementRlimThen V is1limji=VRlim(ii) a The speed-limiting position of the road condition corresponding to each alternative track j is recorded as:
S1limji=Sbi (5)
wherein, VRlimThe speed of the vehicle is limited for the road condition,
Sbifor the abscissa of the global path planning point under the road coordinates,
κjito be the curvature corresponding to the global routing point i on the alternative trajectory,
the index j is the alternate track number, the index i is the corresponding global path plan point number,
ACClmaxthe maximum lateral acceleration is required according to the comfort level and is determined by the comfort level of a person;
52) speed limit and speed limit position of unmanned vehicle by static barrier and dynamic barrier
521) Obtaining the position coordinates A of the static obstacle and the dynamic obstacle under a road coordinate system through the measurement of a sensor arranged on the unmanned vehiclek(Sak,lak) Width WakVelocity VakA parameter; wherein k represents the kth static obstacle or dynamic obstacle, and k is 1, 2.
522) Calculating safe distance of unmanned vehicle to static obstacle and dynamic obstacle
Longitudinal safe distance calculation formula:
DSak=kcVc+ΔDSak (6)
wherein, VCIs the speed of the unmanned vehicle, kcIs a coefficient, empirically determined, Δ DSakIs a parameter related to the type of obstacleCounting;
the transverse safe distance calculation formula is as follows:
wherein, WakFor static or dynamic obstacle width, type-dependent, Δ DlReserving a minimum transverse safety distance, W, for fixationCIs the width of the unmanned vehicle;
523) static obstacle and dynamic obstacle speed limit V2limkAnd corresponding speed limit position S2k
5231) Calculating the speed limit of a static obstacle and the corresponding speed limit position
The speed limit of the static obstacle k to the alternative track j is calculated by adopting the following formula:
the horizontal coordinate of the lower speed limiting position in the road coordinate system is as follows:
S2limjk=Sak-DSak (9)
wherein D islmaxFor the maximum lateral safety distance to be reached,
VRlimthe speed of the unmanned vehicle is limited for road conditions,
Δlakjthe distance between the static obstacle k and the second alternative planning track;
5232) calculating speed limit of dynamic barrier and corresponding speed limit position
Velocity V of dynamic obstacleakThe decomposition is (V) under the road coordinate systemSak,Vlak),VSakIs the longitudinal speed of the dynamic barrier k along the road; vlSakIs the lateral speed of the dynamic barrier k along the road;
52321) The first condition is as follows: if VlSak=0
The speed limit of the unmanned vehicle on the alternative track j by the dynamic obstacle k is as follows:
the lateral coordinate of the speed limiting position of the dynamic barrier k on the unmanned vehicle is under a road coordinate system:
S2limjk=Sak-DSak (11)
wherein D islmaxFor the maximum lateral safety distance to be reached,
VRlimlimiting the speed of the unmanned vehicle for road conditions;
52322) Case two: VlSakWhen the speed is not equal to 0, the step of calculating the speed limit of the dynamic barrier k to the unmanned vehicle is as follows:
523221) whether the dynamic obstacle is approaching the unmanned vehicle or leaving the candidate trajectory j:
Δlakjrepresenting the distance of the dynamic obstacle k from the second alternative planned trajectory;
Δlakj> 0 indicates that the dynamic obstacle k is to the left of the alternative trajectory,
at Δ lakjAt > 0:
VlSak> 0 denotes that the dynamic obstacle k leaves the candidate trajectory j
VlSak< 0 indicates that the dynamic obstacle k approaches the candidate trajectory j;
Δlakj< 0 indicates that the dynamic obstacle k is to the right of the alternative trajectory;
at Δ lakjWhen < 0:
VlSak< 0 indicates that the dynamic obstacle k leaves the alternative trajectory j,
VlSak> 0 indicates that the dynamic obstacle k approaches the candidate trajectory j;
the dynamic obstacle k leaves the alternative track j without causing obstruction to the unmanned vehicle;
523222) when the dynamic obstacle k approaches the candidate trajectory j, judging whether the unmanned vehicle is obstructed:
estimating the time when the dynamic obstacle k enters the alternative track j:
and (3) estimating the position of the dynamic obstacle k entering the alternative track j:
Sjakin=Sak+VSaktjakin (13)
the time when the unmanned vehicle drives to the position where the dynamic obstacle k enters the alternative track j:
Δtakinfor redundant time, determined based on the type of dynamic obstacle and the moving speed,
when t isjckin<tjakinThe vehicle can exceed the dynamic barrier and cannot block the unmanned vehicle;
when t isjckin≥tjakinIt may cause a hindrance to the vehicle;
523223) calculating the speed limit and speed limit position of the unmanned vehicle when the lateral speed of the dynamic obstacle is not zero
For dynamic obstacles which do not obstruct and limit the unmanned vehicle, calculation is not needed;
for a dynamic obstacle that obstructs the unmanned vehicle, the speed limit of the dynamic obstacle k to the candidate trajectory j is:
V2limjk=0 (15)
speed limiting position:
S2limjk=Sak-DSak (16);
53) calculating the speed limit and the speed limit position of the traffic signal lamp on the unmanned vehicle
The abscissa of the position of the vehicle stop line at the intersection of the traffic signal lamps under the road coordinate system is SstopCurrent vehicle speed Vc
531) The first condition is as follows: is currently green or is currently yellow and is unmannedAnd if the intersection reaching time is less than 1 s: speed limit V of alternative trajectory j3limjLimiting the speed of the intersection;
the speed limit position is a stop line S3limj=Sstop (17)
532) Case two: when the current is red light or the current is yellow light and the time of the unmanned vehicle reaching the intersection is more than 1 s: speed limit V of alternative trajectory j3limj=0 (18)
The speed limit position is a stop line S3limj=Sstop (19);
54) Calculating the speed limit required by the road traffic management department and the speed limit position
Speed limit required by a road traffic management department, including intersection, speed bump, local speed limit required by traffic safety at a specific position and corresponding speed limit position are obtained from a map;
the abscissa of the speed-limiting position on the road coordinate system is marked as S4limjmThe corresponding speed limit is marked as V4limjmThe subscript m is the number of positions which are required to be decelerated by a road traffic management department in the alternative track;
and (3) limiting the speed corresponding to the speed limiting position of each candidate track j:
at the speed-limiting position S1limjiThe speed limit is V1limji,
At the speed-limiting position S21limjkThe speed limit is V2limjk,
At the speed-limiting position S3limjThe speed limit is V3limj,
At the speed-limiting position S4limjmThe speed limit is V4limjm;
Arranging all speed limit points on the j tracks from near to far according to the distance from the unmanned vehicle to recombine the sequence (S)limjn,Vlimjn) The subscript n represents the serial number of the speed limiting total sequence of the alternative track j, and n is 1, 2. And the speed limit of the speed limit position is processed according to the following method:
under the condition that multiple speed limit constraints exist at the same position, calculating by using a minimum speed limit value;
secondly, if the speed limit value of the planning point at the same alternative track position with longer distance is greater than the speed limit value of the previous point, the speed limit value is the speed limit value of the previous point;
the step 6) is to optimize the alternative tracks, and the process of obtaining the track executed by the unmanned vehicle is as follows:
the candidate track corresponding to the minimum value calculated according to the optimization objective function calculated by each candidate track is the track executed by the last unmanned vehicle;
the calculation formula of the optimization objective function is as follows:
wherein, ω isrThe subscript r represents the index serial number, r is 1, 2 and M, and M is the total index number; j is an alternative track, j is 1, 2.. N, and N is the total number of the alternative tracks;
first index J1(j) For the track length index, the following is calculated:
wherein S isj(t0) is the farthest track length which can be driven according to the speed limit in the alternative track j in a period of time t 0;
wherein S ismaxFor the journey calculated at the maximum speed limit at time t0,
Sminthe distance calculated at the lowest speed limit within the time t 0;
second index J2(j) For the curvature term index, the following is calculated:
wherein:
Sffor the abscissa of the end point of the alternative trajectory j in the road coordinate system,
SCfor the unmanned vehicle to be on the abscissa under the road coordinates,
κj(s) curvature at the candidate trajectory j coordinate point s,
κmaxmaximum curvature for vehicle travel;
third index J3(j) For the trajectory deviation planned path index, the calculation formula is as follows:
wherein:
lj(s) is the ordinate of the current candidate track j in the road coordinate system,
lmaxthe longitudinal coordinate of the pre-aiming point with the maximum longitudinal coordinate in the road coordinate system is taken as the longitudinal coordinate of all the pre-aiming points,
fourth index J4(j) For the consistency index before and after the alternative track, the calculation formula is as follows:
wherein:
l*(s) is the ordinate of the last local planned trajectory preview point in the road coordinate system,
lj(s) is the ordinate of the preview point of the candidate track j in the road coordinate system,
l is the road width.
2. The local path planning method for the unmanned vehicle according to claim 1, wherein the step 1) of inputting parameters required for local path planning is as follows:
11) first, the road length direction is set as the coordinate horizontal axis S axis, the road length extending directionThe direction is a positive direction; taking the direction vertical to the road as the axis of longitudinal axis l, and the left side as the positive direction; the coordinates of the starting point of the unmanned vehicle are set to(s)I,lI,θI) Setting the coordinate of the local path planning track terminal point as(s)f,lf,θf) Wherein, thetaIAnd thetafPlanning a track end course angle, S, for the unmanned vehicle starting point and the local pathIAnd SfPlanning an abscissa value, l, of a trajectory end point in a road coordinate system for a starting point and a local path of the unmanned vehicleIAnd lfPlanning longitudinal coordinate values of a starting point and a local path of the unmanned vehicle in a road coordinate system for a track terminal point;
12) then, inputting parameters required by local path planning:
121) the global path planning module inputs parameters to the local path planning module:
coordinate B under Cartesian coordinates of a series of planned points on the global planned pathi(Xbi,Ybi) Course angle theta of planning pointbiPlanning point road curvature kappabiPlanning point speed limit VbiWherein b represents a global planning point; i represents a global planning point index, i is 1, 2,. Nb, Nb is the total number of planning points;
122) the environment perception module inputs parameters to the local path planning module:
the output of the environment perception module is the position A of the static obstacle and the dynamic obstacle under the road coordinate systemk(Sak,lak) Width WakVelocity VakAnd type, wherein k denotes the kth static or dynamic obstacle, k 1, 2;
123) the positioning module inputs parameters to the local path planning module: position coordinates, speed and course of the unmanned vehicle;
124) inputting vehicle body parameters to the local path planning module: steering wheel angle and vehicle track;
the sequence of steps 121) to 124) can be arbitrarily adjusted.
3. The local path planning method for unmanned vehicle according to claim 1, wherein the step 2) of selecting the preview point comprises the following steps:
firstly, determining a preview section, wherein the preview section is a section perpendicular to a planned path according to a global path planning point, and the intersection point of the section and a road surface is a line segment; selecting a point of a travelable area on the line segment as a preview point; selecting a pre-aiming section distance according to the speed; the preview point is selected on a line segment determined by a preview section according to a certain interval distance; the course, curvature and speed limit of the preview point are the same as the global path planning point on the preview section; the coordinate of the preview point in the road coordinate system is represented as: (s)fy,lfy,θfy) The subscript f represents a point on the preview cross section, y represents a preview point number, and if N preview points are selected, y is 1, 2,. N.
4. The local path planning method for unmanned vehicle according to claim 1, wherein the step 7) of planning the speed of the unmanned vehicle is as follows:
planning the speed of the unmanned vehicle is carried out on the obtained preferred track in the step 6);
the speed of the unmanned vehicle is planned according to the following method:
71) selecting the point position S with the minimum speed limit value on the optimized trackvminSpeed limit note Vmin;
72) Planning a speed curve from the current unmanned vehicle to the point according to the point position and the speed limit, wherein the curve is constructed according to a trapezoidal curve; wherein the abscissa is time and the ordinate is speed; the trapezoidal curve is divided into an acceleration section, a stable section and a deceleration section;
Vmaxlimfor unmanned vehicles to a lowest speed limit position SvminThe speed of the inner maximum speed limit is limited,
VCfor the current speed of the unmanned vehicle,
Vfspeed limit V which is a speed limit position on an optimized trackmin,
ACCSThe acceleration of the acceleration section is determined according to the comfort degree during the normal running of the vehicle,
DECSthe deceleration of the deceleration section is determined according to the comfort degree during the normal running of the vehicle,
tsteadyis a plateau time, the plateau cannot be too short, being greater than a certain value;
given the above parameters, the plateau speed cannot exceed VmaxlimEstablishing a speed curve;
73) the speed limit of the upper speed limit position of the optimized track is verified by using the speed curve, and if all the speed limits are met, the function curve is a planned function curve; otherwise, steps 71), 72) and 73) are repeated with the previous speed limit position until all are satisfied.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010349542.5A CN111289008B (en) | 2020-04-28 | 2020-04-28 | A local path planning method for unmanned vehicles |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010349542.5A CN111289008B (en) | 2020-04-28 | 2020-04-28 | A local path planning method for unmanned vehicles |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111289008A CN111289008A (en) | 2020-06-16 |
CN111289008B true CN111289008B (en) | 2021-04-13 |
Family
ID=71029665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010349542.5A Active CN111289008B (en) | 2020-04-28 | 2020-04-28 | A local path planning method for unmanned vehicles |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111289008B (en) |
Families Citing this family (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111650945B (en) * | 2020-06-28 | 2023-10-24 | 北京智行者科技股份有限公司 | Dynamic obstacle anticollision method |
CN111679678B (en) * | 2020-06-30 | 2022-04-08 | 安徽海博智能科技有限责任公司 | Track planning method and system for transverse and longitudinal separation and computer equipment |
CN111912422B (en) * | 2020-07-20 | 2023-11-07 | 山东浪潮科学研究院有限公司 | Path planning method for fixed-track automatic driving robot |
CN111998864B (en) * | 2020-08-11 | 2023-11-07 | 东风柳州汽车有限公司 | Unmanned vehicle local path planning method, device, equipment and storage medium |
CN112034848A (en) * | 2020-08-13 | 2020-12-04 | 驭势科技(北京)有限公司 | An obstacle avoidance method, device, electronic device and storage medium |
CN112020014B (en) * | 2020-08-24 | 2022-08-19 | 中国第一汽车股份有限公司 | Lane change track planning method, device, server and storage medium |
CN111998867B (en) * | 2020-08-26 | 2022-07-29 | 上海汽车集团股份有限公司 | Vehicle path planning method and device |
CN112148002B (en) * | 2020-08-31 | 2021-12-28 | 西安交通大学 | A local trajectory planning method, system and device |
CN111806437B (en) * | 2020-09-10 | 2021-01-15 | 中汽研(天津)汽车工程研究院有限公司 | Method, device, device and storage medium for determining preview point of autonomous vehicle |
CN114370874B (en) * | 2020-10-15 | 2023-08-25 | 宇通客车股份有限公司 | Vehicle, vehicle path planning method and device |
CN112596513B (en) * | 2020-10-30 | 2022-12-23 | 芜湖哈特机器人产业技术研究院有限公司 | AGV navigation system and AGV dolly |
CN112363505B (en) * | 2020-11-10 | 2022-06-21 | 合肥工业大学 | Articulated sweeper speed planning method and system based on target distance |
CN114518120B (en) * | 2020-11-18 | 2025-05-16 | 阿里巴巴集团控股有限公司 | Navigation guidance method, road shape data generation method, device, equipment and medium |
CN112765214B (en) * | 2021-01-12 | 2022-06-17 | 武汉光庭信息技术股份有限公司 | Electronic map path matching method, system, server and storage medium |
CN112964267B (en) * | 2021-02-07 | 2022-12-27 | 舜宇光学(浙江)研究院有限公司 | Autonomous obstacle avoidance navigation method, system and equipment thereof |
CN113324554B (en) * | 2021-05-28 | 2023-12-29 | 江铃汽车股份有限公司 | Automatic driving route planning method and device, readable storage medium and electronic equipment |
CN113703453A (en) * | 2021-08-24 | 2021-11-26 | 京东鲲鹏(江苏)科技有限公司 | Method and device for determining driving track, electronic equipment and storage medium |
US12050439B2 (en) * | 2021-10-26 | 2024-07-30 | GM Global Technology Operations LLC | Method of decoupling trajectory planning and tracking |
CN114237229B (en) * | 2021-11-26 | 2023-06-13 | 青岛德智汽车科技有限公司 | Unstructured road work vehicle path planning method based on empirical path fitting |
CN114185352B (en) * | 2021-12-08 | 2024-01-19 | 东风悦享科技有限公司 | High-precision high-real-time automatic driving local path planning method |
CN114234993B (en) * | 2021-12-15 | 2024-09-17 | 北京福田戴姆勒汽车有限公司 | Vehicle local path planning method, automatic driving system and automatic driving vehicle |
CN114371703A (en) * | 2021-12-22 | 2022-04-19 | 杭州鸿泉物联网技术股份有限公司 | A method and device for predicting trajectory of unmanned vehicle |
CN114212108B (en) * | 2021-12-29 | 2024-07-09 | 阿波罗智联(北京)科技有限公司 | Automatic driving method, device, vehicle, storage medium and product |
CN114442633A (en) * | 2022-01-28 | 2022-05-06 | 天津优控智行科技有限公司 | Method for planning local path of logistics vehicle in unmanned park |
CN114964293B (en) * | 2022-05-31 | 2025-04-15 | 智道网联科技(北京)有限公司 | Vehicle path planning method, device, electronic device, and storage medium |
CN115114976B (en) * | 2022-06-06 | 2024-04-30 | 合众新能源汽车股份有限公司 | Training method, device, equipment and storage medium of pretightening distance prediction model |
CN114789723B (en) * | 2022-06-10 | 2022-09-09 | 小米汽车科技有限公司 | Vehicle running control method and device, vehicle, storage medium and chip |
CN114842660B (en) * | 2022-06-29 | 2022-10-11 | 石家庄铁道大学 | Unmanned lane track prediction method and device and electronic equipment |
CN114838737B (en) * | 2022-07-05 | 2022-10-04 | 泽景(西安)汽车电子有限责任公司 | Method and device for determining driving path, electronic equipment and storage medium |
WO2024099113A1 (en) * | 2022-11-10 | 2024-05-16 | 上海高仙自动化科技发展有限公司 | Robot speed limiting method and apparatus, and electronic device |
CN116382262A (en) * | 2023-02-17 | 2023-07-04 | 内蒙古智盛达能源有限公司 | Unmanned system for autonomous navigation and positioning in complex mining area environment |
CN117075619B (en) * | 2023-10-17 | 2024-01-16 | 之江实验室 | Local path planning method, device and medium |
CN117606485B (en) * | 2023-11-30 | 2025-01-10 | 哈尔滨工业大学 | Unmanned system's orbit planning evaluation system |
CN118046926B (en) * | 2024-04-02 | 2025-02-18 | 重庆大学 | Vehicle running track prediction method for automatic driving system |
CN119536301A (en) * | 2024-11-20 | 2025-02-28 | 广东汇天航空航天科技有限公司 | Trajectory planning method, device, aircraft and computer-readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101291067B1 (en) * | 2009-11-26 | 2013-08-07 | 한국전자통신연구원 | Car control apparatus and its autonomous driving method, local sever apparatus and its autonomous driving service method, whole region sever apparatus and its autonomous driving service method |
CN106828493B (en) * | 2017-02-20 | 2019-03-29 | 北理慧动(常熟)车辆科技有限公司 | A kind of automatic driving vehicle layer-stepping longitudinal direction planning control system and method |
CN108088456B (en) * | 2017-12-21 | 2021-07-16 | 北京工业大学 | A Time-Consistent Local Path Planning Method for Unmanned Vehicles |
-
2020
- 2020-04-28 CN CN202010349542.5A patent/CN111289008B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111289008A (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111289008B (en) | A local path planning method for unmanned vehicles | |
US11970168B2 (en) | Vehicle trajectory modification for following | |
Morsali et al. | Spatio-temporal planning in multi-vehicle scenarios for autonomous vehicle using support vector machines | |
JP7140849B2 (en) | Probabilistic Object Tracking and Prediction Framework | |
JP7194755B2 (en) | Trajectory plan | |
Xu et al. | System and experiments of model-driven motion planning and control for autonomous vehicles | |
CN102598083B (en) | Driving support device | |
CN110081894A (en) | A kind of real-time planing method of unmanned wheel paths based on the fusion of road structure weight | |
Jian et al. | Multi-model-based local path planning methodology for autonomous driving: An integrated framework | |
CN112572443B (en) | Real-time collision-avoidance trajectory planning method and system for lane changing of vehicles on highway | |
Morales et al. | Merging strategy for vehicles by applying cooperative tracking control | |
López et al. | Efficient local navigation approach for autonomous driving vehicles | |
Wang et al. | A risk-field based motion planning method for multi-vehicle conflict scenario | |
KR20210068449A (en) | A device for planning the path and/or trajectory of a vehicle | |
CN115158359B (en) | Method and system for improving planning module of autonomous driving vehicle | |
CN115416693A (en) | A method and system for trajectory planning of automatic driving based on space-time corridor | |
CN115140048A (en) | Automatic driving behavior decision and trajectory planning model and method | |
CN113821022A (en) | Speed planning for buffer based on relative speed | |
Yoon et al. | Spatio-Temporal Corridor-Based Motion Planning of Lane Change Maneuver for Autonomous Driving in Multi-Vehicle Traffic | |
CN112689584A (en) | Automatic driving control method and automatic driving control system | |
Cheng et al. | Towards Safe Motion Planning for Autonomous Driving in Highway | |
CN114987533A (en) | Mobile body control system, control method, and storage medium | |
De Lima et al. | Sensor-based control with digital maps association for global navigation: a real application for autonomous vehicles | |
US20240025442A1 (en) | Trajectory planning in autonomous driving vehicles for unforeseen scenarios | |
CN113460091B (en) | Unprotected crossroad unmanned vehicle rolling optimization decision method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A Local Path Planning Method for Autonomous Vehicles Granted publication date: 20210413 Pledgee: Zijin Branch of Nanjing Bank Co.,Ltd. Pledgor: NANJING WAYTHINK AUTOMOBILE TECHNOLOGY CO.,LTD. Registration number: Y2025980017238 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |