Predictive trajectory correction method and apparatus, electronic device, and storage medium

By obtaining the lane boundary constraint position, detecting the trajectory points to be corrected, and then correcting them, the problem of inaccurate vehicle trajectory prediction is solved, thereby improving the accuracy of trajectory prediction and driving safety.

CN115743173BActive Publication Date: 2026-11-24BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211436798.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-16
Publication Date
2026-11-24
Estimated Expiration
2042-11-16

AI Technical Summary

Technical Problem

In existing technologies, vehicle trajectory prediction is not accurate enough, resulting in a high risk of collisions between cars and other vehicles.

Method used

By obtaining the lane boundary constraint position of the predicted trajectory, detecting the correction amount of the trajectory point to be corrected, and correcting the predicted trajectory, the trajectory correction is achieved using the trajectory prediction module, lane detection module, and correction detection module.

Benefits of technology

It improves the accuracy of trajectory prediction, reduces the risk of collisions between cars and other vehicles, and enhances mobility safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115743173B_ABST
    Figure CN115743173B_ABST
Patent Text Reader

Abstract

This disclosure provides a method, apparatus, electronic device, and storage medium for predictive trajectory correction, relating to the field of artificial intelligence, specifically autonomous driving and intelligent transportation. The specific implementation involves: acquiring a predicted trajectory of a moving object, the predicted trajectory including trajectory points at multiple prediction times; acquiring the lanes distributed along the predicted trajectory and detecting the boundary constraint positions of the distributed lanes; detecting the correction amount of trajectory points to be corrected in the predicted trajectory based on the boundary constraint positions; filtering the trajectory points to be corrected to obtain target trajectory points; and correcting the predicted trajectory based on the correction amount of the target trajectory points. Embodiments of this disclosure can improve the accuracy of predicted trajectory correction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of artificial intelligence, specifically to the fields of autonomous driving and intelligent transportation, and specifically to a method, apparatus, electronic device, and storage medium for predictive trajectory correction. Background Technology

[0002] Accurate trajectory prediction is crucial for safe driving.

[0003] Predicting the motion trajectories of vehicles around a car is an important component of the vehicle decision-making and planning system. Accurate trajectory prediction can reduce the risk of collisions between the car and other vehicles. Summary of the Invention

[0004] This disclosure provides a method, apparatus, electronic device, and storage medium for predicting trajectory correction.

[0005] According to one aspect of this disclosure, a method for predicting trajectory correction is provided, comprising:

[0006] Obtain the predicted trajectory of the moving object, wherein the predicted trajectory includes trajectory points at multiple predicted times;

[0007] Obtain the lanes of the predicted trajectory distribution and detect the boundary constraint positions of the lanes in the distribution;

[0008] Based on the boundary constraint position, the correction amount of the trajectory point to be corrected in the predicted trajectory is detected;

[0009] The predicted trajectory is corrected based on the correction amount of the trajectory point to be corrected.

[0010] According to one aspect of this disclosure, a trajectory correction device is provided, comprising:

[0011] The trajectory prediction module is used to obtain the predicted trajectory of a moving object, wherein the predicted trajectory includes trajectory points at multiple prediction times;

[0012] The lane detection module is used to acquire the lanes of the predicted trajectory distribution and detect the boundary constraint positions of the lanes in the distribution.

[0013] The correction detection module is used to detect the correction amount of the trajectory points to be corrected in the predicted trajectory based on the boundary constraint positions.

[0014] The trajectory correction module is used to correct the predicted trajectory based on the correction amount of the trajectory point to be corrected.

[0015] According to another aspect of this disclosure, an electronic device is provided, comprising:

[0016] At least one processor; and

[0017] A memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores instructions that can be executed by the at least one processor, which, when executed, enable the at least one processor to perform the predicted trajectory correction method according to any embodiment of this disclosure.

[0019] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause the computer to perform the predicted trajectory correction method according to any embodiment of this disclosure.

[0020] According to another aspect of this disclosure, a computer program object is provided, including a computer program that, when executed by a processor, implements the predicted trajectory correction method according to any embodiment of this disclosure.

[0021] The embodiments disclosed herein can improve the accuracy of predicted trajectory correction.

[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0023] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:

[0024] Figure 1 This is a flowchart of a predicted trajectory correction method disclosed in an embodiment of the present disclosure;

[0025] Figure 2 This is a flowchart of another predicted trajectory correction method disclosed in an embodiment of this disclosure;

[0026] Figure 3 This is a flowchart of another predicted trajectory correction method disclosed in an embodiment of this disclosure;

[0027] Figure 4 This is a scene diagram of another predicted trajectory correction method disclosed in the embodiments of this disclosure;

[0028] Figure 5 This is a structural diagram of a predicted trajectory correction device disclosed in an embodiment of the present disclosure;

[0029] Figure 6 This is a block diagram of an electronic device used to implement the predicted trajectory correction method of the embodiments of this disclosure. Detailed Implementation

[0030] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0031] Figure 1 This is a flowchart of a predicted trajectory correction method disclosed in an embodiment of this disclosure. This embodiment can be applied to the correction of the predicted motion trajectory of a moving object within a region. The method of this embodiment can be executed by a predicted trajectory correction device, which can be implemented in software and / or hardware and specifically configured in an electronic device with a certain data processing capability. The electronic device can be a client device or a server device, such as a mobile phone, tablet computer, vehicle terminal, and desktop computer.

