Vehicle afflux processing method and device, electronic equipment and automatic driving vehicle

By evaluating the acceleration and deceleration trend of the obstacle vehicle and calculating the confidence level of the vehicle, selecting the appropriate gap and planning the trajectory of the vehicle, the problem of merging when the vehicle enters the high-right-of-way lane from the low-right-of-way lane is solved, and the merging efficiency is improved. Security and accuracy.

CN118560524APending Publication Date: 2024-08-30BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410725862.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the field of autonomous driving, when a vehicle enters a high-right-of-way lane from a low-right-of-way lane, it is a challenge to choose an appropriate gap to merge into the traffic flow, especially to evaluate the intention of the obstructed vehicle to yield and to determine the appropriate merging timing.

Method used

By determining the combination of the candidate gap and the candidate trajectory of the obstacle vehicle, the confidence of the vehicle is calculated based on the acceleration and deceleration trend of the obstacle vehicle, thereby selecting the target gap and planning the trajectory of the own vehicle to ensure safe and accurate merging.

Benefits of technology

It improves the accurate estimation of the obstacle vehicle's intention to yield, improves the accuracy of trajectory planning and the safety of vehicle merging, especially in strong interaction scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560524A
    Figure CN118560524A
Patent Text Reader

Abstract

The invention provides a vehicle afflux processing method and device, electronic equipment and an automatic driving vehicle, and relates to the technical field of artificial intelligence, in particular to the field of automatic driving. The method comprises the following steps: determining a candidate gap for an own vehicle from a lane to be converged, and determining a candidate track combination associated with the candidate gap based on the current driving states of the own vehicle and a barrier vehicle; the candidate track combination comprises a candidate track of the vehicle and a candidate track of the obstacle vehicle; based on the acceleration and deceleration trend of the obstacle vehicle, determining the vehicle avoidance confidence coefficient of the candidate track combination; the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the to-be-converged time period; and selecting a target gap from the candidate gaps according to the vehicle avoidance confidence of the candidate track combination, and performing track planning on the own vehicle based on the candidate track of the own vehicle associated with the target gap. According to the invention, the method can improve the accurate estimation of the vehicle-making intention of the obstacle vehicle, facilitates the improvement of the accuracy of trajectory planning and the safety of vehicle afflux, and improves the accuracy and safety of afflux decision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, in particular to the field of autonomous driving, and specifically to a vehicle merging processing method. Background Art

[0002] In the field of autonomous driving, for a highly interactive lane-level merging scenario where a vehicle enters a high-right-of-way lane from a low-right-of-way lane (such as a secondary road or ramp), the main problem that needs to be solved is how to select an appropriate gap from the dense traffic flow in the high-right-of-way lane (such as the main road) to merge into the traffic flow.

[0003] To solve this problem, it is necessary to evaluate the intention of other vehicles in the high-right lane to give way, and then make a decision on the timing of merging in based on the evaluation results. This is also a challenging task for novice drivers and is also one of the recognized difficulties in the field of autonomous driving. Summary of the invention

[0004] The present disclosure provides a vehicle merging processing method, device, electronic device and autonomous driving vehicle.

[0005] According to one aspect of the present disclosure, a vehicle merging processing method is provided, the method comprising:

[0006] Determine a candidate gap for the ego vehicle from the lane to be merged into, and determine a candidate trajectory combination associated with the candidate gap based on the current driving states of the ego vehicle and the obstacle vehicle; the candidate trajectory combination includes a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle;

[0007] Based on the acceleration and deceleration trend of the obstacle vehicle, determining the vehicle yielding confidence of the candidate trajectory combination; wherein the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the waiting-to-merge time period;

[0008] A target gap is selected from the candidate gaps according to the yield confidence of the candidate trajectory combination, and trajectory planning is performed for the ego vehicle based on the candidate trajectory of the ego vehicle associated with the target gap.

[0009] According to another aspect of the present disclosure, a vehicle merging processing device is provided, the device comprising:

[0010] A trajectory combination determination module, configured to determine a candidate gap for the ego vehicle from the lane to be merged into, and determine a candidate trajectory combination associated with the candidate gap based on the current driving states of the ego vehicle and the obstacle vehicle; the candidate trajectory combination includes a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle;

[0011] A yield confidence determination module, used to determine the yield confidence of the candidate trajectory combination based on the acceleration and deceleration trend of the obstacle vehicle; wherein the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the waiting-to-merge time period;

[0012] The ego vehicle trajectory planning module is used to select a target gap from the candidate gaps according to the yield confidence of the candidate trajectory combination, and perform trajectory planning for the ego vehicle based on the candidate trajectory of the ego vehicle associated with the target gap.

[0013] According to another aspect of the present disclosure, there is provided an electronic device, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle merging processing method described in any embodiment of the present disclosure.

[0017] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the vehicle merging processing method described in any embodiment of the present disclosure.

[0018] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the vehicle merging processing method described in any embodiment of the present disclosure is implemented.

[0019] According to yet another aspect of the present disclosure, an autonomous driving vehicle is provided, comprising an electronic device provided by the present disclosure.

[0020] According to the technology disclosed in the present invention, in a highly interactive lane-level merging scenario where a self-driving vehicle enters a high-right-of-way lane from a low-right-of-way lane (such as a secondary road or a ramp), the present invention can improve the accurate estimation of the obstacle vehicle's intention to give way, which is beneficial to improving the accuracy of trajectory planning and the safety of vehicle merging, and improving the accuracy and safety of merging decisions.

[0021] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0023] Figure 1A is a flow chart of a vehicle merging processing method provided according to an embodiment of the present disclosure;

[0024] Figure 1B The candidate gap determined for the ego vehicle from the lane to be merged into is shown;

[0025] Figure 2A is a flow chart of another vehicle merging processing method provided according to an embodiment of the present disclosure;

[0026] Figure 2B A schematic diagram showing that the vehicle can merge into the waiting lane in advance;

[0027] Figure 3 is a flow chart of another vehicle merging processing method provided according to an embodiment of the present disclosure;

[0028] Figure 4 is a structural schematic diagram of a vehicle merging processing device provided according to an embodiment of the present disclosure;

[0029] Figure 5 A block diagram of an electronic device for implementing the vehicle merging processing method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0031] Figure 1A This is a flow chart of a vehicle merging processing method provided according to an embodiment of the present disclosure. The embodiment of the present disclosure can be applied to the case where the vehicle performs trajectory planning in a strongly interactive lane-level merging scenario where the vehicle enters a high-right-of-way lane from a low-right-of-way lane (such as a side road or a ramp). The method can be executed by a vehicle merging processing device, which can be implemented in software and / or hardware. Figure 1A As shown, the vehicle merging processing method of this embodiment may include:

[0032] S101, determining a candidate gap for the ego vehicle from the lane to be merged into, and determining a candidate trajectory combination associated with the candidate gap based on the current driving states of the ego vehicle and the obstacle vehicle; the candidate trajectory combination includes a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle;

[0033] S102, determining the vehicle yielding confidence of the candidate trajectory combination based on the acceleration and deceleration trend of the obstacle vehicle; wherein the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the waiting-to-merge time period;

[0034] S103 , selecting a target gap from the candidate gaps according to the yield confidence of the candidate trajectory combination, and performing trajectory planning for the ego vehicle based on the candidate trajectory of the ego vehicle associated with the target gap.

[0035] The waiting lane to merge into refers to a high-right lane that the vehicle needs to merge into from a low-right lane. For example, the high-right lane may be a main road, and the low-right lane may be a secondary road or a ramp.

