A target trajectory planning and tracking method in a multi-obstacle environment

By generating a set of candidate trajectories in intelligent driving cars and using potential field decision-making, the optimal target trajectory, combined with spline curves and model predictive control, solves the problem of trajectory planning in a multi-obstacle environment and realizes the safe driving of intelligent driving cars. .

CN115158355BActive Publication Date: 2024-10-22SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210841656.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-18
Publication Date
2024-10-22
Estimated Expiration
2042-07-18

AI Technical Summary

Technical Problem

Existing intelligent driving vehicle trajectory planning algorithms are mainly oriented to single-obstacle environments, and it is difficult to plan optimal trajectories in complex environments with multiple obstacles, making safe driving difficult.

Method used

By obtaining the main vehicle status and surrounding road environment information, a candidate trajectory set is generated, the potential field of obstacles and lane markings is designed, the candidate trajectory with the smallest potential field value is selected as the optimal target trajectory, and the spline method is used to plan smooth switching , combined with the model predictive control method to design a path tracking controller to achieve accurate trajectory tracking.

Benefits of technology

In multi-obstacle environments, safe and smooth driving of smart driving vehicles is achieved, enhancing practicality and commercial application prospects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115158355B_ABST
    Figure CN115158355B_ABST
Patent Text Reader

Abstract

The present invention discloses a target trajectory planning and tracking method in a multi-obstacle environment, which relates to the field of intelligent transportation technology and solves the technical problem of difficult trajectory planning in a multi-obstacle environment under the prior art. The key points of the technical solution are to translate the initial target trajectory to generate a cluster of candidate trajectory sets; then select the optimal target trajectory according to the potential field of all obstacles and the potential field of traffic sign lines; then plan a safe and smooth trajectory through the spline curve method to achieve a smooth switch from the initial target trajectory to the optimal decision trajectory; finally, the model predictive control method is used to design a path tracking controller to achieve accurate tracking of the planned trajectory. The method can realize the safe driving of intelligent driving vehicles in a multi-obstacle environment, has strong practicality, and broad commercial application prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent transportation technology, and in particular to a target trajectory planning and tracking method in a multi-obstacle environment. Background Art

[0002] Smart driving cars are an effective means to solve existing traffic accidents, road congestion and other problems, and are also the current development direction of the automotive industry. It mainly includes modules such as environmental perception, trajectory planning, and tracking control. Among them, trajectory planning is a bridge connecting environmental perception and tracking control, and can be considered as the brain of smart driving cars. The trajectory planning module analyzes and judges based on the obtained road information, and adjusts the driving behavior according to the travel task. It is one of the prerequisites for the industrialization of smart driving cars. Most of the current trajectory planning algorithms are aimed at single obstacle environments. After detecting the obstacle in front, obstacle avoidance is achieved by switching to the adjacent lane. However, this method is not applicable in a multi-obstacle environment where there are obstacles in each lane. The scenes encountered by self-driving cars during driving are diverse, not all simple scenes containing only a single obstacle. How to plan the optimal trajectory in a complex environment with multiple obstacles and achieve safe driving of smart driving cars is a problem that this application needs to solve. Summary of the invention

[0003] The present application provides a target trajectory planning and tracking method in a multi-obstacle environment, the technical purpose of which is to solve the problem of safe driving of intelligent driving vehicles in a multi-obstacle environment.

[0004] The above technical objectives of this application are achieved through the following technical solutions:

[0005] A target trajectory planning and tracking method in a multi-obstacle environment, comprising:

[0006] S1: Obtain the vehicle status information and surrounding road environment information, and determine whether there are obstacles in the current lane and surrounding lanes. If there are no obstacles, go to step S7 to continue the initial target trajectory e y0 Tracking is performed, and if there is any, go to step S2;

[0007] S2: The initial target trajectory e y0 Translate and generate candidate trajectory sets by lateral offset E n*1 Describe each candidate trajectory in the candidate trajectory set, then the candidate trajectory set is expressed as:

[0008] E n*1 =[e1,e2,...e n ] T ; (1)

[0009] Among them, e1 represents the lane from the right lane boundaryr To the initial target trajectory e y0 The distance, e n Indicates the left lane boundary Lane l To the initial target trajectory e y0 The distance between e1 and e n It is expressed as:

[0010]