[0032] S101, Obtain the predicted trajectory of the moving object, wherein the predicted trajectory includes trajectory points at multiple predicted times.

[0033] A moving object refers to an object in motion within the current area. The current area can be the area where the target vehicle is located, and the moving object can be an object that the vehicle can perceive, or an object that may affect the vehicle's movement. Moving objects can be vehicles, pedestrians, animals, or objects that are being propelled. An electronic device is an electronic device capable of acquiring data about the current vehicle and data about the moving object. For example, the electronic device can be the vehicle's onboard terminal, a roadside device within the current area, or a cloud control platform.

[0034] A predicted trajectory refers to the trajectory of a moving object predicted from the current moment over a future period. The prediction time is a future moment after the current moment. Within a certain area, authorized and legally accessible sensing data from sensing devices can be obtained. These sensing devices may include roadside cooperative devices, vehicle-mounted devices within the area, and mobile devices carried by pedestrians. The sensing data may include navigation information, historical trajectories, and movement status data of moving objects within the area. Based on the sensing data and map data obtained from a map server, the predicted trajectory of the moving object is obtained. The predicted trajectory can be obtained based on a pre-trained machine learning model and the sensing data; alternatively, other methods can also be used, without specific limitations. Multiple moving objects may exist within the area, and the predicted trajectory for each moving object is obtained independently. The embodiments of this disclosure typically involve modifying the predicted trajectory of a specific moving object.

[0035] S102, obtain the lanes of the predicted trajectory distribution, and detect the boundary constraint positions of the lanes of the distribution.

[0036] The lanes in the predicted trajectory distribution refer to the lanes through which the predicted trajectory passes. There must be at least one lane in the distribution. It can be understood that the moving object can be switching lanes, thus there can be multiple lanes in the predicted trajectory distribution. The boundary constraint location can refer to the location of the boundary that restricts the passage of a lane. For example, if there is a flower bed between two lanes in different directions, the location of the flower bed is the boundary constraint location of those two lanes. The boundary constraint location can be obtained through map data, determined by sensing devices, or determined through a large amount of authorized data on the movement range of moving objects. Determining it through sensing devices can involve using sensing devices to identify boundaries or obstacles in images of the road to determine the boundary constraint location.

[0037] S103, based on the boundary constraint position, detect the correction amount of the trajectory point to be corrected in the predicted trajectory.

[0038] Boundary constraint positions are used to determine the movable range of a moving object. Incorrect trajectory points can appear in the predicted trajectory, causing the entire predicted trajectory to exceed the movable range, resulting in an incorrect predicted trajectory. The distribution range of the predicted trajectory can be determined based on the boundary constraint positions. Trajectory points outside this distribution range are then identified as trajectory points to be corrected. The adjustment amount by which these trajectory points are brought within the distribution range is determined as the correction amount for those trajectory points. Typically, in a vehicle-moving scenario, the moving object is the vehicle, and the correction amount is the lateral offset.

[0039] S104, the predicted trajectory is corrected according to the correction amount of the trajectory point to be corrected.

[0040] Correction parameters can be used to adjust the positions of corresponding trajectory points, and the adjusted predicted trajectory can be designated as the corrected predicted trajectory. The corrected predicted trajectory can be used for route planning, obstacle avoidance route planning, and timely early warning.

[0041] In this embodiment of the disclosure, in autonomous driving applications, moving objects within the area where the autonomous vehicle is currently located can be acquired, and the predicted trajectories of these moving objects can be corrected, enabling the autonomous vehicle to plan its next route based on the corrected predicted trajectories. Alternatively, in assisted driving applications, moving objects within the area where the vehicle is currently located can be acquired, and the predicted trajectories of these moving objects can be corrected, enabling the vehicle to provide further driving suggestions based on the corrected predicted trajectories.

[0042] Optionally, the moving objects may include at least one of the following: pedestrians and vehicles. Specifically, pedestrians and / or vehicles within the area currently occupied by the vehicle, wherein the vehicles may be driver-controlled vehicles or autonomous vehicles. The area currently occupied by the vehicle may be an area with a preset length centered on the vehicle, for example, the length may be 300 meters, and the specific length can be set as needed. The area may be an intersection area or a non-intersection area.

[0043] By setting the moving objects as pedestrians and vehicles, the trajectory of objects affecting the current vehicle movement can be accurately predicted, thereby providing timely warnings and changing the movement route to avoid collision events and improve movement safety.

[0044] According to the technical solution of this disclosure, a predicted trajectory is obtained, and the boundary constraint positions of the lanes on which the predicted trajectory is distributed are detected. Based on the boundary constraint positions, it is detected whether there are trajectory points to be corrected in the predicted trajectory, as well as the corresponding correction amount. The trajectory points to be corrected are then corrected to achieve predicted trajectory correction, which can improve the accuracy of trajectory prediction and thus improve mobility safety.

[0045] Figure 2 This is a flowchart of another predicted trajectory correction method disclosed in this disclosure, which is further optimized and extended based on the above technical solution and can be combined with the above optional implementation methods. The step of correcting the predicted trajectory based on the correction amount of the trajectory point to be corrected is specifically defined as follows: based on the state of the moving object and the trajectory point to be corrected, the trajectory point to be corrected is filtered to obtain a target trajectory point; the predicted trajectory is corrected based on the correction amount of the target trajectory point.

