Vehicle trajectory planning method, system and device

By obtaining vehicle and road traffic data, the genetic algorithm is used to optimize the trajectory curve model, and the optimal trajectory is generated based on the signal cycle and vehicle constraints, which solves the problem of frequent starts and stops of autonomous vehicles under the influence of traffic lights, and improves comfort and traffic efficiency.

CN115107805BActive Publication Date: 2024-10-15SHANDONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210788166.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-06
Publication Date
2024-10-15
Estimated Expiration
2042-07-06

AI Technical Summary

Technical Problem

When existing autonomous vehicle trajectory planning methods deal with the impact of traffic lights, the generated trajectories are not smooth enough, causing vehicles to frequently start and stop, affecting ride comfort and traffic efficiency.

Method used

By obtaining the current position of the vehicle and road traffic data, it is determined whether to perform trajectory planning, and the genetic algorithm is used to optimize the trajectory curve model, combined with the signal light cycle and vehicle constraints, to generate the optimal trajectory to reduce frequent starts and stops.

Benefits of technology

The generated trajectory is smoother, improving the comfort and traffic efficiency of autonomous vehicles, reducing fluctuations in traffic flow, and improving the riding experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115107805B_ABST
    Figure CN115107805B_ABST
Patent Text Reader

Abstract

The embodiments of the present specification disclose a vehicle trajectory planning method, system and device, the method comprising: obtaining vehicle driving data and road traffic data of the current position of the vehicle to be planned, and determining whether the vehicle to be planned is to perform trajectory planning based on the vehicle driving data and the road traffic data; if trajectory planning is to be performed, then based on the road traffic data, obtaining the theoretical driving time of the vehicle to be planned to pass through the downstream intersection; based on the theoretical driving time and the signal light cycle in the road traffic data, determining the number of signal light cycles for the vehicle to be planned to pass through the intersection; based on the number of signal light cycles and the road traffic data, determining the constraint range of the preset constraint conditions of the vehicle to be planned; based on the preset comprehensive objective function and the constraint range of the vehicle to be planned, using a preset genetic algorithm to solve the preset trajectory curve model to be optimized of the vehicle to be planned, and if the optimal trajectory curve is obtained by solving, the vehicle to be planned is controlled to travel according to the optimal trajectory curve.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of autonomous driving, and in particular to a vehicle trajectory planning method, system and device. Background Art

[0002] With the continuous development of automobile technology, the pace of vehicle intelligence is accelerating and has been integrated into all aspects of people's lives. Vehicle intelligence has improved people's travel efficiency and driving safety. When autonomous driving vehicles are driving on a road section with two signal intersections, they will stop and wait and frequently accelerate and decelerate due to the influence of traffic lights, causing driving delays and affecting the travel experience of drivers and passengers. Therefore, the trajectory planning problem of the autonomous driving decision-making part is a very important issue in the field of autonomous driving.

[0003] At present, trajectory planning methods include: graph search-based methods, random sampling methods, curve interpolation-based methods, and optimal control-based methods. Among them, graph search-based methods do not have high requirements for model accuracy, and the generated path is relatively rough, which requires subsequent refinement before it can be used for control execution. The trajectory generated by the random sampling method has different results for multiple processing of the same problem, the solution quality is unstable, and it is impossible to obtain an accurate solution that meets the constraints. Based on the curve interpolation method, the generated trajectory obtains different planning curves due to different preset waypoints. Therefore, the results of the above methods are not suitable for trajectory planning of autonomous driving. The current optimal control-based method is mainly aimed at reducing fuel consumption and emissions during travel and reducing the number of stops at intersections, ignoring the feelings of passengers in autonomous driving vehicles. Summary of the invention

[0004] One or more embodiments of the present specification provide a vehicle trajectory planning method, system and device for solving the following technical problem: how to provide a vehicle trajectory planning method with intuitive, accurate and smooth planning curves that can improve the driving comfort of autonomous driving vehicles.

[0005] One or more embodiments of this specification adopt the following technical solutions:

[0006] One or more embodiments of the present specification provide a vehicle trajectory planning method, the method comprising:

[0007] Acquire vehicle driving data and road traffic data of the current position of the vehicle to be planned, so as to determine whether the vehicle to be planned should perform trajectory planning according to the vehicle driving data and the road traffic data;

[0008] If it is determined that the vehicle to be planned is to be track planned, then obtaining the theoretical travel time of the vehicle to be planned to pass through the downstream intersection based on the road traffic data;

[0009] Determining the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical travel time and the signal light cycles in the road traffic data;

[0010] Determining a constraint range of a preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned;

[0011] According to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned. If an optimal trajectory curve is obtained, the vehicle to be planned is controlled to travel according to the optimal trajectory curve.

[0012] In one or more embodiments of the present specification, the obtaining of vehicle driving data and road traffic data of the current position of the vehicle to be planned, so as to determine whether the vehicle to be planned performs trajectory planning according to the vehicle driving data and the road traffic data, specifically includes:

[0013] Based on the positioning system and sensor equipment preset on the vehicle to be planned, the vehicle driving data of the current position of the vehicle to be planned is obtained, and the road traffic data of the current position of the vehicle to be planned is obtained based on the preset intelligent road test equipment; wherein the vehicle driving data includes: driving road condition data and vehicle status data;

[0014] Determining whether the current position of the vehicle to be planned is in a trajectory planning area according to the driving road condition data and the road traffic data;

[0015] If so, the road condition ahead of the vehicle to be planned and the road condition of the road section where the vehicle to be planned is located are determined based on the driving road condition data, vehicle status data and road traffic data of the vehicle to be planned, so as to determine whether the trajectory of the vehicle to be planned should be planned based on the road condition ahead and the road condition of the road section.

[0016] In one or more embodiments of the present specification, if it is determined that the vehicle to be planned is to be tracked, then the theoretical driving time of the vehicle to be planned passing through the downstream intersection is obtained based on the road traffic data, specifically including:

[0017] Determining the signal light cycle of the vehicle to be planned based on the signal timing information in the road traffic data;

[0018] Acquire the length of the intersection section where the vehicle to be planned is currently located according to the road traffic data, and acquire the current road speed limit value of the vehicle to be planned according to the road traffic data;

[0019] The theoretical travel time of the vehicle to be planned is obtained according to the length of the intersection section and the current road speed limit value of the vehicle to be planned.

