A method for determining the limit trajectory of an autonomous vehicle leaving a roundabout
By calculating the latest departure turning point and limit trajectory in the ring road, using the fifth degree polynomial model and the Frenet coordinate system, the problem of autonomous vehicles safely leaving the roundabout is solved, and driving safety and efficiency are improved.
Patent Information
- Application Number
- CN202211102582.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-09
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-09-09
AI Technical Summary
Existing technology has failed to effectively study and solve the problem of autonomous vehicles safely leaving a roundabout. Especially when traffic flow is intertwined at a roundabout, it is difficult to safely drive into the exit lane while complying with traffic rules.
By calculating the latest departure turning point and limit trajectory within the ring road, using a quintic polynomial model to describe the lane change trajectory, combined with the conversion of the Frenet coordinate system and the rectangular coordinate system, taking into account the car itself and road constraints, determine the departure of the autonomous vehicle Extreme trajectories of roundabouts.
It provides self-driving cars with the latest out-of-circuit steering warning to avoid violating traffic rules, improves driving safety and driving efficiency, reduces the phenomenon of driving on the line, and shortens the average driving time by 8.9%.
Smart Images

Figure CN115620511B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of autonomous driving trajectory planning, and specifically relates to a method for determining a limit trajectory of an autonomous driving vehicle leaving a roundabout. Background Art
[0002] Roundabouts are common in all kinds of cities in my country. They not only increase the urban green area, but also effectively reduce road congestion, vehicle delays and traffic accident rates under low traffic conditions, playing a positive role in alleviating urban traffic problems.
[0003] Due to the rapid development of autonomous driving technology, the applicable scenarios of autonomous driving vehicles have expanded from relatively simple road conditions to complex urban roundabouts. Existing research on autonomous driving vehicles driving in roundabouts tends to focus on the field of intelligent traffic simulation and trajectory planning based on roundabout selection. Invention patent 202110280449.8 divides the roundabout into an entry area, a middle area, and an exit area. By collecting the traffic parameter values of each simulated vehicle in the entry area, a simulated vehicle entry path target curve is constructed according to the preset lane change rules; Invention patent 202111074077.x performs global path planning based on the B-spline interpolation method, and makes reasonable roundabout selection by formulating entry and exit rules. However, there is no research on the extreme trajectory of autonomous driving vehicles leaving roundabouts. The roundabout has a high degree of interweaving of traffic. If the turning operation is not made in the appropriate area, it will be difficult for the car to safely enter the exit road while complying with traffic rules.
[0004] Based on the above background, when an autonomous vehicle is driving in a roundabout, which is a scenario that requires high driving skills, in order to ensure that it can safely and smoothly exit the roundabout, it is necessary to plan its driving trajectory reasonably and carefully, and calculate the latest exit turning point within the roundabout, so as to limit the area where the autonomous vehicle starts to turn towards the exit road. Summary of the invention
[0005] A method for determining the limit trajectory of an autonomous vehicle leaving a roundabout, comprising: leaving a turning point A at the latest from any roundabout n n , the endpoint B of the road centerline or channelization line of the exit road, and point A n The limiting trajectory between point A and point B n B;
[0006] The self-driving car, hereinafter referred to as the car, has its left front driving along the circular curve where the center line of the ring road n is located, n = 1, 2...N, and the direction of the front of the car is perpendicular to the radius direction of the center island;
[0007] The process of a car leaving the roundabout is an unrestricted free lane change, that is, this process is not affected by other cars;
[0008] The latest departure point of loop n is A n A circular curve located at the left front of the autonomous vehicle and at the center line of the loop n;
[0009] Extreme Track A n B is calculated according to the fifth-order polynomial used by the autonomous vehicle when changing lanes or turning;
[0010] A method for determining a limit trajectory of an autonomous vehicle leaving a roundabout, the steps of which are as follows:
[0011] Step 1: The center island of the roundabout and the ring road are considered as concentric circles of a perfect circle, with the center of the center island as o and the radius as r, in meters; a rectangular coordinate system is established with the center o of the center island as the origin, with the center line of the target exit road of the autonomous driving car as the y-axis, the direction away from point o as the positive direction of the y-axis, and the direction 90° clockwise perpendicular to the positive direction of the y-axis as the positive direction of the x-axis;
[0012] Step 2: The equation of the circular curve where the left front of the autonomous vehicle is located along the center line of the loop n in the rectangular coordinate system described in step 1 is: Where, d is the width of the loop, unit: meter;
[0013] Step 3: Pick points on the circular curve between the current position of the car and the y-axis at equal angles of 1°. The coordinates of any point i are (x i ,y i ), where i = 1, 2, 3…m, (x m ,y m ) is the latest departure point A n The coordinates of
[0014] Step 4: The coordinates of the endpoint B of the road centerline or channelization line of the exit road in the rectangular coordinate system described in step 1 are (0, r+Nd);
[0015] Step 5: Take the center line of loop n as the reference line, and establish the Frenet coordinate system with the tangent vector and the normal vector of the reference line as the coordinate axes, and use the quintic polynomial model to describe the lane change trajectory:
[0016]
[0017] Where t represents a certain moment in the lane-changing process, in seconds; s(t) and d(t) represent the functions of the longitudinal displacement and lateral displacement in the Frenet coordinate system with respect to time t, in meters; p k ,q k Respectively represent the coefficients of t, k = 0, 1, 2, 3, 4, 5;
[0018] Take the second derivative of the s(t) function:
[0019]
[0020] In the formula, Indicates the longitudinal speed of the car at time t, in meters per second. It represents the longitudinal acceleration of the car at time t, in meters per square second;
[0021] The moment when the left front of the car leaves the center line of the loop n is recorded as t0=0, and then substituted into the s(t) function to obtain the first three coefficients:
[0022]
[0023] Take the second derivative of the d(t) function:
[0024]
[0025] In the formula, Indicates the lateral speed of the car at time t, in meters per second. It represents the lateral acceleration of the car at time t, in meters per square second;
[0026] The moment when the left front of the car leaves the center line of the loop n is recorded as t0=0, and substituted into the d(t) function to obtain the first three coefficients:
[0027]
[0028] Step 6: Take the time when the left front of the car at any point i leaves the center line of the ring road n as t0, let i=1, and calculate the longitudinal displacement s(0) of (x1, y1) in the Frenet coordinate system by converting the rectangular coordinate system and the Frenet coordinate system, and calculate p0, p1 and p2;
[0029] Define the time when the left front of the car starting at any point i arrives at point B as the lane change end time t 1i , that is, when i=1, t 1i =t 11 ; Let T = t 11 -t0, where T is the lane change time, the value range is [3, 10], unit: second; then the longitudinal displacement of point B in the Frenet coordinate system is s(t 11 ), the expected longitudinal speed and expected longitudinal acceleration of the car on the target exit road are and
[0030] t 11 Status information at all times Substitute into the s(t) function and find the coefficients p3, p4 and p5;
[0031] Then, the lateral displacement d(0) of (x1, y1) in the Frenet coordinate system is obtained by converting the rectangular coordinate system to the Frenet coordinate system, and q0, q1 and q2 are obtained;
[0032] The lateral displacement of point B in the Frenet coordinate system is d(t 11 ), the expected lateral speed and expected acceleration of the car on the target exit road are and
[0033] t 11 Status information at all times Substitute into the d(t) function and find the coefficients q3, q4 and q5.
[0034] Get the lane-changing trajectory of the quintic polynomial in the Frenet coordinate system;
[0035] Step 7: During the lane change process, the car is subject to the constraints of itself, the road and other related conditions, which are:
[0036] Constraint 1: Vehicle’s own constraints
[0037]
[0038] In the formula, v s is the lateral speed of the car, in meters per second; v s,limit is the lateral speed limit, unit: m / s; a s is the lateral acceleration, unit: m / s2; a s,limit v is the lateral acceleration limit, unit: m / s2; d is the longitudinal velocity, unit: m / s; v d,limit is the longitudinal speed limit, unit: m / s; a d is the longitudinal acceleration, unit: m / s2; a d,-limit is the longitudinal deceleration limit, unit: m / s2; a d,limit is the longitudinal acceleration limit, unit: meter / square second;
[0039] Constraint 2: Road Constraint
[0040] v≤v L,limit
[0041] Where, v is the vector sum of the vehicle's lateral velocity and longitudinal velocity, unit: m / s; v L,limit is the road speed limit, unit: meter / second;
[0042] Step 8: Let i = 2, 3, 4, etc. respectively, and repeat step 6 until the trajectory equation has no solution within the range of T. Let m = i-1. At this time, (x m ,ym ) is the latest exit turning point A of loop n n , the obtained trajectory A n B is the extreme trajectory of the autonomous vehicle leaving the roundabout.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] The method for determining the extreme trajectory of an autonomous vehicle leaving a roundabout described in the present invention takes into account the limitations of environmental conditions when the autonomous vehicle exits the roundabout, calculates the extreme trajectory and the latest exit turning point for leaving the roundabout, provides a latest exit turning warning for the autonomous vehicle traveling in the roundabout, and provides technical support for the trajectory planning of the autonomous vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The overall flow chart of the method for calculating the limit trajectory of the automatic driving vehicle leaving the roundabout according to the present invention;
[0046] Figure 2 A schematic diagram of the Frenet coordinate system of the present invention;
[0047] Figure 3 This is a structural schematic diagram of the Zhengyang Square roundabout according to an embodiment of the present invention;
[0048] Figure 4 It is a schematic diagram of an arbitrary point i, a road centerline endpoint, a latest exit turning point, and a limit trajectory according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The method for determining the limit trajectory of an autonomous vehicle leaving a roundabout described in the present invention is applicable to the situation where an autonomous vehicle is about to leave a roundabout without being disturbed by surrounding vehicles. By calculating the limit trajectory and the latest exit turning point, a latest turn warning is issued to the vehicle to avoid violating traffic rules and achieve safe driving of the vehicle itself.
[0050] See also Figure 1 The method for determining the limit trajectory of an autonomous driving vehicle leaving a roundabout according to the present invention comprises the following steps:
[0051] Step 1: Establish a rectangular coordinate system with the center of the central island as the origin and the center line of the target exit road of the autonomous driving vehicle as the y-axis;
[0052] Step 2: Calculate the equation of the circular curve along the center line of the ring road n;
[0053] Step 3: Take points at equal angle intervals on the circular curve where the center line of the loop n lies between the current position of the car and the y-axis;
[0054] Step 4: Calculate the endpoint coordinates of the exit road centerline or channelization line;
[0055] Step 5: Establish a quintic polynomial in the Frenet coordinate system and obtain the coefficients of the first three terms;
[0056] Step 6: Under the lane-changing time constraint, use the lane-changing end time state information to find the remaining coefficients of the quintic polynomial and obtain the quintic polynomial lane-changing trajectory;
[0057] Step 7: Add vehicle constraints and road constraints;
[0058] Step 8: Repeat step 6 at all points in sequence until the quintic polynomial trajectory equation has no solution. At this time, the last point with a solution is the latest exit turning point, and the corresponding equation trajectory is the extreme trajectory of the autonomous vehicle leaving the roundabout.
[0059] Example
[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the details of the present invention and the technical solutions in the embodiments of the present application. The described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0061] Zhengyang Square is a roundabout with five roads intersecting. The exit road, Huxi Road, is a two-way four-lane road. There is a guardrail on the center line of the road. The structural diagram of the roundabout of Zhengyang Square is as follows: Figure 3 shown.
[0062] like Figure 4 As shown, a rectangular coordinate system is established with the center of the central island of Zhengyang Square as the origin o, Huxi Road as the target exit road for the autonomous driving car, the center line of Huxi Road as the y-axis, the direction away from point o as the positive direction of the y-axis, and the direction 90° clockwise perpendicular to the positive direction of the y-axis as the positive direction of the x-axis.
[0063] The equation of the circular curve where the center line of loop n lies in the rectangular coordinate system is:
[0064]
[0065] The structural parameters of the roundabout are obtained through high-precision maps. The radius of the central island r is 33 meters, the width of the ring road d is 5 meters, and the number of ring roads n = 1, 2, 3, 4, 5.
[0066] like Figure 4 As shown, at equal angles of 1° The coordinates of any point i on the curve are (x i ,y i ), where i = 1, 2, 3…m.
[0067] The coordinates of the endpoint B of the road centerline of Huxi Road are (0, 58).
[0068] by Figure 4 Take the loop 3 shown in the figure as an example, take the center line of loop 3 as the reference line, use the tangent vector and normal vector of the reference line to establish the Frenet coordinate system, and use the quintic polynomial model to calculate the limit trajectory from loop 3 to the exit of Huxi Road:
[0069]
[0070] Let i=1, and obtain the longitudinal displacement s(0) and lateral displacement d(0) of (x1, y1) in the Frenet coordinate system by transforming the rectangular coordinate system and the Frenet coordinate system.
[0071] Take the second derivative of the s(t) and d(t) functions and substitute t0=0 to obtain the first three coefficients of s(t) and d(t).
[0072]
[0073] Define the time when the left front of the car starting at any point i arrives at point B as the lane change end time t 1i , that is, i=1, t 1i =t 11 ; Let T = t 11 -t0, where T is the lane change time, the value range is [3, 10], unit: second; then the longitudinal displacement of point B in the Frenet coordinate system is s(t 11 ), the expected longitudinal speed and expected acceleration of the car on the target exit road are and The lateral displacement of point B in the Frenet coordinate system is d(t 11 ), the expected lateral speed and expected acceleration of the car on the target exit road are and
[0074] t 11 Status information at all times Substitute the s(t) function, Substitute into the d(t) function and find the coefficients p3, p4, p5, q3, q4 and q5.
[0075] The lane-changing trajectory of the quintic polynomial in the Frenet coordinate system is obtained.
[0076] Let i = 2, 3, 4, etc. respectively, and repeat step 6 until the trajectory equation has no solution within the range of T. Let m = i-1. At this time, (x m ,y m ) is the latest exit turning point A of loop n n , the obtained trajectory A n B is the extreme trajectory of the autonomous vehicle leaving the roundabout.
[0077] The calculated limit trajectory is as follows Figure 4 shown.
[0078] The extreme trajectory calculation method was applied to any autonomous driving car at a roundabout, and the simulation results were compared with those of the car without this calculation method. It was found that the car using this calculation method would no longer violate traffic rules such as driving on the line when exiting the roundabout, and the average driving time of the car was reduced by 8.9%, indicating that this method of determining the extreme trajectory of the autonomous driving car leaving the roundabout ensures driving safety and significantly improves driving efficiency.
Claims
1. A method for determining a limit trajectory of an autonomous vehicle leaving a roundabout, include: From any loop n, leave the turning point A at the latest n , the endpoint B of the road centerline or channelization line of the exit road, and point A n The limiting trajectory between point A and point B n B; The left front of the self-driving car moves along the circular curve where the center line of the ring road n is located, n = 1, 2...N, and the direction of the front of the car is perpendicular to the radius direction of the center island; The process of an autonomous vehicle exiting a roundabout is an unrestricted free lane change, which means that this process is not affected by other vehicles. The latest departure point of loop n is A n A circular curve located at the left front of the autonomous vehicle and at the center line of the loop n; Extreme Track A n B is calculated according to the fifth-order polynomial used by the autonomous vehicle when changing lanes or turning; The determination method comprises the following steps: Step 1: The center island of the roundabout and the ring road are considered as concentric circles of a perfect circle, with the center of the center island as o and the radius as r, in meters; a rectangular coordinate system is established with the center o of the center island as the origin, with the center line of the target exit road of the autonomous driving car as the y-axis, the direction away from point o as the positive direction of the y-axis, and the direction 90° clockwise perpendicular to the positive direction of the y-axis as the positive direction of the x-axis; Step 2: The equation of the circular curve where the left front of the autonomous vehicle is located along the center line of the loop n in the rectangular coordinate system described in step 1 is: Where, d is the width of the loop, unit: meter; Step 3: Pick points on the circular curve between the current position of the autonomous vehicle and the y-axis at equal angle intervals of 1°. The coordinates of any point i are (x i ,y i ) coordinates, where i = 1, 2, 3…m, (x m ,y m ) is the latest departure point A n ; Step 4: The coordinates of the endpoint B of the road centerline or channelization line of the exit road in the rectangular coordinate system described in step 1 are (0, r+Nd); Step 5: Take the center line of loop n as the reference line, and establish the Frenet coordinate system with the tangent vector and the normal vector of the reference line as the coordinate axes, and use the quintic polynomial model to describe the lane change trajectory: Where t represents a certain moment in the lane-changing process, in seconds; s(t) and d(t) represent the functions of the longitudinal displacement and lateral displacement in the Frenet coordinate system with respect to time t, in meters; p k ,q k Respectively represent the coefficients of t, k = 0, 1, 2, 3, 4, 5; Take the second derivative of the s(t) function: In the formula, represents the longitudinal speed of the autonomous vehicle at time t, in meters per second, represents the longitudinal acceleration of the autonomous vehicle at time t, in meters per second squared; The time when the left front of the autonomous vehicle leaves the center line of the loop n is recorded as t 0 =0, substitute into the s(t) function and find the first three coefficients: Take the second derivative of the d(t) function: In the formula, represents the lateral speed of the autonomous vehicle at time t, in meters per second, represents the lateral acceleration of the autonomous vehicle at time t, in meters per square second; The time when the left front of the autonomous vehicle leaves the center line of the loop n is recorded as t 0 =0, substitute into the d(t) function and find the coefficients of the first three terms: Step 6: The time when the left front of the autonomous vehicle at any point i leaves the center line of the loop n is t 0 , let i = 1, and obtain (x 1 ,y 1 ) is the longitudinal displacement s(0) in the Frenet coordinate system, and p is obtained 0 、p 1 and p 2 ; The time when the left front of the autonomous vehicle starting from any point i reaches point B is defined as the lane change end time t 1i , that is, when i=1, t 1i =t 11 ; Let T = t 11 -t 0 , where T is the lane change time, the value range is [3, 10], unit: second; then the longitudinal displacement of point B in the Frenet coordinate system is s(t 11 ), the expected longitudinal speed and expected longitudinal acceleration of the autonomous vehicle on the target exit lane are and t 11 Status information at all times Substitute into the s(t) function and find the coefficient p 3 、p 4 and p 5 ; Then, by converting the rectangular coordinate system to the Frenet coordinate system, we can obtain (x 1 ,y 1 ) in the Frenet coordinate system, and find q 0 ,q 1 and q 2 ; The lateral displacement of point B in the Frenet coordinate system is d(t 11 ), the expected lateral speed and expected acceleration of the autonomous vehicle on the target exit lane are and t 11 Status information at all times Substitute into the d(t) function and find the coefficient q 3 ,q 4 and q 5 , Get the lane-changing trajectory of the quintic polynomial in the Frenet coordinate system; Step 7: During the lane change process, the autonomous vehicle is subject to the constraints of itself, the road and other related conditions, which are: Constraint 1: Self-driving car constraints In the formula, v s is the lateral speed of the autonomous vehicle, in meters per second; v s,limit is the lateral speed limit, unit: m / s; a s is the lateral acceleration, unit: m / s2; a s,limit v is the lateral acceleration limit, unit: m / s2; d is the longitudinal velocity, unit: m / s; v d,limit is the longitudinal speed limit, unit: m / s; a d is the longitudinal acceleration, unit: m / s2; a d,-limit is the longitudinal deceleration limit, unit: m / s2; a d,limit is the longitudinal acceleration limit, unit: meter / square second; Constraint 2: Road Constraint v≤v L,limit Where v is the vector sum of the lateral velocity and longitudinal velocity of the autonomous vehicle, unit: m / s; v L,limit is the road speed limit, unit: m / s; Step 8: Let i = 2, 3, 4, etc. respectively, and repeat step 6 until the trajectory equation has no solution within the range of T. Let m = i-1. At this time, (x m ,y m ) is the latest exit turning point A of loop n n , the obtained trajectory A n B is the extreme trajectory of the autonomous vehicle leaving the roundabout.