[0036] Among them, the candidate gap refers to the gap in the traffic flow within the preset range of the self-vehicle on the lane to be merged that the self-vehicle can merge into the lane to be merged when the self-vehicle finds the lane to be merged. The obstacle vehicle is related to the candidate gap and is the vehicle in the traffic flow that is located after the candidate gap. The obstacle vehicle and the candidate gap have a one-to-one correspondence. That is to say, at a certain moment, once the candidate gap is determined, the obstacle vehicle is also determined. There are at least two candidate gaps, and accordingly, there are at least two obstacle vehicles.

[0037] Optionally, when the vehicle recognizes that a lane to be merged appears within a first distance in front of the vehicle based on the high-precision map, that is, when the vehicle finds a lane intersection corresponding to the lane to be merged, the vehicle flow gap from the lane intersection to the second distance behind the vehicle, which can be used for the vehicle to merge into the lane to be merged, is determined as a candidate gap. The preset range is the sum of the first distance and the second distance. It is worth noting that the first distance and the second distance are determined according to actual conditions and are not limited here. For example, the first distance is 70 meters and the second distance is 40 meters. Figure 1B shows the candidate gaps determined for the ego vehicle from the lane to be merged into. Figure 1B Gap No.1, Gap No.2 and Gap No.3 in the figure represent candidate gaps numbered 1, 2 and 3 respectively. The black and white cars behind Gap No.1, Gap No.2 and Gap No.3 are obstacle vehicles. The position of the dashed rectangle numbered 1 is the lane intersection point, and the position of the dashed rectangle numbered 2 is the position where the ego vehicle merges into the lane to be merged and occupies the right of way.

[0038] The candidate trajectories of the ego vehicle and the obstacle vehicle refer to the possible velocity trajectories of the ego vehicle and the obstacle vehicle from the current position to the lane intersection. The velocity trajectory refers to the path or pattern of the change of the speed and direction of the vehicle over time during the movement. The velocity trajectory is used to describe the change of the velocity vector of the vehicle from the current position to the lane intersection, not just the position change of the vehicle itself, but also to reveal the vehicle's motion dynamics, such as acceleration, deceleration, and direction change.

[0039] The current driving state can describe the current position of the vehicle and the current motion state, such as speed and acceleration. Optionally, based on the current driving states of the ego vehicle and the obstacle vehicle, the candidate trajectories of the ego vehicle and the candidate trajectories of the obstacle vehicle are predicted respectively. Optionally, there are at least two candidate trajectories of the ego vehicle and the candidate trajectories of the obstacle vehicle. By combining the candidate trajectories of the ego vehicle and the candidate trajectories of the obstacle vehicle, a candidate trajectory combination associated with the candidate gap can be obtained. This is because the candidate gap and the obstacle vehicle are in a one-to-one correspondence, the candidate trajectory of the obstacle vehicle is included in the candidate trajectory combination, and the correspondence between the candidate trajectory combination and the candidate gap is also determined.

[0040] The obstacle vehicle may interact with the ego vehicle during the process of merging into the lane to be merged. The interaction result between the obstacle vehicle and the ego vehicle at the intersection of the lanes directly affects whether the ego vehicle can successfully merge into the lane to be merged. Each candidate trajectory combination has a corresponding interaction result. Optionally, the interaction result includes: the obstacle vehicle gives way and the obstacle vehicle does not give way. The credibility of the interaction result can be determined by evaluating the obstacle vehicle's intention to give way. Among them, the acceleration and deceleration trend of the obstacle vehicle can evaluate the obstacle vehicle's intention to give way. The giving way confidence is used to evaluate the credibility of the interaction result corresponding to the candidate trajectory combination.

[0041] The acceleration and deceleration trend of the obstacle vehicle is determined by the acceleration of the obstacle vehicle in the waiting-to-merge time period. The waiting-to-merge time period starts when the ego vehicle finds the lane intersection corresponding to the lane to be merged and ends when the ego vehicle reaches the lane intersection corresponding to the lane to be merged. The acceleration of the obstacle vehicle in the waiting-to-merge time period will affect the action taken by the obstacle vehicle at the lane intersection. Generally speaking, the obstacle vehicle is more likely to take actions that are consistent with the acceleration and deceleration trend, and is less likely to have a sudden change of intention.

[0042] The yield confidence of the candidate trajectory combination can evaluate the credibility of the interaction result corresponding to the candidate trajectory combination. The yield confidence of the candidate trajectory combination is proportional to the credibility of the interaction result corresponding to the candidate trajectory combination, that is, the higher the yield confidence, the higher the credibility of the interaction result.

[0043] Different interaction results correspond to different safety scores. If the interaction result is that the obstacle vehicle gives way, the ego vehicle can smoothly merge into the waiting lane from the candidate gap corresponding to the obstacle vehicle. If the interaction result is that the obstacle vehicle does not give way, the ego vehicle cannot smoothly merge into the waiting lane from the candidate gap corresponding to the obstacle vehicle, and may even collide with the obstacle vehicle. Therefore, the candidate trajectory combination whose interaction result is that the obstacle vehicle gives way has a higher safety score than the candidate trajectory combination whose interaction result is that the obstacle vehicle does not give way.

[0044] Optionally, the yield confidence of the candidate trajectory combination is used to correct the safety score of the candidate trajectory combination. Based on the safety score corrected by the yield confidence, a target trajectory combination is selected from the candidate trajectory combination, and the candidate gap associated with the target trajectory combination is used as the target gap. The ego vehicle can smoothly merge into the lane to be merged from the target gap.

[0045] The candidate trajectory of the ego vehicle associated with the target gap is a speed trajectory that the ego vehicle can use to merge into the lane to be merged from the target gap. Optionally, the candidate trajectory of the ego vehicle in the target trajectory combination is used as the speed trajectory planned for the ego vehicle to merge into the lane to be merged. The candidate trajectory of the ego vehicle associated with the target gap can also be sent to a downstream quadratic programming optimizer, so that the quadratic programming optimizer can construct a planning constraint boundary based on the candidate trajectory of the ego vehicle associated with the target gap, and perform trajectory planning for the ego vehicle to merge into the lane to be merged.

[0046] The disclosed technical solution achieves accurate estimation of the obstacle vehicle's intention to give way by determining the obstacle vehicle's acceleration and deceleration trend according to the obstacle vehicle's acceleration in the waiting time period. The confidence level of the candidate trajectory combination in giving way is determined by the obstacle vehicle's intention to give way as reflected by the obstacle vehicle's acceleration and deceleration trend. Then, based on the confidence level of the candidate trajectory combination in giving way, a target gap is selected from the candidate gaps, and the trajectory of the ego vehicle is planned based on the candidate trajectory of the ego vehicle associated with the target gap, which is conducive to improving the accuracy of trajectory planning. In particular, for a strongly interactive lane-level merging scenario such as the ego vehicle merging from a low-right-of-way lane into a high-right-of-way lane, the use of the disclosed technical solution can improve the success rate and safety of vehicle merging, and enhance the accuracy and safety of merging decisions.

[0047] In an optional embodiment, the method further includes: determining an acceleration prior distribution according to a discrete probability distribution of historical acceleration of the obstacle vehicle in the waiting time period; constructing an acceleration likelihood function according to a mean and variance of the current acceleration of the obstacle vehicle in the waiting time period; using the acceleration likelihood function to adjust the acceleration prior distribution to obtain an acceleration posterior distribution; and determining the acceleration and deceleration trend of the obstacle vehicle based on the acceleration posterior distribution.

[0048] It is worth noting that during the waiting-to-merge time period, the trajectory planning for the vehicle to merge into the waiting-to-merge lane will be performed multiple times in frames. That is, the waiting-to-merge time period will be divided into multiple frames with a set duration, and the trajectory planning for the vehicle to merge into the waiting-to-merge lane will be performed in each frame. The set duration is determined according to the actual situation and is not limited here. For example, the set duration is 1 second.

