A real-time lane-changing decision method based on longitudinal safety distance model
Through the real-time lane-changing decision-making method based on the longitudinal safe distance model, the safety problem of real-time decision-making of autonomous vehicles in dynamic and complex environments is solved, and safe driving under the uncertainty of human driver behavior is achieved. Through prediction and trajectory planning This ensures the safety and real-time performance of autonomous vehicles.
Patent Information
- Application Number
- CN202210842508.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-18
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-07-18
AI Technical Summary
The real-time performance and safety of existing self-driving cars in making real-time decisions in dynamic and complex environments are insufficient, especially when the behavior of human drivers is uncertain, making it difficult to effectively drive safely.
A real-time lane-changing decision-making method based on the longitudinal safety spacing model is adopted. By obtaining the main vehicle status information and the position, speed and acceleration of surrounding vehicles, a collision risk model is constructed, the future state is predicted, the longitudinal spacing is calculated, the trajectory is re-planned, and the optimal target lane is selected. , and achieve safe and smooth lane switching through the spline method.
Achieving safe driving of autonomous vehicles in dynamic and complex environments improves the practicality and commercial application prospects of real-time decision-making. It can effectively deal with collision risks and sudden deceleration behavior of the vehicle in front, and ensure a safe distance between the main vehicle and surrounding vehicles.
Smart Images