[0046] S201, Obtain the predicted trajectory of the moving object, wherein the predicted trajectory includes trajectory points at multiple predicted times.

[0047] S202, obtain the lanes of the predicted trajectory distribution, and detect the boundary constraint positions of the lanes of the distribution.

[0048] S203, based on the boundary constraint position, detect the correction amount of the trajectory point to be corrected in the predicted trajectory.

[0049] S204, based on the state of the moving object and the trajectory point to be corrected, the trajectory point to be corrected is filtered to obtain the target trajectory point.

[0050] In reality, there may be errors in the distribution of lanes and boundary constraints, or the movement of the moving object may be non-compliant. In such cases, the previously obtained trajectory points to be corrected may contain errors. These trajectory points can be filtered to obtain target trajectory points. The trajectory points to be corrected can be understood as candidate trajectory points to be corrected, while the target trajectory points can be understood as the trajectory points that actually need correction. The previously calculated correction amount is used to correct the corresponding target trajectory points, thereby correcting the predicted trajectory.

[0051] The state of a moving object can include descriptions of its position, intended direction of movement, and motion information. The target trajectory point can be obtained by filtering the trajectory points to be corrected based on the object's state, the relative position between the point to be corrected and the predicted trajectory, and the influence of the corrected trajectory point on the predicted trajectory. For example, if the moving object's trajectory point to be corrected is located at a boundary constraint position, it indicates that the boundary constraint position is incorrect; in this case, it is unnecessary to correct the trajectory point.

[0052] Optionally, the step of filtering the trajectory point to be corrected based on the state of the moving object and the trajectory point to be corrected includes at least one of the following: detecting whether the lanes where the trajectory point to be corrected is distributed are consistent with the lanes where the predicted trajectory is distributed; detecting whether the initial position of the moving object overlaps with the boundary constraint position; detecting whether the moving object is in a non-standard movement behavior, including lane switching or reverse movement behavior; detecting whether the intended movement direction of the moving object is consistent with the correction direction of the trajectory point to be corrected; detecting whether the target trajectory point obtained after correction of the trajectory point to be corrected is a bulge point; and detecting whether the distance between the position of the trajectory point to be corrected and the initial position of the moving object is less than or equal to a preset distance threshold.

[0053] The lanes in the predicted trajectory distribution are determined based on the lanes where each trajectory point in the predicted trajectory is located. The predicted trajectory is formed by connecting trajectory points at multiple prediction times, and the lanes in the predicted trajectory distribution are actually the lanes where the trajectory points at multiple prediction times are located, arranged in order of prediction times to form a lane sequence. Detecting whether the lanes in the distribution of the trajectory point to be corrected are consistent with the lanes in the predicted trajectory distribution is used to determine whether the boundary constraints of the lanes in the predicted trajectory distribution constrain the trajectory point to be corrected. If the lanes in the distribution of the trajectory point to be corrected are consistent with the lanes in the predicted trajectory distribution, it means that the lane where the trajectory point to be corrected is located belongs to the lanes in the predicted trajectory distribution, meaning the boundary constraints can be used to correct the trajectory point to be corrected. If the lanes in the distribution of the trajectory point to be corrected are inconsistent with the lanes in the predicted trajectory distribution, it means that the lanes where the trajectory point to be corrected are both different from the lanes in the predicted trajectory distribution, meaning the boundary constraints do not need to correct the trajectory point to be corrected, and therefore the trajectory point to be corrected does not need to be corrected. On the one hand, since there may be trajectory points in the predicted trajectory that deviate from the trajectory's movement trend, the detection of lanes in the predicted trajectory distribution will correct unreasonable lanes in the lane sequence. At this point, the lanes in the lane sequence do not correspond one-to-one with the lanes distributed in the trajectory points at the corresponding predicted time. The boundary constraint positions are actually determined based on the lanes distributed in the predicted trajectory, and have no constraint on trajectory points not distributed in the lane sequence. On the other hand, since the trajectory points are located outside the lane boundaries, the boundary constraint positions are not strong constraints prohibiting crossing, but rather weak constraints allowing crossing. Therefore, these boundary constraint positions are actually reachable, and consequently, they do not need to constrain the trajectory points, thus requiring no correction. Strong constraints can be flower beds or guardrails, while weak constraints can be restriction lines or isolation lines; for example, a weak constraint is a double yellow line. In reality, lane boundaries are obtained through map data. Since the lane boundaries marked on the map may not be impassable boundaries like guardrails, but rather traversable boundaries like double yellow lines, there may be situations where moving objects do not strictly adhere to traffic rules or travel outside the lane constraints for a short period. In such cases, the predicted trajectory crossing the line is reasonable and does not require correction.

[0054] Detecting whether the initial position of a moving object overlaps with the boundary constraint position is used to determine whether the moving object has reached the boundary constraint position. The initial position can refer to the current position of the moving object. If the initial position of the moving object overlaps with the boundary constraint position, it means the boundary constraint position is a weak constraint, and the boundary constraint position does not need to correct the trajectory point to be corrected. If the initial position of the moving object does not overlap with the boundary constraint position, the boundary constraint position can be used to correct the trajectory point to be corrected.