[0049] The historical acceleration of the obstacle vehicle in the waiting-to-merge time period refers to the acceleration corresponding to the historical frame of the obstacle vehicle in the waiting-to-merge time period. The current acceleration refers to the acceleration corresponding to the current frame of the obstacle vehicle in the waiting-to-merge time period.

[0050] The acceleration prior distribution is determined based on the discrete probability distribution of the historical acceleration of the obstacle vehicle in the waiting time period. The discrete probability distribution of the historical acceleration is bounded and can express a non-Gaussian distribution. The acceleration prior distribution is used to describe the acceleration and deceleration trend of the obstacle vehicle in the historical frame.

[0051] The acceleration likelihood function is based on the mean and variance of the current acceleration of the obstacle vehicle in the waiting time period. The mean and variance of the current acceleration are used to describe the overall characteristics and fluctuations of the current acceleration, and can reflect the acceleration changes of the obstacle vehicle in the current frame. The acceleration likelihood function is used to adjust the acceleration prior distribution. By adjusting the acceleration prior distribution using the acceleration likelihood function, the acceleration and deceleration trends of the obstacle vehicle can be transferred between frames in the waiting time period.

[0052] The acceleration posterior distribution is determined by the acceleration and deceleration trend of the obstacle vehicle in the historical frame and the acceleration change of the obstacle vehicle in the current frame, and can determine the acceleration and deceleration trend of the obstacle vehicle in the current frame. The acceleration and deceleration trend of the obstacle vehicle in the historical frame and the acceleration change of the current frame will affect the acceleration and deceleration actions taken by the obstacle vehicle, and can be used to evaluate the obstacle vehicle's intention to give way.

[0053] The above technical solution determines the acceleration prior distribution according to the discrete probability distribution of the historical acceleration of the obstacle vehicle in the waiting time period, and constructs the acceleration likelihood function according to the mean and variance of the current acceleration of the obstacle vehicle in the waiting time period, thereby realizing the estimation of the acceleration and deceleration trend of the obstacle vehicle in the historical frame, and the quantification of the acceleration and deceleration trend of the obstacle vehicle in the current frame. By using the acceleration likelihood function to adjust the acceleration prior distribution to obtain the acceleration posterior distribution, the acceleration and deceleration trend of the obstacle vehicle can be transferred between frames in the waiting time period. By combining the acceleration and deceleration trend of the obstacle vehicle in the historical frame with the acceleration change of the obstacle vehicle in the current frame, the acceleration and deceleration trend of the obstacle vehicle in the current frame is accurately estimated, which provides technical support for the subsequent use of the acceleration and deceleration trend of the obstacle vehicle in determining the confidence level of the candidate trajectory combination.

[0054] In an optional embodiment, determining the yield confidence of the candidate trajectory combination based on the acceleration and deceleration trend of the obstacle vehicle includes: determining a candidate acceleration corresponding to the candidate trajectory of the obstacle vehicle in the candidate trajectory combination; querying the distribution probability corresponding to the candidate acceleration from the posterior distribution of the acceleration corresponding to the acceleration and deceleration trend of the obstacle vehicle; and determining the yield confidence of the candidate trajectory combination based on the distribution probability corresponding to the candidate acceleration.

[0055] The candidate trajectory combination includes the candidate trajectory of the obstacle vehicle. The candidate trajectory can describe the motion dynamics of the obstacle vehicle, such as acceleration and deceleration. Therefore, the candidate acceleration corresponding to the candidate trajectory can be determined.

[0056] The acceleration and deceleration trends of the obstacle vehicle are determined based on the posterior distribution of acceleration, which is a discrete probability distribution.

[0057] When the candidate acceleration and the acceleration posterior distribution are determined, the distribution probability corresponding to the candidate acceleration is queried from the acceleration posterior distribution. Optionally, the distribution probability corresponding to the candidate acceleration is averaged, and the average processing result is used as the yield confidence of the candidate trajectory combination. This is because when the ego vehicle merges from the low-right lane to the high-right lane, the obstacle vehicle in the lane to be merged has the right of way and has no obligation to avoid the ego vehicle. Therefore, by estimating the acceleration and deceleration trend of the obstacle vehicle, the yield confidence of the candidate trajectory combination can be determined.

[0058] The above technical solution considers that the obstacle vehicle is more likely to take actions that are consistent with the acceleration and deceleration trend, and is less likely to have a sudden change in intention. By querying the distribution probability of the candidate acceleration corresponding to the candidate trajectory of the obstacle vehicle on the acceleration posterior distribution, the confidence of giving way is determined. This provides a feasible solution for determining the confidence of giving way, ensuring the accuracy of the confidence of giving way. It provides technical support for the subsequent selection of the target gap required for trajectory planning of the ego vehicle based on the confidence of giving way.

[0059] Figure 2A It is a flowchart of another vehicle merging processing method provided according to an embodiment of the present disclosure; this embodiment is an optional solution proposed on the basis of the above embodiment.

[0060] See also Figure 2A The vehicle merging processing method provided in this embodiment includes:

[0061] S201, determining a candidate gap for the ego vehicle from the lane to be merged into, and determining a candidate trajectory combination associated with the candidate gap based on the current driving states of the ego vehicle and the obstacle vehicle; the candidate trajectory combination includes a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle.

[0062] S202, determining the vehicle yielding confidence of the candidate trajectory combination based on the acceleration and deceleration trend of the obstacle vehicle; wherein the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the waiting-to-merge time period.

[0063] S203, based on the yield confidence of the candidate trajectory combination, select a target trajectory combination from the candidate trajectory combination, use the candidate trajectory of the ego vehicle in the target trajectory combination as a reference trajectory, and use the candidate gap to which the target trajectory combination belongs as a target gap.

[0064] The yield confidence of the candidate trajectory combination can evaluate the credibility of the interaction result corresponding to the candidate trajectory combination. The yield confidence of the candidate trajectory combination is proportional to the credibility of the interaction result corresponding to the candidate trajectory combination, that is, the higher the yield confidence, the higher the credibility of the interaction result.

[0065] Different interaction results correspond to different safety scores. If the interaction result is that the obstacle vehicle gives way, the ego vehicle can smoothly merge into the waiting lane from the candidate gap corresponding to the obstacle vehicle. If the interaction result is that the obstacle vehicle does not give way, the ego vehicle cannot smoothly merge into the waiting lane from the candidate gap corresponding to the obstacle vehicle, and may even collide with the obstacle vehicle. Therefore, the candidate trajectory combination whose interaction result is that the obstacle vehicle gives way has a higher safety score than the candidate trajectory combination whose interaction result is that the obstacle vehicle does not give way.

[0066] Optionally, the yield confidence of the candidate trajectory combination is used to correct the safety score of the candidate trajectory combination. Based on the safety score corrected by the yield confidence, a target trajectory combination is selected from the candidate trajectory combination, and the candidate gap associated with the target trajectory combination is used as the target gap. The ego vehicle can smoothly merge into the lane to be merged from the target gap.

[0067] The reference trajectory plays a guiding role in the process of trajectory planning for the ego vehicle, so that the speed trajectory planned for the ego vehicle to merge into the lane to be merged is as close to the reference trajectory as possible. The candidate trajectory of the ego vehicle in the target trajectory combination is used as the reference trajectory.

