Collision risk assessment method and apparatus, electronic device, and storage medium

By transforming the trajectory to be evaluated and the predicted trajectory to the ST coordinate system, it is determined whether the collision detection units overlap, thus solving the problem of time interval affecting detection accuracy and achieving more accurate and efficient collision risk assessment.

CN119821384BActive Publication Date: 2026-07-03SAIC GM WULING AUTOMOBILE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SAIC GM WULING AUTOMOBILE CO LTD
Filing Date
2025-01-21
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In existing technologies, the time interval for collision risk detection directly affects the accuracy of the detection. Too long a time interval can lead to missed detections, while too short a time interval can lead to excessive computational load.

Method used

The vehicle's trajectory to be evaluated and the predicted trajectories of other vehicles within the preset range are converted to the same ST coordinate system, where S is the distance the vehicle travels in the current lane and T is the time. By judging whether the collision detection units in the same time period in the ST coordinate system overlap, it is determined whether there is a collision risk.

Benefits of technology

It resolves the contradiction between detection density and detection accuracy, improves the accuracy of collision risk detection, reduces unnecessary computational load, and enables more flexible and efficient driving decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119821384B_ABST
    Figure CN119821384B_ABST
Patent Text Reader

Abstract

This application provides a collision risk assessment method, including: acquiring the trajectory of a vehicle to be assessed and the predicted trajectories of other vehicles within a preset range; converting the trajectory to be assessed and the predicted trajectories to the same S-T coordinate system, where S is the distance traveled by the vehicle in the current lane and T is time; and determining whether the vehicle has a collision risk based on the trajectory to be assessed and the predicted trajectories in the S-T coordinate system. In this embodiment, the trajectory to be assessed of the vehicle and the predicted trajectories of other vehicles within a preset range are converted to the same S-T coordinate system, and the collision risk of the vehicle is determined based on the trajectory to be assessed and the predicted trajectories in the S-T coordinate system. In this embodiment, the S-T coordinate system represents the correspondence between the vehicle's travel distance in the current lane and time, and the vehicle's trajectory in the S-T coordinate system appears in a rectangular form, thus resolving the contradiction between detection density and detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of driver assistance technology, specifically to a collision risk assessment method, device, electronic device, and storage medium. Background Technology

[0002] With the continuous development of automotive technology, more and more cars are equipped with intelligent driving functions. Driving safety is the primary consideration for intelligent driving functions. Driving safety includes not only avoiding collisions with other vehicles and obstacles while driving, but also avoiding collisions with other vehicles. Therefore, collision risk assessment has become of paramount importance.

[0003] In related technologies, the predicted trajectory of the obstacle and the planned trajectory of the vehicle are acquired at preset time intervals. At the same time, it is determined whether there is an intersection point between the predicted trajectory of the obstacle and the planned trajectory of the vehicle in the XY plane projection, thereby determining whether there is a collision risk.

[0004] However, the size of the time interval in the relevant technology directly affects the accuracy of collision risk detection. Too large a time interval will lead to missed detections, while too small a time interval will lead to excessive computational load.

[0005] It should be noted that the information disclosed in the background section of this application is intended only to enhance the understanding of the general background of this application, and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention

[0006] In view of this, this application provides a collision risk assessment method, apparatus, electronic device, and storage medium to address the problem in related technologies that time intervals directly affect the accuracy of collision risk detection, with excessively large time intervals leading to missed detections and excessively small time intervals leading to excessive computational load.

[0007] In a first aspect, embodiments of this application provide a collision risk assessment method, including:

[0008] Acquire the trajectory of the vehicle to be evaluated and the predicted trajectories of other vehicles within a preset range;

[0009] The trajectory to be evaluated and the predicted trajectory are transformed to the same ST coordinate system, where S is the distance traveled by the vehicle in the current lane and T is the time.

[0010] Based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system, it is determined whether the vehicle has a collision risk.

