Interaction scene detection method and device, electronic equipment and unmanned vehicle

By obtaining and analyzing the relative position of the unmanned vehicle and other vehicles in the Frenet coordinate system, using the nine-square grid mapping and vertical and horizontal distance changes, automatic detection is achieved, which solves the high cost and low accuracy of interactive scene mining in the existing technology. problem to achieve efficient and accurate interactive scene detection.

CN118850118APending Publication Date: 2024-10-29EACON TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411345281.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

When existing technology mines autonomous vehicle interaction scenarios in mines, manual recording methods are costly and have low accuracy. However, the accuracy of mining decision-making signals through planning is low, and it is impossible to balance cost and accuracy.

Method used

The real-time coordinates of unmanned vehicles and other vehicles are obtained under the Frenet coordinate system, the interaction scene is determined through changes in relative distance, and the type of interaction is determined using nine-square grid mapping and changes in vertical and horizontal relative distances to achieve automated detection.

Benefits of technology

No manual participation is required, which reduces time and labor costs, improves the accuracy of interactive scene detection, and ensures 100% scene accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118850118A_ABST
    Figure CN118850118A_ABST
Patent Text Reader

Abstract

The invention discloses an interaction scene detection method and device, electronic equipment and an unmanned vehicle, and belongs to the field of unmanned driving. The position change of the first unmanned vehicle and the second vehicle is obtained based on the relative distance change under the same Frenet coordinate system, the relative distance change comprises the change of the longitudinal relative distance and the change of the transverse relative distance, and the change of the longitudinal relative distance and the change of the transverse relative distance can feed back the interaction scene of the first unmanned vehicle and the second vehicle. The whole interactive scene detection process does not need manual participation, the time and labor cost is reduced, the actual position change condition between the first unmanned vehicle and the second vehicle is obtained according to the relative distance change, and the interactive scene detection accuracy is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of unmanned driving technology, and in particular, to a detection method, device, electronic equipment and an unmanned driving vehicle for interactive scenes. Background Art

[0002] During driving, autonomous mining vehicles will interact with surrounding vehicles in various dynamic ways, such as overtaking, meeting, cutting in, and following. However, the data of interactive scenarios only accounts for about 10% of all data generated during the entire driving process. It is necessary to mine specific interactive scenario data from all data collected by the vehicle in order to evaluate the autonomous driving decision algorithm of the actual vehicle and create logsim for simulation testing of autonomous driving.

[0003] There are currently two ways to mine dynamic interaction scenarios in the industry: one is manual recording, and the other is mining scenarios using decision signals in the planning module. The manual recording method requires manual driving of a mining truck on a specific road to complete the interaction and record the start and end time of the interaction. The manual recording method is time-consuming and labor-intensive to collect interaction scenarios. Although the decision topic information of planning does not require manual driving of the vehicle to reproduce the interaction scenario, the accuracy of mining the interaction scenario based on the decision signal is low. Summary of the invention

[0004] In order to overcome the shortcomings of the related art, the present application provides a detection method, device, electronic device and unmanned vehicle for an interactive scene to solve the problem that the related art cannot take into account both cost and accuracy.

[0005] The technical solution adopted by this application to solve its technical problem is: In a first aspect, a method for detecting an interaction scene is provided, comprising: Acquire a first real-time coordinate of a first unmanned vehicle in a Frenet coordinate system, and acquire a second real-time coordinate of a second vehicle in the same Frenet coordinate system, wherein the second vehicle is a vehicle whose distance to the first unmanned vehicle is less than a preset distance; Determine a relative distance of the first unmanned vehicle relative to the second vehicle based on the first real-time coordinate and the second real-time coordinate, wherein the relative distance includes a longitudinal relative distance and a lateral relative distance; Based on the change in the relative distance, an interaction scene between the first unmanned vehicle and the second vehicle is determined.

[0006] Further, determining the interaction scene between the first unmanned vehicle and the second vehicle based on the change in the relative distance includes: The relative distance is mapped into a nine-square grid, and based on a change in the relative distance displayed in the nine-square grid, an interaction scene between the first unmanned vehicle and the second vehicle is determined.

[0007] Further, mapping the relative distance into a nine-square grid, and determining the interaction scene between the first unmanned vehicle and the second vehicle based on a change in the relative distance displayed in the nine-square grid includes: Fixing the position of any of the second vehicles at the center position of the nine-square grid; Determine the position of the first unmanned vehicle in the nine-square grid based on the longitudinal relative distance and the lateral relative distance, and determine the position change of the first unmanned vehicle in the nine-square grid according to the change of the relative distance; Based on the position change, an interaction scenario between the first unmanned vehicle and the second vehicle is determined.