[0068] In an optional embodiment, based on the yielding confidence of the candidate trajectory combination, a target trajectory combination is selected from the candidate trajectory combination, including: determining the safety score of the candidate trajectory combination based on the collision time, headway and minimum lateral distance corresponding to the candidate trajectory combination; determining the reward or punishment tendency for the candidate trajectory combination based on the safety score; if the reward or punishment tendency for the candidate trajectory combination is reward, weighting the safety score of the candidate trajectory combination using the yielding confidence of the candidate trajectory combination to obtain a weighted processing result; updating the safety score based on the weighted processing result, and selecting the target trajectory combination from the candidate trajectory combination based on the updated safety score.

[0069] The safety score corresponds to the candidate trajectory combination, and each candidate trajectory combination has a corresponding safety score. The safety score is used to quantify the safety of the ego vehicle and the obstacle vehicle at the lane intersection when the ego vehicle and the obstacle vehicle travel along the candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle included in the candidate speed combination.

[0070] The safety score is determined based on the collision time, headway time and minimum lateral distance corresponding to the candidate trajectory combination. The collision time (Time to Collision, ttc) refers to the estimated time required for the ego vehicle and the obstacle vehicle to collide when they are traveling along the candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle included in the candidate speed combination. The headway time (TimeHeadway, thw) refers to the time difference between the ego vehicle and the obstacle vehicle passing the same section point. A small headway time may cause the vehicle to follow too closely, increasing the risk of rear-end collisions. The minimum lateral distance (Lateral Distance, l nearest ) refers to the minimum horizontal distance between the vehicle and the obstacle vehicle during the process from when the vehicle begins to invade the lane to be merged to when it completely enters the lane to be merged and occupies the right of way.

[0071] Optionally, the following formula is used to determine the safety score of the candidate trajectory combination based on the collision time, headway and minimum lateral distance corresponding to the candidate trajectory combination:

[0072]

[0073]

[0074] Among them, a and b are functions The specific values ​​of a and b are determined according to the actual situation. d ego_obs 、v ego 、v obs They respectively represent the longitudinal distance between the ego vehicle and the obstacle vehicle, the speed of the ego vehicle, and the speed of the obstacle vehicle when the ego vehicle completely enters the lane to be merged.

[0075] Based on the collision time, headway and minimum lateral distance corresponding to the candidate trajectory combination, the interaction result corresponding to the candidate trajectory combination and whether the interaction result is safe can be determined. Then, based on whether the candidate trajectory combination is safe, the reward and punishment tendency of the candidate trajectory combination can be determined.

[0076] When the self-driving car overtakes the obstacle car, it is rewarded when it is significantly ahead of the obstacle car; when the self-driving car gives way to the obstacle car, it is rewarded when it keeps a safe distance from the obstacle car; rewards are given when there is no longitudinal interaction or a safe lateral distance during the overtaking process; penalties are imposed when the lateral distance is too close during the longitudinal intersection during the overtaking process, and lateral collisions are pruned.

[0077] Optionally, if the interaction result is safe, a reward is given to the safety score with a positive value, and if the interaction result is unsafe, a penalty is given to the safety score with a negative value. Therefore, the reward and punishment tendency for the candidate trajectory combination can be determined based on the positive or negative safety score.

[0078] The safety score is a negative exponential curve. As the independent variable increases, the function value will gradually decrease, but the rate of decrease will gradually slow down. If the reward and punishment tendency for the candidate trajectory combination is reward, the safety score of the candidate trajectory combination is weighted by the vehicle-giving confidence of the candidate trajectory combination to obtain a weighted processing result. When the reward and punishment tendency for the candidate trajectory combination is reward, the vehicle-giving confidence is used to control the reward intensity. The smaller the vehicle confidence, the smaller the safety score given to the candidate trajectory combination, so that the purpose of reducing the reward intensity and maintaining a larger penalty intensity can be achieved.

[0079] Optionally, the following formula is used to weight the safety score of the candidate trajectory combination using the vehicle yielding confidence of the candidate trajectory combination:

[0080]

[0081] Among them, R safety,raw is the safety score before weighting, R safety For weighted processing. is the confidence level of the candidate trajectory combination. When the safety score is positive, use p obsact Safety scores are weighted to reduce the intensity of rewards. In the case of negative safety scores, the safety scores are not adjusted to maintain a large penalty intensity.

[0082] The safety score is updated based on the weighted processing result. Optionally, the updated safety scores are sorted in order of relative size, and the candidate trajectory combination with the highest safety score is selected as the target trajectory combination.

[0083] The above technical solution determines the reward and punishment tendency for the candidate trajectory combination based on the safety score. If the reward and punishment tendency for the candidate trajectory combination is a reward, the safety score of the candidate trajectory combination is weighted by the vehicle-giving confidence of the candidate trajectory combination. When the reward and punishment tendency for the candidate trajectory combination is a reward, the effect of controlling the intensity of the reward by using the vehicle-giving confidence is achieved, thereby improving the accuracy of the safety score.

[0084] In an optional embodiment, the method further includes: determining a consistency score of the candidate trajectory combination based on the cumulative number of times each candidate gap is selected as the target gap within the waiting-for-integration time period; determining a comfort score of the candidate trajectory combination based on an initial jerk, a maximum acceleration, and a minimum deceleration corresponding to the candidate trajectory combination; and selecting a target trajectory combination from the candidate trajectory combination based on the comfort score, the consistency score, and an updated safety score.

[0085] The consistency score is related to the selection of candidate gaps by each frame in the time period to be merged. It is understandable that unreasonable jumps in gap selection can easily lead to missed spaces and failed merging or sudden braking and rear-end collisions. Therefore, the current frame tends to keep the gap selection consistent with the historical frame.

[0086] The comfort score of the candidate trajectory combination is determined based on the cumulative number of times each candidate gap is selected as the target gap in the waiting-for-integration time period. The higher the cumulative number of times a candidate gap is selected as the target gap, the higher the comfort score of the candidate trajectory combination associated with the candidate gap.

[0087] Safety is the most basic factor to be considered when merging into the lane to be merged. In order to obtain a better driving and riding experience, the comfort of the vehicle when merging into the lane to be merged also needs to be considered.

[0088] The comfort score is used to quantify the comfort of the ego vehicle when merging into the lane to be merged. The comfort scores of the ego vehicle and the obstacle vehicle are evaluated in the same way, and are related to the initial jerk, maximum acceleration, and minimum deceleration corresponding to the selected trajectory combination.

[0089] Optionally, the following formula is used to determine the comfort score of the candidate trajectory combination based on the initial jerk, maximum acceleration, and minimum deceleration corresponding to the candidate trajectory combination:

[0090]

[0091] in, a , and j 0 Represents the minimum acceleration, maximum acceleration and initial jerk respectively. comfort Represents the comfort score of the candidate trajectory combination. is a linear function with truncation.

[0092] Optionally, the comfort score, the consistency score, and the updated safety score are weighted to obtain a final score, and the candidate trajectory combination with the highest final score is selected as the target trajectory combination.

[0093] Optionally, the following formula is used to weight the comfort score, consistency score, and updated safety score to obtain the final score:

[0094] R=w safety R safety +w ego_comfort R ego_comfort +w obs_comfort R obs_comfort +w consistency R consistency ;

[0095] Among them, R is the final score, w safety 、w ego_comfort 、w obs_comfort and w consistency They represent the weight coefficients of the updated security scores, w ego_comfort is the comfort score of the vehicle (R ego_comfort ) weight coefficient, w obs_comfort is the comfort score of the obstacle vehicle (R obs_comfort ) weight coefficient, w consistency The weight coefficient of the consistency score. The weight coefficients of the above scores are determined according to the actual situation and are not limited here.