[0055] Standard movement behavior is compliant and involves moving along the same lane. Detecting whether a moving object is in non-standard movement behavior is used to determine whether the object's movement is compliant, thereby determining whether the boundary constraint location can constrain the object. Non-standard movement behavior includes lane-changing movement behavior or reversing movement behavior. Lane-changing movement behavior can be the object moving from one lane to another. Reversing movement behavior can be the object's movement direction being opposite to the lane direction. When a moving object is in non-standard movement behavior, crossing the boundary is a legitimate action, and the corresponding boundary constraint location does not need to constrain the object, nor does it need to correct the trajectory point to be corrected. Conversely, when a moving object is in standard movement behavior, crossing the boundary is illegitimate, and the corresponding boundary constraint location needs to constrain the object, requiring correction of the trajectory point to be corrected.

[0056] The intended direction of movement can be the future direction of movement of the object. Detecting whether the intended direction of movement of the object is consistent with the correction direction of the trajectory point to be corrected is used to detect whether the object intends to cross the boundary. If the intended direction of movement of the object is consistent with the correction direction of the trajectory point to be corrected, it indicates that the object intends to avoid or move away from the boundary, and the corresponding boundary constraint position needs to constrain the object, requiring correction of the trajectory point to be corrected. If the intended direction of movement of the object is inconsistent with the correction direction of the trajectory point to be corrected, it indicates that the object intends to cross or move closer to the boundary, and the corresponding boundary constraint position does not need to constrain the object, requiring no correction of the trajectory point to be corrected. It can be understood that if the correction amount of the trajectory point is large, the object is in a state of intending to switch lanes; if the correction amount is small, the object fluctuates in its original direction of movement. In this case, the correction amount can be used to pre-determine whether the boundary constraint position has a constraining effect. Optionally, it can be detected in advance whether the correction amount of the trajectory point to be corrected is greater than or equal to a preset correction amount threshold. If it is greater than or equal to the correction amount threshold, it can be detected whether the intended movement direction of the moving object is consistent with the correction direction of the trajectory point to be corrected. If it is less than the correction amount threshold, the trajectory point to be corrected is corrected by boundary constraint position.

[0057] Optionally, the intended direction of movement can be determined by the angle between the direction of movement of the moving object at its initial position and the direction of the lane in which the initial position is located. For example, if the moving object is a vehicle, the direction of the angle between the vehicle's body direction at its initial position and the center line of the lane in which it is located is determined as the vehicle's intended direction of movement. For example, if the vehicle's body is offset 10 degrees to the left relative to the lane center line, then the intended direction of movement is horizontally to the left. The correction direction refers to the direction of the offset by the correction amount. For example, if the correction amount is an offset of 1 meter to the left, the correction direction is horizontally to the left.

[0058] A "bulge point" refers to a trajectory point where excessive lateral offset within a short longitudinal distance leads to an unreasonable predicted trajectory or a lateral deviation into other lanes. Specifically, the lateral and longitudinal distances between the corrected trajectory point and adjacent trajectory points at the prediction time can be obtained. The ratio of this lateral to longitudinal distance is calculated to determine if the trajectory point is a bulge point; if so, it is checked whether the ratio is greater than or equal to a threshold. The correction of the trajectory point to be corrected is then used to determine if the target trajectory point is a bulge point, thus assessing the reasonableness of the correction amount. The correction amount can be reduced until the trajectory point to be corrected is different from the bulge point, at which point the trajectory point to be corrected is identified as the target trajectory point. Alternatively, no correction may be applied to bulge points.

[0059] The system detects whether the distance between the position of the trajectory point to be corrected and the initial position of the moving object is less than or equal to a preset distance threshold. This is used to detect whether the moving object and the trajectory point to be corrected are too close. Generally, if the trajectory point to be corrected is too close to the initial position of the detected object, it indicates that the prediction accuracy of the trajectory point to be corrected is high, and the moving object is unlikely to change its motion state at the initial position in a short time. Therefore, the correction of the trajectory point to be corrected is unreasonable and does not need to be corrected. If the distance between the position of the trajectory point to be corrected and the initial position of the moving object is less than or equal to the preset distance threshold, the trajectory point to be corrected is not corrected; if the distance is greater than the preset distance threshold, the trajectory point to be corrected is corrected. Optionally, the initial velocity of the moving object can be pre-determined, i.e., whether the initial velocity at the initial position is greater than or equal to a preset velocity threshold. Typically, when the moving object is moving at a high speed, it is difficult for the moving object to change its motion state at the initial position in a short time. The system detects whether the initial velocity of the moving object is greater than or equal to the preset velocity threshold. If it is, it checks whether the distance between the position of the trajectory point to be corrected and the initial position of the moving object is less than or equal to the preset distance threshold; if it is less, the trajectory point to be corrected is corrected.

[0060] It should be noted that multiple detection items are involved above. When all existing detection items determine that the trajectory point to be corrected needs to be corrected, the trajectory point to be corrected is determined to be corrected and is identified as the target trajectory point. When any one of the existing detection items determines that the trajectory point to be corrected does not need to be corrected, the trajectory point to be corrected is determined not to be the target trajectory point.

[0061] By filtering the trajectory points to be corrected through multiple methods, we can detect whether the trajectory points need to be corrected and the accurate amount of correction based on the actual motion state of the moving object and the rationality of the trajectory point correction, thereby improving the accuracy of trajectory point correction and thus improving the accuracy of trajectory prediction.

[0062] S205, the predicted trajectory is corrected according to the correction amount of the target trajectory point.