[0008] Further, determining the interaction scene between the first unmanned vehicle and the second vehicle based on the change in the relative distance includes: Determine the change stages respectively included in the change of the longitudinal relative distance and / or the change of the lateral relative distance, wherein the change stages at least include: a stage where the relative distance is greater than 0, a stage where the relative distance is equal to 0, and a stage where the relative distance is less than 0; Based on the included change stages and the order in which the change stages occur, an interaction scenario between the first unmanned vehicle and the second vehicle is determined.

[0009] Further, determining the relative distance of the first unmanned vehicle with respect to the second vehicle based on the first real-time coordinate and the second real-time coordinate includes: Calculating a longitudinal relative distance based on the s-axis coordinate corresponding to the first real-time coordinate and the s-axis coordinate corresponding to the second real-time coordinate; And the longitudinal relative distance is calculated based on the coordinate of the l-axis corresponding to the first real-time coordinate and the coordinate of the l-axis corresponding to the second real-time coordinate.

[0010] Further, the calculating of the longitudinal relative distance based on the coordinate of the s-axis corresponding to the first real-time coordinate and the coordinate of the s-axis corresponding to the second real-time coordinate; and the calculating of the longitudinal relative distance based on the coordinate of the l-axis corresponding to the first real-time coordinate and the coordinate of the l-axis corresponding to the second real-time coordinate include: s=s2-s1, l=l2-l1; Or, s=s1-s2, l=l1-l2; Among them, s is the longitudinal relative distance, l is the lateral relative distance, s1 is the coordinate of the s-axis corresponding to the first real-time coordinate, l1 is the coordinate of the l-axis corresponding to the first real-time coordinate; s2 is the coordinate of the s-axis corresponding to the second real-time coordinate, l2 is the coordinate of the l-axis corresponding to the second real-time coordinate.

[0011] Furthermore, it also includes: All vehicles whose distance to the first unmanned vehicle is less than a preset distance are determined as second vehicles.

[0012] Furthermore, it also includes: Determine a vehicle whose distance to the first unmanned vehicle is less than a preset distance as a candidate vehicle; At least one of the candidate vehicles is determined to be the second vehicle according to the current decision signal.

[0013] Further, determining at least one of the candidate vehicles as the second vehicle according to the current decision signal includes: Determining a target lane according to a vehicle interaction type indicated by the current decision signal; According to the target lane, at least one of the candidate vehicles is determined to be the second vehicle.

[0014] Further, the obtaining of the first real-time coordinates of the first unmanned vehicle in the Frenet coordinate system and the obtaining of the second real-time coordinates of the second vehicle in the same Frenet coordinate system include: Obtaining a first Cartesian coordinate of the first unmanned vehicle in a Cartesian coordinate system, and obtaining a second Cartesian coordinate of the second vehicle in the same Cartesian coordinate system; The first Cartesian coordinate is converted into the first real-time coordinate, and the second Cartesian coordinate is converted into the second real-time coordinate.

[0015] In a second aspect, a detection device for an interaction scene is provided, comprising: A real-time coordinate acquisition module, used to acquire a first real-time coordinate of a first unmanned vehicle in a Frenet coordinate system, and to acquire a second real-time coordinate of a second vehicle in the same Frenet coordinate system, wherein the second vehicle is a vehicle whose distance to the first unmanned vehicle is less than a preset distance; a relative distance determination module, configured to determine a relative distance of the first unmanned vehicle relative to the second vehicle based on the first real-time coordinate and the second real-time coordinate, wherein the relative distance includes a longitudinal relative distance and a lateral relative distance; The interaction scene detection module is used to determine the interaction scene between the first unmanned vehicle and the second vehicle based on the change of the relative distance.

[0016] According to a third aspect, an electronic device is provided, including: at least one processor and at least one memory; The memory stores executable instructions of the processor; The processor is configured to execute the method for detecting an interaction scene provided by the technical solution of the first aspect.

[0017] In a fourth aspect, an unmanned vehicle is provided, which uses the detection method for interactive scenes provided by the technical solution of the first aspect to determine interactive scenes.