[0096] The above technical solution not only considers the safety of the vehicle merging into the lane to be merged, but also considers comfort. Furthermore, it also considers that unreasonable jumps in gap selection may easily lead to missing space and merging failure or sudden braking and rear-end collision. The target trajectory combination is selected from the candidate trajectory combinations based on comfort, comfort and consistency. The accuracy of the target trajectory combination is improved, which is conducive to improving the accuracy of trajectory planning.

[0097] S204, determining a trajectory planning boundary according to candidate trajectories of respective vehicles associated with the target gap, and taking the reference trajectory as a trajectory planning target to perform trajectory planning for the ego vehicle.

[0098] Among them, the trajectory planning boundary plays a limiting role in the process of planning the trajectory for the ego vehicle to merge into the lane to be merged, ensuring that the speed trajectory planned for the ego vehicle to merge into the lane to be merged is within the trajectory planning boundary. The reference trajectory plays a guiding role in the process of trajectory planning for the ego vehicle, making the speed trajectory planned for the ego vehicle to merge into the lane to be merged as close to the reference trajectory as possible.

[0099] The disclosed technical solution, when selecting a target gap for the ego vehicle to merge into the lane to be merged, selects a target trajectory combination from the candidate trajectory combination based on the vehicle yielding confidence of the candidate trajectory combination, and uses the candidate gap to which the target trajectory combination belongs as the target gap, fully considering the vehicle yielding intention of the obstacle vehicle, and ensuring the accuracy of the target gap. The disclosed technical solution determines the trajectory planning boundary according to the candidate trajectories of each vehicle associated with the target gap, and uses the candidate trajectory of the ego vehicle in the target trajectory combination as the trajectory planning target to perform trajectory planning for the ego vehicle. The accuracy of trajectory planning is ensured.

[0100] In an optional embodiment, a trajectory planning boundary is determined according to candidate trajectories of respective vehicles associated with the target gap, and the reference trajectory is used as a trajectory planning target to perform trajectory planning for the ego vehicle, including: constructing an ego vehicle trajectory cluster based on the candidate trajectories of respective vehicles associated with the target gap; determining the upper and lower envelopes of the ego vehicle trajectory cluster as upper and lower constraint boundaries of the trajectory planning boundary; and using the reference trajectory as a trajectory planning target to perform trajectory planning for the ego vehicle within the upper and lower constraint boundaries of the trajectory planning boundary.

[0101] The target gap is associated with multiple candidate trajectory combinations, and the candidate trajectory combination includes the candidate trajectory of the ego vehicle. In the process of trajectory planning for the ego vehicle, the candidate trajectories of each vehicle associated with the target gap are used to construct the ego vehicle trajectory cluster. Among them, the ego vehicle trajectory cluster includes all candidate trajectories that support the ego vehicle to merge from the target gap into the lane to be merged.

[0102] The upper and lower envelopes of the ego vehicle trajectory cluster are determined as the upper and lower constraint boundaries of the trajectory planning boundary. Ensure that the speed trajectory planned for the ego vehicle to merge into the lane to be merged does not exceed the upper and lower constraint boundaries of the trajectory planning boundary. Make the speed trajectory planned for the ego vehicle to merge into the lane to be merged within the upper and lower constraint boundaries of the trajectory planning boundary and try to get closer to the reference trajectory.

[0103] The above technical solution uses the selection result of the target gap to guide trajectory planning. When planning the trajectory of the ego vehicle, the upper and lower constraint boundaries of the trajectory planning boundary are restricted based on the candidate trajectories of the respective vehicles associated with the target gap, and the reference trajectory is used as the trajectory planning target to guide the trajectory planning, which is beneficial to improve the accuracy of trajectory planning.

[0104] In an optional embodiment, the method further includes: determining a safety score of a combination of the longitudinal length of the target gap and the target trajectory; if the longitudinal length of the gap is greater than a preset length threshold and the safety score is greater than a preset score threshold, determining a trajectory curvature based on the current speed of the vehicle and a comfortable lateral acceleration sensation; and planning the vehicle trajectory to curve toward the lane to be merged into with the trajectory curvature.

[0105] The longitudinal length of the gap refers to the length of the target gap in the direction of the vehicle's travel. The longitudinal length of the gap determines whether the vehicle has enough time to perform dynamic maneuvers and merge into the lane to be merged in advance.

[0106] The preset length threshold and the preset score threshold are used to measure whether the ego vehicle can merge into the lane to be merged in advance. The preset length threshold and the preset score threshold are determined according to the actual situation and are not limited here. If the longitudinal length of the gap is greater than the preset length threshold and the safety score is greater than the preset score threshold, it means that the ego vehicle can merge into the lane to be merged in advance.

[0107] In the case that the vehicle can merge into the lane to be merged in advance, the trajectory curvature is determined based on the vehicle's current speed and comfortable lateral acceleration. Among them, comfortable lateral acceleration usually refers to the lateral acceleration felt by the passengers when the vehicle turns, accelerates or performs certain dynamic operations, which is within a range that does not cause discomfort or dizziness. Generally speaking, a comfortable lateral acceleration corresponds to a lateral acceleration of less than 2.5m / s 2 situation. Figure 2B This is a schematic diagram showing that the vehicle can merge into the lane to be merged in advance. Figure 2B , Figure 2B The original Path in represents the trajectory planned by the vehicle if it does not merge into the lane to be merged in advance. Figure 2B The early merging in indicates the trajectory planned by the ego vehicle to merge into the lane in advance.

[0108] Optionally, a trajectory planning suggestion is generated based on the trajectory curvature in the current frame, and the trajectory planning suggestion is passed to the next frame, so that when the trajectory of the ego vehicle is planned in the next frame, the ego vehicle trajectory is planned to bend toward the lane to be merged into with the trajectory curvature.

[0109] The above technical scheme, when the longitudinal length of the target gap is greater than a preset length threshold and the safety score of the target gap is greater than a preset score threshold, determines the trajectory curvature based on the current speed of the ego vehicle and a comfortable lateral acceleration sensation, and plans the ego vehicle trajectory to bend toward the lane to be merged into with the trajectory curvature, thereby achieving close coordination between the longitudinal overtaking planning and the lateral path planning. While ensuring the safety of the merging, it also supports the ego vehicle to merge into the lane to be merged into in advance, thereby improving the upper limit of trajectory planning capabilities.

[0110] Figure 3 It is a flowchart of another vehicle merging processing method provided according to an embodiment of the present disclosure. This embodiment is an optional solution proposed on the basis of the above embodiment.

[0111] like Figure 3 As shown, the vehicle merging processing method of this embodiment may include:

[0112] S301, determining a candidate gap for the ego vehicle from a lane to be merged into, and taking at least one dimension of acceleration, jerk, acceleration duration, and deceleration duration as a motion constraint dimension.

[0113] For each candidate gap, a game is required to determine which candidate gap can allow the vehicle to merge smoothly into the lane to be merged.

[0114] Therefore, it is necessary to predict the candidate trajectories of the ego vehicle and the obstacle vehicle based on their current driving states, and deduce the obstacle vehicle's intention to give way. Since the quality of the game deduction is highly dependent on the accuracy of the assumption of the obstacle vehicle's intention to give way, the deduction process may encounter a dimensionality explosion problem, resulting in excessive computational overhead and unable to meet the requirements of real-time online reasoning calculations for autonomous driving vehicles.

[0115] The motion constraint dimension is used to constrain the dimensions in which the candidate trajectories of the ego vehicle and the obstacle vehicle are predicted. Predicting the candidate trajectories of the ego vehicle and the obstacle vehicle in the motion constraint dimension can avoid the dimensionality explosion problem.