[0020] In one or more embodiments of the present specification, determining the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical travel time and the signal light cycles in the road traffic data specifically includes:

[0021] Determine the remaining time of the green light phase in the current signal light cycle of the vehicle to be planned based on the signal light cycle;

[0022] If the remaining time is greater than the theoretical time, determining that the vehicle to be planned passes through the intersection based on the current traffic light cycle;

[0023] If the remaining time is less than the theoretical time, based on the start time of the green light phase of the downstream intersection, the start time of the red light phase of the downstream intersection and the signal light cycle in the road traffic data, the number of signal light cycles corresponding to the vehicle to be planned is obtained when the remaining time is greater than the theoretical time.

[0024] In one or more embodiments of the present specification, before determining the constraint range of the preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned, the method further includes:

[0025] Based on the trajectory adjustment parameters of the vehicle to be planned, a trajectory planning curve model to be optimized for the vehicle to be planned is established; wherein the trajectory planning curve model to be optimized is:

[0026] Wherein, t1, t2, L, θ1, θ2 are trajectory adjustment parameters of the vehicle to be planned, t1 represents the start time of trajectory planning, t2 represents the end time of trajectory planning, L corresponds to the total length of the trajectory curve, θ1 represents the first smoothness parameter of the curve, and θ2 represents the second smoothness parameter of the curve;

[0027] Determine an acceleration model of the vehicle to be planned corresponding to the trajectory planning curve model to be optimized, determine an average acceleration model of the trajectory planning curve model to be optimized according to the acceleration model, and establish a preset comprehensive objective function of the vehicle to be planned based on the average acceleration model;

[0028] According to the vehicle driving data and road traffic data of the current position of the vehicle, preset constraint conditions of the vehicle to be planned are established.

[0029] In one or more embodiments of the present specification, establishing the constraint conditions of the vehicle to be planned according to the vehicle driving data and road traffic data of the current position of the vehicle specifically includes:

[0030] Establishing a trajectory planning distance constraint condition of the vehicle to be planned based on the difference between the trajectory planning curve model to be optimized corresponding to the start time of the trajectory planning and the end time of the trajectory planning;

[0031] Obtaining a first difference between a start time of a green light phase at a downstream intersection in the road traffic data and a start time of trajectory planning, and a second difference between a start time of a red light phase at a downstream intersection in the road traffic data and an end time of trajectory planning;

[0032] The sum of the first difference and the signal cycle length is less than or equal to the formal time of the vehicle to be planned, and the sum of the second difference and the signal cycle length is greater than or equal to the formal time of the vehicle to be planned, as the time constraint condition of the vehicle to be planned;

[0033] A speed model is obtained based on the trajectory planning curve model to be optimized, and speed limit constraint conditions under different circumstances of the vehicle to be planned are established respectively with the preset initial speed of the vehicle to be planned, the road speed limit data in the road traffic data, and the intersection speed limit data in the road traffic data;

[0034] Establishing dynamic constraint conditions of the vehicle to be planned according to the acceleration model and the maximum acceleration value and the maximum deceleration value in the vehicle driving data;

[0035] The trajectory planning distance constraint, the time constraint, the speed limit constraint and the dynamic constraint are used as constraint conditions of the vehicle to be planned.

[0036] In one or more embodiments of the present specification, based on the number of signal light cycles and the road traffic data of the vehicle to be planned, determining the constraint range of the preset constraint condition of the vehicle to be planned specifically includes:

[0037] The signal light cycle of the vehicle to be planned, the first difference and the second difference are input into the time constraint formula corresponding to the time constraint condition to determine the time range of the start time and the end time of the trajectory planning of the vehicle to be planned; wherein the time constraint formula is: rt_ps +nC≤t2-t1≤t rt_pe +nC,n=0,1,2,…,t rt_ps represents the relative time interval between the start time of the green light phase of the downstream intersection and t1, t rt_pe represents the relative time interval between the start time of the red light phase of the downstream intersection and t1, and C represents the length of the signal light cycle;

[0038] Obtain the trajectory planning distance constraint conditions, speed limit constraint conditions and dynamics constraint conditions of the vehicle to be planned within the time range, and the corresponding current distance constraint range, current speed limit constraint range and current acceleration constraint range.

[0039] In one or more embodiments of the present specification, according to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned, specifically including:

[0040] Obtain a preset comprehensive objective function of the vehicle to be planned; wherein the preset comprehensive objective function is: α is the weight coefficient of comfort, β is the weight coefficient of time, t is the travel time of the planned vehicle between the two intersections, and t * is the dimensionless time of the travel time t;

[0041] Determining, according to the constraint range, a range of trajectory adjustment parameters of the trajectory planning curve model to be optimized;

[0042] Determining an optimal solution range of the trajectory curve model to be optimized according to the trajectory adjustment parameter and the range of the trajectory adjustment parameter;

[0043] Using the comprehensive objective function as a fitness function, globally searching for optimal trajectory adjustment parameters within the optimal solution range based on a preset genetic algorithm;

[0044] If the optimal trajectory adjustment parameter is not found, solving the trajectory curve model to be optimized according to the number of signal light cycles of the next signal light cycle;

[0045] If the optimal trajectory adjustment parameters are found, the optimal trajectory adjustment parameters are substituted into the trajectory curve model to be optimized to obtain the optimal trajectory of the vehicle to be planned.

[0046] One or more embodiments of this specification provide a vehicle trajectory planning system, the system comprising:

[0047] A first acquisition unit, used to acquire vehicle driving data and road traffic data of a current position of the vehicle to be planned, so as to determine whether the vehicle to be planned performs trajectory planning according to the vehicle driving data and the road traffic data;

[0048] A second acquisition unit is used to acquire a theoretical travel time of the vehicle to be planned to pass through a downstream intersection based on the road traffic data if it is determined that the vehicle to be planned is to perform trajectory planning;

[0049] A first determining unit is used to determine the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical travel time and the signal light cycles in the road traffic data;

[0050] A second determining unit, configured to determine a constraint range of a preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned;

[0051] A solving unit is used to solve a preset trajectory curve model to be optimized of the vehicle to be planned using a preset genetic algorithm according to a preset comprehensive objective function of the vehicle to be planned and the constraint range, and if an optimal trajectory curve is obtained by the solution, the vehicle to be planned is controlled to travel according to the optimal trajectory curve.