[0011] In this embodiment, the trajectory to be evaluated of the vehicle and the predicted trajectories of other vehicles within a preset range are transformed into the same ST coordinate system. Based on the trajectory to be evaluated and the predicted trajectories in the ST coordinate system, it is determined whether the vehicle has a collision risk. In this embodiment, the ST coordinate system represents the correspondence between the vehicle's travel distance and time in the current lane, and the vehicle's trajectory in the ST coordinate system appears in the form of a rectangle, thus resolving the contradiction between detection density and detection accuracy.

[0012] In one possible implementation, determining whether the vehicle has a collision risk based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system includes:

[0013] Determine whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory coincide in the same time period in the ST coordinate system, wherein the collision detection unit is the trajectory within a preset time period;

[0014] If the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap in the same time period in the ST coordinate system, then it is determined that the vehicle has a collision risk.

[0015] If the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory do not overlap in the same time period in the ST coordinate system, then it is determined that the vehicle has no collision risk.

[0016] In this embodiment, the presence of a collision risk is determined by whether the collision detection units of the trajectory to be evaluated and the collision detection units of the predicted trajectory overlap within the same time period in the ST coordinate system. It can be understood that the collision detection unit represents the trajectory within a preset time period; if the collision detection units overlap, a collision risk is determined.

[0017] In one possible implementation, the preset duration is the minimum step update duration. Before determining whether the collision detection unit of the trajectory to be evaluated in the ST coordinate system coincides with the collision detection unit of the predicted trajectory, the method further includes:

[0018] The minimum step update time is calculated based on the preset decision cycle and the maximum number of decision updates, where the maximum number of decision updates is the maximum number of times the decision is changed within the preset decision cycle.

[0019] In this embodiment, the preset duration is the minimum step update duration. It is understood that the minimum step update duration ensures that every decision step of the vehicle is recorded, and that every decision made by the vehicle can be accurately recorded.

[0020] In one possible implementation, the method further includes:

[0021] The driving style is determined based on the number of decision updates, where the number of decision updates is the number of times the decision is changed within the preset decision period;

[0022] Adjust driving decisions based on the described driving style.

[0023] In this embodiment, driving style is determined based on the number of decision updates, and driving decisions are adjusted accordingly. It is understood that determining driving style helps plan multiple actions within the decision-making cycle, thereby enabling more flexible and efficient vehicle control and avoiding overly conservative driving.

[0024] In one possible implementation, determining the driving style based on the number of decision updates includes:

[0025] If the number of decision updates is greater than or equal to the first preset number, then the driving style is determined to be aggressive.

[0026] If the number of decision updates is less than or equal to the second preset number, then the driving style is determined to be conservative.

[0027] The first preset number of times is greater than the second preset number of times.

[0028] In this embodiment, if the number of decision updates is greater than or equal to a first preset number, the driving style is determined to be aggressive; if the number of decision updates is less than or equal to a second preset number, the driving style is determined to be conservative. It can be understood that if decision updates are too frequent, the driving style is more aggressive; if decision updates are too slow, the driving style is more conservative.

[0029] In one possible implementation, determining whether the collision detection unit of the trajectory to be evaluated in the ST coordinate system coincides with the collision detection unit of the predicted trajectory includes:

[0030] If the distance between the predicted trajectory and the trajectory to be evaluated is less than or equal to a preset distance threshold at the same time, it is determined whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory in the ST coordinate system overlap.

[0031] In this embodiment, the collision detection units in the ST coordinate system are only considered to overlap if the distance between the predicted trajectory and the trajectory to be evaluated at the same moment is less than or equal to a preset distance threshold. It is understood that if the distance between the predicted trajectory and the trajectory to be evaluated at the same moment is greater than the preset distance threshold, then there is no risk of collision between the vehicle and other vehicles. Therefore, determining the distance in advance can avoid some unnecessary computational load.

[0032] In one possible implementation, the method further includes:

[0033] Determine whether the distance between the predicted trajectory and the trajectory to be evaluated at the same moment is less than or equal to a preset distance threshold;

[0034] If the distance between the predicted trajectory and the trajectory to be evaluated is greater than a preset distance threshold at the same time, it is determined that the vehicle does not have a collision risk.

[0035] In this embodiment of the application, if the distance between the predicted trajectory and the trajectory to be evaluated at the same time is greater than a preset distance threshold, it can be directly determined that the vehicle does not have a collision risk, thus avoiding some unnecessary computational load.