[0116] The motion constraint dimension includes at least one of acceleration, jerkiness, acceleration duration, and deceleration duration. Predicting the candidate trajectories of the ego vehicle and the obstacle vehicle based on acceleration, jerkiness, acceleration duration, and deceleration duration can avoid unreasonable operations of the ego vehicle and the obstacle vehicle such as repeated acceleration and deceleration in a sawtooth manner.

[0117] S302, taking the current driving states of the ego vehicle and the obstacle vehicle as the starting point of state change, performing state update under the motion constraint dimension to obtain state update results of the ego vehicle and the obstacle vehicle.

[0118] Taking the current driving states of the ego vehicle and the obstacle vehicle as the starting point of the state change, the state change starting point is updated using random values ​​under the motion constraint dimension to obtain the state update results of the ego vehicle and the obstacle vehicle.

[0119] S303: Determine a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle based on the status update results of the ego vehicle and the obstacle vehicle.

[0120] The motion constraint dimension includes at least one of acceleration, jerk, acceleration duration, and deceleration duration. For any candidate trajectory of the ego vehicle or any candidate trajectory of the obstacle vehicle, the starting point of the state change is the same, but the state change dimension and state change amplitude are different. Therefore, the state update results obtained will also be different.

[0121] Optionally, after determining the candidate trajectories of the ego vehicle and the obstacle vehicle based on the status update results of the ego vehicle and the obstacle vehicle, the candidate trajectories of the ego vehicle and the obstacle vehicle are screened based on the traffic speed limit requirement, and the candidate trajectories that do not meet the traffic speed limit requirement are eliminated.

[0122] Optionally, interactive key data are extracted from the candidate trajectories of the ego vehicle and the obstacle vehicle in advance, such as when the ego vehicle enters the lane to be merged and the maximum braking force on the trajectory, etc. The candidate trajectories and their corresponding interactive key data are hashed and stored to improve the efficiency of trajectory traversal.

[0123] S304: Combine the candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle to obtain a candidate trajectory combination associated with the candidate gap.

[0124] Optionally, when there are M candidate trajectories for the ego vehicle and N candidate trajectories for the obstacle vehicle, the M candidate trajectories for the ego vehicle are combined with the N candidate trajectories for the obstacle vehicle one by one to obtain M×N candidate trajectory combinations. Since the candidate gaps and the obstacle vehicles are in a one-to-one correspondence, based on the candidate trajectories of the obstacle vehicle in the candidate trajectory combination, it is determined which candidate gap the candidate trajectory combination is associated with. Wherein, M and N are both positive integers greater than or equal to 2.

[0125] S305, determining the vehicle yielding confidence of the candidate trajectory combination based on the acceleration and deceleration trend of the obstacle vehicle; wherein the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the waiting-to-merge time period.

[0126] S306 , selecting a target gap from the candidate gaps according to the yield confidence of the candidate trajectory combination, and performing trajectory planning for the ego vehicle based on the candidate trajectory of the ego vehicle associated with the target gap.

[0127] The disclosed technical solution, by setting the motion constraint dimension, takes the current driving state of the ego vehicle and the obstacle vehicle as the starting point of the state change, and predicts the candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle under the motion constraint dimension, thereby avoiding the dimension explosion problem. The disclosed technical solution takes at least one dimension of acceleration, jerkiness, acceleration duration, and deceleration duration as the motion constraint dimension to avoid the irrational operation of the ego vehicle and the obstacle vehicle in repeated jagged acceleration and deceleration. This is conducive to improving the prediction accuracy and rationality of the candidate trajectory.

[0128] Figure 4 The present invention is a schematic diagram of a vehicle merging processing device provided according to an embodiment of the present invention. The present invention can be applied to the case where the vehicle performs trajectory planning in a strongly interactive lane-level merging scenario where the vehicle enters a high-right-of-way lane from a low-right-of-way lane (such as an auxiliary road or a ramp). The device can be implemented using software and / or hardware, and the device can implement the vehicle merging processing method described in any embodiment of the present invention.

[0129] like Figure 4 As shown, the vehicle merging processing device 400 includes:

[0130] A trajectory combination determination module 401 is used to determine a candidate gap for the ego vehicle from the lane to be merged into, and determine a candidate trajectory combination associated with the candidate gap based on the current driving states of the ego vehicle and the obstacle vehicle; the candidate trajectory combination includes a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle;

[0131] The vehicle yielding confidence determination module 402 is used to determine the vehicle yielding confidence of the candidate trajectory combination based on the acceleration and deceleration trend of the obstacle vehicle; wherein the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the waiting-to-merge time period;

[0132] The ego vehicle trajectory planning module 403 is used to select a target gap from the candidate gaps according to the yield confidence of the candidate trajectory combination, and perform trajectory planning for the ego vehicle based on the candidate trajectory of the ego vehicle associated with the target gap.

[0133] The disclosed technical solution achieves accurate estimation of the obstacle vehicle's intention to give way by determining the obstacle vehicle's acceleration and deceleration trend according to the obstacle vehicle's acceleration in the waiting time period. The confidence level of the candidate trajectory combination in giving way is determined by the obstacle vehicle's intention to give way as reflected by the obstacle vehicle's acceleration and deceleration trend. Then, based on the confidence level of the candidate trajectory combination in giving way, a target gap is selected from the candidate gaps, and the trajectory of the ego vehicle is planned based on the candidate trajectory of the ego vehicle associated with the target gap, which is conducive to improving the accuracy of trajectory planning. In particular, for a strongly interactive lane-level merging scenario such as the ego vehicle entering a high-right-of-way lane from a low-right-of-way lane, the use of the disclosed technical solution can improve the success rate and safety of vehicle merging, and enhance the accuracy and safety of merging decisions.

[0134] Optionally, the device 400 also includes: a prior distribution determination module, used to determine the acceleration prior distribution according to the discrete probability distribution of the historical acceleration of the obstacle vehicle in the time period to be merged; a likelihood function construction module, used to construct an acceleration likelihood function according to the mean and variance of the current acceleration of the obstacle vehicle in the time period to be merged; a posterior distribution determination module, used to adjust the acceleration prior distribution using the acceleration likelihood function to obtain an acceleration posterior distribution; an acceleration / deceleration trend determination module, used to determine the acceleration / deceleration trend of the obstacle vehicle based on the acceleration posterior distribution.

[0135] Optionally, the yield confidence determination module 402 includes: a candidate acceleration determination submodule, used to determine the candidate acceleration corresponding to the candidate trajectory of the obstacle vehicle in the candidate trajectory combination; a distribution probability query submodule, used to query the distribution probability corresponding to the candidate acceleration from the acceleration posterior distribution corresponding to the acceleration and deceleration trend of the obstacle vehicle; and a yield confidence determination submodule, used to determine the yield confidence of the candidate trajectory combination based on the distribution probability corresponding to the candidate acceleration.

[0136] Optionally, the ego vehicle trajectory planning module 403 includes: a trajectory and gap determination submodule, which is used to select a target trajectory combination from the candidate trajectory combination based on the vehicle-yielding confidence of the candidate trajectory combination, use the candidate trajectory of the ego vehicle in the target trajectory combination as a reference trajectory, and use the candidate gap to which the target trajectory combination belongs as a target gap; a boundary and target determination submodule, which is used to determine the trajectory planning boundary according to the candidate trajectories of each vehicle associated with the target gap, and use the reference trajectory as the trajectory planning target to perform trajectory planning for the ego vehicle.