Figure CN115140094B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent transportation technology, and in particular to a real-time lane-changing decision method based on a longitudinal safety spacing model. Background Art
[0002] Autonomous driving technology is an effective way to solve the problems of driving safety and traffic congestion. The occupancy rate of autonomous vehicles on the road will gradually increase, but this will be a long process. For a long time in the future, human-driven vehicles and autonomous vehicles will coexist on the road. The behavior of human drivers is uncertain, and their driving intentions are difficult to obtain, which places high demands on the real-time performance of the environmental perception, driving decision-making, trajectory planning and motion control modules of autonomous vehicles. Driving decisions and trajectory planning can be regarded as the brain of an autonomous vehicle. According to the environmental information provided by the perception module, the most appropriate driving behavior is decided and planned and sent to the motion control module. However, the existing decision-making methods either require a large amount of high-quality data for preliminary training, or have poor real-time performance, which leads to many limitations in practical applications. How to make real-time decisions in a dynamic and complex environment and achieve safe driving of autonomous vehicles is a problem that this application needs to solve. Summary of the invention
[0003] The present application provides a real-time lane-changing decision method based on a longitudinal safety spacing model, the technical purpose of which is to solve the problem of safe driving of autonomous vehicles in dynamic and complex environments.
[0004] The above technical objectives of this application are achieved through the following technical solutions:
[0005] A real-time lane-changing decision method based on a longitudinal safety spacing model, wherein the host vehicle detects the current lane and adjacent lanes to determine whether there are obstacles in the current lane and adjacent lanes. If there are obstacles, the method includes:
[0006] S1: Obtain the status information of the main vehicle and the position, speed and acceleration of surrounding vehicles;
[0007] S2: Construct a longitudinal safety distance model based on the collision risk between the main vehicle and surrounding vehicles;
[0008] S3: predicting the motion state of the main vehicle and surrounding vehicles to obtain a prediction sequence of future states, calculating the longitudinal distance between the main vehicle and the vehicle in front of the current lane according to the prediction sequence in the prediction time domain, and judging whether there is a collision risk between the main vehicle and the surrounding vehicles. If there is a collision risk, replanning the lane change trajectory based on the longitudinal safety distance model until there is no collision risk between the main vehicle and the surrounding vehicles, and then proceeding to step S4; if there is no collision risk, directly proceeding to step S4;
[0009] The acquisition of the prediction sequence includes:
[0010] If the acceleration of the main vehicle and the surrounding vehicles remains unchanged, the motion of the main vehicle and the surrounding vehicles can be expressed as:
[0011]
[0012] in, Indicates the current longitudinal position of the vehicles around the host vehicle; Indicates the current speed of vehicles around the main vehicle; Indicates the current acceleration of the vehicles around the main vehicle; HC indicates the main vehicle; PC indicates the vehicle in front of the current lane; TP indicates the vehicle in front of the target lane; TF indicates the vehicle behind the target lane;
[0013] Define the prediction time interval as Δt and the number of prediction steps as N p , then the prediction sequence of the longitudinal position of the car is expressed as:
[0014] X I (t k +Δt|t k ),X I (t k +2Δt|t k ),...,X I (t k +N p Δt|t k ); (2)
[0015] Among them, t k Indicates the current moment;
[0016] S4: Design a lane potential field based on the current position relationship and speed relationship between the host vehicle and surrounding vehicles, and select the optimal target lane based on the lane potential field;
[0017] S5: The main vehicle switches from the initial lane to the optimal target lane based on the spline curve method.
[0018] The beneficial effects of the present application are as follows: the real-time lane-changing decision method in a dynamic and complex environment described in the present application establishes a longitudinal safety spacing model that takes into account the risk of collision with surrounding vehicles and the sudden deceleration behavior of the leading vehicle, and predicts the motion state of the main vehicle and surrounding vehicles, calculates the longitudinal spacing between the main vehicle and the leading vehicle in the current lane in the prediction time domain, and proposes a replanning decision method based on the longitudinal safety spacing model; according to the position and speed relationship between the main vehicle and the surrounding vehicles at the current moment, a potential field method is designed to select the optimal target lane, and a spline curve method is used to plan a safe trajectory to achieve safe and smooth switching of the main vehicle from the initial lane to the optimal target lane. This method can achieve safe driving of autonomous vehicles in time-varying and complex environments, and has strong practicality and broad commercial application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 A flowchart of the method described in this application;
[0020] Figure 2 Schematic diagram of the risk of collision between the host vehicle and surrounding vehicles designed for this application;
[0021] Figure 3 The driving trajectory of the main vehicle under different acceleration conditions is the following vehicle in the target lane;
[0022] Figure 4 It is a schematic diagram of the longitudinal speed, longitudinal acceleration, front wheel turning angle and lateral acceleration of the main vehicle under medium acceleration of the vehicle behind the target lane;
[0023] Figure 5 This is a schematic diagram of the longitudinal speed, longitudinal acceleration, front wheel turning angle and lateral acceleration of the main vehicle when the vehicle behind the target lane accelerates suddenly. DETAILED DESCRIPTION
[0024] The technical solution of the present application will be described in detail below with reference to the accompanying drawings.
[0025] like Figure 1 As shown, the real-time lane change decision method based on the longitudinal safety spacing model described in the present application first detects the current lane and the adjacent lanes to determine whether there are obstacles in the current lane and the adjacent lanes. If there are obstacles, the method includes:
[0026] S1: Obtain the status information of the main vehicle and the position, speed and acceleration of surrounding vehicles.
[0027] S2: Construct a longitudinal safety distance model based on the collision risk between the main vehicle and surrounding vehicles.
[0028] When the host vehicle (HC) encounters a slow-moving vehicle (PC) in front of the current lane, it needs to change lanes. At this time, the host vehicle may collide with the vehicle in front of the current lane (PC), the vehicle in front of the target lane (TP), and the vehicle behind the target lane (TF). Figure 2 As shown, the collision points are defined as C PC , C TP and C TF .like Figure 2 As shown in (a), when 0≤t≤t c The condition that the main vehicle and the front vehicle in the current lane do not collide within the time range is expressed as:
[0029]
[0030] Among them, t c Indicates the time when the main vehicle leaves the current lane; X PC Indicates the longitudinal position of the vehicle in front of the current lane; L PC Indicates the length of the vehicle in front of the current lane; X H Indicates the longitudinal position of the vehicle; L H Indicates the length of the main vehicle; W H represents the width of the main vehicle; ψ represents the heading angle of the main vehicle. The center line of the right lane of the initial target trajectory of the main vehicle is selected as the longitudinal axis X-axis, and the lateral offset from the X-axis is selected as the horizontal axis Y-axis. Then, Y(t c )=W L / 2, Y represents the lateral position of the vehicle, W L Is the width of a lane.
[0031] In addition, the vehicle in front of the host vehicle in the current lane may brake suddenly, which usually leads to a collision. Therefore, the host vehicle should maintain a safe distance G from the vehicle in front of the current lane during the lane change process. PC It is expressed as:
[0032]
[0033] Among them, V x,HC Indicates the longitudinal speed of the main vehicle; V x,PC Indicates the longitudinal speed of the vehicle in front of the current lane; b max Indicates the maximum deceleration of the main vehicle; b PC,max Indicates the maximum deceleration of the vehicle in front of the current lane; T s Indicates the minimum safe time interval; V x,HC .T s Indicates the minimum safe distance between the main vehicle and the vehicle ahead in the current lane.
[0034] Since the heading angle ψ of the main vehicle is generally a small angle, when sinψ≈0, equation (4) is expressed as:
[0035]
[0036] Similarly, if Figure 2 As shown in (b), at t c ≤t≤t f The condition that the main vehicle and the front vehicle in the target lane do not collide within the time range is expressed as:
[0037]
[0038] Among them, t f Indicates the end time of the lane changing process; X TP Indicates the vertical position; V x,TP Indicates longitudinal speed; L TP Indicates length; b TP,max Indicates the maximum deceleration of the vehicle ahead in the target lane; G TP Indicates the expected safe distance from the vehicle ahead in the target lane.
[0039] like Figure 2 As shown in (c), the target lane rear vehicle is behind the main vehicle, so the main vehicle only needs to keep a safe distance from it. c ≤t≤t f The condition that the main vehicle and the vehicle behind the target lane do not collide within the time range is expressed as:
[0040]
[0041] Among them, X TF Indicates the longitudinal position of the vehicle behind the target lane; V x,TF Indicates the longitudinal speed of the vehicle behind the target lane; L TF Indicates the length of the vehicle behind the target lane; G TF =V x,TF .T s It indicates the minimum safe distance between the main vehicle and the vehicle behind in the target lane, which is related to the longitudinal speed of the vehicle behind in the target lane.
[0042] In summary, equations (3) to (7) constitute the longitudinal safety spacing model.
[0043] S3: predict the motion state of the main vehicle and surrounding vehicles to obtain a prediction sequence of future states, calculate the longitudinal distance between the main vehicle and the vehicle in front of the current lane according to the prediction sequence in the prediction time domain, and judge whether there is a collision risk between the main vehicle and the surrounding vehicles. If there is a collision risk, re-plan the lane change trajectory based on the longitudinal safety distance model until there is no collision risk between the main vehicle and the surrounding vehicles, and then go to step S4; if there is no collision risk, directly go to step S4.
[0044] The acquisition of the prediction sequence includes:
[0045] If the acceleration of the main vehicle and the surrounding vehicles remains unchanged, the motion of the main vehicle and the surrounding vehicles can be expressed as:
[0046]
[0047] in, Indicates the current longitudinal position of the vehicles around the host vehicle; Indicates the current speed of vehicles around the main vehicle; Indicates the current acceleration of the vehicles around the main vehicle; HC indicates the main vehicle; PC indicates the vehicle in front of the current lane; TP indicates the vehicle in front of the target lane; TF indicates the vehicle behind the target lane.
[0048] Define the prediction time interval as Δt and the number of prediction steps as N p , then the prediction sequence of the longitudinal position of the car is expressed as:
[0049] X I (t k +Δt|t k ),X I (t k +2Δt|t k ),...,X I (t k +N p Δt|t k ); (2)
[0050] Among them, t k Indicates the current moment.
[0051] When there is a risk of collision, the lane change trajectory needs to be replanned. The decision conditions for replanning include:
[0052] (1): Before the main vehicle changes lanes, the decision condition for re-planning is expressed as:
[0053] X PC (t|t k )-X(t|t k )<G PC ; (8)
[0054] Among them, X(t|t k ) represents the predicted sequence of the main vehicle in the longitudinal position. Correspondingly, before changing lanes, the main vehicle and the surrounding vehicles are all traveling in a straight line. At this time, according to formula (1), X(t|t k ).
[0055] If the constraints of the longitudinal safety spacing model are not met, the lane change trajectory planning algorithm will be executed, and the current time will be selected as the start time t0 of the lane change process. In addition, the surrounding environment needs to be predicted during the lane change process. If the sudden change of the surrounding environment during the lane change process leads to a collision risk, the trajectory will be replanned.
[0056] (2): The host vehicle is in the process of changing lanes and before entering the target lane, that is, t = t k +jΔt <t c When , the decision condition for replanning is expressed as:
[0057]
[0058] Accordingly, during the lane change process, t k +jΔt <t f ,j=1,2,...,N p When X(t|t k ) is the lane-changing trajectory, expressed as:
[0059]
[0060]
[0061] Where X0 represents the longitudinal position of the vehicle at the initial moment; V x,0 represents the longitudinal velocity of the main vehicle at the initial moment; a x,0 represents the longitudinal acceleration of the main vehicle at the initial moment; Y0 represents the lateral position of the main vehicle at the initial moment; V y,0 represents the lateral velocity of the main vehicle at the initial moment; a y,0 represents the lateral acceleration of the vehicle at the initial moment; X f Indicates the longitudinal position of the main vehicle at the end time; V x,f Indicates the longitudinal speed of the main vehicle at the end time; a x,f represents the longitudinal acceleration of the vehicle at the end time; Y f Indicates the lateral position of the main vehicle at the end time; V y,f Indicates the lateral speed of the main vehicle at the end time; a y,f Indicates the lateral acceleration of the main vehicle at the end time; a i b represents the coefficient of the quintic polynomial of the longitudinal trajectory; i Represents the coefficients of the quintic polynomial of the lateral trajectory; i=0,1,2,3,4,5.
[0062] The starting time is t0=0, and the lane changing time of the main vehicle is t f -t0=t f ; When the main vehicle moves from the current position to the center line of the target lane, the terminal lateral position Y of the main vehicle f Equal to 0 or W L , W L represents the width of the host vehicle; the replanned lane change trajectory is tangent to the center line of the target lane, that is, the speed V y,f and acceleration a y,f Both are 0.
[0063] (3): After the host vehicle changes lanes and enters the target lane, that is, t = t k +jΔt>t c , the decision condition for re-planning is expressed as:
[0064] X TP (t|t k )-X(t|t k )<G TP ; (12)
[0065] Among them, G TP , G PC and G TF Both represent constraints in the longitudinal safety spacing model;
[0066] Correspondingly, after the main vehicle changes lanes, and assuming that the longitudinal speed of the main vehicle remains unchanged after the lane change, X(t| tk ) is expressed as:
[0067]
[0068] Among them, t f Indicates the end time of the lane changing process; if t f >t k , N f =(t f -t k ) / Δt.
[0069] S4: Design a lane potential field based on the current position relationship and speed relationship between the host vehicle and surrounding vehicles, and select the optimal target lane based on the lane potential field.
[0070] The potential field method is used to describe the risk level of each lane, taking into account the longitudinal distance between the main vehicle and the cars in different lanes at the current moment, as well as their speed differences; the acceleration and deceleration behavior of the front and rear vehicles in different lanes are also considered. The farther the front and rear vehicles are from the main vehicle in different lanes, the faster the front car is, the slower the rear car is, the greater the acceleration of the front car is, and the smaller the acceleration of the rear car is, the safer the lane change behavior will be, so the potential field should be smaller, and vice versa. At the same time, the distance between the front and rear vehicles must be greater than the lane change safety distance G saf . In the current lane, only the distance, speed difference and longitudinal acceleration of the vehicle in front need to be considered, and the vehicle behind does not need to be considered. Whether from the perspective of driving safety or travel efficiency, it is necessary to stay away from the lane where large vehicles are located; therefore, the larger the vehicle mass, the higher the potential field. In addition, the loss of lane change should also be considered; the more lanes the main vehicle crosses, the larger the potential field.
[0071] Then, the potential field of different lanes is expressed as:
[0072]
[0073] in, represents the potential field of the i-th lane; Represents the potential field of the current lane; m iP represents the mass of the front vehicle in the i-th lane; represents the longitudinal position of the front vehicle in the i-th lane; represents the speed of the front vehicle in the i-th lane; represents the acceleration of the front vehicle in the i-th lane; m iF represents the mass of the following vehicle in the i-th lane; represents the longitudinal position of the rear vehicle in the i-th lane; represents the speed of the following vehicle in the i-th lane; represents the acceleration of the following vehicle in the i-th lane. Indicates the longitudinal position of the vehicle ahead in the current lane; Indicates the speed of the front vehicle in the current lane, c j′ Represents the weight coefficient, j′=1, 2, 3, 4, 5, 6.
[0074] Then the optimal target lane is selected according to the lane potential field, which can be expressed as:
[0075]
[0076] Among them, i * The optimal target lane represented by is the target lane for trajectory replanning.
[0077] S5: The main vehicle switches from the initial lane to the optimal target lane based on the spline curve method.
[0078] During the lane change trajectory planning process on structured roads, the host vehicle needs to smoothly transition to the center of the target lane. Quintic spline curves have the advantages of high-order continuous derivatives and simple calculations. Therefore, this application uses quintic spline curves for trajectory planning. At the same time, the motion states of the front and rear vehicles on the target lane may also change during the lane change process of the host vehicle. Therefore, not only the lateral motion but also the longitudinal motion of the host vehicle should be considered.
[0079] The quintic spline curves of the longitudinal and lateral trajectories of the main vehicle are expressed as:
[0080]
[0081] Among them, x(t) represents the longitudinal trajectory of the main vehicle; y(t) represents the lateral trajectory of the main vehicle;
[0082] a i and b i Through the initial state S0 = [X0, V x,0 , ax,0 ;Y0,V y,0 , a y,0 ] T and the terminal state S f =[X f , V x,f , a x,f ; Y f , V y,f , a y, f] T Calculated, expressed as:
[0083]
[0084]
[0085] In order to simplify the solution, the starting time t0 is set as the origin in the trajectory planning process, that is, t0 = 0, and the lane changing time of the main vehicle is t f -t0=t f The main vehicle moves from the current position to the center line of the target lane, so the terminal lateral position Y of the main vehicle is f Equal to 0 or W L At the same time, in order to achieve a smooth transition from the initial lateral offset to the sampling terminal offset, the replanned trajectory is set to be tangent to the center line of the target lane, that is, the speed V y,f and acceleration a y,f Set to 0. Then, according to equation (16), equations (17) to (18) are expressed as equations (10) to (11).
[0086] According to equations (10) to (11), twelve linear independent equations can be solved to obtain twelve unknown parameters. Then, according to the initial state S0 and the final state S f , and the lane change trajectory planning time t f , we can get parameter a i , b i Since the initial state is predetermined by the current state of the host vehicle, which can be obtained through GPS or sensors, the lane-changing trajectory can be determined by the terminal state and lane-changing time, i.e., the convergence state and convergence time of the trajectory.
[0087] The following uses the Matlab / Simulink-CarSim joint simulation platform to build a dynamic and complex traffic environment to verify the real-time lane change decision method of the above embodiment. The main vehicle and the front vehicle in the current lane travel along the right lane at speeds of 20m / s and 16m / s. The front vehicle in the current lane is initially located 35m in front of the main vehicle. The front vehicle in the target lane and the rear vehicle in the target lane travel along the left lane at a speed of 20m / s, 20m in front and behind the main vehicle, respectively. Since the main vehicle is faster than the front vehicle in the current lane, it must decide whether to change lanes or slow down to follow the front vehicle in the current lane, and re-plan a collision-free trajectory. At the same time, in a time-varying traffic environment where human-driven vehicles and autonomous driving vehicles are mixed, if the autonomous main vehicle wants to change lanes, the human-driven rear vehicle in the target lane may slow down to give way to the main vehicle, or speed up to prevent the main vehicle from merging into its lane. In an embodiment of the present application, when the rear vehicle in the target lane discovers the lane change behavior of the main vehicle, it will change lanes at 0.5, 2 and 3m / s 2 The main vehicle will then make decisions and re-plan its trajectory based on the predicted driving environment. The results of multiple re-planning and the actual driving trajectory of the main vehicle, as well as the positions of the main vehicle and surrounding vehicles at different times are Figure 3 shown.
[0088] During the main vehicle's lane change, the vehicle behind the target lane moves at a speed of 0.5m / s 2 The test results of acceleration are as follows: Figure 3 As shown in (a). When the main vehicle (HC) detects the slow-moving front vehicle (PC) in front, it will make the first decision and re-plan the trajectory. Since the speed of the front vehicle is lower than that of the main vehicle, the speed of the front vehicle (TP) in the adjacent lane and the rear vehicle (TF) in the adjacent lane are the same as the main vehicle, and the distance between the front vehicle in the adjacent lane, the rear vehicle in the adjacent lane and the main vehicle is safe enough. Therefore, the left lane is selected as the target lane. The planned trajectory is represented by a solid line, and the tracking trajectory (driving trajectory) of the main vehicle is represented by a dotted line. Since the acceleration of the rear vehicle in the adjacent lane is small, the original planned trajectory is still safe, so no re-planning is required during the lane change process. After the lane change behavior is completed, the speed of the main vehicle is slightly higher than that of the front vehicle in the adjacent lane. Therefore, the second trajectory planning is performed, and the main vehicle slows down slightly to follow the front vehicle in the target lane, which is represented by a dotted line. The same shapes represent the positions of the four vehicles at the same time, which are 1.5 seconds, 3.5 seconds, 5.5 seconds and 7.5 seconds respectively. As shown Figure 3 As shown in (a), the blocks of the same shape do not overlap, indicating that the four vehicles did not collide, that is, driving safety can be met.
[0089] During the main vehicle's lane change, the vehicle behind the target lane moves at a speed of 2m / s 2 The test results of acceleration are as follows: Figure 3As shown in (b). The operation mode of the first decision and trajectory planning (indicated by the solid line) is the same as the previous embodiment. However, due to the large acceleration of the rear vehicle in the target lane, if the main vehicle continues to drive according to the lane change trajectory planned for the first time, it will collide with the rear vehicle in the target lane. Therefore, the main vehicle makes a new lane change decision and plans a more urgent and safe trajectory, represented by the dotted line. Since the rear vehicle in the target lane is far away from the main vehicle, the decided target lane has not changed. The main vehicle tracks the second planned trajectory, and the actual driving trajectory of the main vehicle is represented by the dotted line. Figure 4 As shown in (a), the speed of the main vehicle does not change much in the first planning. Because the acceleration behavior of the vehicle behind the target lane is detected, the main vehicle accelerates to merge into the target lane. After the main vehicle enters the target lane, due to its high speed, it will hit the vehicle in front of the target lane, so the third trajectory replanning is performed to slow down and follow the vehicle in front of the target lane, which is represented by the dotted line. Finally, the speed of the main vehicle is 20m / s, the same as the speed of the vehicle in front of the target lane. Figure 3 As shown in (b), the four vehicles did not collide, meeting the driving safety requirements. Figure 4 As shown in (b)-(c), at a speed of 20m / s, the longitudinal and lateral accelerations of the main vehicle do not exceed 0.1g and 0.2g respectively, indicating that the ride comfort of the main vehicle can be guaranteed.
[0090] During the main vehicle's lane change, the vehicle behind the target lane moves at a speed of 3m / s 2 The test results of acceleration are as follows: Figure 3 As shown in (c) in the figure, the trajectory planned by the main vehicle for the first time is no longer safe. Since the acceleration of the vehicle behind the target lane is particularly large, the target lane decided by the main vehicle is the current lane, that is, the initial right lane. The main vehicle plans a safe trajectory to return to the current lane and continue to follow the vehicle in front of the current lane, as shown in Figure 5 As shown in (a) of Figure 2. During and after returning to the initial lane, the main vehicle will slow down to avoid colliding with the vehicle in front of the current lane. Finally, the speed of the main vehicle is maintained at 16 m / s, the same as the vehicle in front of the current lane. Figure 5 As shown in (b)-(c), the longitudinal and lateral accelerations of the vehicle do not exceed 0.1g, meeting the ride comfort requirements.
[0091] 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 real-time lane-changing decision method based on a longitudinal safety spacing model, wherein the host vehicle detects the current lane and adjacent lanes to determine whether there are obstacles in the current lane and adjacent lanes. If there are obstacles, the method is characterized in that: The method includes: S1: Obtain the status information of the main vehicle and the position, speed and acceleration of surrounding vehicles; S2: Construct a longitudinal safety distance model based on the collision risk between the main vehicle and surrounding vehicles; S3: predicting the motion state of the main vehicle and surrounding vehicles to obtain a prediction sequence of future states, calculating the longitudinal distance between the main vehicle and the vehicle in front of the current lane according to the prediction sequence in the prediction time domain, and judging whether there is a collision risk between the main vehicle and the surrounding vehicles. If there is a collision risk, replanning the lane change trajectory based on the longitudinal safety distance model until there is no collision risk between the main vehicle and the surrounding vehicles, and then proceeding to step S4; if there is no collision risk, directly proceeding to step S4; The acquisition of the prediction sequence includes: If the acceleration of the main vehicle and the surrounding vehicles remains unchanged, the motion of the main vehicle and the surrounding vehicles can be expressed as: in, Indicates the current longitudinal position of the vehicles around the host vehicle; Indicates the current speed of vehicles around the main vehicle; Indicates the current acceleration of the vehicles around the main vehicle; HC indicates the main vehicle; PC indicates the vehicle in front of the current lane; TP indicates the vehicle in front of the target lane; TF indicates the vehicle behind the target lane; Define the prediction time interval as Δt and the number of prediction steps as N p , then the prediction sequence of the longitudinal position of the car is expressed as: X I (t k +Δt|t k ),X I (t k +2Δt|t k ),...,X I (t k +N p Δt|t k ); (2) Among them, t k Indicates the current moment; S4: Design a lane potential field based on the current position relationship and speed relationship between the host vehicle and surrounding vehicles, and select the optimal target lane based on the lane potential field; S5: Switching of the vehicle from the initial lane to the optimal target lane is realized based on the spline curve method; Among them, in step S2, the construction of the longitudinal safety distance model includes: the main vehicle may collide with the front vehicle in the current lane, the front vehicle in the target lane and the rear vehicle in the target lane, and their collision points are defined as C PC , C TP and C TF , then: S21: at 0≤t≤t c The condition that the main vehicle and the front vehicle in the current lane do not collide within the time range is expressed as: Among them, t c Indicates the time when the main vehicle leaves the current lane; X PC Indicates the longitudinal position of the vehicle in front of the current lane; L PC Indicates the length of the vehicle in front of the current lane; X H Indicates the longitudinal position of the vehicle; L H Indicates the length of the main vehicle; W H represents the width of the main vehicle; ψ represents the heading angle of the main vehicle; The safe distance G that the main vehicle maintains with the vehicle in front of it in the current lane during the lane change process PC It is expressed as: Among them, V x,HC Indicates the longitudinal speed of the main vehicle; V x,PC Indicates the longitudinal speed of the vehicle in front of the current lane; b max Indicates the maximum deceleration of the main vehicle; b PC,max Indicates the maximum deceleration of the vehicle in front of the current lane; T s Indicates the minimum safe time interval; V x,HC .T s Indicates the minimum safe distance between the main vehicle and the vehicle ahead in the current lane; When sinψ≈0, equation (4) is expressed as: S22: At t c ≤t≤t f The condition that the main vehicle and the front vehicle in the target lane do not collide within the time range is expressed as: Among them, t f Indicates the end time of the lane changing process; X TP Indicates the vertical position; V x,TP Indicates longitudinal speed; L TP Indicates length; b TP,max Indicates the maximum deceleration of the vehicle ahead in the target lane; G TP Indicates the expected safe distance of the vehicle ahead in the target lane; S23: At t c ≤t≤t f The condition that the main vehicle and the vehicle behind the target lane do not collide within the time range is expressed as: Among them, X TF Indicates the longitudinal position of the vehicle behind the target lane; V x,TF Indicates the longitudinal speed of the vehicle behind the target lane; L TF Indicates the length of the vehicle behind the target lane; G TF =V x,TF .T s Indicates the minimum safe distance between the main vehicle and the vehicle behind in the target lane; S24: Formulas (3) to (7) constitute the longitudinal safety spacing model.
2. The method according to claim 1, characterized in that In step S3, if there is a collision risk, the lane change trajectory is replanned, and the decision conditions for replanning include: S31: Before the main vehicle changes lanes, the decision condition for re-planning is expressed as: X PC (t|t k )-X(t|t k )<G PC ; (8) Among them, X(t|t k ) represents the predicted sequence of the host vehicle in longitudinal position; Correspondingly, before changing lanes, the host vehicle and surrounding vehicles are all traveling in a straight line. At this time, according to formula (1), we can get X(t|t k ); S32: The host vehicle is in the process of changing lanes and before entering the target lane, that is, t = t k +jΔt <t c When , the decision condition for replanning is expressed as: Accordingly, during the lane change process, t k +jΔt <t f ,j=1,2,...,N p When X(t|t k ) is the lane-changing trajectory, expressed as: Where X0 represents the longitudinal position of the vehicle at the initial moment; V x,0 represents the longitudinal velocity of the main vehicle at the initial moment; a x,0 represents the longitudinal acceleration of the main vehicle at the initial moment; Y0 represents the lateral position of the main vehicle at the initial moment; V y,0 represents the lateral velocity of the main vehicle at the initial moment; a y,0 represents the lateral acceleration of the vehicle at the initial moment; X f Indicates the longitudinal position of the main vehicle at the end time; V x,f Indicates the longitudinal speed of the main vehicle at the end time; a x,f represents the longitudinal acceleration of the vehicle at the end time; Y f Indicates the lateral position of the main vehicle at the end time; V y,f Indicates the lateral speed of the main vehicle at the end time; a y,f Indicates the lateral acceleration of the main vehicle at the end time; a i b represents the coefficient of the quintic polynomial of the longitudinal trajectory; i Represents the coefficients of the quintic polynomial of the lateral trajectory; i = 0, 1, 2, 3, 4, 5; The starting time is t0=0, and the lane changing time of the main vehicle is t f -t0=t f ; When the main vehicle moves from the current position to the center line of the target lane, the terminal lateral position Y of the main vehicle f Equal to 0 or W L , W L represents the width of the host vehicle; the replanned lane change trajectory is tangent to the center line of the target lane, that is, the speed V y,f and acceleration a y,f All are 0; S33: After the host vehicle changes lanes and enters the target lane, t = t k +jΔt>t c , the decision condition for re-planning is expressed as: X TP (t|t k )-X(t|t k )<G TP ; (12) Among them, G TP , G PC and G TF Both represent constraints in the longitudinal safety spacing model; Correspondingly, after the main vehicle changes lanes, and assuming that the longitudinal speed of the main vehicle remains unchanged after the lane change, X(t|t k ) is expressed as: Among them, t f Indicates the end time of the lane changing process; if t f >t k , N f =(t f -t k ) / Δt.
3. The method according to claim 2, characterized in that In step S4, the potential fields of different lanes are expressed as: in, represents the potential field of the i-th lane; Represents the potential field of the current lane; m iP represents the mass of the front vehicle in the i-th lane; represents the longitudinal position of the front vehicle in the i-th lane; represents the speed of the front vehicle in the i-th lane; represents the acceleration of the front vehicle in the i-th lane; m iF represents the mass of the following vehicle in the i-th lane; represents the longitudinal position of the rear vehicle in the i-th lane; represents the speed of the following vehicle in the i-th lane; represents the acceleration of the following vehicle in the i-th lane; Indicates the longitudinal position of the vehicle ahead in the current lane; Indicates the speed of the front vehicle in the current lane, c j' represents the weight coefficient, j'=1,2,3,4,5,6; Then the optimal target lane is selected according to the lane potential field, which can be expressed as: Among them, i * The optimal target lane is represented by .
4. The method according to claim 3, characterized in that In step S5, the spline curve method is a quintic spline curve, and the quintic spline curves of the longitudinal trajectory and the lateral trajectory of the host vehicle are expressed as: Among them, x(t) represents the longitudinal trajectory of the main vehicle; y(t) represents the lateral trajectory of the main vehicle; a i and b i Through the initial state S0 = [X0, V x,0 ,a x,0 ;Y0,V y,0 ,a y,0 ] T and the terminal state S f =[X f ,V x,f ,a x,f ; Y f ,V y,f ,a y,f ] T Calculated, expressed as: Among them, according to formula (16), formula (17) to formula (18) are expressed as formula (10) to formula (11).
Citation Information
Patent Citations
Lane changing trajectory planning method for unmanned vehicle based on vehicle-to-vehicle cooperation
CN107315411A
Vehicle path planning method and system based on potential energy field and hidden Markov model
CN113720346A