[0063] According to the technical solution of this disclosure, by detecting whether the trajectory point to be corrected needs to be corrected based on the state and position of the moving object, the target trajectory point that truly needs to be corrected is selected, and the correction is performed according to the corresponding correction amount, thereby correcting the predicted trajectory, reducing correction errors, and further improving the accuracy of trajectory prediction.

[0064] Figure 3 This is a flowchart of another predicted trajectory correction method disclosed in this disclosure, which is further optimized and extended based on the above technical solution and can be combined with the above optional implementation methods. The step of detecting the correction amount of the trajectory point to be corrected in the predicted trajectory based on the boundary constraint position is specifically implemented as follows: obtaining the passage width of the moving object; determining the passage area of ​​the moving object based on the passage width of the moving object and the boundary constraint position; determining the trajectory point to be corrected in the predicted trajectory and the correction amount of the trajectory point to be corrected based on the passage area of ​​the moving object and the position of the trajectory points included in the predicted trajectory.

[0065] S301, Obtain the predicted trajectory of the moving object, wherein the predicted trajectory includes trajectory points at multiple predicted times.

[0066] S302, obtain the lanes of the predicted trajectory distribution, and detect the boundary constraint positions of the lanes of the distribution.

[0067] S303, obtain the passage width of the moving object.

[0068] Passage width refers to the width through which a moving object can pass. It is usually the maximum width of the moving object. For example, if the moving object is a vehicle, the passage width can be the width of the vehicle body or the width between the outer edges of the left and right rearview mirrors.

[0069] S304, determine the passage area of ​​the moving object based on the passage width of the moving object and the boundary constraint position.

[0070] Boundary constraint locations are used to determine the constrained area of ​​a moving object. Since the moving object occupies a certain spatial volume, the passage area within the constrained area is determined based on the passage width. In reality, the outline boundary of the moving object cannot coincide with the boundary constraint location; a certain safety distance must be maintained to avoid collisions between the moving object and obstacles at the boundary constraint location. Therefore, the passage area of ​​the moving object is determined based on the moving object's passage width, safety distance, and boundary constraint location.

[0071] For example, if there is a guardrail on the left side of the lane where the moving object is located, the position of the guardrail is determined as the boundary constraint position. The area where the left boundary of the moving object is greater than the boundary constraint position is detected and determined as the passage area.

[0072] S305, based on the passage area of ​​the moving object and the position of the trajectory points included in the predicted trajectory, determine the trajectory points to be corrected in the predicted trajectory, and the correction amount of the trajectory points to be corrected.

[0073] Trajectory points located outside the traffic area in the predicted trajectory are identified as trajectory points to be corrected, and the lateral distance between these points and the traffic area is defined as the correction amount. The trajectory points in the predicted trajectory are the center points of the moving object, and the corrected trajectory points are located within the traffic area. Typically, the lateral distance between the trajectory point to be corrected and the traffic area (the direction perpendicular to the lane direction is considered lateral) is used as the correction amount for the trajectory point to be corrected; the corrected trajectory point then lies within the traffic area.

[0074] As in the previous example, the corrected position of the trajectory point is offset to the left by half of the passage width, and the distance between the corrected position and the boundary constraint position is greater than or equal to the safety distance.

[0075] S306, the predicted trajectory is corrected according to the correction amount of the trajectory point to be corrected.

[0076] In a specific example, such as Figure 4 As shown, the solid line represents the predicted trajectory of the moving object before correction. The predicted trajectory includes trajectory points A, B, and C, with point C being the trajectory point to be corrected. After correction, the dashed line represents the predicted trajectory of the moving object after correction, with point C becoming point D. The predicted trajectory is then corrected to the trajectory formed by connecting points A, B, and D.

[0077] Furthermore, if the corrected trajectory points cause the corrected predicted trajectory to not satisfy the preceding multiple conditions, the positions of the predicted trajectory points will be corrected again until the corrected predicted trajectory satisfies the preceding multiple conditions.

[0078] Optionally, obtaining the lanes of the predicted trajectory distribution includes: obtaining the lanes of the trajectory point distribution at each prediction time in the predicted trajectory; correcting the lanes of the trajectory point distribution at each prediction time according to the relative positions between lanes at adjacent prediction times in the lanes at each prediction time to obtain a lane sequence; and determining the lane sequence as the lanes of the predicted trajectory distribution.

[0079] The lanes in the trajectory point distribution are the lanes where the trajectory points are located. The relative positions between lanes are used to describe whether lanes are adjacent, typically detecting whether lanes are adjacent at adjacent prediction times. In reality, because the motion behavior of the moving object is continuous at consecutive prediction times, the corresponding lanes at adjacent prediction times are the same or adjacent, and the lanes at adjacent prediction times change continuously without abrupt changes. In lanes sorted by prediction time, lane changes at adjacent prediction times are continuous. It can be understood that when the moving object is not changing lanes, it usually maintains movement in the same lane, and when changing lanes, it usually switches to the next adjacent lane and maintains movement in that next lane for a long time, or continues to switch to an adjacent lane other than the original lane, etc., and the lane switching does not jump, that is, it does not switch to a non-adjacent lane. Therefore, based on the motion characteristics of the moving object, the lanes at each prediction time are corrected.

[0080] For example, if a lane differs from the lanes at the second and / or third prediction times out of five consecutive prediction times, then the lanes at the five consecutive prediction times are determined to be discontinuous. Accordingly, these five consecutive prediction times will be corrected to continuously changing lanes, for example, corrected to have the same lanes at all five consecutive prediction times.