[0018] Beneficial effects: The technical solution of the present application provides a detection method, device, electronic device and unmanned vehicle for an interactive scene. The detection method for the interactive scene includes first obtaining the first real-time coordinates and the second real-time coordinates of the first unmanned vehicle and the second vehicle in the same Frenet coordinate system respectively, then determining the relative distance of the first unmanned vehicle to the second vehicle based on the first real-time coordinates and the second real-time coordinates, and finally determining the interactive scene between the first unmanned vehicle and the second vehicle based on the change in relative distance. In the same Frenet coordinate system, the relative distance change includes the change in longitudinal relative distance and lateral relative distance, and the change in longitudinal relative distance and lateral relative distance can feedback the interactive scene between the first unmanned vehicle and the second vehicle. The entire interactive scene detection process does not require manual participation, which reduces time and labor costs, and the actual position change between the first unmanned vehicle and the second vehicle is obtained according to the relative distance change, so that the accuracy of interactive scene detection is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 It is a flow chart of a detection method for an interaction scene provided in an embodiment of the present application; Figure 2 It is a mapping diagram based on a nine-square grid provided in an embodiment of the present application; Figure 3 This is a flow chart of an optional method for detecting an interaction scenario provided in an embodiment of the present application; Figure 4 It is a schematic diagram of the structure of a detection device for an interactive scene provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical scheme and advantages of the present application clearer, the technical scheme of the present application is described in detail below in conjunction with the accompanying drawings and embodiments. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other implementation methods obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.

[0022] First, we need to explain the Frenet coordinate system: Usually, the Cartesian coordinate system is used to describe the position of an object, but the Cartesian coordinate system is not the best choice for vehicles. Even if the vehicle position (x, y) is given, it is difficult to measure the vehicle's travel distance and how to control the vehicle on the road if the road is not known.

[0023] That is, when driving on the road, no one will decide the next steering wheel angle based on the horizontal and vertical distance from the current position to the starting point. Usually, they only pay attention to the distance between the vehicle and the left and right lane lines to determine whether it has deviated from the lane and whether it needs to turn the steering wheel to make fine adjustments.

[0024] Therefore, the related technology proposed the Frenet coordinate system. In the autonomous driving motion planning, the Frenet coordinate system uses the center line of the road as the reference line, and then uses the tangent vector and normal vector of the reference line to establish a rectangular coordinate system.

[0025] When mining interactive scenarios, in related technologies, when interactive scenarios of mine autonomous driving are collected through manual recording, one interactive scenario usually requires 2 to 3 people in about 10 minutes to complete, and at least two mining vehicles are required for testing. Only 50 interactive scenarios can be collected every day. Although the scene accuracy is high, both the labor cost and the time cost are relatively high.

[0026] The bag data in the operation and production process is mined through planning decision signals. Since the decision may not be fully executed after the decision signal is issued (for example, when the decision signal is to overtake, there is no need to overtake because the front vehicle accelerates away or leaves the lane, or after overtaking, there is an obstacle in the lane planned for overtaking (such as a vehicle is driving in the lane), which makes it only possible to continue driving in the original lane and cannot continue to overtake), the accuracy of the scene mined through decision signals is low. Although there is no need to deploy special test mining trucks, the low accuracy of mining requires manual verification of the mined data, and the labor cost of verifying the scene is high.

[0027] Therefore, this scheme proposes a method to compare the relative positions of the ego vehicle and the obstacle vehicle during driving using the Frenet coordinate system. The algorithm can be used to mine the interactive scenes in the bag data without human intervention and can ensure that the scene accuracy is 100%.

[0028] Reference Figure 1 , the present application embodiment provides a method for detecting an interaction scene, comprising: S11: Acquire a first real-time coordinate of a first unmanned vehicle in a Frenet coordinate system, and acquire a second real-time coordinate of a second vehicle in the same Frenet coordinate system, wherein the second vehicle is a vehicle whose distance to the first unmanned vehicle is less than a preset distance; It should be noted that the second vehicle can be an unmanned vehicle or a manned vehicle.

[0029] Wherein, obtaining a first real-time coordinate of the first unmanned vehicle in the Frenet coordinate system, and obtaining a second real-time coordinate of the second vehicle in the same Frenet coordinate system includes: Obtain a first Cartesian coordinate of the first unmanned vehicle in a Cartesian coordinate system, and obtain a second Cartesian coordinate of the second vehicle in the same Cartesian coordinate system; it should be noted that the first Cartesian coordinate of the first unmanned vehicle can be obtained through the positioning module of the first unmanned vehicle, and the second Cartesian coordinate of the second vehicle can be obtained through the positioning module of the second vehicle or through the perception module of the first unmanned vehicle.

[0030] The first Cartesian coordinate is converted into the first real-time coordinate, and the second Cartesian coordinate is converted into the second real-time coordinate.