[0036] Secondly, embodiments of this application provide a collision risk assessment device, including:

[0037] The trajectory acquisition module is used to acquire the trajectory to be evaluated of the vehicle and the predicted trajectories of other vehicles within a preset range;

[0038] The coordinate transformation module is used to transform the trajectory to be evaluated and the predicted trajectory to the same ST coordinate system, where S is the distance traveled by the vehicle in the current lane and T is the time.

[0039] The collision risk determination module is used to determine whether the vehicle has a collision risk based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system.

[0040] Thirdly, embodiments of this application provide an electronic device, including:

[0041] processor;

[0042] Memory;

[0043] And a computer program, wherein the computer program is stored in the memory, the computer program including instructions that, when executed by the processor, cause the electronic device to perform the method described in any one of the first aspects.

[0044] Fourthly, embodiments of this application provide a computer-readable storage medium, characterized in that the computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the method described in any one of the first aspects.

[0045] It is understood that the collision risk assessment device provided in the second aspect, the electronic device provided in the third aspect, and the computer-readable storage medium provided in the fourth aspect are used to execute the method provided in this application. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods, and will not be repeated here. Attached Figure Description

[0046] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0047] Figure 1 This is a schematic diagram of a grid map in the first category of related technologies;

[0048] Figure 2 A schematic diagram illustrating the correspondence between detection density and detection results provided in an embodiment of this application;

[0049] Figure 3 A flowchart illustrating a collision risk assessment method provided in this application embodiment;

[0050] Figure 4 A schematic diagram of the trajectory to be evaluated and the predicted trajectory in the ST coordinate system provided in this application embodiment;

[0051] Figure 5 A schematic diagram of the trajectory to be evaluated and the predicted trajectory in another ST coordinate system provided for an embodiment of this application;

[0052] Figure 6 A schematic diagram of the trajectory to be evaluated and the predicted trajectory in another ST coordinate system provided for an embodiment of this application;

[0053] Figure 7 A schematic diagram of the trajectory to be evaluated and the predicted trajectory in another ST coordinate system provided for an embodiment of this application;

[0054] Figure 8 This is a schematic diagram of the structure of a collision risk assessment device provided in an embodiment of this application;

[0055] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0056] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0057] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.

[0058] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.

[0059] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0060] With the continuous development of automotive technology, more and more cars are equipped with intelligent driving functions. Driving safety is the primary consideration for intelligent driving functions. Driving safety includes not only avoiding collisions with other vehicles and obstacles while driving, but also avoiding collisions with other vehicles. Therefore, collision risk assessment has become of paramount importance.

[0061] In the first category of related technologies, the vehicle's trajectory is based on a two-dimensional occupancy grid map. The autonomous vehicle is aware of the grid map showing obstacles at the current moment, and then determines the collision risk of the planned trajectory by sampling and querying whether obstacles occupy it. Furthermore, to simplify the calculation of the grid area covered by the vehicle along the planned trajectory, the vehicle's outline is generally abstracted into simple, regular geometric objects such as circles or rectangles. For ease of understanding, this application also provides a schematic diagram of a grid map in the related technology.

[0062] See Figure 1 This is a schematic diagram of a raster map in the first category of related technologies. For example... Figure 1 As shown, the dashed lines in the grid map represent the planned trajectory of this vehicle. Figure 1 In the grid map, the vehicle's outline is a rectangle. In practical applications, the vehicle's outline can also be abstracted into other geometric objects, such as a circular outline and a tri-circular outline. When an obstacle exists, the corresponding position in the grid map will be marked with the obstacle's location. By determining whether the vehicle's planned trajectory coincides with the obstacle, it can be determined whether a collision will occur.

[0063] However, the above method only considers the obstacle occupancy status at the current time and does not take into account the future movement trend of the obstacles, leading to short-sightedness in autonomous vehicles. For example, at the current moment, there may be no obstacles occupying the latter half of the vehicle's planned trajectory, but this does not mean that there will still be no obstacles when the vehicle moves to the latter half of the planned trajectory.