[0081] Optionally, based on the relative positions of lanes at adjacent prediction times, the lane distribution of trajectory points at each prediction time can be corrected. This can be achieved by sorting lanes according to the temporal order of prediction times, detecting whether lanes at adjacent prediction times are the same or adjacent, and adjusting lanes that are neither the same nor adjacent to lanes at adjacent prediction times to be the same or adjacent to lanes at adjacent prediction times; and detecting whether lanes at adjacent times change continuously in the same direction, and adjusting lanes that change discontinuously to lanes that change continuously in the same direction. Continuous change in the same direction can mean continuously changing lanes in one direction, or continuing to move along the same lane after changing lanes.

[0082] The corrected lane sequence is used to determine the lanes in the predicted trajectory distribution. Each lane in the lane sequence corresponds one-to-one with a point on the predicted trajectory, and the corresponding prediction times are the same.

[0083] By correcting the lanes in the predicted trajectory distribution, the accuracy of lane detection is improved to avoid the reduction caused by unreasonable trajectory points. This improves the accuracy of lane detection in the predicted trajectory distribution, thereby accurately determining the boundary constraint position based on the lane sequence and improving the accuracy of trajectory prediction.

[0084] Optionally, obtaining the boundary constraint position of the predicted lane in the lane sequence includes: obtaining map data of the current area; and detecting the boundary constraint position of the impassable boundary of the predicted lane in the lane sequence in the map data of the current area.

[0085] The current area refers to the area where the vehicle is currently located. It is typically a defined area centered on the current vehicle. Map data can be obtained from a map server based on the electronic device's positioning data. Maps usually mark boundaries and their locations; impassable boundaries include strongly constrained and / or weakly constrained boundaries. The location of a boundary is determined as its boundary constraint location. The location of a boundary adjacent to a lane is determined as the boundary constraint location for that lane. If multiple lanes exist in the same direction, and a boundary is adjacent to only one lane, then it is determined that the remaining lanes do not have that boundary. In practice, the lane sequence includes multiple predicted lanes. The boundary constraint locations forming the minimum range can be determined based on the locations of the boundaries of each predicted lane. Alternatively, the boundary constraint locations forming the minimum range can be determined by selecting only the locations of the boundaries of some predicted lanes in the lane sequence. For example, some predicted lanes may include lanes at the beginning of the prediction time, lanes at the end of the prediction time, and lanes in between the prediction times.

[0086] By obtaining the boundary constraint locations from map data, the predicted trajectory can be corrected based on prior map data, further improving the accuracy of the prediction.

[0087] According to the technical solution of this disclosure, the passage area of ​​the moving object is determined based on the passage width and boundary constraint position of the moving object, and the trajectory points to be corrected and the correction amount in the predicted trajectory are screened out based on the passage area, so as to correct the trajectory points to the passageable range and improve the prediction accuracy of the predicted trajectory.

[0088] According to embodiments of this disclosure, Figure 5 This is a structural diagram of the predicted trajectory correction device according to an embodiment of this disclosure. This embodiment is applicable to situations where the predicted motion trajectory of a moving object within a region is corrected. The device is implemented using software and / or hardware and is specifically configured in an electronic device with a certain data processing capability.

[0089] like Figure 5 The predicted trajectory correction device 500 shown includes: a trajectory prediction module 501, a lane detection module 502, a correction detection module 503, and a trajectory correction module 504; wherein,

[0090] The trajectory prediction module 501 is used to acquire the predicted trajectory of a moving object, wherein the predicted trajectory includes trajectory points at multiple prediction times.

[0091] Lane detection module 502 is used to acquire the lanes of the predicted trajectory distribution and detect the boundary constraint positions of the distributed lanes;

[0092] The correction detection module 503 is used to detect the correction amount of the trajectory points to be corrected in the predicted trajectory based on the boundary constraint position.

[0093] The trajectory correction module 504 is used to correct the predicted trajectory according to the correction amount of the trajectory point to be corrected.

[0094] According to the technical solution of this disclosure, a predicted trajectory is obtained, and the boundary constraint positions of the lanes on which the predicted trajectory is distributed are detected. Based on the boundary constraint positions, it is detected whether there are trajectory points to be corrected in the predicted trajectory, as well as the corresponding correction amount. The trajectory points to be corrected are then corrected to achieve predicted trajectory correction, which can improve the accuracy of trajectory prediction and thus improve mobility safety.

[0095] Furthermore, the trajectory correction module 504 includes: a trajectory point filtering unit, used to filter the trajectory points to be corrected according to the state of the moving object and the trajectory points to be corrected, to obtain target trajectory points; and a trajectory point correction unit, used to correct the predicted trajectory according to the correction amount of the target trajectory points.

[0096] Furthermore, the trajectory point filtering unit is specifically used for at least one of the following: detecting whether the lanes of the trajectory point distribution to be corrected are consistent with the lanes of the predicted trajectory distribution; detecting whether the initial position of the moving object overlaps with the boundary constraint position; detecting whether the moving object is in a non-standard movement behavior, the non-standard movement behavior including lane switching movement behavior or reverse movement behavior; detecting whether the intended movement direction of the moving object is consistent with the correction direction of the trajectory point to be corrected; detecting whether the target trajectory point obtained after correction of the trajectory point to be corrected is a bulge point; and detecting whether the distance between the position of the trajectory point to be corrected and the initial position of the moving object is less than or equal to a preset distance threshold.

