Vehicle collision time prediction method and device, medium and electronic equipment
By obtaining the status information of the own vehicle and the target object, the collision risk and preliminary estimated time are determined, and the target collision time is adjusted according to the collision status. This solves the problem of inaccurate collision time prediction under diagonal crossing conditions and improves the safety of the autonomous driving system. sex.
Patent Information
- Application Number
- CN202410867498.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-15
AI Technical Summary
In the field of autonomous driving and assisted driving, existing technology is difficult to accurately predict the collision time between the vehicle and the target object in diagonal crossing conditions, resulting in inaccurate judgment of collision risk, which may lead to misbraking or failure to predict danger, leading to a collision.
By obtaining the status information of the own vehicle and the target object, the collision risk and preliminary estimated collision time are determined, and the target collision time is further determined based on the collision status and estimated time, thereby improving the accuracy and robustness of collision time prediction, thereby improving the accuracy of vehicle driving control. Security.
By preliminarily determining the expected collision time and collision scenario, a target collision time that better reflects the actual scenario is determined, which improves the accuracy and robustness of collision time prediction and enhances the safety and effectiveness of vehicle driving control.
Smart Images

Figure CN118770207A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of intelligent driving technology and computer vision technology, and in particular to a method, device, medium and electronic device for predicting vehicle collision time. Background Art
[0002] In the fields of autonomous driving and assisted driving, active safety systems, such as Forward Collision Warning (FCW) and Automatic Emergency Braking (AEB), need to predict the trajectory of the vehicle and the trajectories of surrounding target objects (such as pedestrians and vehicles) that may collide in real time, calculate the time to collision (TTC), and evaluate the collision risk based on the calculated TTC. Therefore, if the TTC calculation is inaccurate, the collision risk cannot be correctly assessed, which may lead to misbraking or failure to predict danger and cause a collision.
[0003] In the related art, TTC can be calculated using kinematic formulas based on the real-time longitudinal or lateral relative distance and speed between the ego vehicle and the target object. However, for oblique crossing conditions, since the ego vehicle is traveling in a straight line, the trajectory of the target object crosses the trajectory of the ego vehicle, and the movement directions of the target object and the ego vehicle are neither parallel nor perpendicular, the actual collision point between the ego vehicle and the target object is difficult to predict. Therefore, there is a certain error in calculating TTC using the related art solution. Summary of the invention
[0004] In order to solve the above technical problems, the present disclosure provides a vehicle collision time prediction method, device, medium and electronic device to improve the accuracy of the collision time determined under the oblique penetration condition.
[0005] A first aspect embodiment of the present disclosure provides a vehicle collision time prediction method, comprising: acquiring first state information of an own vehicle and second state information of a target object; determining a collision risk and a first estimated collision time between the own vehicle and the target object based on the first state information and the second state information; in response to the collision risk indicating that the own vehicle and the target object will collide, determining a collision state between the own vehicle and the target object based on the first estimated collision time; and determining a target collision time between the own vehicle and the target object based on the collision state and the first estimated collision time.
[0006] A second aspect embodiment of the present disclosure provides a vehicle collision time prediction device, comprising: a first acquisition module, used to acquire first state information of the own vehicle and second state information of the target object; a first determination module, used to determine the collision risk and a first expected collision time between the own vehicle and the target object based on the first state information and the second state information; a second determination module, used to determine the collision state of the own vehicle and the target object based on the first expected collision time in response to the collision risk indicating that the own vehicle and the target object will collide; and a third determination module, used to determine the target collision time between the own vehicle and the target object based on the collision state and the first expected collision time.
[0007] A third aspect embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium stores computer program instructions. When the computer program instructions are executed, the vehicle collision time prediction method proposed in the first aspect embodiment of the present disclosure is implemented.
[0008] A fourth aspect of the present disclosure provides an electronic device, the electronic device comprising:
[0009] A memory for storing a computer program product;
[0010] The processor is used to execute the computer program product stored in the memory, and when the computer program product is executed, the vehicle collision time prediction method proposed in the embodiment of the first aspect of the present disclosure is implemented.
[0011] Based on the embodiment of the present disclosure, the collision risk and the first estimated collision time between the vehicle and the target object can be determined based on the first state information of the vehicle and the second state information of the target object. If the collision risk indicates that the vehicle and the target object will collide, the collision state (collision scene) can be further determined, and the target collision time can be determined based on the collision state (collision scene) and the first estimated collision time. Thus, the present disclosure can determine a target collision time that better reflects the actual collision scene based on the preliminarily determined first estimated collision time and collision scene, thereby improving the robustness and accuracy of the collision time prediction scheme, and thus helping to improve the safety of vehicle driving control. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 An exemplary application scenario of the vehicle collision time prediction method provided by the present disclosure;
[0013] Figure 2 is a flow chart of a vehicle collision time prediction method provided by an exemplary embodiment of the present disclosure;
[0014] Figure 3is a flowchart of step 202 provided by an exemplary embodiment of the present disclosure;
[0015] Figure 4 is a flowchart of step 224 provided by an exemplary embodiment of the present disclosure;
[0016] Figure 5 is a flowchart of step 203 provided by an exemplary embodiment of the present disclosure;
[0017] Figure 6 This is a collision state diagram provided by an exemplary embodiment of the present disclosure. Figure 1 ;
[0018] Figure 7 This is a collision state diagram provided by an exemplary embodiment of the present disclosure. Figure 2 ;
[0019] Figure 8 This is a collision state diagram provided by an exemplary embodiment of the present disclosure. Figure 3 ;
[0020] Fig. 9 is a flowchart of step 204 provided by an exemplary embodiment of the present disclosure;
[0021] Fig.10 This is a schematic diagram of possible collision modes between the vehicle and the target object provided by an exemplary embodiment of the present disclosure. Figure 1 ;
[0022] Fig.11 This is a schematic diagram of possible collision modes between the vehicle and the target object provided by an exemplary embodiment of the present disclosure. Figure 2 ;
[0023] Fig.12 This is a schematic diagram of possible collision modes between the vehicle and the target object provided by an exemplary embodiment of the present disclosure. Figure 3 ;
[0024] Fig.13 This is a schematic diagram of possible collision modes between the vehicle and the target object provided by an exemplary embodiment of the present disclosure. Figure 4 ;
[0025] Fig.14 is a structural schematic diagram of a vehicle collision time prediction device provided by an exemplary embodiment of the present disclosure;
[0026] Fig.15 is a structural schematic diagram of a vehicle collision time prediction device provided by another exemplary embodiment of the present disclosure;
[0027] Fig.16 is a structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0028] To explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. It should be understood that the present disclosure is not limited to the example embodiments.
[0029] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0030] SUMMARY OF THE DISCLOSURE
[0031] In the process of realizing the present disclosure, the inventors discovered through research that in the field of autonomous driving, the active safety system needs to predict the trajectory of the vehicle and the trajectories of surrounding target objects that may collide (such as pedestrians and vehicles) in real time, calculate TTC, evaluate the collision risk based on the calculated TTC, and control the vehicle to perform relevant braking operations when a collision risk is identified.
[0032] In the related art, for oblique crossing conditions, since the trajectory of the target object crosses the trajectory of the ego vehicle, and the movement direction of the target object and the ego vehicle are neither parallel nor perpendicular, it is difficult to predict the actual collision point between the ego vehicle and the target object. The calculated TTC has low accuracy, which can easily lead to inaccurate collision risk judgment, thus causing danger.
[0033] Exemplary Overview
[0034] Figure 1 This is an exemplary application scenario of the vehicle collision time prediction method provided by the present disclosure. Figure 1 As shown, in scenarios such as autonomous driving and assisted driving, in order to provide timely collision warning during driving, the vehicle 11 can timely obtain the surrounding target objects 12 through task perception, and obtain the first state information of the vehicle 11 and the second state information of the target object 12, and then determine the collision risk and the first estimated collision time between the vehicle 11 and the target object 12. When it is determined that the vehicle 11 and the target object 12 will collide, the collision state of the vehicle and the target object is determined, and the final target collision time is determined based on the collision state and the first estimated collision time.
[0035] The target object 12 may be a vehicle, a cyclist or a pedestrian, and the vehicle may be any type of vehicle.
[0036] In the present disclosure, the first state information of the ego vehicle 11 may include the real-time driving state and physical information of the ego vehicle, wherein the real-time driving state may include information such as speed and acceleration, and the physical information may include information such as the total length and total width of the vehicle. The second state information of the target object 12 may include the real-time motion state and physical information of the target object, wherein the real-time motion state may include speed and acceleration, and the physical information may include information such as the type, length, width of the target object, and the lateral / longitudinal distance of the target object in the vehicle coordinate system of the ego vehicle.
[0037] According to the first state information of the ego vehicle 11 and the second state information of the target object 12, the collision risk between the ego vehicle and the target object can be determined, and when it is determined that a collision will occur, the target collision time can be determined, and then the ego vehicle can be controlled to take corresponding collision avoidance measures, such as deceleration, emergency braking, etc. Since the present disclosure can determine a target collision time that better reflects the actual scene based on the preliminarily determined first expected collision time and collision scene, the robustness and accuracy of the collision time prediction scheme are improved, which helps to improve the safety and effectiveness of vehicle driving control.
[0038] Exemplary Methods
[0039] Figure 2 FIG. 1 is a flow chart of a method for predicting vehicle collision time provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices, such as Figure 2 As shown, the following steps are included:
[0040] Step 201, obtaining first state information of the vehicle and second state information of the target object.
[0041] The first state information of the vehicle is used to characterize the real-time driving state and physical information of the vehicle. The real-time driving state may include but is not limited to speed, acceleration, yaw angle, yaw rate, vehicle control state (such as accelerator pedal position, brake pedal position, steering wheel angle, steering wheel angle velocity, vehicle gear, vehicle mode, etc.); the first state information may also include physical information of the vehicle, including but not limited to the total length and width of the vehicle, the distance from the rear axle to the bumper, steering ratio, cornering stiffness, etc.
[0042] In this embodiment, the real-time driving status in the first state information of the vehicle can be collected by sensors installed on the vehicle, such as speed sensors, acceleration sensors, angular velocity sensors, inertial sensors, attitude sensors, etc.; the physical information in the first state information of the vehicle is some fixed parameters of the vehicle.
[0043] Among them, the second state information of the target object is used to characterize the motion state information and physical information of the target object, which may include but is not limited to the type, length, width of the target object, the lateral / longitudinal distance, lateral / longitudinal speed, lateral / longitudinal acceleration, yaw angle, yaw rate and other information of the target object in the vehicle coordinate system of the vehicle.
[0044] In this embodiment, the second state information of the target object can be output by the task perception post-processing module in the self-driving assisted driving system. After the image acquisition device set on the self-vehicle acquires the environmental image, the second state information of the target object can be obtained through image feature extraction, task perception and other processing modules. In other embodiments, the second state information of the target object can also be obtained after perception processing in combination with data collected by sensors such as laser radar and millimeter wave radar, and this disclosure does not limit this.
[0045] Step 202: Determine the collision risk and the first estimated collision time between the vehicle and the target object based on the first state information and the second state information.
[0046] The collision risk indicates the risk of a collision between the vehicle and the target object, and the collision risk may be a collision or no collision. The first estimated collision time indicates the time when the vehicle and the target object may collide, determined according to the first state information and the second state information.
[0047] In this embodiment, the first estimated collision time can be calculated based on the motion trajectory of the center point of the vehicle and the motion trajectory of the center point of the target object. Figure 3 The illustrated embodiment will not be described in detail here.
[0048] Step 203 : in response to the collision risk indication that the ego vehicle and the target object will collide, a collision state of the ego vehicle and the target object is determined based on a first estimated collision time.
[0049] Among them, the collision state is used to characterize the collision scenario in which the ego vehicle collides with the target object. For example, the collision scenario is that a front corner point of the target object collides with the side line of the ego vehicle after the first expected collision time, or a rear corner point of the target object collides with the side line of the ego vehicle before the first expected collision time, or a side line of the target object collides with a front corner point of the ego vehicle before the first expected collision time, and other collision scenarios.
[0050] In this embodiment, the actual collision scene where a collision may occur may be determined according to the first estimated collision time determined in step 202 as well as the first state information of the vehicle and the second state information of the target object.
[0051] Step 204 : determining a target collision time between the vehicle and the target object based on the collision state and the first estimated collision time.
[0052] The target collision time is used to indicate the time when the self-vehicle and the target object collide according to the collision state (collision scene).
[0053] In this embodiment, after the target collision time is determined, the target collision time can be sent to the decision processing module of the vehicle, and the decision processing module determines the collision avoidance measures that the vehicle needs to take, such as deceleration, emergency braking, etc.
[0054] Based on the embodiment of the present disclosure, the collision risk and the first estimated collision time between the vehicle and the target object can be determined based on the first state information of the vehicle and the second state information of the target object. If the collision risk indicates that the vehicle and the target object will collide, the collision state (collision scene) can be further determined, and the target collision time can be determined based on the collision state (collision scene) and the first estimated collision time. Thus, the present disclosure can determine a target collision time that better reflects the actual collision scene based on the preliminarily determined first estimated collision time and collision scene, thereby improving the robustness and accuracy of the collision time prediction scheme, and thus helping to improve the safety of vehicle driving control.
[0055] Figure 3 is a flow chart of step 202 provided by an exemplary embodiment of the present disclosure, such as Figure 3 As shown, in Figure 2 Based on the illustrated embodiment, step 202 may include the following steps:
[0056] Step 221: Determine a first predicted trajectory of the vehicle within a preset time period according to the first state information.
[0057] The preset time period may be a pre-set time period for determining whether there is a collision risk. The length of the time period may be set based on empirical data to ensure that when a collision is determined to be possible, the vehicle has enough time to take collision avoidance measures. For example, the preset time period may be 4 seconds. The first predicted trajectory is a driving trajectory of the vehicle within the preset time period predicted based on the first state information of the vehicle.
[0058] In this embodiment, the preset time period to be predicted can be divided into a preset number of sub-time periods, and then based on the first state information, the trajectory segments corresponding to each sub-time period are iteratively determined; and based on the trajectory segments corresponding to each sub-time period, the first predicted trajectory is determined.
[0059] Exemplarily, the preset time period to be predicted can be divided into four sections. For example, the preset time period is 4 seconds, starting from the 0th second, and the times corresponding to the sub-time periods are from the 0th second to the 1st second, from the 1st second to the 2nd second, from the 2nd second to the 3rd second, and from the 3rd second to the 4th second. The first trajectory of the vehicle in the first sub-time period can be calculated based on the first state information, and then the second trajectory in the second sub-time period can be calculated based on the position and speed information of the end point of the first trajectory. In this way, the third trajectory in the third sub-time period and the fourth trajectory in the fourth sub-time period can be calculated. Finally, the first predicted trajectory can be represented in the form of a third-order Bezier curve. The four control points of the third-order Bezier curve are (P x0s ,P y0s )、(P x1s ,P y1s )、(P x2s ,P y2s )、(P x3s ,P y3s ) are the s-th trajectory (s=0,1,2,3).
[0060] In each trajectory segment, the position of the vehicle center point in the vehicle coordinate system can be expressed in the form of formula (1).
[0061]
[0062] In formula (1), egopos x (t) represents the x-coordinate of the ego vehicle’s position at time t, egopos y (t) represents the y coordinate of the vehicle’s position at time t, (P x0s ,P y0s )、(P x1s ,P y1s )、(P x2s ,P y2s )、(P x3s ,P y3s ) are the coordinates of the four control points of the Bezier curve.
[0063] In each sub-time period, the speed of the vehicle can be expressed in the form of formula (2).
[0064]
[0065] In formula (2), egov x (t) represents the speed of the vehicle in the x direction at time t, egov y (t), represents the speed of the vehicle in the y direction at time t, (P x0s ,P y0s )、(P x1s ,P y1s)、(P x2s ,P y2s )、(P x3s ,P y3s ) are the coordinates of the four control points of the Bezier curve.
[0066] In this embodiment, other forms of curves, such as B-Spline curves, etc., can also be used to represent the driving trajectory of the vehicle, or other Bezier curves such as second-order Bezier curves and fourth-order Bezier curves can be used to represent the driving trajectory of the vehicle, and this disclosure does not limit this.
[0067] Step 222: Determine a second predicted trajectory of the target object within a preset time period according to the second state information.
[0068] The second predicted trajectory is a driving trajectory of the target object within a preset time period predicted based on the second state information of the target object.
[0069] In the oblique crossing condition, the second predicted trajectory of the target object can be expressed as a straight line in the vehicle coordinate system of the ego vehicle. For example, the trajectory of the target object is ax+by+c=0. Assuming that the position of the target object is (obspos x ,obspos y ), the speed of the target object is (obsv x , obsv y ), then a=obsv y , b=-obsv x , c = obsv x obspos y -obsv y obspos x .
[0070] In the present disclosure, the trajectory of the target object is illustrated in the form of a straight line, but it can be understood that the second predicted trajectory can also be in other forms besides a straight line, and any curve that can characterize the driving trajectory of the target object is applicable to this embodiment.
[0071] Step 223 : determining at least one second estimated collision time between the ego vehicle and the target object based on the first predicted trajectory and the second predicted trajectory.
[0072] The second estimated collision time is used to characterize the time corresponding to the intersection of the first predicted trajectory and the second predicted trajectory. The intersection of the first predicted trajectory and the second predicted trajectory can be calculated, and the effective value (effective time) in each intersection is determined as each second estimated collision time.
[0073] In this embodiment, since the first predicted trajectory includes a preset number of segment trajectories corresponding to a preset number of sub-time periods, the second estimated collision time between the vehicle and the target object in each sub-time period can be determined in chronological order until it is determined that the collision risk between the vehicle and the target object at a determined second estimated collision time is that a collision will occur.
[0074] For example, taking the first predicted trajectory as the third-order Bezier curve shown in formula (1) and the second predicted trajectory as ax+by+c=0 as an example, the intersection points t of each segment of the first predicted trajectory and the second predicted trajectory can be obtained by calculating the mathematical formula: i (where i = 0, 1, 2), and determine the intersection point t between a trajectory and the second predicted trajectory i After that, determine t i The validity of the trajectory segment is determined if the intersection point of the trajectory segment with the second predicted trajectory is t i If the effective time is available in , and it is determined in step 224 that the ego vehicle and the target object will collide during the effective time, the intersection point of the trajectory segment behind the ego vehicle and the second predicted trajectory may no longer be calculated. i If both are invalid values, or if both are valid values but it is determined in step 224 that the ego vehicle and the target object will not collide during the valid time, the intersection point t of the trajectory segment behind the ego vehicle and the second predicted trajectory can be calculated iteratively. i , and continue to judge at t i Whether a collision will occur is determined until an estimated collision time is determined.
[0075] Among them, if t calculated according to the first preset trajectory and the second predicted trajectory i is a value with complex domain, then t i Is an invalid value if t i is a value less than 0 or greater than 1 (because in the above example, the preset time period of 4 seconds is divided into 4 sub-time periods, and the length of each sub-time period is 1 second), then the t i It is also an invalid value, only 0≤t i <1, and t i When there is no complex domain, t i is the valid value.
[0076] Step 224 : determining a collision risk between the vehicle and the target object based on at least one second estimated collision time.
[0077] The collision risk is used to indicate whether the vehicle and the target object will collide within a preset time period. The collision risk can be whether a collision will occur or not.
[0078] Based on the disclosed embodiment, it is possible to determine whether the vehicle and the target object may collide based on the first predicted trajectory of the vehicle and the second predicted trajectory of the target object. Since the first predicted trajectory and the second predicted trajectory are determined based on the first state information of the vehicle and the second state information of the target object, respectively, the movement of the vehicle and the target object can be simulated to ensure the validity of the predicted trajectory. In addition, by calculating each segment of the first predicted trajectory in segments, and iteratively calculating the intersection of each segment of the trajectory with the second predicted trajectory in chronological order, and stopping the iterative calculation after determining the second estimated collision time at which the collision will occur, it helps to reduce the amount of calculation and time for determining the collision time, and improve the real-time and validity of determining the collision prediction time.
[0079] Figure 4 is a flow chart of step 224 provided by an exemplary embodiment of the present disclosure, such as Figure 4 As shown, in Figure 2 and Figure 3 Based on the illustrated embodiment, step 224 includes the following steps:
[0080] Step 2241, based on the first state information, respectively determine the collision avoidance state of the vehicle corresponding to each second expected collision time in at least one second expected collision time, and obtain at least one first collision avoidance state; based on the second state information, respectively determine the collision avoidance state of the target object corresponding to each second expected collision time in at least one second expected collision time, and obtain at least one second collision avoidance state.
[0081] The first collision avoidance state is used to characterize whether the vehicle can automatically brake before each second estimated collision time arrives, and the second collision avoidance state is used to characterize whether the target object can stop moving before each second estimated collision time arrives.
[0082] In this embodiment, the kinematic formula can be used to determine whether the vehicle can be stopped before each second predicted collision time arrives, that is, the speed is reduced to 0, based on the speed information and acceleration information in the first state information of the vehicle, and then determine the first collision avoidance state of the vehicle at each second predicted collision time. For example, three intersection points are determined based on the current segment trajectory in the first predicted trajectory and the second predicted trajectory, and the time corresponding to two of the three intersection points is a valid time. Therefore, two second predicted collision times are determined based on the current segment trajectory and the second predicted trajectory. For these two second predicted collision times, the speed of the vehicle when each second predicted collision time arrives can be determined by formula (3) respectively.
[0083] eGov i =egov0+egoacc·t i Formula (3)
[0084] In formula (3), egoacc is the acceleration information of the ego vehicle, ti is the second estimated collision time, egov0 is the speed information of the vehicle contained in the first state information, and egov i is the speed of the vehicle when it reaches the second estimated collision time.
[0085] If the egov determined according to formula (3) i <v egothd , it is considered that the vehicle can stop before the second estimated collision time. At this time, the first collision avoidance state can be determined as collision avoidance, otherwise it is unavoidable. egothd It is a calibrable parameter, usually a value less than 0.
[0086] In this embodiment, it is possible to determine whether the vehicle can be stopped before each second predicted collision time arrives, i.e., whether the speed is reduced to 0, by using a kinematic formula according to the speed information and acceleration information in the second state information of the target object. For example, three intersection points are determined based on the current segment trajectory in the first predicted trajectory and the second predicted trajectory, and the times corresponding to two of the three intersection points are valid times. Therefore, two second predicted collision times are determined based on the current segment trajectory and the second predicted trajectory. For these two second predicted collision times, the speed of the target object when each second predicted collision time arrives can be determined by using formula (4).
[0087] obsv i = obsv0 + obsacc t i Formula (4)
[0088] In formula (4), obsacc is the acceleration of the target object, t i is the second estimated collision time, obsv0 is the speed of the target object included in the second state information, and obsv i is the speed of the target object when it reaches the second estimated collision time.
[0089] If obsv determined according to formula (4) i <v obsthd , it is considered that the target object can stop moving before the second estimated collision time arrives. At this time, the second collision avoidance state can be determined as collision avoidance, otherwise it is unavoidable. obsthd It is a calibrable parameter, usually a value less than 0.
[0090] Step 2242: Determine the collision risk between the vehicle and the target object based on the first collision avoidance state and the second collision avoidance state at each second estimated collision time.
[0091] Among them, after determining the first collision avoidance state and the second collision avoidance state corresponding to each second expected collision time, the collision risk between the own vehicle and the target object at each second expected collision time can be determined based on the first collision avoidance state and the second collision avoidance state at each second expected collision time; in response to the collision risk between the own vehicle and the target object at each second expected collision time indicating that there is no collision risk, the collision risk between the own vehicle and the target object is determined to be that a collision will occur; in response to the collision risk between the own vehicle and the target object at at least one second expected collision time indicating that there is a collision risk, the collision risk between the own vehicle and the target object is determined to be that a collision will occur.
[0092] In specific implementation, whether the vehicle and the target object will collide in each sub-time period can be calculated in chronological order. If a second estimated collision time in which a collision may occur is determined in a sub-time period, there is no need to calculate whether a second estimated collision time in which a collision may occur in subsequent sub-time periods.
[0093] In this embodiment, if the first collision avoidance state and the second collision avoidance state corresponding to a second expected collision time both indicate that the vehicle cannot stop, that is, the first collision avoidance state and the second collision avoidance state both indicate that the vehicle cannot avoid collision, then the collision risk corresponding to the second expected collision time can be determined as a collision will occur; if the first collision avoidance state and / or the second collision avoidance state corresponding to a second expected collision time indicate that the vehicle can stop, that is, one of the first collision avoidance state and the second collision avoidance state indicates that the vehicle can avoid collision, then the collision risk corresponding to the second expected collision time can be determined as a collision will not occur. If the collision risk of more than one second expected collision time indicates that a collision will occur, then the collision risk between the vehicle and the target object is determined as a collision will occur; if the collision risk of each second expected collision time indicates that a collision will not occur, then the collision risk between the vehicle and the target object is determined as a collision will not occur.
[0094] In this embodiment, if the collision risks of two or more second predicted collision times indicate that a collision will occur, the second predicted collision time that is earlier in time sequence, ie, the second predicted collision time with the shortest time, may be determined as the first predicted collision time.
[0095] Based on the embodiments of the present disclosure, a first collision avoidance state and a second collision avoidance state for each second expected collision time are further determined based on the state information of the vehicle and the target object, thereby determining the collision risk between the vehicle and the target object, thereby improving the accuracy and effectiveness of the assessed collision risk and helping to improve the effectiveness of the collision prediction time.
[0096] Figure 5 is a flowchart of step 203 provided by an exemplary embodiment of the present disclosure; Figure 5 As shown, in Figure 2 Based on the illustrated embodiment, step 203 includes the following steps:
[0097] Step 231, based on the first state information, determine the first center coordinates, first size information and first orientation angle of the vehicle at the first expected collision time; based on the second state information, determine the second center coordinates, second size information and second orientation angle of the target object at the first expected collision time.
[0098] Among them, the first center coordinate is used to indicate the coordinate of the center point of the vehicle in the vehicle coordinate system where the vehicle is located at the initial moment at the first expected collision time, and the first size information is used to indicate the size of the vehicle determined according to the physical information of the vehicle, such as the total length and total width of the vehicle; the first heading angle is used to indicate the heading angle of the vehicle at the first expected collision time, which can be determined based on the speed of the vehicle at the first expected collision time. The second center coordinate is used to indicate the coordinate of the center point of the target object in the vehicle coordinate system where the vehicle is located at the initial moment at the first expected collision time, and the second size information is used to indicate the size of the target object determined according to the physical information of the target object, such as the length and width of the target object; the second heading angle is used to indicate the heading angle of the target object at the first expected collision time, which can be determined based on the speed of the target object at the first expected collision time.
[0099] In this embodiment, according to the above equations (1) and (2), the speed and the first center coordinate of the vehicle at the first estimated collision time can be determined as follows (5) and (6), respectively.
[0100]
[0101] In formula (5), egox i Indicates the first estimated collision time t i The x-coordinate of the vehicle, egoy i Indicates the first estimated collision time t i The y-coordinate of the vehicle at time (P′ x0 , P′ y0 ), (P′ x1 , P′ y1 ), (P′ x2 , P′ y2 ), (P′ x3 , P′ y3 ) are the coordinates of the four control points of the Bezier curve.
[0102] In formula (6), egovx i Indicates the first estimated collision time t i The x-direction speed of the vehicle, egovy i Indicates that at time t i The y-direction velocity of the vehicle at time (P′ x0 , P′ y0), (P′ x2 , P′ y2 ), (P′ x3 , P′ y3 ), (P′ x1 , P′ y1 ) are the coordinates of the four control points of the Bezier curve.
[0103] According to the above formula (6), it can be determined that i The orientation angle at the moment is as shown in formula (7).
[0104] egoyaw=arctan2(egovy i ,egovx i ) Formula (7)
[0105] In formula (7), egovx i Indicates the first estimated collision time t i The speed of the vehicle in the x direction, egovy i Indicates the first estimated collision time t i The speed of the vehicle in the y direction at time .
[0106] In this embodiment, the motion of the target object can be assumed to be uniformly accelerated linear motion or uniformly decelerated linear motion. The center point of the target object is at the first estimated collision time t i The second center coordinates at can be found in formula (8).
[0107]
[0108] In formula (8), (obsx0, obsy0) represents the horizontal and vertical coordinates of the target object in the vehicle coordinate system of the vehicle at the initial moment, (vx0, vy0) represents the velocity of the target object at the initial moment, and (ax0, ay0) represents the acceleration of the target object at the initial moment. The initial moment here is used to indicate the moment when the vehicle collision time prediction is started, that is, the moment when the second state information is obtained.
[0109] The orientation angle obsyaw of the target object can also be determined based on the speed of the target object at the first estimated collision time, as shown in equation (9).
[0110] obsvyaw=arctan2(obsvy i ,obsvx i ) Formula (9)
[0111] In formula (9), obsvx i Indicates the first estimated collision time t i The speed of the target object in the x direction, obsvy i The first estimated collision time ti The target object is moving in the y direction at the time. Since the target object is assumed to move in a uniformly accelerated or decelerated motion, the first estimated collision time t can be determined based on the target object's velocity (vx0, vy0) and acceleration (ax0, ay0) at the initial moment. i The speed of obsvy i and obsvx i .
[0112] Step 232, determining a first bounding box of the vehicle based on the first center coordinates, the first size information and the first orientation angle; and determining a second bounding box of the target object based on the second center coordinates, the second size information and the second orientation angle.
[0113] The first bounding box is used to describe the spatial position of the ego vehicle in the vehicle coordinate system at the initial moment, and is a rectangular frame. The size of the first bounding box is determined based on the size of the ego vehicle, and the position of the first bounding box is determined based on the first center coordinate and the first orientation angle of the ego vehicle. The second bounding box is used to describe the spatial position of the target object in the vehicle coordinate system at the initial moment, and is a rectangular frame. The size of the second bounding box is determined based on the size of the target object, and the position of the second bounding box is determined based on the second center coordinate and the second orientation angle of the ego vehicle of the target object.
[0114] Exemplarily, the length direction vector of the first bounding box or the second bounding box is as shown in formula (10), and the width direction vector of the first bounding box or the second bounding box is as shown in formula (11).
[0115]
[0116]
[0117] In equations (10) and (11), yaw represents the orientation angle of the ego vehicle or the target object, l represents the length of the ego vehicle or the target object, and w represents the width of the ego vehicle or the target object.
[0118] Combining the above equations (10) and (11), the coordinates of the four corner points of the bounding box can be further determined by equations (12) to (15).
[0119] Coordinates of the front left corner:
[0120] Coordinates of the right front corner:
[0121] Coordinates of the rear left corner:
[0122] Coordinates of the right rear corner:
[0123] In formulas (12) to (15), centerx and centery are the coordinates of the center point of the bounding box (the first bounding box or the second bounding box), vx and vy are the length direction vectors calculated by the above formula (10), and wx and wy are the width direction vectors calculated by the above formula (11).
[0124] Step 233: Determine the positional relationship between the first bounding box and the second bounding box.
[0125] The positional relationship between the first bounding box and the second bounding box is used to indicate the positional relationship between the first bounding box and the second bounding box at the first estimated collision time.
[0126] In this embodiment, there may be three types of positional relationships between the first bounding box and the second bounding box. The first positional relationship is that the second bounding box does not reach the position of the first bounding box, such as Figure 6 As shown in (a) in FIG. 1 , in this case, if the target object collides with the vehicle, the target collision time is a time later than the first estimated collision time, such as Figure 6 As shown in (b) in .
[0127] The second position relationship is that the second bounding box has crossed the position of the first bounding box, such as Figure 7 As shown in (a) in FIG. 1 , in this case, if the target object collides with the vehicle, the target collision time is a time earlier than the first estimated collision time, such as Figure 7 As shown in (b) in .
[0128] The third position relationship is that the second bounding box just overlaps with the first bounding box, such as Figure 8 As shown in (a) in FIG. 1 , in this case, if the target object collides with the vehicle, the target collision time is a time earlier than the first estimated collision time, such as Figure 8 As shown in (b) in .
[0129] Step 234 , determining a collision state between the vehicle and the target object based on the position relationship, the first orientation angle, and the second orientation angle.
[0130] Among them, the collision state is used to characterize the collision scenario of the ego vehicle and the target object. For example, the collision scenario is that a front corner point of the target object collides with the side line of the ego vehicle after the first expected collision time, or a rear corner point of the target object collides with the side line of the ego vehicle before the first expected collision time, or a side line of the target object collides with a front corner point of the ego vehicle before the first expected collision time, and other collision scenarios.
[0131] Based on the positional relationship between the first bounding box and the second bounding box at the first estimated collision time determined in step 233, the first orientation angle and the second orientation angle of the target object and the ego vehicle after initialization can be determined, and the movement orientation angle of the target object and the ego vehicle during the period from the first estimated collision time to the target collision time can be obtained, thereby determining the collision scene of the target object and the ego vehicle. If it is the first case, it is necessary to predict the future time forward based on the first estimated collision time to obtain the target collision time, so there is no need to change the state of the ego vehicle and the target, and the first orientation angle and the second orientation angle have not changed; if it is the second case or the third case, it is necessary to push back the collision time at the historical moment based on the first estimated collision time, so it is necessary to set the orientation angle and vehicle speed information of the ego vehicle and the target object to negative, and swap the left front corner point with the right rear corner point data, and swap the right front corner point with the left rear corner point data, so the first orientation angle and the second orientation angle after initialization are opposite to the original first orientation angle and the second orientation angle. Therefore, in the first case, the ego vehicle and the target object can obtain the target collision time by using the short time (a short time of movement, such as 0.2 seconds, may lead to a collision) of the first heading angle and the second heading angle calculated by equations (7) and (9), while in the second and third cases, the ego vehicle and the target object can determine the target collision time by using the short time of movement in the opposite direction of the first heading angle and the second heading angle calculated by equations (7) and (9).
[0132] In this embodiment, based on the movement orientation angle of the ego vehicle and the target object after the first estimated collision time determined above, the collision state can be determined. There can be four collision states. Assuming that the ego vehicle moves forward (moves in the y-axis direction of the vehicle coordinate system), the four collision states can be divided based on the movement orientation angle of the target object; it can also be understood that the four collision states are determined according to the angle between the movement orientation angles of the ego vehicle and the target object. They are as follows: collision state one, 0<yaw<π / 2; collision state two, π / 2<yaw<π; collision state three, -π / 2<yaw<0; collision state four, π<yaw<-π / 2.
[0133] Based on the embodiment of the present disclosure, the first center coordinates, first size information and first orientation angle of the vehicle at the first expected collision time can be determined based on the first state information; the second center coordinates, second size information and second orientation angle of the target object at the first expected collision time can be determined based on the second state information; the first bounding box of the vehicle can be determined based on the first center coordinates, first size information and first orientation angle; the second bounding box of the target object can be determined based on the second center coordinates, second size information and second orientation angle; the positional relationship between the first bounding box and the second bounding box can be determined; and the collision state of the vehicle and the target object can be determined based on the positional relationship, the first orientation angle and the second orientation angle. Therefore, the present disclosure can determine the bounding boxes of the vehicle and the target object respectively based on the first state information and the second state information, and determine the collision state according to the positional relationship of the bounding boxes, so as to provide support for the subsequent determination of the target collision time.
[0134] Fig. 9 is a flow chart of step 204 provided by an exemplary embodiment of the present disclosure; Fig. 9 As shown, in Figure 2 Based on the illustrated embodiment, step 204 includes the following steps:
[0135] Step 241, obtaining at least one collision mode in the collision state, each collision mode corresponding to a collision corner point and a collision edge.
[0136] Among them, the collision mode is used to indicate the collision position between the target object and the vehicle. There are four collision modes in each collision state. The collision corner point refers to the corner point of the collision when the vehicle collides with the target object (a corner point of the bounding box), and the collision edge refers to the edge line of the collision when the vehicle collides with the target object (a certain edge of the bounding box).
[0137] For example, collision state one, At this time, the possible collision modes between the vehicle and the target object are as follows: Fig.10 shown.
[0138] Collision state 2, At this time, the possible collision modes between the vehicle and the target object are as follows: Fig.11 shown.
[0139] Collision state three, At this time, the possible collision modes between the vehicle and the target object are as follows: Fig.12 shown.
[0140] Collision state four, At this time, the possible collision modes between the vehicle and the target object are as follows: Fig.13 shown.
[0141] Figure 10-13 The corresponding collision modes under the four collision states are illustrated respectively.
[0142] Through the above Figure 5 After the collision state is determined in the embodiment shown, the corresponding four collision modes can be determined. For example, if Figure 5 The determined collision state is collision state 1, and four possible collision modes can be determined as follows: Fig.10 There are four ways in .
[0143] Step 242 , based on the collision corner points and collision edges corresponding to each collision mode, determine the collision compensation time and collision point corresponding to each collision mode, and obtain at least one collision compensation time and at least one collision point.
[0144] Among them, the collision point is used to indicate the intersection of the collision corner point and the collision edge when the collision occurs, and the collision compensation time is used to indicate the time difference between the first expected collision time and the target collision time when the collision actually occurs. If the collision occurs after the first expected collision time, the first expected collision time plus the collision compensation time can be used to obtain the target collision time. If the collision occurs before the first expected collision time, the first expected collision time minus the collision compensation time can be used to obtain the target collision time.
[0145] In this embodiment, the selected collision edge is assumed to be a corner point (x ln1 ,y ln1 )、(x ln2 ,y ln2 ) connected to form an edge, the movement speed of this edge is (v lnx ,v lny ); Let the selected collision corner be (x p ,y p ), the velocity of the corner point is (v px ,v py ), then we can calculate from t i The time from the collision to the collision time is Δttc, as shown in formula (16).
[0146]
[0147] in,
[0148] For the four collision modes of the determined collision state, the selected collision corner point and collision edge line data are respectively substituted into equations (16) and (17), and four groups of Δttc and each collision point can be obtained.
[0149] After determining the collision compensation time corresponding to each collision mode, the validity of at least one collision point can be checked to obtain at least one valid collision point; based on the collision compensation time of at least one valid collision point, the target compensation time can be determined. Specifically, it can be determined whether each collision point is on the collision edge (between the two corner points of the collision edge) rather than on the extension line of the collision edge.
[0150] In specific implementation, at each Δttc moment, (x′ p , y′ p )=(x p +v px *Δttc,y p +v py *Δttc),(x′ ln1 , y′ ln1 )=(x ln1 +v lnx *Δttc,y ln1 +v lny *Δttc),(x′ ln2 , y′ ln2 )=(x ln2 +v lnx *Δttc,y ln2 +v lny *Δttc). If Δttc>0, and x′ ln1 <x′ p <x′ ln2 , and y′ ln1 <y′ p <y′ ln2 , Δttc is valid, otherwise it is invalid.
[0151] Step 243: determining a target compensation time based on at least one collision compensation time and at least one collision point.
[0152] The target compensation time is used to indicate the minimum time difference between the first expected collision time and the target collision time of the actual collision. When determining the collision compensation time, multiple valid collision compensation times may be determined, and the minimum collision compensation time may be determined as the target compensation time.
[0153] Step 244 , determining a target collision time based on the target compensation time and the first estimated collision time.
[0154] In this embodiment, for the above Figure 6 If the target collision time indicated is later than the first estimated collision time, it can be calculated by TTC=seg+t i+Δttc, calculate the target collision time, where seg is used to indicate the time length corresponding to the number of trajectory segments where the first estimated collision time is located in the first predicted trajectory. For example, if the first estimated collision time is located in the second trajectory segment and each trajectory segment corresponds to 1 second, then seg is 2; if the first estimated collision time is located in the second trajectory segment and each trajectory segment corresponds to 2 seconds, then seg is 2*2=4.
[0155] In this embodiment, for the above Figure 7 and Figure 8 If the target collision time indicated is earlier than the first estimated collision time, it can be calculated by TTC=seg+t i -Δttc, calculate the target collision time, where seg is used to indicate the time length corresponding to the number of trajectory segments of the first predicted trajectory where the first estimated collision time is located. For example, if it is located in the second trajectory segment and each trajectory segment corresponds to 1 second, then seg is 2; if it is located in the second trajectory segment and each trajectory segment corresponds to 2 seconds, then seg is 2*2=4.
[0156] Based on the embodiments of the present disclosure, at least one collision mode in the collision state is obtained, and based on the collision corner points and collision edges corresponding to each collision mode, the collision compensation time and collision point corresponding to each collision mode are determined to obtain at least one collision compensation time and at least one collision point; based on at least one collision compensation time and at least one collision point, the target compensation time can be determined; based on the target compensation time and the first estimated collision time, the target collision time is determined. Therefore, the present disclosure can obtain a target collision time that more accurately reflects the collision situation of the actual scene by pushing forward or retracting the target compensation time, which has high accuracy, does not require complex calculations, and is highly efficient, which helps the vehicle to take correct collision avoidance measures in a timely manner and improves the safety of autonomous driving.
[0157] Exemplary Devices
[0158] Fig.14 is a schematic diagram of the structure of a vehicle collision time prediction device provided by an exemplary embodiment of the present disclosure; Fig.14 As shown, the device comprises:
[0159] The first acquisition module 101 is used to acquire first state information of the vehicle and second state information of the target object.
[0160] The first determination module 102 is used to determine the collision risk and the first estimated collision time between the vehicle and the target object based on the first state information and the second state information.
[0161] The second determination module 103 is configured to determine a collision state between the ego vehicle and the target object based on a first estimated collision time in response to a collision risk indication indicating that the ego vehicle and the target object will collide.
[0162] The third determination module 104 is configured to determine a target collision time between the vehicle and the target object based on the collision state and the first estimated collision time.
[0163] Fig.15 is a schematic diagram of the structure of a vehicle collision time prediction device provided by another exemplary embodiment of the present disclosure; Fig.15 As shown in the above Fig.14 Based on the illustrated embodiment, in some embodiments, the first determining module 102 includes:
[0164] A first determination submodule 1021 is used to determine a first predicted trajectory of the vehicle within a preset time period according to the first state information;
[0165] A second determination submodule 1022, configured to determine a second predicted trajectory of the target object within a preset time period according to the second state information;
[0166] A third determination submodule 1023, configured to determine at least one second estimated collision time between the ego vehicle and the target object based on the first predicted trajectory and the second predicted trajectory;
[0167] The fourth determination submodule 1024 is configured to determine a collision risk between the vehicle and the target object based on at least one second estimated collision time.
[0168] In some embodiments, the fourth determination submodule 1024 is specifically used to determine, based on the first state information, the collision avoidance state corresponding to each second expected collision time of the ego vehicle in at least one second expected collision time, to obtain at least one first collision avoidance state; based on the second state information, determine the collision avoidance state corresponding to each second expected collision time of the target object in at least one second expected collision time, to obtain at least one second collision avoidance state; based on the first collision avoidance state and the second collision avoidance state of each second expected collision time, determine the collision risk between the ego vehicle and the target object.
[0169] In some embodiments, the fourth determination submodule 1024 is specifically used to determine the collision risk between the self-vehicle and the target object at each second expected collision time based on the first collision avoidance state and the second collision avoidance state at each second expected collision time; in response to the collision risk between the self-vehicle and the target object at each second expected collision time indicating that there is no collision risk, determine the collision risk between the self-vehicle and the target object as that a collision will occur; in response to the collision risk between the self-vehicle and the target object at at least one second expected collision time indicating that there is a collision risk, determine the collision risk between the self-vehicle and the target object as that a collision will occur.
[0170] In some implementations, the second determining module 103 includes:
[0171] A fifth determination submodule 1031 is configured to determine, based on the first state information, a first center coordinate, a first size information, and a first orientation angle of the vehicle at the first estimated collision time; and to determine, based on the second state information, a second center coordinate, a second size information, and a second orientation angle of the target object at the first estimated collision time;
[0172] A sixth determining submodule 1032 is configured to determine a first bounding box of the vehicle based on the first center coordinates, the first size information, and the first orientation angle; and determine a second bounding box of the target object based on the second center coordinates, the second size information, and the second orientation angle;
[0173] A seventh determining submodule 1033 is used to determine a positional relationship between the first bounding box and the second bounding box;
[0174] The eighth determination submodule 1034 is configured to determine a collision state between the vehicle and the target object based on the position relationship, the first orientation angle, and the second orientation angle.
[0175] In some implementations, the third determination module 104 includes:
[0176] A first acquisition submodule 1041 is used to acquire at least one collision mode in the collision state, each collision mode corresponds to a collision corner point and a collision edge;
[0177] A ninth determination submodule 1042, configured to determine a collision compensation time and a collision point corresponding to each collision mode based on a collision corner point and a collision edge corresponding to each collision mode, and obtain at least one collision compensation time and at least one collision point;
[0178] A tenth determining submodule 1043, configured to determine a target compensation time based on at least one collision compensation time and at least one collision point;
[0179] The eleventh determining submodule 1044 is configured to determine a target collision time based on the target compensation time and the first estimated collision time.
[0180] In some implementations, the tenth determination submodule 1043 is specifically configured to perform validity verification on at least one collision point to obtain at least one valid collision point; and determine the target compensation time based on the collision compensation time of the at least one valid collision point.
[0181] In some embodiments, the first determination submodule 1021 is specifically used to divide a preset time period into a preset number of sub-time periods; iteratively determine the trajectory segments corresponding to each sub-time period based on the first state information; and determine the first predicted trajectory based on the trajectory segments corresponding to each sub-time period.
[0182] In some embodiments, the third determination submodule 1023 is specifically used to determine the second estimated collision time between the vehicle and the target object in each sub-time period in chronological order until it is determined that the collision risk between the vehicle and the target object at a determined second estimated collision time is that a collision will occur.
[0183] The exemplary embodiment of the device corresponds to the exemplary method described above, and the relevant contents can be referenced and quoted to each other. The beneficial technical effects corresponding to the exemplary embodiment of the device can refer to the corresponding beneficial technical effects of the exemplary method described above, and will not be repeated here.
[0184] Exemplary Electronic Devices
[0185] Fig.16 1 is a structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure, which includes at least one processor 11 and a memory 12.
[0186] The processor 11 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 16 to perform desired functions.
[0187] The memory 12 may include one or more computer program products, and the computer program products may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may execute one or more computer program instructions to implement the vehicle collision time prediction method and / or other desired functions of the various embodiments of the present disclosure described above.
[0188] In one example, the electronic device may further include: an input device 13 and an output device 14, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0189] The input device 13 may also include, for example, a keyboard, a mouse, a touch screen, a sound pickup device (such as a microphone array), etc.
[0190] The output device 14 can output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0191] Of course, to simplify, Fig.16Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.
[0192] Exemplary computer program products and computer-readable storage media
[0193] In addition to the above-mentioned methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the vehicle collision time prediction method of various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section.
[0194] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0195] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the vehicle collision time prediction method of various embodiments of the present disclosure described in the above “Exemplary Method” section.
[0196] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium is, for example, but not limited to, a system, device or device including electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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 above.
[0197] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and cannot be considered as necessary for each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the above details do not limit the present disclosure to being implemented by adopting the above specific details.
[0198] Those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present disclosure claims and their equivalents, the present disclosure is also intended to include these modifications and variations.
Claims
1. A vehicle collision time prediction method, include: Acquire first state information of the vehicle and second state information of the target object; Determining a collision risk and a first estimated collision time between the vehicle and the target object based on the first state information and the second state information; In response to the collision risk indicating that the ego vehicle and the target object will collide, determining a collision state between the ego vehicle and the target object based on the first estimated collision time; A target collision time between the vehicle and the target object is determined based on the collision state and the first estimated collision time.
2. The method according to claim 1, in, The determining, based on the first state information and the second state information, the collision risk between the vehicle and the target object includes: Determining a first predicted trajectory of the vehicle within a preset time period according to the first state information; Determining a second predicted trajectory of the target object within a preset time period according to the second state information; determining at least one second predicted collision time between the ego vehicle and the target object based on the first predicted trajectory and the second predicted trajectory; Based on at least one of the second predicted collision times, a collision risk between the ego vehicle and the target object is determined.
3. The method according to claim 2, in, The determining the collision risk between the vehicle and the target object based on at least one of the second estimated collision times includes: Based on the first state information, respectively determine the collision avoidance state of the self-vehicle corresponding to each second expected collision time in at least one of the second expected collision times, and obtain at least one first collision avoidance state; based on the second state information, respectively determine the collision avoidance state of the target object corresponding to each second expected collision time in at least one of the second expected collision times, and obtain at least one second collision avoidance state; The collision risk between the own vehicle and the target object is determined based on the first collision avoidance state and the second collision avoidance state at each second estimated collision time.
4. The method according to claim 3, in, The determining the collision risk between the vehicle and the target object based on the first collision avoidance state and the second collision avoidance state at each second estimated collision time includes: determining, based on the first collision avoidance state and the second collision avoidance state at each second estimated collision time, a collision risk between the ego vehicle and the target object at each second estimated collision time; In response to the collision risks of the ego vehicle and the target object at each second estimated collision time indicating that there is no collision risk, determining that the collision risk between the ego vehicle and the target object is that a collision will not occur; In response to a collision risk indication between the ego vehicle and the target object at at least one of the second estimated collision times indicating that a collision risk exists, the collision risk between the ego vehicle and the target object is determined as a collision that will occur.
5. The method according to claim 1, in, In response to the collision risk indication that the vehicle and the target object will collide, determining a collision state between the vehicle and the target object based on the first estimated collision time includes: Determine, based on the first state information, a first center coordinate, a first size information, and a first orientation angle of the vehicle at a first expected collision time; determine, based on the second state information, a second center coordinate, a second size information, and a second orientation angle of the target object at the first expected collision time; Determine a first bounding box of the vehicle based on the first center coordinates, the first size information, and the first orientation angle; determine a second bounding box of the target object based on the second center coordinates, the second size information, and the second orientation angle; Determining a positional relationship between the first bounding box and the second bounding box; A collision state between the vehicle and the target object is determined based on the positional relationship, the first orientation angle, and the second orientation angle.
6. The method according to any one of claims 1 to 5, in, The step of determining a target collision time between the vehicle and the target object based on the collision state and the first estimated collision time includes: Obtain at least one collision mode in the collision state, each collision mode corresponding to a collision corner point and a collision edge; Based on the collision corner points and collision edges corresponding to the collision modes, the collision compensation time and collision point corresponding to the collision modes are determined to obtain at least one collision compensation time and at least one collision point; determining a target compensation time based on at least one of the collision compensation times and at least one of the collision points; The target collision time is determined based on the target compensation time and the first estimated collision time.
7. The method according to claim 6, in, The determining of the target compensation time based on at least one of the collision compensation times and at least one of the collision points comprises: Performing validity check on at least one of the collision points to obtain at least one valid collision point; The target compensation time is determined based on the collision compensation time of at least one of the valid collision points.
8. The method according to claim 2, in, The determining, according to the first state information, a first predicted trajectory of the vehicle within a preset time period includes: Dividing the preset time period into a preset number of sub-time periods; Iteratively determine the trajectory segments corresponding to each sub-time period based on the first state information; The first predicted trajectory is determined based on the trajectory segments corresponding to each sub-time period.
9. The method according to claim 8, in, The determining, based on the first predicted trajectory and the second predicted trajectory, at least one second predicted collision time between the vehicle and the target object comprises: The second predicted collision time between the vehicle and the target object in each sub-time period is determined in chronological order until it is determined that the collision risk between the vehicle and the target object at a determined second predicted collision time is that a collision will occur.
10. A vehicle collision time prediction device, include: A first acquisition module is used to acquire first state information of the vehicle and second state information of the target object; A first determination module, configured to determine a collision risk and a first estimated collision time between the vehicle and the target object based on the first state information and the second state information; a second determination module, configured to determine a collision state between the ego vehicle and the target object based on the first estimated collision time in response to the collision risk indication that the ego vehicle and the target object will collide; The third determination module is used to determine a target collision time between the vehicle and the target object based on the collision state and the first estimated collision time.
11. A computer-readable storage medium, wherein the storage medium stores computer program instructions, and when the computer program instructions are executed, the vehicle collision time prediction method according to any one of claims 1 to 9 is implemented.
12. An electronic device, the electronic device include: A memory for storing a computer program product; A processor is used to execute the computer program product stored in the memory, and when the computer program product is executed, the vehicle collision time prediction method described in any one of claims 1 to 9 is implemented.
Citation Information
Cited By
Collision risk quantification method and device, electronic equipment and storage medium
CN119283853A