[0031] In addition, in one embodiment, all vehicles whose distance to the first unmanned vehicle is less than a preset distance are determined as second vehicles. That is, in this embodiment, all vehicles within a certain distance from the first unmanned vehicle are regarded as second vehicles, and then the interaction scene between the first unmanned vehicle and each second vehicle is determined separately. Because in practice, the same action of the first unmanned vehicle belongs to different interaction scenes for different second vehicles, so the embodiment of the present application can mine more interaction scenes. However, the disadvantage is that the amount of calculation is large and the calculation cost is high.

[0032] Based on this, in another embodiment of the present application, the second vehicle is determined according to the decision signal to reduce the amount of calculation. The specific implementation is as follows: Vehicles whose distance to the first unmanned vehicle is less than a preset distance are determined as candidate vehicles; and at least one of the candidate vehicles is determined as a second vehicle according to the current decision signal.

[0033] As a preferred implementation of the embodiment of the present application, determining at least one of the candidate vehicles as the second vehicle according to the current decision signal includes: The target lane is determined according to the vehicle interaction type indicated by the current decision signal; and at least one of the candidate vehicles is determined as the second vehicle according to the target lane. Exemplarily, when the current decision signal is overtaking, the lane where the first unmanned vehicle is currently located is used as the target lane, and the candidate vehicle on the target lane with the shortest distance from the first unmanned vehicle is used as the second vehicle. When the current decision signal is cutting in to the left lane, the left lane is determined as the target lane, and the candidate vehicle on the target lane is used as the second vehicle.

[0034] It can be understood that, according to the current decision signal, at least one of the candidate vehicles is determined to be the second vehicle, and the target direction can also be determined according to the current decision signal, and at least one candidate vehicle is determined to be the second vehicle according to the target direction. For example, when the current decision signal is to overtake, the front of the first unmanned vehicle is taken as the target direction, and the candidate vehicle in the target direction is taken as the second vehicle. When the current decision signal is to cut in to the left lane, the left side of the first unmanned vehicle is determined to be the target direction, and the candidate vehicle in the target direction is taken as the second vehicle.

[0035] S12: determining a relative distance of the first unmanned vehicle relative to the second vehicle based on the first real-time coordinate and the second real-time coordinate, wherein the relative distance includes a longitudinal relative distance and a lateral relative distance; Preferably, the longitudinal relative distance is calculated based on the coordinates of the s-axis corresponding to the first real-time coordinate and the coordinates of the s-axis corresponding to the second real-time coordinate; and the longitudinal relative distance is calculated based on the coordinates of the l-axis corresponding to the first real-time coordinate and the coordinates of the l-axis corresponding to the second real-time coordinate.

[0036] For example, s=s2-s1, l=l2-l1; Or, s=s1-s2, l=l1-l2; Among them, s is the longitudinal relative distance, l is the lateral relative distance, s1 is the coordinate of the s-axis corresponding to the first real-time coordinate, l1 is the coordinate of the l-axis corresponding to the first real-time coordinate; s2 is the coordinate of the s-axis corresponding to the second real-time coordinate, l2 is the coordinate of the l-axis corresponding to the second real-time coordinate.

[0037] S13: Determine an interaction scenario between the first unmanned vehicle and the second vehicle based on the change in the relative distance.

[0038] In one embodiment, determining an interaction scene between the first unmanned vehicle and the second vehicle based on the change in the relative distance includes: Map the relative distance to Figure 2 In the nine-square grid shown, the interaction scene between the first unmanned vehicle and the second vehicle is determined based on the change of the relative distance displayed in the nine-square grid.

[0039] Specifically, the position of any of the second vehicles is fixed at the center grid position in the nine-square grid, that is, the grid where the number 5 is located; The position of the first unmanned vehicle in the nine-square grid is determined based on the longitudinal relative distance and the lateral relative distance, and the position change of the first unmanned vehicle in the nine-square grid is determined according to the change of the relative distance; wherein, if the first unmanned vehicle is in front of the left of the second vehicle, the first unmanned vehicle is in the grid where number 1 is located. If the first unmanned vehicle is directly in front of the second vehicle, the first unmanned vehicle is in the grid where number 2 is located. If the first unmanned vehicle is in front of the right of the second vehicle, the first unmanned vehicle is in the grid where number 3 is located. If the first unmanned vehicle is directly to the left of the second vehicle, the first unmanned vehicle is in the grid where number 4 is located. If the first unmanned vehicle is directly to the right of the second vehicle, the first unmanned vehicle is in the grid where number 6 is located. If the first unmanned vehicle is behind the left of the second vehicle, the first unmanned vehicle is in the grid where number 7 is located. If the first unmanned vehicle is directly behind the second vehicle, the first unmanned vehicle is in the grid where number 8 is located. If the first unmanned vehicle is behind the right of the second vehicle, the first unmanned vehicle is in the grid where number 9 is located. Since the positions of the first unmanned vehicle and the second vehicle change in real time, and the position of the second vehicle is fixed at the grid where the number 5 is located, the position change of the first unmanned vehicle in the nine-square grid can be represented by the change of the number of the first unmanned vehicle in the nine-square grid.