[0011] S3: Design a potential field including all obstacles and lane markings, calculate the potential field of obstacles and lane markings for each candidate trajectory, and determine the optimal target trajectory based on the potential field values ​​of the candidate trajectories, that is, select the candidate trajectory with the smallest potential field value as the optimal target trajectory;

[0012] Among them, the potential field of obstacles and lane markings for each candidate trajectory is calculated and expressed as:

[0013]

[0014] in, represents the influence of the potential field of each obstacle on each candidate trajectory i; represents the influence of the potential field of the traffic sign line on each candidate trajectory i;

[0015] S4: Initial target trajectory e is obtained by spline curve method y0 The lane change trajectory to the optimal target trajectory is planned and tracked to complete the lane change from the initial target trajectory e y0 To terminal horizontal position e j Smooth switching of , j∈[1,n];

[0016] S5: Determine whether the host vehicle has avoided the obstacle, if yes, go to step S6, otherwise go to step S4;

[0017] S6: Determine whether the host vehicle is located at the center line of the lane, if so, go to step S7, otherwise go to step S2;

[0018] S7: Track the target trajectory through the path tracking controller.

[0019] The beneficial effects of the present application are as follows: the target trajectory planning and tracking method in a multi-obstacle environment described in the present application translates the initial target trajectory to generate a cluster of candidate trajectory sets, selects the optimal target trajectory based on the potential field of all obstacles and the potential field of traffic sign lines, and plans a safe and smooth trajectory through the spline curve method, so as to achieve a smooth switch from the initial target trajectory to the optimal decision trajectory. The path tracking controller is designed using the model predictive control method to achieve accurate tracking of the planned trajectory. This method can achieve safe driving of intelligent driving vehicles in a multi-obstacle environment, has strong practicality, and broad commercial application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A flowchart of the method described in this application;

[0021] Figure 2 Schematic diagram of the obstacle potential field designed for this application;

[0022] Figure 3 Schematic diagram of the traffic sign line potential field designed for this application;

[0023] Figure 4 This is a schematic diagram of the main vehicle's driving trajectory in a multi-obstacle environment obtained in this application;

[0024] Figure 5 This is a schematic diagram of the front wheel turning angle and lateral acceleration of the main vehicle obtained in this application. DETAILED DESCRIPTION

[0025] The technical solution of the present application will be described in detail below with reference to the accompanying drawings.

[0026] like Figure 1 As shown, the target trajectory planning and tracking method in a multi-obstacle environment described in this application includes:

[0027] S1: Obtain the vehicle status information and surrounding road environment information, and determine whether there are obstacles in the current lane and surrounding lanes. If there are no obstacles, go to step S7 to continue the initial target trajectory e y0 Tracking is performed, and if yes, go to step S2.

[0028] S2: The initial target trajectory e y0 Translate and generate candidate trajectory sets by lateral offset E n*1 Describe each candidate trajectory in the candidate trajectory set, then the candidate trajectory set is expressed as:

[0029] E n*1 =[e1,e2,...e n ] T ; (1)

[0030] Among them, e1 represents the lane from the right lane boundary r To the initial target trajectory e y0 The distance, e n Indicates the left lane boundary Lane l To the initial target trajectory e y0 The distance between e1 and e n It is expressed as:

[0031] e1=Lane r -ey0; (2)

[0032] e n =Lane l -e y0

[0033] Generally, the initial target trajectory of the main vehicle is the center line of the right lane; the distance between every two candidate trajectories is 0.1m, and the number of candidate trajectories is related to the road width.

[0034] S3: Design a potential field including all obstacles and lane markings, calculate the potential field of obstacles and lane markings for each candidate trajectory, and determine the optimal target trajectory based on the potential field values ​​of the candidate trajectories, that is, select the candidate trajectory with the smallest potential field value as the optimal target trajectory;

[0035] Among them, the potential field of obstacles and lane markings for each candidate trajectory is calculated and expressed as:

[0036]

[0037] in, represents the influence of the potential field of each obstacle on each candidate trajectory i; represents the influence of the potential field of the traffic sign line on each candidate trajectory i. The obstacle potential field modeling is as follows: Figure 2 As shown, it is necessary to ensure that the body frames of the two vehicles do not collide with each other, and the lateral distance between the two vehicles should not be too large during the collision avoidance process to prevent the vehicle from exceeding the lane boundary. This application uses a piecewise function to describe the lateral impact of the kth obstacle, expressed as:

[0038]

[0039] Among them, D i represents the lateral distance between the obstacle and the i-th candidate trajectory; W represents the width of the main vehicle; W k represents the width of the kth obstacle detected by the LiDAR; a obs represents the intensity parameter, which describes the size of the obstacle potential field; κ represents the order of the obstacle potential field function, which indicates the speed at which the obstacle potential field changes. Figure 2 In, W+W krepresents the untouchable potential field area relative to the vehicle contour, (W+W k ) / 2 represents the influence range of the obstacle potential field, which is the touchable area.

[0040] There are two types of traffic signs: one is the road boundary line that is not passable, and the other is the center line of the lane that can be passed. Figure 3 The lane boundary strong field constraint and lane centerline weak field constraint are shown as:

[0041]

[0042] Among them, W L represents the width of a single lane; a1 represents the gain of the lane boundary; a2 represents the gain of the lane centerline; k L Represents the order of the traffic sign line potential field function.

[0043] Select the candidate trajectory e with the minimum potential field function affected by obstacles and traffic signs j As the new target trajectory, it is expressed as:

[0044]

[0045] Where M represents the number of candidate trajectories. Along the new target trajectory, the main vehicle can avoid all obstacles, stay within the lane boundaries, and try not to cross the center line of the road. After crossing the obstacle, the nearest lane center line will be selected as the new reference path, which is in line with the driving habits of human drivers.

[0046] S4: Initial target trajectory e is obtained by spline curve method y0 To plan the lane change trajectory to the optimal target trajectory, complete the change from the initial target trajectory e y0 To terminal horizontal position e j Smooth switching, j∈[1,n].

[0047] Specifically, the spline curve method is a quintic spline curve method, which is expressed as:

[0048]

[0049]

[0050] Among them, X veh Indicates the travel length; e y,des is relative to the travel length X veh The lateral deviation of des is the first-order derivative of the lateral deviation, indicating the heading angle of the candidate trajectory; X avo represents the total driving distance of the main vehicle during the lane change process, X avo =Vx *T Lc , V x represents the longitudinal velocity of the vehicle, T Lc represents the lane change time expected by the driver; and X veh =X host -(X obs -X avo );X host Indicates the longitudinal position of the vehicle; X obs represents the longitudinal position of the obstacle vehicle. The planned lane change trajectory is represented by e j and X avo Two parameters determine,e j It is the optimal target trajectory determined based on the candidate trajectory set and the environmental potential field.

[0051] S5: Determine whether the host vehicle has avoided the obstacle. If so, go to step S6; otherwise, go to step S4.

[0052] S6: Determine whether the host vehicle is located at the center line of the lane. If so, go to step S7; otherwise, go to step S2.

[0053] If the main vehicle is not on the center line of the lane, the target trajectory needs to be replanned. Under the influence of only the lane potential field and no obstacle potential field, the nearest lane center line will become the new target trajectory (optimal target trajectory).

[0054] S7: Track the target trajectory through the path tracking controller.

[0055] Specifically, the path tracking controller is constructed through a vehicle-road model, including:

[0056] A two-degree-of-freedom vehicle model is used to describe the lateral and yaw motions of the vehicle. Assume that the front wheel steering angle δ f For a small angle, the longitudinal speed V x If the value remains unchanged, the vehicle model can be expressed as:

[0057]

[0058]

[0059] Where m is the vehicle mass, I z is the moment of inertia of the vehicle, l f Indicates the distance from the vehicle's center of mass to the front axle; l r Indicates the distance from the vehicle's center of mass to the rear axle; F yf Indicates the total lateral force of the front wheel; F yr Represents the total lateral force of the rear wheel; V y represents the lateral velocity; Indicates the vehicle's yaw rate.

[0060] If the front wheel slip angle α f and rear wheel slip angle α r are all small angles, then:

[0061]

[0062]

[0063] Among them, C f Indicates the front wheel cornering stiffness; C r Represents the rear wheel cornering stiffness; due to the lateral velocity V y Much smaller than the longitudinal velocity V x , the vehicle center of mass side slip angle β can be expressed as β = V y / V x .

[0064] The motion of the vehicle is described in the global coordinate system as:

[0065]

[0066]

[0067] Where X represents the longitudinal position of the vehicle in the global coordinate system; Y represents the lateral position of the vehicle in the global coordinate system; ψ represents the yaw angle of the vehicle.

