Obstacle avoidance and lane changing trajectory planning method and system for connected vehicles
Through the improved double-five-order polynomial method and artificial safety potential field theory, combined with the lateral acceleration boundary, two-way trajectory planning is carried out, which solves the calculation complexity and safety problems of obstacle avoidance and lane change trajectory planning in the existing technology, and achieves more Safe and comfortable track planning.
Patent Information
- Application Number
- CN202210145286.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-17
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-02-17
AI Technical Summary
The prior art adopts an order-up method in vehicle obstacle avoidance and lane change trajectory planning, resulting in complex calculation process and long solution time, which is not conducive to real-time planning and difficult to ensure the safety and comfort of the trajectory.
The improved double-five-order polynomial method combined with artificial safety potential field theory is used to determine the rotation state through the lateral acceleration boundary, and two trajectory planning is carried out to ensure the safety and comfort of the trajectory.
It realizes safer and more comfortable obstacle avoidance and lane change trajectory planning, avoids higher order computing complexity, meets the real-time planning needs of automobile lane change, and ensures the smoothness and reliability of the trajectory.
Smart Images

Figure CN114537380B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to, in particular, a method and system for planning a connected vehicle's obstacle avoidance and lane change trajectory based on an improved double quintic polynomial. Background Art
[0002] Vehicle lane-changing behavior is quite common in daily life, and vehicle lane-changing trajectory planning is also an important part of ADAS (Advanced Driving Assistance System) and driverless car research. With the current society's widespread attention to self-driving cars and the gradual deepening of self-driving research, vehicle lane-changing trajectory planning research has played a strong role in promoting the development of the industry and society.
[0003] Polynomial lane-changing trajectory planning is a common method for studying vehicle lane-changing trajectories. A large number of studies have shown that it is relatively reasonable to use a quintic polynomial as a lane-changing trajectory. However, in the case of obstacle avoidance and lane-changing, the method of increasing the order is generally used. The disadvantage of this method is that the calculation process is more complicated, the solution time is increased, and it is not conducive to real-time planning. Summary of the invention
[0004] In view of the defects in the prior art, the purpose of the present invention is to provide a connected vehicle obstacle avoidance and lane changing trajectory planning method and system based on an improved double quintic polynomial. The obstacle avoidance and lane changing trajectory planning using a double quintic polynomial can not only avoid the method of increasing the order, but also combine it with the artificial safety potential field theory. At the same time, the transfer state is determined by the lateral acceleration boundary, which can make the planned trajectory safer and more comfortable.
[0005] The method for planning a connected vehicle's obstacle avoidance and lane change trajectory according to the present invention comprises the following steps:
[0006] Step S1: obtaining the initial state of the host vehicle and the state information of the surrounding vehicles, and determining the transfer state of the lane-changing host vehicle according to the state information;
[0007] Step S2: Taking the initial state and transfer state of the main vehicle as input, perform the first trajectory planning;
[0008] Step S3: judging whether the first trajectory planning satisfies the safety and comfort constraints, and when the safety and comfort constraints are satisfied, determining the lane change end state according to the first trajectory planning, otherwise returning to step S2;
[0009] Step S4: taking the transfer state of the host vehicle and the lane change end state as input to perform a second trajectory planning;
[0010] Step S5: Determine whether the trajectory planned for the second time satisfies the safety and comfort constraints, and when the safety and comfort constraints are met, use the second trajectory planning as the target lane changing trajectory, otherwise return to step S4.
[0011] Preferably, the status information of the surrounding vehicles includes the position, heading angle, speed and acceleration of the surrounding vehicles.
[0012] Preferably, the method for determining the transfer status includes:
[0013] First, the lateral displacement is calculated based on the status information of the preceding vehicle;
[0014] Then, the longitudinal displacement is calculated according to the lateral acceleration boundary of the main vehicle and the speed of the main vehicle, and the initial lane changing time is calculated at the same time.
[0015] Preferably, the first trajectory planning method comprises:
[0016] Obtaining a coefficient matrix according to a quintic polynomial time matrix and the initial lane-changing time;
[0017] The fifth-order polynomial matrix at any time within the initial lane-changing time is obtained according to the coefficient matrix.
[0018] Preferably, the method for judging whether the first trajectory planning satisfies the safety and comfort constraints includes:
[0019] Determine whether the transfer point satisfies the following inequality:
[0020]
[0021] Among them, Δx represents the distance between the main vehicle and the front vehicle, It represents the backward tilt distance of the front vehicle LV under the critical potential field value, It represents the forward tilt distance of the main vehicle FV under the critical potential field value;
[0022] and the lateral acceleration at any point in the trajectory and lateral acceleration Does it satisfy the following inequality:
[0023]
[0024]
[0025] in represents the lateral acceleration boundary, Represents the lateral jerk boundary.
[0026] Preferably, the determining of the lane change end state includes:
[0027] After entering the target lane, if there is no obstacle in front of you, you can adjust the ending speed to the ideal speed. Make trajectory planning more reasonable.
[0028] Preferably, the method for generating a target lane change trajectory comprises:
[0029] The state vector sequences obtained by the first trajectory planning and the second trajectory planning are spliced together, and the speed mutation points of the state vector sequences are smoothed to ensure the safety and reliability of the trajectory.
[0030] The connected vehicle obstacle avoidance and lane change trajectory planning system provided by the present invention includes the following modules:
[0031] A transfer state determination module is used to obtain the initial state of the host vehicle and the state information of surrounding vehicles, and determine the transfer state of the lane-changing host vehicle according to the state information;
[0032] A first trajectory planning module, used to take the initial state and the transfer state of the main vehicle as input to perform the first trajectory planning;
[0033] a first planning judgment module, configured to judge whether the first trajectory planning satisfies the safety and comfort constraints, and when the safety and comfort constraints are satisfied, determine the lane change end state according to the first trajectory planning, otherwise return to the first trajectory planning module;
[0034] The second trajectory planning module takes the transfer state of the host vehicle and the lane change end state as input to perform the second trajectory planning;
[0035] The second planning judgment module is used to judge whether the second trajectory planning satisfies the safety and comfort constraints, and when the safety and comfort constraints are met, the second trajectory planning is used as the target lane changing trajectory, otherwise, it returns to the second trajectory planning module.
[0036] Compared with the prior art, the present invention has the following beneficial effects:
[0037] The present invention adopts double quintic polynomial obstacle avoidance lane change trajectory planning, which can not only avoid the method of increasing the order, but also combine the artificial safety potential field theory with it, and at the same time determine the transfer state with the lateral acceleration boundary, which can make the planned trajectory safer and more comfortable;
[0038] The vehicle trajectory planning calculated by the present invention can effectively avoid obstacles and change lanes, and the curve is smooth, while satisfying the comfort constraints of the vehicle lane change. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0040] Figure 1 A schematic diagram of an obstacle avoidance lane change transfer state in one embodiment of the present invention;
[0041] Figure 2 A schematic diagram of an obstacle avoidance lane change end state in one embodiment of the present invention;
[0042] Figure 3 A flowchart of obstacle avoidance lane change trajectory planning in one embodiment of the present invention;
[0043] Figure 4 A lane-changing trajectory diagram in one embodiment of the present invention;
[0044] Figure 5 A graph showing changes in the lateral velocity of the planned trajectory over time in one embodiment of the present invention;
[0045] Figure 6 A graph showing changes in lateral acceleration of a planned trajectory over time in one embodiment of the present invention; and
[0046] Figure 7 FIG. 4 is a graph showing changes in the lateral acceleration of the planned trajectory over time in one embodiment of the present invention. DETAILED DESCRIPTION
[0047] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0048] like Figure 1 As shown, the present invention provides a method for planning a trajectory of obstacle avoidance and lane change for a connected vehicle, comprising the following steps:
[0049] Step S1: obtaining the initial state of the host vehicle and the state information of surrounding vehicles, and determining the transfer state of the lane-changing host vehicle according to the state information;
[0050] The state information of the surrounding vehicles includes the position, heading angle, speed and acceleration of the surrounding vehicles.
[0051] The state information is obtained through V2X technology, and the state information includes the main vehicle state vector and the state vector of the preceding vehicle in They represent the longitudinal position, velocity and acceleration of the vehicle at the initial moment, They represent the lateral position, velocity and acceleration of the vehicle at the initial moment, respectively. They represent the longitudinal position, velocity and acceleration of the front vehicle at the initial moment, respectively. They represent the lateral position, velocity and acceleration of the front vehicle at the initial moment respectively.
[0052] The method for determining the transfer status includes:
[0053] First, the lateral displacement is calculated based on the status information of the preceding vehicle;
[0054] Then, the longitudinal displacement is calculated according to the lateral acceleration boundary of the main vehicle and the speed of the main vehicle, and the initial lane changing time is calculated at the same time.
[0055] The lateral acceleration is the acceleration perpendicular to the heading direction of the main vehicle.
[0056] Based on the principle of vehicle dynamics, the corresponding constraint boundary x of the longitudinal position of the main vehicle after a lane change planning is r It can be given by the following formula:
[0057]
[0058] where y f Indicates the lateral displacement of the target, and its value can be the width of the car; u i represents the initial velocity; Represents the lateral acceleration boundary.
[0059] Therefore, the host vehicle transfer state vector can be expressed as
[0060] The first planning time t1 can be calculated according to the following formula:
[0061]
[0062] Step S2: Taking the initial state and transfer state of the main vehicle as input, perform the first trajectory planning;
[0063] The first trajectory planning method comprises:
[0064] Obtaining a coefficient matrix according to a quintic polynomial time matrix and the initial lane-changing time;
[0065] The quintic polynomial time parameter matrix T at any time within the initial lane changing time is obtained according to the coefficient matrix.
[0066] The longitudinal state vector is obtained by concatenating the initial state vector of the main vehicle and the transfer state vector and the lateral state vector The time parameter matrix T of the quintic polynomial is expressed as follows:
[0067]
[0068] The coefficient matrices A and B are calculated as follows:
[0069] A=T -1 X
[0070] B=T -1 Y
[0071] After obtaining the coefficient matrices A and B, the state vector of the main vehicle at any time can be calculated, thereby obtaining the trajectory of the main vehicle.
[0072] Step S3: judging whether the first trajectory planning satisfies the safety and comfort constraints, and when the safety and comfort constraints are satisfied, determining the lane change end state according to the first trajectory planning, otherwise returning to step S2;
[0073] The method for judging whether the first trajectory planning satisfies the safety and comfort constraints includes:
[0074] The forward and backward distances based on the artificial safety potential field theory are used to determine whether the transfer point satisfies the following inequality:
[0075]
[0076] Among them, Δx represents the distance between the main vehicle and the front vehicle, It represents the backward tilt distance of the front vehicle LV under the critical potential field value, It represents the forward tilt distance of the main vehicle FV under the critical potential field value;
[0077] The main vehicle forward tilt distance at the critical potential field Front vehicle tilt distance for,
[0078]
[0079]
[0080] Among them, λ and β are unknown parameters, α is an unknown parameter related to speed, τ is the critical threshold of the safety distance, and the equivalent mass M of the target vehicle i is i Given by:
[0081] M i =m i (1.566×10 -14 v 6.687 +0.3345)
[0082] and the lateral acceleration at any point in the trajectory and lateral acceleration Does it satisfy the following inequality:
[0083]
[0084]
[0085] in represents the lateral acceleration boundary, Represents the lateral jerk boundary.
[0086] The determining of the lane change end state includes:
[0087] After entering the target lane, if there is no obstacle in front of you, you can adjust the ending speed to the ideal speed. Make trajectory planning more reasonable.
[0088] Since there is no obstacle in front after the first planning, the speed at the end can be adjusted to the ideal speed according to the specific situation. To make the trajectory planning more reasonable, the second lane change completion time t2 is calculated by the following formula:
[0089]
[0090] Step S4: taking the transfer state and the end state of the host vehicle as input to perform a second trajectory planning;
[0091] Step S5: Determine whether the trajectory planned for the second time satisfies the safety and comfort constraints, and when the safety and comfort constraints are met, use the second trajectory planning as the target lane changing trajectory, otherwise return to step S4.
[0092] The method for generating a target lane-changing trajectory includes:
[0093] The state vector sequences obtained by the first trajectory planning and the second trajectory planning are spliced together, and the speed mutation points of the state vector sequences are smoothed to ensure the safety and reliability of the trajectory.
[0094] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which do not affect the essence of the present invention.
Claims
1. A method for planning a trajectory for obstacle avoidance and lane change of a connected vehicle, characterized in that: The steps include: Step S1: obtaining the initial state of the host vehicle and the state information of surrounding vehicles, and determining the transfer state of the lane-changing host vehicle according to the state information; Step S2: Taking the initial state and transfer state of the main vehicle as input, perform the first trajectory planning; Step S3: judging whether the first trajectory planning satisfies the safety and comfort constraints, and when the safety and comfort constraints are satisfied, determining the lane change end state according to the first trajectory planning, otherwise returning to step S2; Step S4: taking the transfer state of the host vehicle and the lane change end state as input to perform a second trajectory planning; Step S5: determining whether the trajectory of the second trajectory planning satisfies the safety and comfort constraints, and when the safety and comfort constraints are met, taking the second trajectory planning as the target lane changing trajectory, otherwise returning to step S4; The method for determining the transfer status includes: First, the lateral displacement is calculated based on the status information of the preceding vehicle; Then the longitudinal displacement is calculated according to the lateral acceleration boundary of the main vehicle and the speed of the main vehicle, and the initial lane change time is calculated at the same time; The first trajectory planning method includes: Obtaining a coefficient matrix according to a quintic polynomial time matrix and the initial lane-changing time; Calculate the quintic polynomial matrix at any time within the initial lane change time according to the coefficient matrix; The method for judging whether the first trajectory planning satisfies the safety and comfort constraints includes: Determine whether the transfer point satisfies the following inequality: Among them, Δx represents the distance between the main vehicle and the front vehicle, It represents the backward tilt distance of the front vehicle LV under the critical potential field value, It represents the forward tilt distance of the main vehicle FV under the critical potential field value; The main vehicle forward tilt distance at the critical potential field Front vehicle tilt distance for, Among them, λ and β are unknown parameters, α is an unknown parameter related to speed, and τ is the critical threshold of the safety distance; and the lateral acceleration at any point in the trajectory and lateral acceleration Does it satisfy the following inequality: in represents the lateral acceleration boundary, represents the lateral jerk boundary; The determining of the lane change end state includes: After entering the target lane, if there is no obstacle in front of you, adjust the ending speed to the ideal speed. Make trajectory planning more reasonable; The method of generating a target lane change trajectory includes: The state vector sequences obtained by the first trajectory planning and the second trajectory planning are spliced together, and the speed mutation points of the state vector sequences are smoothed to ensure the safety and reliability of the trajectory.
2. The method for planning a trajectory for obstacle avoidance and lane change for a connected vehicle according to claim 1, characterized in that: The state information of the surrounding vehicles includes the position, heading angle, speed and acceleration of the surrounding vehicles.
3. A connected vehicle obstacle avoidance and lane change trajectory planning system, characterized in that: Includes the following modules: A transfer state determination module is used to obtain the initial state of the host vehicle and the state information of surrounding vehicles, and determine the transfer state of the lane-changing host vehicle according to the state information; A first trajectory planning module, used to take the initial state and the transfer state of the main vehicle as input to perform the first trajectory planning; a first planning judgment module, configured to judge whether the first trajectory planning satisfies the safety and comfort constraints, and when the safety and comfort constraints are satisfied, determine the lane change end state according to the first trajectory planning, otherwise return to the first trajectory planning module; The second trajectory planning module takes the transfer state of the host vehicle and the lane change end state as input to perform the second trajectory planning; The second planning judgment module is used to judge whether the trajectory of the second trajectory planning satisfies the safety and comfort constraints, and when the safety and comfort constraints are met, the second trajectory planning is used as the target lane changing trajectory, otherwise, the second trajectory planning module is returned; Determining the transfer status includes: First, the lateral displacement is calculated based on the status information of the preceding vehicle; Then the longitudinal displacement is calculated according to the lateral acceleration boundary of the main vehicle and the speed of the main vehicle, and the initial lane change time is calculated at the same time; The first trajectory planning includes: Obtaining a coefficient matrix according to a quintic polynomial time matrix and the initial lane-changing time; Calculate the quintic polynomial matrix at any time within the initial lane change time according to the coefficient matrix; The method for judging whether the first trajectory planning satisfies the safety and comfort constraints includes: Determine whether the transfer point satisfies the following inequality: Among them, Δx represents the distance between the main vehicle and the front vehicle, It represents the backward tilt distance of the front vehicle LV under the critical potential field value, It represents the forward tilt distance of the main vehicle FV under the critical potential field value; The main vehicle forward tilt distance at the critical potential field Front vehicle tilt distance for, Among them, λ and β are unknown parameters, α is an unknown parameter related to speed, and τ is the critical threshold of the safety distance; and the lateral acceleration at any point in the trajectory and lateral acceleration Does it satisfy the following inequality: in represents the lateral acceleration boundary, represents the lateral jerk boundary; The determining of the lane change end state includes: After entering the target lane, if there is no obstacle in front of you, adjust the ending speed to the ideal speed. Make trajectory planning more reasonable; Generating the target lane change trajectory includes: The state vector sequences obtained by the first trajectory planning and the second trajectory planning are spliced together, and the speed mutation points of the state vector sequences are smoothed to ensure the safety and reliability of the trajectory.