[0040] Based on the position change, an interaction scenario between the first unmanned vehicle and the second vehicle is determined. Specifically, as shown in Table 1: Table 1 In Table 1, 8-7-4-1 is used as an example for explanation. 8-7-4-1 means that the relative relationship between the first unmanned vehicle and the second vehicle is equivalent to that the second vehicle is always at the position of number 5, and the position of the first unmanned vehicle in the nine-square grid moves from the position of number 8 to the position of number 7, then to the position of number 4, and finally to the position of number 1. When mining scenes, as long as this 8-7-4-1 process exists, it can be determined that there is an overtaking scene between the first unmanned vehicle and the second vehicle. However, if the judgment is made in the Cartesian coordinate system, since the second vehicle may also be moving in real time and the direction of the road is unclear, it is impossible to determine the position change of the first unmanned vehicle and the second vehicle.

[0041] In another embodiment, determining the interaction scene between the first unmanned vehicle and the second vehicle based on the change in the relative distance includes: Determine the change stages respectively included in the change of the longitudinal relative distance and / or the change of the lateral relative distance, wherein the change stages at least include: a stage where the relative distance is greater than 0, a stage where the relative distance is equal to 0, and a stage where the relative distance is less than 0; In some embodiments, when the absolute value of the relative distance is less than or equal to a threshold, the relative distance is equal to 0. When the relative distance is greater than 0 and greater than a threshold, the relative distance is greater than 0. When the relative distance is less than 0 and the absolute value is greater than a threshold, the relative distance is less than 0, wherein the threshold is greater than or equal to 0, and the specific value is determined according to actual needs.

[0042] Based on the included change stages and the order in which the change stages occur, an interaction scenario between the first unmanned vehicle and the second vehicle is determined.

[0043] Take s=s1-s2, l=l1-l2 as an example to illustrate, the specific corresponding relationship is: Following a vehicle: The longitudinal relative distance only includes the stage when the relative distance is less than 0, and the lateral relative distance only includes the stage when the relative distance is equal to 0.

[0044] Cutting in: the longitudinal relative distance changes in the order of the relative distance being less than 0, the relative distance being equal to 0, and the relative distance being greater than 0, and the lateral relative distance changes from the relative distance being greater than 0 to the relative distance being equal to 0, or from the relative distance being less than 0 to the relative distance being equal to 0; Overtaking: the longitudinal relative distance changes in sequence from the stage of relative distance less than 0, the stage of relative distance equal to 0 and the stage of relative distance greater than 0, and the lateral relative distance changes from the stage of relative distance equal to 0 to the stage of relative distance greater than 0 and then to the stage of relative distance equal to 0; or the lateral relative distance changes from the stage of relative distance equal to 0 to the stage of relative distance less than 0 and then to the stage of relative distance equal to 0; Meeting: the longitudinal relative distance changes from the stage where the relative distance is greater than 0 to the stage where the relative distance is equal to 0 and then to the stage where the relative distance is less than 0; the lateral relative distance changes from the stage where the relative distance is equal to 0 to the stage where the relative distance is greater than 0, or the lateral relative distance changes from the stage where the relative distance is equal to 0 to the stage where the relative distance is less than 0.

[0045] It should be noted that the executor of the present application scheme can be either a cloud platform, where the cloud platform is a platform that can communicate with the first unmanned vehicle and the second vehicle and can control the first unmanned vehicle, or the first unmanned vehicle.

[0046] In order to more clearly illustrate the solution of this application, Figure 3 As shown, a specific interactive scene detection method is provided, the Cartesian coordinates (x2, y2) of each obstacle (i.e., the second vehicle) are obtained from the perception module of the vehicle, and the Cartesian coordinates (x1, y1) of the vehicle are obtained from the positioning module. The Cartesian coordinates of each frame of the vehicle and the obstacle are converted into Frenet coordinates through the ReferenceLine in the map (i.e., the reference line in the Frenet coordinates). During the dynamic driving process, the relative horizontal and vertical distances between the vehicle and the obstacle are obtained through the Frenet coordinates, and then the horizontal and vertical distances are mapped to the nine-square grid, and the position of the nine-square grid is used to determine whether an interactive scene occurs. Among them, Figure 3 Cartesian in the formula refers to Cartesian, and Cartesian transformation refers to the transformation of Cartesian coordinates.