[0052] One or more embodiments of the present specification provide a vehicle trajectory planning device, the device comprising: a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute:

[0053] Acquire vehicle driving data and road traffic data of the current position of the vehicle to be planned, so as to determine whether the vehicle to be planned should perform trajectory planning according to the vehicle driving data and the road traffic data;

[0054] If it is determined that the vehicle to be planned is to be track planned, then obtaining the theoretical travel time of the vehicle to be planned to pass through the downstream intersection based on the road traffic data;

[0055] Determining the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical travel time and the signal light cycles in the road traffic data;

[0056] Determining a constraint range of a preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned;

[0057] According to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned. If an optimal trajectory curve is obtained, the vehicle to be planned is controlled to travel according to the optimal trajectory curve.

[0058] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0059] By obtaining the vehicle driving data and road traffic data of the current position of the vehicle to be planned, we first determine whether the autonomous vehicle can perform trajectory planning and the signal cycle it may pass through, and then perform optimization solutions, reducing the amount of calculation for trajectory solutions for vehicles that do not meet trajectory planning. By establishing an objective function and constraints that comprehensively consider the comprehensive benefits of comfort and traffic efficiency, the optimal reference trajectory is solved through a genetic algorithm, making the planned trajectory smoother than the traditional trajectory planning curve, solving the comprehensive benefit problem of comfort and travel time for autonomous vehicle trajectory planning. It also solves the problem of frequent start and stop of autonomous vehicles due to the influence of traffic lights, reduces traffic flow fluctuations, and improves people's travel experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. In the drawings:

[0061] Figure 1 A schematic diagram of a method flow of a vehicle trajectory planning method provided in an embodiment of this specification;

[0062] Figure 2 A schematic diagram of a trajectory planning curve in an application scenario provided in an embodiment of this specification;

[0063] Figure 3 A schematic diagram of a modeling process of a trajectory curve model in an application scenario provided in an embodiment of this specification;

[0064] Figure 4 A schematic diagram of an optimization solution process of a trajectory curve model in an application scenario provided in an embodiment of this specification;

[0065] Figure 5 A schematic diagram of the internal structure of a vehicle trajectory planning system provided in an embodiment of this specification;

[0066] Figure 6 A schematic diagram of the internal structure of a vehicle trajectory planning device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0067] The embodiments of this specification provide a vehicle trajectory planning method, system and device.

[0068] With the continuous development of automobile technology, the pace of vehicle intelligence is accelerating and has gradually been integrated into all aspects of people's lives. Vehicle intelligence has improved people's travel efficiency and driving safety. However, for intersection conditions, pedestrians, non-motor vehicles and motor vehicles from different directions all want to pass through the intersection during the green light period, so the intersection section is usually congested, and the frequent start and stop of vehicles due to the influence of traffic lights will not only affect the traffic capacity of the intersection, but also greatly affect the comfort of passengers.

[0069] Trajectory planning is the core of autonomous driving decision-making, which affects the safety and comfort of vehicle driving. There are many studies on the problem of autonomous driving trajectory planning, but there are still many problems in how to make autonomous driving vehicles plan reasonable, efficient and safe trajectory routes in complex dynamic environments. Trajectory planning of autonomous driving vehicles refers to planning a feasible path and speed without collision and satisfying the vehicle's non-holonomic constraints and dynamic constraints based on the initial state, target state and environmental information around the vehicle. At present, trajectory planning methods mainly include: graph search-based methods, random sampling-based methods, curve interpolation-based methods and optimal control-based methods. For graph search-based methods, in autonomous driving, the map can usually be stored as a grid map, each grid represents a node of the graph, and the connection between grids represents an edge. Under the given starting point and end point, an optimal path that meets expectations can be quickly searched. The graph search method does not require high model accuracy, and the generated path is relatively rough, which needs to be refined later before it can be used for control execution. For methods based on random sampling, this type of algorithm is suitable for high-dimensional space. They replace completeness with probabilistic completeness (there must be a solution when time approaches infinity), thereby improving search efficiency. The results of using trajectories generated by random sampling to process the same problem multiple times are different, the solution quality is unstable, and it is impossible to obtain an accurate solution that meets the constraints. For methods based on curve interpolation, this type of algorithm obtains a continuous, smooth and trackable path through preset waypoints, but the trajectory it generates obtains different planning curves due to different preset waypoints. For methods based on optimal control, the optimal control method mainly establishes the most optimized objective function. Currently, the commonly used objective functions for autonomous driving include minimizing driving time, reducing pollutant emissions, driving comfort, etc. The method based on optimal control establishes the motion system equation, determines the system constraints and the objective function to solve the optimized trajectory. The generated trajectory is intuitive and accurate and has good trackability.

[0070] From the above, it can be seen that for the trajectory planning problem of autonomous driving at two-signal intersection sections, the current optimal control-based methods are mainly aimed at reducing fuel consumption and emissions during travel and reducing the number of stops at intersections. However, these studies have ignored the feelings of passengers in autonomous driving vehicles, resulting in poor feelings for passengers in the vehicles and failure to achieve comprehensive consideration of comfort and traffic efficiency. The embodiments of this specification provide a vehicle trajectory planning method, system and device for solving the above problems.

[0071] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0072] like Figure 1 The figure shows a flow chart of a method for vehicle trajectory planning provided by an embodiment of the present specification. Figure 1 It can be seen that the method includes the following steps:

[0073] S101: Acquire vehicle driving data and road traffic data of a current position of a vehicle to be planned, so as to determine whether trajectory planning is to be performed for the vehicle to be planned according to the vehicle driving data and the road traffic data.

[0074] In order to reduce the amount of calculation for trajectory solution, in one or more embodiments of the present specification, the vehicle driving data and road traffic data of the current position of the vehicle to be planned are first obtained, and then it is determined whether the trajectory of the vehicle to be planned can be planned based on the relevant data in the vehicle driving data and the road traffic data.

[0075] Specifically, in one or more embodiments of the present specification, obtaining vehicle driving data and road traffic data of the current position of the vehicle to be planned, and determining whether to perform trajectory planning for the vehicle to be planned according to the vehicle driving data and the road traffic data, specifically includes the following process:

[0076] First, according to the positioning system pre-set on the vehicle to be planned, such as the global positioning system GPS, and the sensor equipment such as the inertial sensor IMU, the vehicle driving data of the current position of the vehicle to be planned is obtained, and the road traffic data of the current position of the vehicle to be planned is obtained based on the preset intelligent road test equipment; wherein the vehicle driving data includes: driving road condition data, vehicle status data. In an application scenario of this specification, the process of obtaining driving data and road traffic data is: using the GPS (global positioning system) and IMU (inertial sensor) equipment installed on the autonomous driving vehicle to collect the driving road condition data of the vehicle to be planned, and then the on-board terminal reads the vehicle's driving road condition data through the CAN bus, and obtains the vehicle driving data of the vehicle to be planned in combination with the vehicle status data. At the i-th moment, the format of the collected vehicle driving data is: Among them, time V (i) indicates the time of vehicle data collection; ID(i) indicates the vehicle number; (x i ,y i ) represents the position of the vehicle at time i, x i is the lateral position of the vehicle, y i is the distance from the vehicle to the next signalized intersection; represents the speed information of the vehicle at the i-th moment, is the lateral velocity, Flag is the longitudinal speed; V (i) indicates whether the road conditions ahead of the vehicle at time i meet the trajectory planning conditions. If they do, Flag V (i)=1, otherwise Flag V (i) = 0. Through the high-precision road network map, the intelligent road test equipment transmits road traffic data to the vehicle in real time. The format of road traffic data is: Among them, time I (i) represents the time of transmission of road data information; d represents the length of the road section between the two intersections; Indicates the speed limit of the road; Indicates the speed limit at the intersection; C indicates signal timing information; Flag R (i) indicates whether the road conditions at time i meet the conditions for autonomous driving trajectory planning. R (i) = 1 means the road conditions meet the trajectory planning conditions, otherwise Flag R (i)=0.

[0077] After obtaining the vehicle driving data and road traffic data, the current position of the vehicle to be planned is judged whether it is in the trajectory planning area according to the driving road condition data and road traffic data in the vehicle driving data. Specifically, in an application scenario of this specification, whether the position of the autonomous driving vehicle is in the trajectory planning area is judged based on the following judgment formula: Among them, Flag D =1 means that the vehicle to be planned has just entered the trajectory planning area, that is, the distance from the vehicle to the next signalized intersection is equal to the length of the road section between the two intersections. At this time, it is necessary to determine whether the road conditions meet the path planning conditions. If it is in the trajectory planning area, then the road conditions ahead of the vehicle to be planned and the road conditions of the road section where the vehicle to be planned are determined based on the driving road condition data, vehicle status data and road traffic data of the vehicle to be planned, so as to determine whether the vehicle to be planned should be tracked according to the road conditions ahead and the road conditions of the road section. Among them, the trajectory planning judgment conditions are: Flag Z (i) = Flag V (i)×Flag R (i) When Flag D (i)×Flag Z (i)>0 means that the trajectory planning conditions are met, and the initial speed of the planned vehicle is The trajectory planning distance is equal to the length of the road segment.

[0078] S102: If it is determined that the vehicle to be planned is to be subjected to trajectory planning, a theoretical travel time of the vehicle to be planned to pass through a downstream intersection is obtained based on the road traffic data.

[0079] In order to improve the solution efficiency and enhance the smoothness of the planned trajectory curve, it is necessary to determine the signal cycle that the vehicle speed can pass. Therefore, when it is determined that the vehicle to be planned needs to perform trajectory planning, the theoretical driving time corresponding to the vehicle to be planned is obtained based on the road traffic data collected in the above step S101, so as to subsequently determine the theoretical number of signal cycles that pass the intersection.

[0080] Specifically, in one or more embodiments of the present specification, the theoretical travel time of the vehicle to be planned to pass through the downstream intersection is obtained according to the road traffic data, which specifically includes the following process: First, according to the road traffic data determined in the above step S101, the signal light cycle C of the intersection section where the vehicle to be planned is located is determined. Then, according to the road traffic data, the length d of the intersection section where the vehicle to be planned is currently located is obtained, and according to the road traffic data, the current road speed limit value of the vehicle to be planned is obtained. Then, according to the length of the intersection section and the current speed limit of the vehicle to be planned, the theoretical driving time of the vehicle to be planned is obtained, that is, the theoretical driving time T is:

[0081] S103: Determine the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical driving time and the signal light cycles in the road traffic data.

[0082] In order to reduce the computational complexity of trajectory solving, in one or more embodiments of this specification, according to the signal light cycle and the theoretical driving time, the number of signal light cycles for the vehicle to be planned to pass through the intersection is determined, so as to first judge the signal cycles that the vehicle to be planned may pass through, and then perform an optimization solution to obtain the vehicle trajectory curve.

[0083] Specifically, in one or more embodiments of this specification, according to the signal light cycle and the theoretical driving time, determining the number of signal light cycles for the vehicle to be planned to pass through the intersection specifically includes the following process: According to the signal light cycle, determine the remaining time of the green light phase within the current signal light cycle of the vehicle to be planned. If the remaining time is greater than the theoretical time, it is determined that the vehicle to be planned passes through the intersection based on the current signal light cycle. If the remaining time is less than the theoretical time, based on the start time of the green light phase of the downstream intersection, the start time of the red light phase of the downstream intersection and the signal light cycle in the road traffic data, obtain the number of signal light cycles corresponding to the vehicle to be planned when the remaining time is greater than the theoretical time. As Figure 2 shown, an embodiment of this specification provides a schematic diagram of the optimization solution process of the trajectory curve model in an application scenario. It can be seen from Figure 2 that the relative time intervals of the start times of the red light phase and the green light phase with respect to t1. In an application scenario of this specification, determining the number of signal light cycles for the vehicle to be planned to pass through the intersection is based on the following process: Judge whether the planned trajectory can pass through the intersection within the first signal cycle. Denote the remaining time of the green light phase within the first cycle as time t, then at this time it can be expressed as t rt_ps ≤t≤t rt_pe . Among them, t rt_ps is the relative time interval between the start time of the green light phase of the downstream intersection and t1, and t rt_pe is the relative time interval between the start time of the red light phase of the downstream intersection and t1.