[0097] Furthermore, the correction detection module 503 includes: a text splicing unit for obtaining the passage width of the moving object; a passage area detection unit for determining the passage area of ​​the moving object based on the passage width of the moving object and the boundary constraint position; and a correction amount detection unit for determining the trajectory point to be corrected in the predicted trajectory and the correction amount of the trajectory point to be corrected based on the passage area of ​​the moving object and the position of the trajectory points included in the predicted trajectory.

[0098] Furthermore, the lane detection module 502 includes: a trajectory point distribution detection unit, used to acquire the lanes of the trajectory point distribution at each prediction time in the predicted trajectory; a lane distribution optimization unit, used to correct the lanes of the trajectory point distribution at each prediction time according to the relative positions between lanes at adjacent prediction times in the lanes at each prediction time, to obtain a lane sequence; and a lane determination unit, used to determine the lane sequence as the lanes of the predicted trajectory distribution.

[0099] Furthermore, the lane detection module 502 includes: a map acquisition unit for acquiring map data of the current area; and a boundary detection unit for detecting the boundary constraint position of the impassable boundary of the predicted lane in the lane sequence in the map data of the current area.

[0100] Furthermore, the moving object includes at least one of the following: pedestrians and vehicles, etc.

[0101] The above-described trajectory correction device can execute the trajectory correction method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the trajectory correction method.

[0102] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0103] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program object.

[0104] Figure 6 A schematic area diagram of an example electronic device 600 that can be used to implement embodiments 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 may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0105] The electronic device provided in any embodiment of this application can be applied to an intelligent transportation system or to a platform that provides services for an intelligent transportation system.

[0106] Optionally, roadside equipment may include not only electronic devices but also communication components. The electronic devices and communication components can be integrated or separately installed. The electronic devices can acquire data from sensing devices (such as roadside cameras), including images and videos, for image and video processing and data computation. Alternatively, the electronic devices themselves may also possess sensing data acquisition and communication capabilities; for example, they may be artificial intelligence (AI) cameras, allowing the electronic devices to directly perform image and video processing and data computation based on the acquired sensing data.

[0107] Among them, the Road Side Unit (RSU) is the core of the intelligent road system. It plays a role in connecting roadside facilities and transmitting road information to vehicle terminals and the cloud. It can realize background communication functions, information broadcasting functions, and high-precision positioning ground-based augmentation functions.

[0108] By configuring the electronic equipment provided in any embodiment of this application in the roadside equipment, the roadside equipment can accurately sense moving objects, improve the prediction accuracy of moving objects, and then correct the trajectory points to be corrected, thereby realizing trajectory correction and improving the accuracy of trajectory prediction, thus improving mobility safety.

[0109] Optionally, the cloud control platform performs processing in the cloud. The electronic devices included in the cloud control platform can acquire data from sensing devices (such as roadside cameras), such as images and videos, and then perform image and video processing and data calculation. The cloud control platform can also be called a vehicle-road cooperative management platform, edge computing platform, cloud computing platform, central system, or cloud server, etc.

[0110] By configuring the electronic device provided in any embodiment of this application in the cloud control platform, the cloud control platform can correct the trajectory points to be corrected, thereby improving the accuracy of trajectory prediction and thus enhancing mobile safety.

[0111] like Figure 6 As shown, device 600 includes a computing unit 601, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 602 or a computer program loaded from storage unit 608 into random access memory (RAM) 603. RAM 603 may also store various programs and data required for the operation of device 600. The computing unit 601, ROM 602, and RAM 603 are interconnected via bus 604. Input / output (I / O) interface 605 is also connected to bus 604.

[0112] Multiple components in device 600 are connected to I / O interface 605, including: input unit 606, such as keyboard, mouse, etc.; output unit 607, such as various types of monitors, speakers, etc.; storage unit 608, such as disk, optical disk, etc.; and communication unit 609, such as network card, modem, wireless transceiver, etc. Communication unit 609 allows device 600 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0113] The computing unit 601 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as the predictive trajectory correction method. For example, in some embodiments, the predictive trajectory correction method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the predictive trajectory correction method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the predictive trajectory correction method by any other suitable means (e.g., by means of firmware).

[0114] Various embodiments 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 objects (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0115] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or area diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

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

[0117] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, 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 sound input, voice input, or tactile input).

[0118] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.

[0119] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.

[0120] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0121] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A method for correcting a predicted trajectory, comprising: Obtain the predicted trajectory of the moving object, wherein the predicted trajectory includes trajectory points at multiple predicted times; Obtain the lanes of the predicted trajectory distribution and detect the boundary constraint positions of the lanes in the distribution; Based on the boundary constraint position, the correction amount of the trajectory point to be corrected in the predicted trajectory is detected; The predicted trajectory is corrected based on the correction amount of the trajectory points to be corrected; The process of obtaining the lanes for the predicted trajectory distribution includes: Obtain the lane distribution of trajectory points at each prediction time in the predicted trajectory; Based on the relative positions between lanes at adjacent prediction times in the lanes at each prediction time, the lanes of the trajectory point distribution at each prediction time are corrected to obtain the lane sequence; The lane sequence is determined as the lane of the predicted trajectory distribution.