[0137] Optionally, the trajectory and gap determination submodule includes: a safety score determination unit, used to determine the safety score of the candidate trajectory combination based on the collision time, headway and minimum lateral distance corresponding to the candidate trajectory combination; a reward and punishment tendency determination unit, used to determine the reward and punishment tendency for the candidate trajectory combination based on the safety score; a weighted processing unit, used to weight the safety score of the candidate trajectory combination using the vehicle-giving confidence of the candidate trajectory combination to obtain a weighted processing result if the reward and punishment tendency for the candidate trajectory combination is a reward; and a trajectory combination selection unit, used to update the safety score based on the weighted processing result, and select a target trajectory combination from the candidate trajectory combination based on the updated safety score.

[0138] Optionally, the device also includes: a consistency score determination module, used to determine the consistency score of the candidate trajectory combination based on the cumulative number of times each candidate gap is selected as the target gap in the waiting-for-integration time period; a comfort score determination module, used to determine the comfort score of the candidate trajectory combination based on the initial jerk, maximum acceleration and minimum deceleration corresponding to the candidate trajectory combination; and a trajectory combination selection module, used to select a target trajectory combination from the candidate trajectory combination based on the comfort score, the consistency score and the updated safety score.

[0139] Optionally, the boundary and target determination submodule includes: an ego-vehicle trajectory cluster construction unit, used to construct an ego-vehicle trajectory cluster based on candidate trajectories of respective vehicles associated with a target gap; an upper and lower constraint boundary determination unit, used to determine the upper and lower envelopes of the ego-vehicle trajectory cluster as upper and lower constraint boundaries of a trajectory planning boundary; and a trajectory planning unit, used to use the reference trajectory as a trajectory planning target and perform trajectory planning for the ego-vehicle within the upper and lower constraint boundaries of the trajectory planning boundary.

[0140] Optionally, the device also includes: a length and score determination module, used to determine the longitudinal length of the target gap and the safety score of the target trajectory combination; a trajectory curvature determination module, used to determine the trajectory curvature based on the current speed of the vehicle and a comfortable lateral acceleration sensation if the longitudinal length of the gap is greater than a preset length threshold and the safety score is greater than a preset score threshold; and a trajectory adjustment module, used to plan the trajectory of the vehicle to bend toward the lane to be merged into with the trajectory curvature.

[0141] Optionally, the trajectory combination determination module 401 includes: a constraint dimension determination submodule, used to use at least one dimension of acceleration, jerkiness, acceleration duration and deceleration duration as a motion constraint dimension; a state update submodule, used to use the current driving state of the ego vehicle and the obstacle vehicle as the starting point of the state change, and perform state update under the motion constraint dimension to obtain the state update results of the ego vehicle and the obstacle vehicle; a candidate trajectory determination submodule, used to determine the candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle based on the state update results of the ego vehicle and the obstacle vehicle; a candidate trajectory combination submodule, used to combine the candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle to obtain a candidate trajectory combination associated with the candidate gap.

[0142] The vehicle merging processing device provided in the embodiments of the present disclosure can execute the vehicle merging processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects for executing the vehicle merging processing method.

[0143] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user data involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0144] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, a computer program product and an autonomous driving vehicle. Among them, the autonomous driving vehicle provided by the present disclosure includes the electronic device provided by the present disclosure.

[0145] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0146] like Figure 5 As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0147] Multiple components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0148] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the vehicle merging processing method. For example, in some embodiments, the vehicle merging processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the vehicle merging processing method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the vehicle merging processing method in any other appropriate manner (e.g., by means of firmware).

[0149] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0150] Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable vehicle entry processing device, such that when the program codes are executed by the processor or controller, the functions / operations specified in the flow charts and / or block diagrams are implemented. The program codes may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0151] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0152] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0153] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0154] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0155] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, machine learning / deep learning technology, big data processing technology, knowledge graph technology, and other major directions.

[0156] Cloud computing refers to a technology system that uses network access to elastically scalable shared physical or virtual resource pools. Resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed on demand and in a self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for technical applications such as artificial intelligence and blockchain, as well as model training.

[0157] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0158] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A vehicle merging processing method, the method include: Determine a candidate gap for the ego vehicle from the lane to be merged into, and determine a candidate trajectory combination associated with the candidate gap based on the current driving states of the ego vehicle and the obstacle vehicle; the candidate trajectory combination includes a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle; Based on the acceleration and deceleration trend of the obstacle vehicle, determining the vehicle yielding confidence of the candidate trajectory combination; wherein the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the waiting-to-merge time period; A target gap is selected from the candidate gaps according to the yield confidence of the candidate trajectory combination, and trajectory planning is performed for the ego vehicle based on the candidate trajectory of the ego vehicle associated with the target gap.

2. The method according to claim 1, further comprising: include: Determine the acceleration prior distribution according to the discrete probability distribution of the historical acceleration of the obstacle vehicle in the waiting-to-merge time period; Constructing an acceleration likelihood function according to the mean and variance of the current acceleration of the obstacle vehicle in the waiting-to-merge time period; The acceleration likelihood function is used to adjust the acceleration prior distribution to obtain the acceleration posterior distribution; The acceleration and deceleration trends of the obstacle vehicle are determined based on the acceleration posterior distribution.

3. The method according to claim 2, in, The determining of the vehicle yielding confidence of the candidate trajectory combination based on the acceleration and deceleration trend of the obstacle vehicle includes: Determine a candidate acceleration corresponding to the candidate trajectory of the obstacle vehicle in the candidate trajectory combination; Querying the distribution probability corresponding to the candidate acceleration from the posterior distribution of acceleration corresponding to the acceleration and deceleration trend of the obstacle vehicle; Based on the distribution probability corresponding to the candidate accelerations, a yield confidence of the candidate trajectory combination is determined.

4. The method according to claim 1, in, The step of selecting a target gap from the candidate gaps according to the yield confidence of the candidate trajectory combination, and performing trajectory planning for the ego vehicle based on the candidate trajectory of the ego vehicle associated with the target gap includes: Based on the yield confidence of the candidate trajectory combination, a target trajectory combination is selected from the candidate trajectory combination, the candidate trajectory of the ego vehicle in the target trajectory combination is used as a reference trajectory, and the candidate gap to which the target trajectory combination belongs is used as a target gap; A trajectory planning boundary is determined according to candidate trajectories of respective vehicles associated with the target gap, and the reference trajectory is used as a trajectory planning target to perform trajectory planning for the ego vehicle.

5. The method according to claim 4, in, The step of selecting a target trajectory combination from the candidate trajectory combination based on the vehicle yielding confidence of the candidate trajectory combination includes: Determining a safety score of the candidate trajectory combination based on a collision time, a headway, and a minimum lateral distance corresponding to the candidate trajectory combination; Determining a reward or punishment tendency for the candidate trajectory combination based on the safety score; If the reward or punishment tendency for the candidate trajectory combination is reward, weighting the safety score of the candidate trajectory combination using the vehicle-giving confidence of the candidate trajectory combination to obtain a weighted processing result; The safety score is updated based on the weighted processing result, and a target trajectory combination is selected from the candidate trajectory combinations based on the updated safety score.

6. The method according to claim 5, in, The method further comprises: Determining a consistency score of the candidate trajectory combination based on a cumulative number of times each candidate gap is selected as the target gap in the waiting-for-integration time period; Determining a comfort score for the candidate trajectory combination based on an initial jerk, a maximum acceleration, and a minimum deceleration corresponding to the candidate trajectory combination; A target trajectory combination is selected from the candidate trajectory combinations based on the comfort score, the consistency score, and the updated safety score.