[0084] It can be seen from step S103 above that the theoretical time to pass through in the first cycle is T. When t>T, it means that theoretically it can pass through the signal intersection within the current cycle; when t<T, it means that it cannot pass through the signal intersection within the current signal cycle, then judge whether it can pass through the signal intersection in the second signal cycle. At this time, n = 1, and the time when the autonomous vehicle can pass through the intersection is t rt_ps +C≤t≤t rt_pe +C. At this time, judge the magnitudes of t and T. If theoretically it can pass through in the second signal cycle, then continue with the optimization solution. At this time, if the optimal reference trajectory cannot be obtained, it is necessary to plan the optimal trajectory to pass through the intersection within the (n + 1)th (n = 2) signal cycle. The time when the autonomous vehicle can pass through the intersection is t rt_ps +2C≤t≤t rt_pe+2C. At this time, the size of t and T is determined. If it is theoretically possible to pass through within the n+1th signal cycle, the optimization solution algorithm is continued to be used to calculate the planned trajectory, and the number of signal light cycles for the planned vehicle to pass through the intersection is obtained through iterative calculation. By first determining the signal cycle that the planned vehicle may pass through and then performing the optimization solution, the amount of calculation in the trajectory solution process is reduced. By combining the signal cycle for judgment, the trajectory planning of the planned vehicle under different signal timings and different signal cycles is met.

[0085] S104: Determine a constraint range of a preset constraint condition of the vehicle to be planned based on the number of traffic light cycles and the road traffic data of the vehicle to be planned.

[0086] In order to avoid the problem that the theoretical time does not meet the actual needs due to the different curves of the vehicle passing through the intersection at different speeds, in the embodiment of the present specification, the various constraint ranges of the preset constraint conditions of the vehicle to be planned are determined according to the number of traffic light cycles and the road traffic data of the vehicle to be planned, so as to constrain the subsequent optimal trajectory and make the results of the subsequent trajectory planning more in line with the requirements of road driving.

[0087] like Figure 3 As shown, in one or more embodiments of the present specification, before determining the constraint range of the preset constraint conditions of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned, the method also includes the following steps: first, according to the trajectory adjustment parameters of the vehicle to be planned, a trajectory planning curve model to be optimized for the vehicle to be planned is established. The trajectory planning curve model to be optimized is:

[0088] It should be noted that: t1, t2, L, θ1, θ2 are the trajectory adjustment parameters of the vehicle to be planned, t1 represents the start time of trajectory planning, t2 represents the end time of trajectory planning, L corresponds to the total length of the trajectory curve, θ1 represents the first smoothness parameter of the curve, and θ2 represents the second smoothness parameter of the curve. Determine the acceleration model of the vehicle to be planned corresponding to the trajectory planning curve model to be optimized, and determine the average acceleration model of the trajectory planning curve model to be optimized based on the acceleration model, and establish the preset comprehensive objective function of the vehicle to be planned based on the average acceleration model. Specifically, the acceleration model of the vehicle to be planned is:

[0089]

[0090] In order to ensure that the planned vehicle can accurately track the planned curve, it is necessary to determine the real-time acceleration of the planned curve, the relationship between the acceleration of the planned vehicle and time, and determine the acceleration model of the planned vehicle corresponding to the trajectory planning curve model to be optimized as follows:

[0091]

[0092] Then calculate the average acceleration value as:

[0093] The travel time of a vehicle between two intersections is t = t2-t1, and the objective function with the best comprehensive benefit is established as: in, represents the dimensionless average acceleration, where t * represents the dimensionless vehicle travel time t. α and β are the weight coefficients of comfort and time, respectively.

[0094] Then, according to the vehicle driving data and road traffic data of the current position of the vehicle, the constraint conditions of the vehicle to be planned are established, so as to determine the optimal trajectory model of the trajectory curve model to be optimized based on the constraint conditions and the objective function.

[0095] Furthermore, in one or more embodiments of the present specification, establishing the constraint conditions of the vehicle to be planned according to the vehicle driving data and road traffic data of the current position of the vehicle specifically includes the following steps:

[0096] First, according to the difference between the trajectory planning curve model to be optimized corresponding to the start time of trajectory planning and the end time of trajectory planning, the trajectory planning distance constraint of the vehicle to be planned is established. That is, the distance difference from time t1 to time t2 is equal to the planning distance length: f(t2)-f(t1)=d.

[0097] Then, the time constraint condition is established as follows: the first difference between the start time of the green light phase of the downstream intersection in the road traffic data and the start time of the trajectory planning is obtained, and the second difference between the start time of the red light phase of the downstream intersection in the road traffic data and the end time of the trajectory planning is obtained. The sum of the first difference and the signal cycle length is less than or equal to the form time of the vehicle to be planned, and the sum of the second difference and the signal cycle length is greater than or equal to the travel time of the vehicle to be planned, which is used as the time constraint condition of the vehicle to be planned.

[0098] A speed model is obtained according to the trajectory planning curve model to be optimized, and speed limit constraints under different circumstances of the vehicle to be planned are established by respectively combining the preset initial speed of the vehicle to be planned, the road speed limit data in the road traffic data, and the intersection speed limit data in the road traffic data.

[0099] Specifically, the vehicle initial speed constraint condition is established as:

[0100]

[0101] The road speed limit constraint conditions are established as follows:

[0102]

[0103] The speed limit constraint conditions for the downstream intersection are established as follows:

[0104]

[0105] According to the acceleration model and the maximum acceleration and deceleration values ​​in the vehicle driving data, the dynamic constraints of the vehicle to be planned are established. Specifically, the dynamic constraints of the vehicle are established in the definition domain [t1, t2] as follows:

[0106] where a min Indicates the maximum deceleration value of the vehicle, a max Indicates the maximum acceleration value of the vehicle. Then, the above trajectory planning distance constraint, time constraint, speed limit constraint and dynamic constraint are used as the constraint conditions of the vehicle to be planned. This manual also considers the maximum speed constraint, tolerable acceleration constraint, road length constraint and traffic light time constraint, and fully considers the feelings of the vehicle passengers.

[0107] In one or more embodiments of the present specification, based on the number of signal light cycles and the road traffic data of the vehicle to be planned, the constraint range of the preset constraint condition of the vehicle to be planned is determined, which specifically includes the following process: the signal light cycle, the first difference and the second difference of the vehicle to be planned obtained in the above process are input into the time constraint formula corresponding to the time constraint condition, so as to determine the time range of the trajectory planning start time and the trajectory planning end time of the vehicle to be planned. It should be noted that: the time constraint formula is: t rt_ps +nC≤t2-t1≤t rt_pe +nC,n=0,1,2,…,t rt_ps Indicates the relative time interval between the start time of the green light phase of the downstream intersection and t1, t rt_pe It represents the relative time interval between the start time of the red light phase at the downstream intersection and t1, and C represents the length of the signal light cycle.