[0047] Here are the steps: 1. Get the Cartesian coordinates (x2, y2) of each obstacle from the perception module; 2. Obtain the Cartesian coordinates (x1, y1) of the vehicle from the positioning module; 3. Convert the Cartesian coordinates to Frenet coordinates through ReferenceLine to obtain the first real-time coordinates of the vehicle (s1, l1) and the second real-time coordinates of the obstacle (s2, l2); 4. Project the vehicle and obstacles onto Figure 2 In the nine-square grid shown, the obstacle car is always in position 5; 5. Although the Cartesian coordinates of the ego vehicle and the obstacle are always changing, the converted Frenet coordinates are dynamic coordinates, and the origin is always moving. Calculate the relative distance between the ego vehicle and the obstacle: s is the longitudinal relative distance, and l is the lateral relative distance.

[0048] 6. Determine the driving trajectory through relative position to mine specific interaction scenarios. The driving trajectory and corresponding scenarios are shown in Table 1.

[0049] The specific interactive scene detection method provided in this application has a relatively low accuracy rate in collecting mine autonomous driving interactive scenes through manual recording or mining scenes through planning's current decision signals, and the required time and labor costs are relatively high. This solution converts the Cartesian coordinates of the unmanned vehicle and the surrounding dynamic vehicles into Frenet coordinates, and maps the interactive process in three-dimensional space to the nine-square grid through Frenet coordinates, and finally mines various specific interactive scenes through quantified dynamic relative distances. The interactive behavior of the self-vehicle and the obstacle vehicle is mapped to the nine-square grid using the Frenet coordinate system, and the mine autonomous driving scene is mined by dynamically judging the position of the self-vehicle and the obstacle vehicle during driving, which can ensure that the scene accuracy of mining is 100% without human participation.

[0050] Based on the same inventive concept, Figure 4 As shown, the present application provides an interactive scene detection device 40, comprising: A real-time coordinate acquisition module 41 is used to acquire a first real-time coordinate of a first unmanned vehicle in a Frenet coordinate system, and to acquire a second real-time coordinate of a second vehicle in the same Frenet coordinate system, wherein the second vehicle is a vehicle whose distance to the first unmanned vehicle is less than a preset distance; In one embodiment, all vehicles whose distance to the first unmanned vehicle is less than a preset distance are determined as second vehicles.

[0051] In another embodiment, a vehicle whose distance to the first unmanned vehicle is less than a preset distance is determined as a candidate vehicle; At least one of the candidate vehicles is determined to be the second vehicle according to the current decision signal.

[0052] Wherein, determining at least one of the candidate vehicles as the second vehicle according to the current decision signal comprises: Determining a target lane according to a vehicle interaction type indicated by the current decision signal; According to the target lane, at least one of the candidate vehicles is determined to be the second vehicle.

[0053] As a preferred implementation method of the embodiment of the present application, the obtaining of the first real-time coordinates of the first unmanned vehicle in the Frenet coordinate system and the obtaining of the second real-time coordinates of the second vehicle in the same Frenet coordinate system include: Obtaining a first Cartesian coordinate of the first unmanned vehicle in a Cartesian coordinate system, and obtaining a second Cartesian coordinate of the second vehicle in the same Cartesian coordinate system; The first Cartesian coordinate is converted into the first real-time coordinate, and the second Cartesian coordinate is converted into the second real-time coordinate.

[0054] A relative distance determination module 42, configured to determine a relative distance of the first unmanned vehicle relative to the second vehicle based on the first real-time coordinate and the second real-time coordinate, wherein the relative distance includes a longitudinal relative distance and a lateral relative distance; Wherein, determining the relative distance of the first unmanned vehicle with respect to the second vehicle based on the first real-time coordinate and the second real-time coordinate comprises: Calculating a longitudinal relative distance based on the s-axis coordinate corresponding to the first real-time coordinate and the s-axis coordinate corresponding to the second real-time coordinate; And the longitudinal relative distance is calculated based on the coordinate of the l-axis corresponding to the first real-time coordinate and the coordinate of the l-axis corresponding to the second real-time coordinate.

[0055] Specifically, s=s2-s1, l=l2-l1; Or, s=s1-s2, l=l1-l2; Among them, s is the longitudinal relative distance, l is the lateral relative distance, s1 is the coordinate of the s-axis corresponding to the first real-time coordinate, l1 is the coordinate of the l-axis corresponding to the first real-time coordinate; s2 is the coordinate of the s-axis corresponding to the second real-time coordinate, l2 is the coordinate of the l-axis corresponding to the second real-time coordinate.