[0064] To address this issue, Type II related technologies typically predict the future trajectory of obstacles and incorporate it into collision risk detection. Compared to the methods provided by Type I related technologies, Type II technologies add a time dimension, thus dynamically considering the obstacle's movement trend. By checking whether the predicted trajectory of the obstacle and the planned trajectory of the vehicle intersect in the XY plane at the same time, it is determined whether a collision will occur between the vehicle and the obstacle. If an intersection exists, it indicates a collision risk.

[0065] In the second category of related technologies, it is necessary to acquire the predicted trajectory of the obstacle and the trajectory of the vehicle at preset time intervals. However, the size of the time interval directly affects the accuracy of collision risk detection. Too large a time interval (i.e., too low a detection density) will lead to missed detections, while too small a time interval (i.e., too high a detection density) will lead to excessive computational load.

[0066] See Figure 2 This is a schematic diagram illustrating the correspondence between detection density and detection results provided in an embodiment of this application. Figure 2 As shown, the red vehicle represents the neighboring vehicle (i.e., the obstacle), and the blue vehicle represents the vehicle itself. The red line corresponding to the red vehicle is the predicted trajectory of the neighboring vehicle, and the blue line corresponding to the blue vehicle is the candidate set of the planned trajectory for the vehicle itself. The intersection point P(x, y, t) of the two lines is the collision point. When the detection density is high, the collision point can be clearly obtained, such as... Figure 2 As shown in 'a', this can lead to excessive computational load because the grid occupancy of the geometric contour of each sampling point on each trajectory needs to be calculated; when the detection density is low, it may result in missed detections, such as... Figure 2 As shown in b, although the two trajectories intersect at time t, no sampling is performed at time t due to the sparse sampling points, thus failing to detect the collision.

[0067] To address the aforementioned issues, this application provides a collision risk assessment method. This method transforms the vehicle's trajectory to be assessed and the predicted trajectories of other vehicles within a preset range into the same ST coordinate system. Based on the trajectory to be assessed and the predicted trajectories in the ST coordinate system, it determines whether the vehicle faces a collision risk. In this application, the ST coordinate system represents the correspondence between the vehicle's travel distance and time in the current lane, and the vehicle's trajectory in the ST coordinate system appears in a rectangular form, resolving the contradiction between detection density and detection accuracy. A detailed description is provided below with reference to the accompanying drawings and specific embodiments.

[0068] See Figure 3 This is a flowchart illustrating a collision risk assessment method provided in an embodiment of this application. Figure 3 As shown, it mainly includes the following steps.

[0069] Step S301: Obtain the trajectory to be evaluated of the vehicle and the predicted trajectories of other vehicles within the preset range.

[0070] Specifically, the collision risk assessment device can obtain the trajectory of the vehicle to be assessed and the predicted trajectories of other vehicles within a preset range from other modules. In this embodiment, the preset range is the vehicle's perception range. Because the vehicle's perception range is limited, the vehicle cannot obtain the predicted trajectories of vehicles outside its perception range.

[0071] Of course, in practical applications, it can be determined that there is no collision risk for vehicles outside the preset range, so the preset range can be smaller than the vehicle's perception range. This application embodiment does not impose specific restrictions on this.

[0072] Step S302: Convert the trajectory to be evaluated and the predicted trajectory to the same ST coordinate system.

[0073] Specifically, since the trajectory to be evaluated and the predicted trajectory are usually in the XY Cartesian coordinate system, in order to determine the spatiotemporal relationship between the two trajectories more reliably and efficiently, this application first transforms the trajectory to be evaluated and the predicted trajectory in the XY coordinate system to the ST coordinate system to obtain the trajectory diagram in the ST coordinate system, where S is the distance traveled by the vehicle in the current lane and T is the time.

[0074] It is understandable that different driving decisions correspond to different trajectories, and the trajectory to be evaluated in this application embodiment is one of a variety of different trajectories.

[0075] For ease of understanding, this application provides a schematic diagram of the trajectory to be evaluated and the predicted trajectory in the ST coordinate system.