[0108] Obtain the trajectory planning distance constraints, speed limit constraints and dynamic constraints of the vehicle to be planned within the time range, and the corresponding current distance constraint range, current speed limit constraint range and current acceleration constraint range respectively.

[0109] S105: According to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned.

[0110] After determining the constraint range of each constraint condition based on the above step S104, obtain the preset comprehensive objective function of the vehicle to be planned and the preset trajectory planning curve model to be optimized which are predetermined based on the above process, so as to solve the optimal trajectory curve corresponding to the trajectory curve model to be optimized according to the preset comprehensive objective function and preset constraint conditions of the vehicle to be planned using the preset genetic algorithm.

[0111] In one or more embodiments of the present specification, according to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned, which specifically includes the following process: first, a preset comprehensive objective function of the vehicle to be planned is obtained; wherein the preset comprehensive objective function is: α is the weight coefficient of comfort, β is the weight coefficient of time, t is the travel time of the planned vehicle between the two intersections, and t * is the dimensionless time of the driving time t. Then, according to the various constraint ranges of the preset constraint conditions, the range of the trajectory adjustment parameters of the trajectory planning curve model to be optimized is determined. Then, according to the trajectory adjustment parameters and the range of the trajectory adjustment parameters, the optimal solution range of the trajectory curve model to be optimized is determined, so that the comprehensive objective function is used as the fitness function, and the optimal trajectory adjustment parameters are globally searched within the optimal solution range based on the preset genetic algorithm. If the optimal trajectory adjustment parameters are not found, then it is necessary to solve the optimal trajectory of the trajectory model to be optimized according to the number of signal light cycles in the next signal light cycle. If the optimal trajectory adjustment parameters can be searched, then the optimal trajectory adjustment parameters are substituted into the trajectory curve model to be optimized to obtain the optimal trajectory of the vehicle to be planned. Here, it should be noted that the preset genetic algorithm is an existing algorithm and therefore does not limit the specific implementation process of the genetic algorithm. Among them, it can be understood that: if the optimal trajectory of the vehicle to be optimized can be obtained, then the control belt planning vehicle is driven according to the optimal trajectory. If the optimal trajectory of the vehicle to be optimized cannot be obtained, then it means that there is no optimal trajectory within the signal light cycle, then if Figure 4 As shown, it is continued to judge whether the theoretical driving time in the next cycle can be passed and whether there is an optimal solution.

[0112] By taking comprehensive benefits as the optimal objective function, the comprehensive benefits of vehicle planning are improved, the comfort and time cost of travelers are fully considered, and the generated planning curve is intuitive, accurate and smooth. The planning curve better meets the requirements of passengers and increases driving comfort. In the objective function, the driving time of autonomous vehicles is fully considered to increase traffic efficiency, reduce travel costs, and achieve non-stop passing through signal intersections, reducing the impact on traffic flow fluctuations.

[0113] like Figure 4FIG. 1 is a schematic diagram of an optimization solution process of a trajectory curve model in an application scenario provided by an embodiment of this specification. Figure 4 It can be seen that the steps for optimizing and solving the planned trajectory in this manual are to first determine whether the planned trajectory can pass through the intersection within the first signal cycle. If it can, then use the optimization solution algorithm to solve it. If the optimal reference trajectory can be calculated, it means that the system has planned the optimal reference trajectory. If it cannot pass through the intersection within the first signal cycle, then determine whether it can pass through the signal intersection in the second signal cycle. If it can theoretically pass through the second signal cycle, continue to optimize and solve. If it is not theoretically possible, then it is necessary to plan the optimal trajectory to pass through the intersection within the n+1th (n=2)th signal cycle. Continue to execute in sequence until the optimal trajectory is obtained. The obtained optimal trajectory is sent to the autonomous driving vehicle execution unit. The autonomous driving vehicle drives according to the trajectory planned in advance, and can obtain a driving experience with the best time and driving comfort.

[0114] like Figure 5 As shown, a schematic diagram of the internal structure of a vehicle trajectory planning system provided by an embodiment of this specification. Figure 5 It can be seen that the system includes:

[0115] The first acquisition unit 501 is used to acquire vehicle driving data and road traffic data of the current position of the vehicle to be planned, so as to determine whether the vehicle to be planned performs trajectory planning according to the vehicle driving data and the road traffic data;

[0116] A second acquisition unit 502 is used to acquire a theoretical travel time of the vehicle to be planned to pass through a downstream intersection based on the road traffic data if it is determined that the vehicle to be planned is to perform trajectory planning;

[0117] A first determining unit 503 is used to determine the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical driving time and the signal light cycles in the road traffic data;

[0118] A second determining unit 504 is used to determine the constraint range of the preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned;

[0119] The solving unit 505 is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned according to the preset comprehensive objective function of the vehicle to be planned and the constraint range, using a preset genetic algorithm. If the optimal trajectory curve is obtained by the solution, the vehicle to be planned is controlled to travel according to the optimal trajectory curve.

[0120] Figure 6 This is a schematic diagram of the internal structure of a vehicle trajectory planning device provided in an embodiment of this specification. Figure 6As shown, the device includes: a memory 601 for storing computer program instructions and a processor 602 for executing program instructions, wherein when the computer program instructions are executed by the processor 602, the device is triggered to perform the following process:

[0121] Acquire vehicle driving data and road traffic data of the current position of the vehicle to be planned, so as to determine whether the vehicle to be planned should perform trajectory planning according to the vehicle driving data and the road traffic data;

[0122] If it is determined that the vehicle to be planned is to be track planned, then obtaining the theoretical travel time of the vehicle to be planned to pass through the downstream intersection based on the road traffic data;

[0123] Determining the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical travel time and the signal light cycles in the road traffic data;

[0124] Determining a constraint range of a preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned;

[0125] According to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned. If an optimal trajectory curve is obtained, the vehicle to be planned is controlled to travel according to the optimal trajectory curve.

[0126] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0127] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0128] The above description is only one or more embodiments of this specification and is not intended to limit this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of this specification.

Claims