[0068] Combining equations (9)-(14), the vehicle-road model can be described as:

[0069]

[0070] in, represents the state vector; u = δ f represents the control quantity, and F represents the nonlinear system function.

[0071] The motion of the vehicle in curvilinear coordinates is described in the form of a linear time-varying state space equation, expressed as:

[0072]

[0073] y(t)=Cx(t); (17)

[0074] in, Both represent time-varying coefficient matrices, y = [Y, ψ] T is the output vector and C is the selection matrix.

[0075] Formula (16) can be discretized as:

[0076]

[0077] in, ΔT represents the discrete time of the system; Δu represents the increment of the control quantity;

[0078] Define the prediction time domain as N p , control time domain is N c , at the kth moment, the state sequence, output sequence and control sequence are expressed as:

[0079] x(k+1|k),x(k+2|k),...,x(k+N p |k);(19);

[0080] y(k+1|k),y(k+2|k),...,y(k+N p |k)

[0081] Δu(k|k),Δu(k+1|k),...,Δu(k+N c -1|k)

[0082] The vehicle path tracking controller is used to track the target path, so its objective function is:

[0083]

[0084] Among them, Q represents the weight matrix of the state quantity increment; R represents the weight matrix of the control quantity increment.

[0085] Finally, the path tracking controller of the vehicle is expressed as:

[0086]

[0087] stx(k+i|k)=A k x(k+i-1|k)+B k u(k+i-1|k)

[0088] y(k+i-1|k)=Cx(k+i-1|k),(i=1,2,...N p )

[0089] u(k+i|k)=u(k+i-1|k)+Δu(k+i|k)

[0090] u min ≤u(k+i|k)≤u max

[0091] Δu min ≤Δu(k+i|k)≤Δu max

[0092] (i=0,1,...,N c -1)

[0093] x(k|k)=x(k).

[0094] In the formula, u min and u max They represent the minimum and maximum limits of the control quantity u respectively; Δu min and Δu max They respectively represent the minimum and maximum limits of the control quantity increment Δu.

[0095] The initial state in the prediction time domain is the state of the vehicle at the previous moment. After solving the above optimization problem, the optimal control increment sequence ΔU is obtained. * , expressed as:

[0096] ΔU * (k)=[Δu * (k|k),Δu * (k+1|k),...,Δu * (k+N c -1|k)];(22);

[0097] Then the control output at time k is expressed as:

[0098] u(k|k)=u(k-1|k-1)+Δu * (k|k);(23);

[0099] The new control variable u(k|k) is output to the vehicle to achieve path tracking; at the next time step k+1, the updated state from the vehicle is used to solve a new optimization problem within the prediction range, and finally the target path is tracked.

[0100] The following uses the Matlab / Simulink-CarSim joint simulation platform to build a multi-obstacle environment to verify the target trajectory decision, planning and tracking methods of the above embodiment. The main vehicle is driving along the center line of the right lane at a speed of 60km / h. At this time, four obstacles appear in front and the main vehicle must change lanes. The obstacles are located at (100,0), (105,5), (250,4.5), and (255,3). The weight matrix of the model predictive path tracking controller is set to Q=diag(3,60) and R=200.

[0101] Test results such as Figure 4 and Figure 5As shown in the figure, when the main vehicle encounters the first and second obstacles in front, the optimal target trajectory is first determined based on the proposed candidate trajectory set and the 2D potential field method of the road environment. Then, the quintic spline curve method is used to generate a safe and comfortable obstacle avoidance lane change trajectory. Finally, the model prediction path tracking controller is used to control the vehicle to follow the lane change trajectory. Since the lateral positions of the two obstacles are 0 and 5 respectively, the influence of the lane centerline is small, so the optimal target trajectory is determined to be the initial target trajectory offset 2.5m to the left. The trajectory of the main vehicle at different times is shown in Figure 2. Figure 4 As shown in Figure 1, after the main vehicle avoids the first obstacle and the second obstacle, it selects the nearest lane centerline as the new target trajectory under the influence of the traffic sign line potential field.