2. The method according to claim 1, wherein, The step of correcting the predicted trajectory based on the correction amount of the trajectory point to be corrected includes: Based on the state of the moving object and the trajectory points to be corrected, the trajectory points to be corrected are filtered to obtain the target trajectory points; The predicted trajectory is corrected based on the correction amount of the target trajectory point.

3. The method according to claim 2, wherein, The step of filtering the trajectory points to be corrected based on the state of the moving object and the trajectory points to be corrected includes at least one of the following: Detect whether the lanes of the trajectory points to be corrected are consistent with the lanes of the predicted trajectory distribution; Detect whether the initial position of the moving object overlaps with the boundary constraint position; Detect whether the moving object is in a non-standard movement behavior, including lane changing or driving in the wrong direction. Detect whether the intended direction of motion of the moving object is consistent with the correction direction of the trajectory point to be corrected; Detect whether the target trajectory point obtained after correction of the trajectory point to be corrected is a bulge point; as well as Detect whether the distance between the position of the trajectory point to be corrected and the initial position of the moving object is less than or equal to a preset distance threshold.

4. The method according to claim 1, wherein, The step of detecting the correction amount of the trajectory point to be corrected in the predicted trajectory based on the boundary constraint position includes: Obtain the passage width of the moving object; The passage area of ​​the moving object is determined based on the passage width of the moving object and the boundary constraint position; Based on the travel area of ​​the moving object and the location of the trajectory points included in the predicted trajectory, determine the trajectory points to be corrected in the predicted trajectory, and the correction amount of the trajectory points to be corrected.

5. The method according to claim 1, wherein, Obtaining the boundary constraint positions of the predicted lanes in the lane sequence includes: Get map data for the current area; In the map data of the current area, detect the boundary constraint location of the inaccessible boundary of the predicted lane in the lane sequence.

6. The method according to claim 1, wherein, The moving objects include at least one of the following: pedestrians and vehicles.

7. A trajectory correction device, comprising: The trajectory prediction module is used to obtain the predicted trajectory of a moving object, wherein the predicted trajectory includes trajectory points at multiple prediction times; The lane detection module is used to acquire the lanes of the predicted trajectory distribution and detect the boundary constraint positions of the lanes in the distribution. The correction detection module is used to detect the correction amount of the trajectory points to be corrected in the predicted trajectory based on the boundary constraint positions. The trajectory correction module is used to correct the predicted trajectory based on the correction amount of the trajectory point to be corrected; The lane detection module includes: A trajectory point distribution detection unit is used to obtain the lane distribution of trajectory points at each prediction time in the predicted trajectory; The lane distribution optimization unit is used to correct the lane distribution of trajectory points at each prediction time based on the relative positions between lanes at adjacent prediction times, thereby obtaining a lane sequence. The lane determination unit is used to determine the lane sequence as the lane of the predicted trajectory distribution.

8. The apparatus according to claim 7, wherein, The trajectory correction module includes: The trajectory point filtering unit is used to filter the trajectory points to be corrected according to the state of the moving object and the trajectory points to be corrected, so as to obtain the target trajectory points; The trajectory point correction unit is used to correct the predicted trajectory based on the correction amount of the target trajectory point.

9. The apparatus according to claim 8, wherein, The trajectory point filtering unit is specifically used for at least one of the following: Detect whether the lanes of the trajectory points to be corrected are consistent with the lanes of the predicted trajectory distribution; Detect whether the initial position of the moving object overlaps with the boundary constraint position; Detect whether the moving object is in a non-standard movement behavior, including lane changing or driving in the wrong direction. Detect whether the intended direction of motion of the moving object is consistent with the correction direction of the trajectory point to be corrected; Detect whether the target trajectory point obtained after correction of the trajectory point to be corrected is a bulge point; as well as Detect whether the distance between the position of the trajectory point to be corrected and the initial position of the moving object is less than or equal to a preset distance threshold.

10. The apparatus according to claim 7, wherein, The correction detection module includes: A text concatenation unit is used to obtain the passage width of the moving object; The passage area detection unit is used to determine the passage area of ​​the moving object based on the passage width of the moving object and the boundary constraint position; The correction amount detection unit is used to determine the trajectory point to be corrected in the predicted trajectory and the correction amount of the trajectory point to be corrected based on the passage area of ​​the moving object and the position of the trajectory point included in the predicted trajectory.

11. The apparatus according to claim 7, wherein, The lane detection module includes: The map acquisition unit is used to acquire map data for the current area; A boundary detection unit is used to detect the boundary constraint position of the impassable boundary of the predicted lane in the lane sequence in the map data of the current area.

12. The apparatus according to claim 7, wherein, The moving objects include at least one of the following: pedestrians and vehicles.

13. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the predicted trajectory correction method according to any one of claims 1-6.

14. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the predicted trajectory correction method according to any one of claims 1-6.

15. A computer program object comprising a computer program that, when executed by a processor, implements the predictive trajectory correction method according to any one of claims 1-6.

16. An autonomous vehicle, including the electronic equipment as claimed in claim 13.

17. A cloud control platform, comprising the electronic device as described in claim 13.

18. A roadside device comprising the electronic device as claimed in claim 13.

Citation Information

Patent Citations

  • High-precision positioning method based on trajectory features of Internet of Vehicles

    CN114360240A

  • Method, device and equipment for correcting driving track and automatic driving vehicle

    CN114670823A