1. A vehicle trajectory planning method, characterized in that: The method comprises: Acquire vehicle driving data and road traffic data of the current position of the vehicle to be planned, so as to determine whether the vehicle to be planned should perform trajectory planning according to the vehicle driving data and the road traffic data; If it is determined that the vehicle to be planned is to be track planned, then obtaining the theoretical travel time of the vehicle to be planned to pass through the downstream intersection based on the road traffic data; Determining the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical travel time and the signal light cycles in the road traffic data; Determining a constraint range of a preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned; According to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned, and if an optimal trajectory curve is obtained, the vehicle to be planned is controlled to travel according to the optimal trajectory curve; Wherein, before determining the constraint range of the preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned, the method further includes: Based on the trajectory adjustment parameters of the vehicle to be planned, a trajectory planning curve model to be optimized for the vehicle to be planned is established; wherein the trajectory planning curve model to be optimized is: ;in, , , , , represents the trajectory adjustment parameters of the vehicle to be planned, represents the starting time of trajectory planning, represents the end time of trajectory planning, For and At any time between The total length of the corresponding trajectory curve, represents the first smoothness parameter of the curve, represents the second smoothness parameter of the curve; Determine an acceleration model of the vehicle to be planned corresponding to the trajectory planning curve model to be optimized, determine an average acceleration model of the trajectory planning curve model to be optimized according to the acceleration model, and establish a preset comprehensive objective function of the vehicle to be planned based on the average acceleration model; Establishing preset constraint conditions for the vehicle to be planned based on vehicle driving data and road traffic data of the vehicle's current position; According to the vehicle driving data and road traffic data of the current position of the vehicle, the constraint conditions of the vehicle to be planned are established, specifically including: Based on the difference between the start time of the trajectory planning and the end time of the trajectory planning, corresponding to the trajectory planning curve model to be optimized, establishing the trajectory planning distance constraint condition of the vehicle to be planned; Obtaining a first difference between a start time of a green light phase at a downstream intersection in the road traffic data and a start time of trajectory planning, and a second difference between a start time of a red light phase at a downstream intersection in the road traffic data and an end time of trajectory planning; The sum of the first difference and the length of the traffic light cycle is less than or equal to the travel time of the vehicle to be planned, and the sum of the second difference and the length of the traffic light cycle is greater than or equal to the travel time of the vehicle to be planned, as the time constraint condition of the vehicle to be planned; A speed model is obtained based on the trajectory planning curve model to be optimized, and the speed limit constraint conditions of the vehicle to be planned under different conditions are established respectively with the preset initial speed of the vehicle to be planned, the road speed limit data in the road traffic data, and the intersection speed limit data in the road traffic data; Establishing dynamic constraint conditions of the vehicle to be planned according to the acceleration model and the maximum acceleration value and the maximum deceleration value in the vehicle driving data; Using the trajectory planning distance constraint, the time constraint, the speed limit constraint and the dynamic constraint as the constraint of the vehicle to be planned; Based on the number of signal light cycles and the road traffic data of the vehicle to be planned, determining the constraint range of the preset constraint condition of the vehicle to be planned, specifically including: The signal light cycle of the vehicle to be planned, the first difference and the second difference are input into the time constraint formula corresponding to the time constraint condition to determine the time range of the start time and the end time of the trajectory planning of the vehicle to be planned; wherein the time constraint formula is: , Indicates the start time of the green light phase of the downstream intersection The relative time interval, Indicates the start time of the red light phase at the downstream intersection The relative time interval, C represents the length of the signal light cycle; Obtaining the trajectory planning distance constraint conditions, speed limit constraint conditions and dynamics constraint conditions of the vehicle to be planned within the time range, and the corresponding current distance constraint range, current speed limit constraint range and current acceleration constraint range; According to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned, specifically including: Obtain a preset comprehensive objective function of the vehicle to be planned; wherein the preset comprehensive objective function is: , is the average acceleration value; the driving time of the vehicle between the two intersections is , the objective function with the best comprehensive benefit is established as: in, represents the dimensionless average acceleration, is the weight coefficient of comfort, is the weight coefficient of time, t is the travel time of the vehicle to be planned between the two intersections, is the dimensionless time of the travel time t; Determining, according to the constraint range, a range of trajectory adjustment parameters of the trajectory planning curve model to be optimized; Determining an optimal solution range of the trajectory curve model to be optimized according to the trajectory adjustment parameter and the range of the trajectory adjustment parameter; Using the comprehensive objective function as a fitness function, globally searching for optimal trajectory adjustment parameters within the optimal solution range based on a preset genetic algorithm; If the optimal trajectory adjustment parameters are not found, solving the trajectory curve model to be optimized according to the number of signal light cycles in the next signal light cycle; If the optimal trajectory adjustment parameters are found, the optimal trajectory adjustment parameters are substituted into the trajectory curve model to be optimized to obtain the optimal trajectory of the vehicle to be planned.

2. A vehicle trajectory planning method according to claim 1, characterized in that: The obtaining of vehicle travel data and road traffic data of the current position of the vehicle to be planned, so as to determine whether the vehicle to be planned performs trajectory planning according to the vehicle travel data and the road traffic data, specifically includes: Based on the positioning system and sensor equipment preset on the vehicle to be planned, the vehicle driving data of the current position of the vehicle to be planned is obtained, and the road traffic data of the current position of the vehicle to be planned is obtained based on the preset intelligent road test equipment; wherein the vehicle driving data includes: driving road condition data and vehicle status data; Determining whether the current position of the vehicle to be planned is in a trajectory planning area according to the driving road condition data and the road traffic data; If so, the road condition ahead of the vehicle to be planned and the road condition of the road section where the vehicle to be planned is located are determined based on the driving road condition data, vehicle status data and road traffic data of the vehicle to be planned, so as to determine whether the trajectory of the vehicle to be planned should be planned based on the road condition ahead and the road condition of the road section.

3. A vehicle trajectory planning method according to claim 1, characterized in that: The obtaining of the theoretical travel time of the vehicle to be planned to pass through the downstream intersection based on the road traffic data specifically includes: Determining the signal light cycle of the vehicle to be planned based on the signal timing information in the road traffic data; Acquire the length of the intersection section where the vehicle to be planned is currently located according to the road traffic data, and acquire the current road speed limit value of the vehicle to be planned according to the road traffic data; The theoretical travel time of the vehicle to be planned is obtained according to the length of the intersection section and the current road speed limit value of the vehicle to be planned.