[0102] The first and second obstacles verify the effectiveness of the proposed algorithm when the obstacles are located on different sides. In order to prove the versatility of the algorithm, the third and fourth obstacles are set on the same side. Since the lateral positions of the two obstacles are 4.5 and 3 respectively, according to the obstacle potential field and the lane marking line potential field, the optimal target trajectory is determined to be 3.9m offset to the right of the current target trajectory. That is, 0.3m to the right of the initial trajectory. After avoiding the obstacle, the main vehicle will change lanes to the left under the influence of the lane marking line potential field and return to the center line of the right lane. Figure 5 As shown, when the maximum lateral lane change distance is 3.9m and the vehicle speed is 60km / h, the maximum lateral acceleration of the main vehicle does not exceed 0.34g, indicating that the vehicle's ride comfort can be guaranteed.

[0103] The above are exemplary embodiments of the present application, and the protection scope of the present application is defined by the claims and their equivalents. Those skilled in the art should understand that the present application is not limited by the above examples, and the above examples and descriptions are only for illustrating the principles of the present invention. The present invention may have various changes and improvements without departing from the spirit and scope of the present invention, and these changes and improvements fall within the scope of the present invention to be protected. The protection scope of the present invention is defined by the attached claims and their equivalents.

Claims

1. A target trajectory planning and tracking method in a multi-obstacle environment, characterized in that: include: S1: Obtain the vehicle status information and surrounding road environment information, and determine whether there are obstacles in the current lane and surrounding lanes. If there are no obstacles, go to step S7 to continue the initial target trajectory e y0 Tracking is performed, and if there is any, go to step S2; S2: The initial target trajectory e y0 Translate and generate candidate trajectory sets by lateral offset E n*1 Describe each candidate trajectory in the candidate trajectory set, then the candidate trajectory set is expressed as: THE n*1 =[e1,e2,...e n ] T ;(1) Among them, e1 represents the lane from the right lane boundary r To the initial target trajectory e y0 The distance, e n Indicates the left lane boundary Lane l To the initial target trajectory e y0 The distance between e1 and e n It is expressed as: S3: Design a potential field including all obstacles and lane markings, calculate the potential field of obstacles and lane markings for each candidate trajectory, and determine the optimal target trajectory based on the potential field values ​​of the candidate trajectories, that is, select the candidate trajectory with the smallest potential field value as the optimal target trajectory; Among them, the potential field of obstacles and lane markings for each candidate trajectory is calculated and expressed as: in, represents the influence of the potential field of each obstacle on each candidate trajectory i; represents the influence of the potential field of the traffic sign line on each candidate trajectory i; S4: Initial target trajectory e is obtained by spline curve method y0 The lane change trajectory to the optimal target trajectory is planned and tracked to complete the lane change from the initial target trajectory e y0 To terminal horizontal position e j Smooth switching of , j∈[1,n]; S5: Determine whether the host vehicle has avoided the obstacle, if yes, go to step S6, otherwise go to step S4; S6: Determine whether the host vehicle is located at the center line of the lane, if so, go to step S7, otherwise go to step S2; S7: Tracking the target trajectory through the path tracking controller; Wherein, in step S3, the potential field of the k-th obstacle is described by a piecewise function, which is expressed as: Among them, D i represents the lateral distance between the obstacle and the i-th candidate trajectory; W represents the width of the main vehicle; W k represents the width of the kth obstacle detected by the LiDAR; a obs represents the strength parameter of the obstacle potential field; κ represents the order of the obstacle potential field function; [0, (W+W k ) / 2] represents the width of the untouchable area, [(W+W k ) / 2,(W+W k )] represents the touchable potential field influence area; The potential field of the traffic sign line includes the strong field constraint of the lane boundary and the weak field constraint of the lane centerline, which can be expressed as: Among them, W L represents the width of a single lane; a1 represents the gain of the lane boundary; a2 represents the gain of the lane centerline; κ L Indicates the order of the traffic sign line potential field function; The candidate trajectory with the smallest potential field value is selected as the new target trajectory, which is expressed as: Where M represents the number of candidate trajectories; In step S4, the spline curve method is a quintic spline curve method, which is expressed as: Among them, X veh Indicates the travel length; e y,des is relative to the travel length X veh The lateral deviation of des is the first-order derivative of the lateral deviation, indicating the heading angle of the candidate trajectory; X avo represents the total driving distance of the main vehicle during the lane change process, X avo =V x *T Lc , V x represents the longitudinal velocity of the vehicle, T Lc represents the lane change time expected by the driver; and X veh =X host -(X obs -X avo );X host Indicates the longitudinal position of the vehicle; X obs Indicates the longitudinal position of the obstacle vehicle.