[0076] See Figure 4 This is a schematic diagram of the trajectory to be evaluated and the predicted trajectory in the ST coordinate system provided in an embodiment of this application. Figure 4 As shown, red vehicles represent other vehicles, and blue vehicles represent the vehicle itself. The red dashed lines corresponding to red vehicles represent the trajectories of other vehicles, and the blue dashed lines corresponding to blue vehicles represent the trajectory of the vehicle itself. The red rectangles corresponding to red vehicles represent the predicted trajectory ST projection, and the blue rectangles corresponding to blue vehicles represent the trajectory ST projection to be evaluated. This pattern will continue in the following text and will not be elaborated upon further. Figure 4 As shown on the left, the black dashed line represents the current lane of the vehicle, with other vehicles traveling in front of it. When acquiring the predicted trajectories of other vehicles, the collision risk assessment device predicts their travel distance over the next 6 seconds based on their current speeds, thus obtaining... Figure 4The predicted trajectory ST projection in the ST coordinate system on the right. Simultaneously, the collision risk assessment device obtains the vehicle's driving decisions for the next 6 seconds from other modules of the vehicle, and determines the relationship between the vehicle's travel distance and time in the next 6 seconds based on these decisions, i.e., the trajectory ST projection to be assessed. This is understandable. Figure 4 In the ST diagram on the right, the slope of the long side of each rectangle represents the speed of the corresponding vehicle.

[0077] It should be pointed out that, Figure 4 The 6 seconds, vehicle speed, speeds of other vehicles, and number of other vehicles shown are merely illustrative descriptions and should not be construed as limiting the scope of protection of this application.

[0078] Step S303: Determine whether the vehicle has a collision risk based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system.

[0079] Specifically, after obtaining the trajectory to be evaluated and the predicted trajectory in the ST coordinate system, the collision risk assessment device determines whether the vehicle has a collision risk based on the ST coordinate system.

[0080] In one possible implementation, it is determined whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap in the same time period in the ST coordinate system, where the collision detection unit is the trajectory within a preset time period; if the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap in the same time period in the ST coordinate system, it is determined that the vehicle has a collision risk; if the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory do not overlap in the same time period in the ST coordinate system, it is determined that the vehicle has no collision risk.

[0081] In this embodiment, the collision detection unit is a trajectory within a preset time period. This trajectory can be either the trajectory to be evaluated or the predicted trajectory. It can be understood that the trajectory within the preset time period in the trajectory to be evaluated is the collision detection unit for the trajectory to be evaluated, and the trajectory within the preset time period in the predicted trajectory is the collision detection unit for the predicted trajectory. The preset time period can be any length, and this embodiment does not impose any specific limitations.

[0082] However, because this application applies to multi-step decision-making algorithms such as Partially Observable Markov Decision Processes (POMDPs), and these algorithms require multiple branch decision steps from the initial state to triggering the termination condition and exiting the solution process, in order to obtain a more accurate collision detection unit, the preset time in the embodiments of this application is the minimum step update time.

[0083] Therefore, before determining whether collision detection units overlap, it is necessary to calculate the minimum step update time. Specifically, the minimum step update time is calculated based on the preset decision cycle and the maximum number of decision updates, where the maximum number of decision updates is the maximum number of times the decision can be changed within the preset decision cycle.

[0084] For example, assuming a POMDP behavioral decision-making model with a maximum decision cycle of 6 seconds and a maximum number of decision updates Dmax of 3, then the minimum step update time Δt is 2 seconds. The physical meaning of the maximum number of decision updates Dmax is the number of vertical or lateral behavioral changes within the entire decision cycle. Vertical behaviors include acceleration and deceleration, while lateral behaviors include left turns, right turns, and going straight.

[0085] Assuming the minimum step update time is Δt, and t2 = t1 + Δt, the trajectories to be evaluated corresponding to t1 are St1min and St1max, and the trajectories to be evaluated corresponding to t2 are St2min and St2max, then the rectangle with vertices St1min, St1max, St2min, and St2max represents the collision detection unit of the trajectory to be evaluated. For example, ... Figure 4 As shown, the minimum step update time is 2 seconds. The collision detection unit of the trajectory to be evaluated within 0-2 seconds is the blue rectangle corresponding to 0-2 seconds, and the collision detection unit of the predicted trajectory within 0-2 seconds is the red rectangle corresponding to 0-2 seconds.