4. A vehicle trajectory planning method according to claim 1, characterized in that: The step of determining the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical travel time and the signal light cycles in the road traffic data specifically includes: Determine the remaining time of the green light phase in the current signal light cycle of the vehicle to be planned based on the signal light cycle; If the remaining time is greater than the theoretical driving time, determining that the vehicle to be planned passes through the intersection based on the current traffic light cycle; If the remaining time is less than the theoretical driving time, based on the start time of the green light phase of the downstream intersection, the start time of the red light phase of the downstream intersection and the signal light cycle in the road traffic data, the number of signal light cycles corresponding to the vehicle to be planned is obtained when the remaining time is greater than the theoretical driving time.

5. A vehicle trajectory planning system, characterized in that: The system comprises: A first acquisition unit, used to acquire vehicle driving data and road traffic data of a current position of the vehicle to be planned, so as to determine whether the vehicle to be planned performs trajectory planning according to the vehicle driving data and the road traffic data; A second acquisition unit is used to acquire a theoretical travel time of the vehicle to be planned to pass through a downstream intersection based on the road traffic data if it is determined that the vehicle to be planned is to perform trajectory planning; A first determining unit is used to determine the number of signal light cycles for the planned vehicle to pass through the intersection according to the theoretical travel time and the signal light cycles in the road traffic data; A second determining unit, configured to determine a constraint range of a preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned; A solving unit, configured to solve a preset trajectory curve model to be optimized of the vehicle to be planned using a preset genetic algorithm according to a preset comprehensive objective function of the vehicle to be planned and the constraint range, and if an optimal trajectory curve is obtained by solving, control the vehicle to be planned to travel according to the optimal trajectory curve; Wherein, before determining the constraint range of the preset constraint condition of the vehicle to be planned based on the number of signal light cycles and the road traffic data of the vehicle to be planned, the method further includes: Based on the trajectory adjustment parameters of the vehicle to be planned, a trajectory planning curve model to be optimized for the vehicle to be planned is established; wherein the trajectory planning curve model to be optimized is: ;in, , , , , represents the trajectory adjustment parameters of the vehicle to be planned, represents the starting time of trajectory planning, represents the end time of trajectory planning, For and At any time between The total length of the corresponding trajectory curve, represents the first smoothness parameter of the curve, represents the second smoothness parameter of the curve; Determine an acceleration model of the vehicle to be planned corresponding to the trajectory planning curve model to be optimized, determine an average acceleration model of the trajectory planning curve model to be optimized according to the acceleration model, and establish a preset comprehensive objective function of the vehicle to be planned based on the average acceleration model; Establishing preset constraint conditions for the vehicle to be planned based on vehicle driving data and road traffic data of the vehicle's current position; According to the vehicle driving data and road traffic data of the current position of the vehicle, the constraint conditions of the vehicle to be planned are established, specifically including: Based on the difference between the start time of the trajectory planning and the end time of the trajectory planning, corresponding to the trajectory planning curve model to be optimized, establishing the trajectory planning distance constraint condition of the vehicle to be planned; Obtaining a first difference between a start time of a green light phase at a downstream intersection in the road traffic data and a start time of trajectory planning, and a second difference between a start time of a red light phase at a downstream intersection in the road traffic data and an end time of trajectory planning; The sum of the first difference and the length of the traffic light cycle is less than or equal to the travel time of the vehicle to be planned, and the sum of the second difference and the length of the traffic light cycle is greater than or equal to the travel time of the vehicle to be planned, as the time constraint condition of the vehicle to be planned; A speed model is obtained based on the trajectory planning curve model to be optimized, and the speed limit constraint conditions of the vehicle to be planned under different conditions are established respectively with the preset initial speed of the vehicle to be planned, the road speed limit data in the road traffic data, and the intersection speed limit data in the road traffic data; Establishing dynamic constraint conditions of the vehicle to be planned according to the acceleration model and the maximum acceleration value and the maximum deceleration value in the vehicle driving data; Using the trajectory planning distance constraint, the time constraint, the speed limit constraint and the dynamic constraint as the constraint of the vehicle to be planned; Based on the number of signal light cycles and the road traffic data of the vehicle to be planned, determining the constraint range of the preset constraint condition of the vehicle to be planned, specifically including: The signal light cycle of the vehicle to be planned, the first difference and the second difference are input into the time constraint formula corresponding to the time constraint condition to determine the time range of the start time and the end time of the trajectory planning of the vehicle to be planned; wherein the time constraint formula is: , Indicates the start time of the green light phase of the downstream intersection The relative time interval, Indicates the start time of the red light phase at the downstream intersection The relative time interval, C represents the length of the signal light cycle; Obtaining the trajectory planning distance constraint conditions, speed limit constraint conditions and dynamics constraint conditions of the vehicle to be planned within the time range, and the corresponding current distance constraint range, current speed limit constraint range and current acceleration constraint range; According to the preset comprehensive objective function of the vehicle to be planned and the constraint range, a preset genetic algorithm is used to solve the preset trajectory curve model to be optimized of the vehicle to be planned, specifically including: Obtain a preset comprehensive objective function of the vehicle to be planned; wherein the preset comprehensive objective function is: , is the average acceleration value; the driving time of the vehicle between the two intersections is , the objective function with the best comprehensive benefit is established as: in, represents the dimensionless average acceleration, is the weight coefficient of comfort, is the weight coefficient of time, t is the travel time of the vehicle to be planned between the two intersections, is the dimensionless time of the travel time t; Determining, according to the constraint range, a range of trajectory adjustment parameters of the trajectory planning curve model to be optimized; Determining an optimal solution range of the trajectory curve model to be optimized according to the trajectory adjustment parameter and the range of the trajectory adjustment parameter; Using the comprehensive objective function as a fitness function, globally searching for optimal trajectory adjustment parameters within the optimal solution range based on a preset genetic algorithm; If the optimal trajectory adjustment parameters are not found, solving the trajectory curve model to be optimized according to the number of signal light cycles in the next signal light cycle; If the optimal trajectory adjustment parameters are found, the optimal trajectory adjustment parameters are substituted into the trajectory curve model to be optimized to obtain the optimal trajectory of the vehicle to be planned.

6. A vehicle trajectory planning device, characterized in that: The device comprises: a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the device is triggered to execute the method according to any one of claims 1 to 4.