7. The method according to claim 4, in, The step of determining a trajectory planning boundary according to candidate trajectories of respective vehicles associated with the target gap, and taking the reference trajectory as a trajectory planning target to perform trajectory planning for the vehicle includes: Construct ego vehicle trajectory clusters based on candidate trajectories of the respective vehicles associated with the target gap; Determine the upper and lower envelopes of the ego-vehicle trajectory cluster as the upper and lower constraint boundaries of the trajectory planning boundary; The reference trajectory is used as a trajectory planning target, and the trajectory of the vehicle is planned within the upper and lower constraint boundaries of the trajectory planning boundary.

8. The method according to claim 4, further comprising: include: determining a safety score for a combination of a gap longitudinal length of the target gap and the target trajectory; If the longitudinal length of the gap is greater than a preset length threshold and the safety score is greater than a preset score threshold, determining the trajectory curvature based on the current speed of the vehicle and a comfortable lateral acceleration sensation; The vehicle trajectory is planned to be curved toward the lane to be merged into with the trajectory curvature.

9. The method according to claim 1, in, The step of determining a candidate trajectory combination associated with the candidate gap based on the current driving states of the ego vehicle and the obstacle vehicle comprises: At least one dimension of acceleration, jerk, acceleration duration, and deceleration duration is used as a motion constraint dimension; Taking the current driving states of the ego vehicle and the obstacle vehicle as the starting point of the state change, performing state update under the motion constraint dimension to obtain the state update results of the ego vehicle and the obstacle vehicle; Determine a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle based on the state update results of the ego vehicle and the obstacle vehicle; The candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle are combined to obtain a candidate trajectory combination associated with the candidate gap.

10. A vehicle merging processing device, the device include: A trajectory combination determination module, configured to determine a candidate gap for the ego vehicle from the lane to be merged into, and determine a candidate trajectory combination associated with the candidate gap based on the current driving states of the ego vehicle and the obstacle vehicle; the candidate trajectory combination includes a candidate trajectory of the ego vehicle and a candidate trajectory of the obstacle vehicle; A yield confidence determination module, used to determine the yield confidence of the candidate trajectory combination based on the acceleration and deceleration trend of the obstacle vehicle; wherein the acceleration and deceleration trend is determined according to the acceleration of the obstacle vehicle in the waiting-to-merge time period; The ego vehicle trajectory planning module is used to select a target gap from the candidate gaps according to the yield confidence of the candidate trajectory combination, and perform trajectory planning for the ego vehicle based on the candidate trajectory of the ego vehicle associated with the target gap.

11. The device according to claim 10, further comprising: include: A prior distribution determination module, used to determine the acceleration prior distribution according to the discrete probability distribution of the historical acceleration of the obstacle vehicle in the waiting-to-merge time period; A likelihood function construction module is used to construct an acceleration likelihood function according to the mean and variance of the current acceleration of the obstacle vehicle in the waiting-to-merge time period; A posterior distribution determination module, configured to adjust the acceleration prior distribution using the acceleration likelihood function to obtain an acceleration posterior distribution; The acceleration / deceleration trend determination module is used to determine the acceleration / deceleration trend of the obstacle vehicle based on the acceleration posterior distribution.

12. The device according to claim 11, in, The vehicle yielding confidence determination module includes: A candidate acceleration determination submodule, used to determine a candidate acceleration corresponding to the candidate trajectory of the obstacle vehicle in the candidate trajectory combination; A distribution probability query submodule, used to query the distribution probability corresponding to the candidate acceleration from the posterior distribution of acceleration corresponding to the acceleration and deceleration trend of the obstacle vehicle; The yield confidence determination submodule is used to determine the yield confidence of the candidate trajectory combination based on the distribution probability corresponding to the candidate acceleration.

13. The device according to claim 10, in, The vehicle trajectory planning module includes: A trajectory and gap determination submodule, configured to select a target trajectory combination from the candidate trajectory combination based on the yield confidence of the candidate trajectory combination, use the candidate trajectory of the ego vehicle in the target trajectory combination as a reference trajectory, and use the candidate gap to which the target trajectory combination belongs as a target gap; The boundary and target determination submodule is used to determine the trajectory planning boundary according to the candidate trajectories of the respective vehicles associated with the target gap, and to perform trajectory planning for the ego vehicle using the reference trajectory as the trajectory planning target.

14. The device according to claim 13, in, The trajectory and gap determination submodule comprises: a safety score determination unit, configured to determine a safety score of a candidate trajectory combination based on a collision time, a headway and a minimum lateral distance corresponding to the candidate trajectory combination; a reward and punishment tendency determination unit, configured to determine a reward and punishment tendency for the candidate trajectory combination based on the safety score; a weighted processing unit, configured to, if the reward or punishment tendency for the candidate trajectory combination is reward, perform weighted processing on the safety score of the candidate trajectory combination using the vehicle-giving confidence of the candidate trajectory combination to obtain a weighted processing result; The trajectory combination selection unit is configured to update the safety score based on the weighted processing result, and select a target trajectory combination from the candidate trajectory combinations based on the updated safety score.

15. The device according to claim 14, in, The device also includes: A consistency score determination module, configured to determine a consistency score of the candidate trajectory combination based on a cumulative number of times each candidate gap is selected as the target gap in the waiting-for-import time period; a comfort score determination module, configured to determine a comfort score of a candidate trajectory combination based on an initial jerk, a maximum acceleration, and a minimum deceleration corresponding to the candidate trajectory combination; The trajectory combination selection module is used to select a target trajectory combination from the candidate trajectory combinations based on the comfort score, the consistency score and the updated safety score.

16. The device according to claim 13, in, The boundary and target determination submodule includes: An ego vehicle trajectory cluster construction unit, for constructing an ego vehicle trajectory cluster based on candidate trajectories of respective vehicles associated with a target gap; An upper and lower constraint boundary determination unit, used to determine the upper and lower envelopes of the ego-vehicle trajectory cluster as the upper and lower constraint boundaries of the trajectory planning boundary; The trajectory planning unit is used to use the reference trajectory as a trajectory planning target and perform trajectory planning for the ego vehicle within the upper and lower constraint boundaries of the trajectory planning boundary.

17. The device according to claim 13, further comprising: include: a length and score determination module, for determining a gap longitudinal length of the target gap and a safety score of the target trajectory combination; a trajectory curvature determination module, configured to determine the trajectory curvature based on the current speed of the vehicle and a comfortable lateral acceleration sensation if the longitudinal length of the gap is greater than a preset length threshold and the safety score is greater than a preset score threshold; The trajectory adjustment module is used to plan the trajectory of the vehicle to bend toward the lane to be merged into with the trajectory curvature.

18. The device according to claim 10, in, The trajectory combination determination module includes: A constraint dimension determination submodule, used to use at least one dimension of acceleration, jerkiness, acceleration duration and deceleration duration as a motion constraint dimension; A state update submodule, used to take the current driving states of the ego vehicle and the obstacle vehicle as the starting point of the state change, and perform state update under the motion constraint dimension to obtain the state update results of the ego vehicle and the obstacle vehicle; A candidate trajectory determination submodule, used to determine the candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle based on the status update results of the ego vehicle and the obstacle vehicle; The candidate trajectory combination submodule is used to combine the candidate trajectory of the ego vehicle and the candidate trajectory of the obstacle vehicle to obtain a candidate trajectory combination associated with the candidate gap.

19. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the vehicle merging processing method according to any one of claims 1 to 9.

20. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to enable a computer to execute the vehicle merging processing method according to any one of claims 1-9.

21. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the vehicle merging processing method according to any one of claims 1 to 9.

22. An autonomous driving vehicle comprising the electronic device as claimed in claim 19.

Citation Information

Cited By

  • Vehicle collision early warning method and device for intersection lane and vehicle terminal

    CN119274299A

  • Automatic driving vehicle lane merging method based on candidate gap lane merging potential function

    CN122607330A