[0086] In one possible implementation, after obtaining the number of decision updates, the driving style can be determined based on the number of decision updates, where the number of decision updates is the number of times the decision is changed within a preset decision cycle; and the driving decision can be adjusted according to the driving style.

[0087] It should be noted that the maximum number of decision updates corresponds to the maximum decision period, while the number of decision updates corresponds to any preset decision period. In other words, when the preset decision period is the maximum decision period, the number of decision updates is the maximum number of decision updates.

[0088] Understandably, a high number of decision updates indicates frequent changes in driving behavior within the preset decision cycle, such as constant acceleration and deceleration, suggesting an aggressive driving style that can negatively impact passenger comfort. Conversely, a low number of decision updates suggests minimal behavioral changes within the preset decision cycle. In extreme cases, a single decision update might indicate that the driver consistently performs only one of the following longitudinal actions: acceleration, deceleration, or constant speed, or only one of the following lateral actions: left turn or right turn. Combined with the principle of prioritizing driving safety, this results in a conservative and inefficient driving style.

[0089] For example, Figure 4The trajectory shown corresponds to a constant velocity, meaning the decision update count is 1. Figure 4 It can be seen that there is no risk of collision between the vehicle and other vehicles, and the insufficient number of decision updates is causing the distance between the vehicle and other vehicles to increase. Users typically expect vehicles to reach their destination as quickly as possible while ensuring safety, so insufficient decision updates also negatively impact the user experience.

[0090] This application also provides a schematic diagram of the trajectory to be evaluated and the predicted trajectory in another ST coordinate system.

[0091] See Figure 5 This is a schematic diagram of the trajectory to be evaluated and the predicted trajectory in another ST coordinate system provided in an embodiment of this application. Figure 5 As shown, the collision detection units of the trajectory to be evaluated and the collision detection units of the predicted trajectory do not overlap, so the vehicle does not face a collision risk. Furthermore, the vehicle's speed initially increases and then decreases, which is consistent with... Figure 4 In comparison, it travels a greater distance in the same amount of time, thus achieving higher driving efficiency.

[0092] In one possible implementation, the driving style (aggressive or conservative) is determined by comparing the number of decision updates with a preset number, allowing for adjustments to driving decisions based on the determined driving style. In other words, when the driving style is aggressive, the number of decision updates is appropriately reduced; when the driving style is conservative, the number of decision updates is appropriately increased. Of course, increasing the number of decision updates is predicated on ensuring driving safety.

[0093] Although the driving style is conservative when there are fewer decision updates, conservative does not mean that a collision will not occur.

[0094] For example, see Figure 6 This is a schematic diagram of the trajectory to be evaluated and the predicted trajectory in another ST coordinate system provided in an embodiment of this application. Figure 6 As shown, this vehicle is driven conservatively, but due to excessive speed, the collision detection units for the trajectory to be evaluated and the predicted trajectory overlap within 2-4 seconds. This means that if the vehicle continues with its current driving decisions, it will collide with other vehicles within 2-4 seconds. This clearly violates the principles of driving safety, so it is necessary to adjust driving decisions in advance to avoid collisions as much as possible.

[0095] Specifically, if the number of decision updates is greater than or equal to a first preset number, the driving style is determined to be aggressive; if the number of decision updates is less than or equal to a second preset number, the driving style is determined to be conservative; wherein the first preset number is greater than the second preset number. Those skilled in the art can set the first and second preset numbers to any number according to actual needs, and this application embodiment does not impose specific limitations on this.

[0096] In one possible implementation, it is determined whether the distance between the predicted trajectory and the trajectory to be evaluated at the same moment is less than or equal to a preset distance threshold. If the distance between the predicted trajectory and the trajectory to be evaluated at the same moment is less than or equal to the preset distance threshold, it is further determined whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory in the same time period in the ST coordinate system coincide. If the distance between the predicted trajectory and the trajectory to be evaluated at the same moment is greater than the preset distance threshold, it is determined that there is no collision risk for the vehicle. Those skilled in the art can set the preset distance threshold any number of times according to actual needs, and the embodiments of this application do not impose specific limitations on this.