[0056] The interaction scene detection module 43 is used to determine the interaction scene between the first unmanned vehicle and the second vehicle based on the change of the relative distance.

[0057] In one embodiment, determining an interaction scenario between the first unmanned vehicle and the second vehicle based on the change in the relative distance includes: The relative distance is mapped into a nine-square grid, and based on a change in the relative distance displayed in the nine-square grid, an interaction scene between the first unmanned vehicle and the second vehicle is determined.

[0058] Mapping the relative distance to a nine-square grid, and determining an interaction scene between the first unmanned vehicle and the second vehicle based on a change in the relative distance displayed in the nine-square grid includes: Fixing the position of any of the second vehicles at the center position of the nine-square grid; Determine the position of the first unmanned vehicle in the nine-square grid based on the longitudinal relative distance and the lateral relative distance, and determine the position change of the first unmanned vehicle in the nine-square grid according to the change of the relative distance; Based on the position change, an interaction scenario between the first unmanned vehicle and the second vehicle is determined.

[0059] In another embodiment, determining the interaction scene between the first unmanned vehicle and the second vehicle based on the change in the relative distance includes: Determine the change stages respectively included in the change of the longitudinal relative distance and / or the change of the lateral relative distance, wherein the change stages at least include: a stage where the relative distance is greater than 0, a stage where the relative distance is equal to 0, and a stage where the relative distance is less than 0; Based on the included change stages and the order in which the change stages occur, an interaction scenario between the first unmanned vehicle and the second vehicle is determined.

[0060] The detection device for the interactive scene provided in the embodiment of the present application first obtains the first real-time coordinates and the second real-time coordinates of the first unmanned vehicle and the second vehicle in the same Frenet coordinate system respectively, then determines the relative distance of the first unmanned vehicle to the second vehicle based on the first real-time coordinates and the second real-time coordinates, and finally determines the interactive scene between the first unmanned vehicle and the second vehicle based on the change in relative distance. In the same Frenet coordinate system, the relative distance change includes the change in longitudinal relative distance and lateral relative distance, and the change in longitudinal relative distance and lateral relative distance can feedback the interactive scene between the first unmanned vehicle and the second vehicle. The entire interactive scene detection process does not require human participation, which reduces time and labor costs, and the actual position change between the first unmanned vehicle and the second vehicle is obtained based on the relative distance change, with high accuracy.

[0061] Based on the same inventive concept, the present application provides an electronic device, including: at least one processor and at least one memory; The memory stores executable instructions of the processor; The processor is configured to execute the interaction scene detection method provided in any one of the above embodiments.

[0062] Based on the same inventive concept, the present application provides an unmanned vehicle, which uses the interaction scene detection method provided in any of the above embodiments to determine the interaction scene.

[0063] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0064] It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0065] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0066] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0067] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0068] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0069] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0070] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0071] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for detecting an interactive scene, characterized in that: include: Acquire a first real-time coordinate of a first unmanned vehicle in a Frenet coordinate system, and acquire a second real-time coordinate of a second vehicle in the same Frenet coordinate system, wherein the second vehicle is a vehicle whose distance to the first unmanned vehicle is less than a preset distance; Determine a relative distance of the first unmanned vehicle relative to the second vehicle based on the first real-time coordinate and the second real-time coordinate, wherein the relative distance includes a longitudinal relative distance and a lateral relative distance; Based on the change in the relative distance, an interaction scene between the first unmanned vehicle and the second vehicle is determined.

2. The method according to claim 1, characterized in that The determining, based on the change in the relative distance, an interaction scene between the first unmanned vehicle and the second vehicle includes: The relative distance is mapped into a nine-square grid, and based on a change in the relative distance displayed in the nine-square grid, an interaction scene between the first unmanned vehicle and the second vehicle is determined.

3. The method according to claim 2, characterized in that Mapping the relative distance to a nine-square grid, and determining an interaction scene between the first unmanned vehicle and the second vehicle based on a change in the relative distance displayed in the nine-square grid includes: Fixing the position of any of the second vehicles at the center position of the nine-square grid; Determine the position of the first unmanned vehicle in the nine-square grid based on the longitudinal relative distance and the lateral relative distance, and determine the position change of the first unmanned vehicle in the nine-square grid according to the change of the relative distance; Based on the position change, an interaction scenario between the first unmanned vehicle and the second vehicle is determined.