[0097] For example, in a side-impact collision, see... Figure 7 This is a schematic diagram of the trajectory to be evaluated and the predicted trajectory in another ST coordinate system provided in an embodiment of this application. Figure 7 As shown, the distance between the predicted trajectory and the trajectory to be evaluated in the 0-2 second interval is greater than a preset distance threshold. Therefore, the predicted trajectories of other vehicles are represented by gray rectangles. At this point, it can be directly determined that the vehicle itself does not pose a collision risk, thus avoiding unnecessary computational load. Furthermore, if the vehicle continues with its current driving decision, it will collide with other vehicles within 2-4 seconds. This clearly violates the principles of driving safety. Therefore, it is necessary to adjust the driving decision in advance upon detecting the predicted trajectories of other vehicles to avoid collisions as much as possible.

[0098] In summary, the risk of collision between a vehicle and other vehicles within a certain time interval Δt can be characterized by a formula, specifically:

[0099]

[0100] in, Used to characterize the collision risk within time interval Δt, if the distance between the predicted trajectory and the trajectory to be evaluated... If the distance is less than or equal to a preset distance threshold and there is an intersection between the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory, a collision will occur; otherwise, no collision will occur. Characterize the distance between the predicted trajectory and the trajectory to be evaluated. Less than or equal to the preset distance threshold , Collision detection unit characterizing the trajectory to be evaluated Collision detection unit with predicted trajectory There is an intersection.

[0101] In summary, the embodiments of this application utilize the characteristics of multi-step decision-making algorithms such as POMDP to construct a more flexible collision detection unit according to the decision step size, thereby making it easier to plan a safe and highly efficient driving trajectory.

[0102] Corresponding to the above embodiments, this application also provides a collision risk assessment device.

[0103] See Figure 8 This is a schematic diagram of the structure of a collision risk assessment device provided in an embodiment of this application. Figure 8 As shown, the collision risk assessment device includes a trajectory acquisition module 801, a coordinate transformation module 802, and a collision risk determination module 803. These components communicate via one or more buses. Those skilled in the art will understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiments of this application. It can be a bus-shaped structure or a star-shaped structure, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0104] Among them, the trajectory acquisition module 801 is used to acquire the trajectory to be evaluated of the vehicle and the predicted trajectories of other vehicles within a preset range;

[0105] The coordinate transformation module 802 is used to transform the trajectory to be evaluated and the predicted trajectory to the same ST coordinate system, where S is the distance traveled by the vehicle in the current lane and T is the time.

[0106] The collision risk determination module 803 is used to determine whether the vehicle has a collision risk based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system.

[0107] Corresponding to the above embodiments, this application also provides an electronic device.

[0108] See Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 9 As shown, the electronic device 900 may include a processor 901, a memory 902, and a communication unit 903. These components communicate via one or more buses. Those skilled in the art will understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiments of this application. It may be a bus topology or a star topology, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0109] The communication unit 903 is used to establish a communication channel, enabling the electronic device to communicate with other devices. It can receive user data sent by other devices or send user data to other devices.

[0110] The processor 901 serves as the control center of the electronic device, connecting various parts of the device via interfaces and lines. It executes software programs, instructions, and / or modules stored in the memory 902, and calls data stored in the memory to perform various functions and / or process data. The processor may be composed of integrated circuits (ICs), such as a single packaged IC or multiple packaged ICs with the same or different functions connected together. For example, the processor 901 may consist only of a central processing unit (CPU). In this embodiment, the CPU may have a single processing core or include multiple processing cores.

[0111] The memory 902 is used to store the execution instructions of the processor 901. The memory 902 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0112] When the execution instructions in memory 902 are executed by processor 901, the electronic device 900 is able to perform operations. Figure 3 Some or all of the steps in the illustrated embodiments.

[0113] In a specific implementation, this application embodiment also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, it may include some or all of the steps of the simulation scene generation method provided in various embodiments of this application. The storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0114] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, or the existence of B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects have an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0115] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0116] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0117] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0118] The same or similar parts between the various embodiments in this specification can be referred to mutually. In particular, the device embodiments and terminal embodiments are basically similar to the method embodiments, so the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.

Claims

1. A collision risk assessment method, characterized by, include: Acquire the trajectory of the vehicle to be evaluated and the predicted trajectories of other vehicles within a preset range; The trajectory to be evaluated and the predicted trajectory are transformed to the same ST coordinate system, where S is the distance traveled by the vehicle in the current lane and T is the time. Based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system, determine whether the vehicle has a collision risk; The method further includes: The driving style is determined based on the number of decision updates, where the number of decision updates is the number of times the decision is changed within a preset decision cycle; Adjust driving decisions based on the described driving style; The step of determining whether the vehicle has a collision risk based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system includes: The system determines whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap within the same time period in the ST coordinate system, where the collision detection unit is the trajectory within a preset time period. If the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap within the same time period in the ST coordinate system, then the vehicle is determined to have a collision risk. If the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory do not overlap within the same time period in the ST coordinate system, then the vehicle is determined not to have a collision risk. Wherein, the preset duration is the minimum step update duration, and before determining whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap in the same time period in the ST coordinate system, the method further includes: The minimum step update time is calculated based on the preset decision cycle and the maximum number of decision updates, where the maximum number of decision updates is the maximum number of times the decision is changed within the preset decision cycle.

2. The method according to claim 1, characterized in that, The step of determining driving style based on the number of decision updates includes: If the number of decision updates is greater than or equal to the first preset number, then the driving style is determined to be aggressive. If the number of decision updates is less than or equal to the second preset number, then the driving style is determined to be conservative. The first preset number of times is greater than the second preset number of times.

3. The method according to claim 1, characterized in that, The step of determining whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory coincide in the same time period in the ST coordinate system includes: If the distance between the predicted trajectory and the trajectory to be evaluated at the same moment is less than or equal to a preset distance threshold, then it is determined whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory in the same time period in the ST coordinate system overlap.

4. The method according to claim 3, characterized in that, The method further includes: Determine whether the distance between the predicted trajectory and the trajectory to be evaluated at the same moment is less than or equal to a preset distance threshold; If the distance between the predicted trajectory and the trajectory to be evaluated is greater than a preset distance threshold at the same time, it is determined that the vehicle does not have a collision risk.

5. A collision risk assessment device, characterized in that, include: The trajectory acquisition module is used to acquire the trajectory to be evaluated of the vehicle and the predicted trajectories of other vehicles within a preset range; The coordinate transformation module is used to transform the trajectory to be evaluated and the predicted trajectory to the same ST coordinate system, where S is the distance traveled by the vehicle in the current lane and T is the time. The collision risk determination module is used to determine whether the vehicle has a collision risk based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system. The decision adjustment module is used to determine the driving style based on the number of decision updates, where the number of decision updates is the number of times the decision is changed within a preset decision cycle; and to adjust the driving decision based on the driving style. The collision risk determination module is used to determine whether the vehicle faces a collision risk based on the trajectory to be evaluated and the predicted trajectory in the ST coordinate system, including: The collision risk determination module is used to determine whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap in the same time period in the ST coordinate system, wherein the collision detection unit is the trajectory within a preset time period; if the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap in the same time period in the ST coordinate system, then it is determined that the vehicle has a collision risk; if the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory do not overlap in the same time period in the ST coordinate system, then it is determined that the vehicle has no collision risk. Wherein, the preset duration is the minimum step update duration, and before determining whether the collision detection unit of the trajectory to be evaluated and the collision detection unit of the predicted trajectory overlap in the same time period in the ST coordinate system, the method further includes: The minimum step update time is calculated based on the preset decision cycle and the maximum number of decision updates, where the maximum number of decision updates is the maximum number of times the decision is changed within the preset decision cycle.

6. An electronic device, characterized in that, include: processor; Memory; And a computer program, wherein the computer program is stored in the memory, the computer program including instructions that, when executed by the processor, cause the electronic device to perform the method of any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1 to 4.