4. The method according to claim 1, characterized in that: The determining, based on the change in the relative distance, an interaction scene between the first unmanned vehicle and the second vehicle comprises: Determine the change stages respectively included in the change of the longitudinal relative distance and / or the change of the lateral relative distance, wherein the change stages at least include: a stage where the relative distance is greater than 0, a stage where the relative distance is equal to 0, and a stage where the relative distance is less than 0; Based on the included change stages and the order in which the change stages occur, an interaction scenario between the first unmanned vehicle and the second vehicle is determined.

5. The method according to claim 1, characterized in that The determining the relative distance of the first unmanned vehicle with respect to the second vehicle based on the first real-time coordinate and the second real-time coordinate comprises: Calculating a longitudinal relative distance based on the coordinate of the s-axis corresponding to the first real-time coordinate and the coordinate of the s-axis corresponding to the second real-time coordinate; And the longitudinal relative distance is calculated based on the coordinate of the l-axis corresponding to the first real-time coordinate and the coordinate of the l-axis corresponding to the second real-time coordinate.

6. The method according to claim 5, characterized in that The longitudinal relative distance is calculated based on the coordinate of the s-axis corresponding to the first real-time coordinate and the coordinate of the s-axis corresponding to the second real-time coordinate; And calculating the longitudinal relative distance based on the coordinate of the first axis corresponding to the first real-time coordinate and the coordinate of the first axis corresponding to the second real-time coordinate includes: s=s2-s1, l=l2-l1; Or, s=s1-s2, l=l1-l2; Among them, s is the longitudinal relative distance, l is the lateral relative distance, s1 is the coordinate of the s-axis corresponding to the first real-time coordinate, l1 is the coordinate of the l-axis corresponding to the first real-time coordinate; s2 is the coordinate of the s-axis corresponding to the second real-time coordinate, l2 is the coordinate of the l-axis corresponding to the second real-time coordinate.

7. The method according to claim 1, characterized in that Also includes: All vehicles whose distance to the first unmanned vehicle is less than a preset distance are determined as second vehicles.

8. The method according to claim 1, characterized in that Also includes: Determine a vehicle whose distance to the first unmanned vehicle is less than a preset distance as a candidate vehicle; At least one of the candidate vehicles is determined to be the second vehicle according to the current decision signal.

9. The method according to claim 8, characterized in that Determining at least one of the candidate vehicles as the second vehicle according to the current decision signal comprises: Determining a target lane according to a vehicle interaction type indicated by the current decision signal; According to the target lane, at least one of the candidate vehicles is determined to be the second vehicle.

10. The method according to claim 1, characterized in that The step of obtaining a first real-time coordinate of the first unmanned vehicle in a Frenet coordinate system and obtaining a second real-time coordinate of the second vehicle in the same Frenet coordinate system comprises: Obtaining a first Cartesian coordinate of the first unmanned vehicle in a Cartesian coordinate system, and obtaining a second Cartesian coordinate of the second vehicle in the same Cartesian coordinate system; The first Cartesian coordinate is converted into the first real-time coordinate, and the second Cartesian coordinate is converted into the second real-time coordinate.

11. A detection device for an interactive scene, characterized in that: include: A real-time coordinate acquisition module, used to acquire a first real-time coordinate of a first unmanned vehicle in a Frenet coordinate system, and to acquire a second real-time coordinate of a second vehicle in the same Frenet coordinate system, wherein the second vehicle is a vehicle whose distance to the first unmanned vehicle is less than a preset distance; a relative distance determination module, configured to determine a relative distance of the first unmanned vehicle relative to the second vehicle based on the first real-time coordinate and the second real-time coordinate, wherein the relative distance includes a longitudinal relative distance and a lateral relative distance; The interaction scene detection module is used to determine the interaction scene between the first unmanned vehicle and the second vehicle based on the change of the relative distance.

12. An electronic device, characterized in that: include: at least one processor and at least one memory; The memory stores executable instructions of the processor; The processor is configured to execute the method according to any one of claims 1-10.

13. An unmanned vehicle, characterized in that: The interaction scenario is determined by applying the method described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Road dynamic scene simulation method and system

    CN116541295A

  • Sampled vehicle behavior and environment interaction-based automatic driving path planning method

    CN117109620A

  • Driving risk early warning method based on intelligent network connection automobile operation scene analysis

    CN117275237A

  • Vehicle driving intention prediction method, device and equipment and computer storage medium

    CN118254811A

  • Multi-lane hybrid vehicle dynamic formation control method, device, equipment and medium

    CN118522137A