A trajectory decision evaluation method based on planar topology analysis

Evaluate the trajectory decision-making module in the autonomous driving system through plane topology analysis and compare trajectory differences, which solves the problem of difficulty in evaluating the decision-making accuracy of the trajectory decision-making module and achieves higher safety and comfort.

CN113935638BActive Publication Date: 2024-10-15BEIJING QINGZHOUZHIHANG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111222682.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-20
Publication Date
2024-10-15
Estimated Expiration
2041-10-20

AI Technical Summary

Technical Problem

The decision-making accuracy of the trajectory decision-making module in the autonomous driving system is difficult to effectively evaluate, affecting safety and comfort.

Method used

The trajectory decision evaluation method based on plane topology analysis is used to evaluate the decision-making accuracy of the trajectory decision module by selecting the evaluation vehicle and the reference vehicle, comparing the topological differences between the decision trajectory and the actual driving trajectory, and judging whether the trajectory is equivalent.

Benefits of technology

An effective evaluation mechanism is provided to ensure the decision-making accuracy of the trajectory decision module and improve the safety and comfort of the autonomous driving system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113935638B_ABST
    Figure CN113935638B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to a trajectory decision evaluation method based on plane topology analysis, the method comprising: selecting any vehicle from all vehicles in a preset scene as an evaluation vehicle A, and any other vehicle as a reference vehicle K; obtaining the decision trajectory of the evaluation vehicle A to generate a trajectory T1, and the actual driving trajectory to generate a trajectory T2; using the self-vehicle coordinate system of the reference vehicle K as the target coordinate system, performing coordinate system conversion on the trajectories T1 and T2 to generate a trajectory #imgabs0#, and performing plane topology analysis on the trajectory #imgabs1# to generate a trajectory analysis result; if the trajectory analysis result is trajectory equivalence, the trajectory analysis results of the trajectories T1 and T2 relative to the reference vehicle K are also considered to be trajectory equivalence; if the trajectory analysis results of the trajectories T1 and T2 relative to all reference vehicles K are all trajectory equivalence, the trajectory decision evaluation results of the trajectories T1 and T2 are considered to be trajectory equivalence. The present invention can effectively evaluate the trajectory decision module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a trajectory decision evaluation method based on plane topology analysis. Background Art

[0002] The trajectory decision module of the autonomous driving system is used to integrate the vehicle's surrounding environment information and make decisions on the future driving trajectory of the vehicle to generate a decision trajectory. The decision accuracy of the trajectory decision module has a great impact on the safety and comfort of autonomous driving. How to effectively evaluate the decision trajectory of the trajectory decision module is a major topic in the current autonomous driving research and development. Summary of the invention

[0003] The purpose of the present invention is to provide a trajectory decision evaluation method, electronic device and computer-readable storage medium based on planar topology analysis to address the defects of the prior art, determine the evaluation vehicle and the reference vehicle in the scene, and judge whether the decision trajectory of the evaluation vehicle and the actual driving trajectory are in an equivalent trajectory relationship at the trajectory decision level based on the topological difference between the decision trajectory of the evaluation vehicle and the actual driving trajectory relative to the decision trajectory of the reference vehicle. Through the method of the present invention, if the evaluation results based on all reference vehicles in the scene confirm that the decision trajectory of the evaluation vehicle and the actual driving trajectory are in an equivalent trajectory relationship, it proves that the decision trajectory of the current evaluation vehicle has a high degree of conformity with the actual driving trajectory; if the decision trajectory of all vehicles in the scene has a high degree of conformity with the actual driving trajectory, it proves that the decision accuracy of the trajectory decision module that generates the decision trajectory is high. Based on this, an effective evaluation mechanism can be provided for the trajectory decision module, thereby achieving the purpose of ensuring the decision accuracy of the trajectory decision module.

[0004] To achieve the above object, a first aspect of an embodiment of the present invention provides a trajectory decision evaluation method based on planar topology analysis, the method comprising:

[0005] Select any vehicle from all vehicles in a preset scene as an evaluation vehicle A, and select any other vehicle in the scene except the evaluation vehicle A as a reference vehicle K;

[0006] Obtaining the decision trajectory of the evaluation vehicle A to generate a corresponding trajectory T1, and obtaining the actual driving trajectory of the evaluation vehicle A to generate a corresponding trajectory T2;

[0007] The trajectories T1 and T2 are transformed into coordinate systems by taking the self-vehicle coordinate system of the reference vehicle K as the target coordinate system, and two corresponding trajectories in the target coordinate system are generated and recorded as trajectories

[0008] For the trajectory Perform plane topology analysis to generate corresponding trajectory analysis results;

[0009] If the trajectory analysis result is trajectory equivalence, then the trajectory analysis results of the corresponding trajectories T1 and T2 relative to the reference vehicle K are also considered to be trajectory equivalence;

[0010] If the trajectory analysis results of the trajectories T1 and T2 relative to all reference vehicles K are trajectory equivalent, the trajectory decision evaluation results of the trajectories T1 and T2 are regarded as trajectory equivalent.

[0011] Preferably, the trajectory T1 includes a plurality of trajectory points P 1,i , the trajectory T2 includes a plurality of trajectory points P 2,i ; The total number of trajectory points of the trajectories T1 and T2 is equal to N, N≥i≥1; the trajectory point P 1,i , P 2,i Based on the one-to-one correspondence between the subscript i, the corresponding trajectory point P 1,i , P 2,i The time parameters of the trajectory points are consistent;

[0012] The trajectory Include multiple track points The trajectory Include multiple track points

[0013] Preferably, the coordinate system of the reference vehicle K is used as the target coordinate system to transform the trajectories T1 and T2, and two corresponding trajectories in the target coordinate system are generated and recorded as trajectories Specifically include:

[0014] Obtain the decision trajectory of the reference vehicle K to generate the corresponding trajectory T K The trajectory T K Including multiple trajectory points P k,i The trajectory point P k,i Based on the subscript i and the trajectory point P 1,i , P 2,i Corresponding to the trajectory point P 1,i , P 2,i , P k,i The time parameters of the trajectory points are consistent;

[0015] Obtain the reference vehicle K at each of the trajectory points P k,i The vehicle heading angle information at the moment generates the corresponding heading angle θ k,i ;

[0016] According to the corresponding trajectory point P k,i and the orientation angle θ k,i , for the trajectory point P 1,iPerform target coordinate system conversion to generate the corresponding trajectory points

[0017]

[0018] According to the corresponding trajectory point P k,i and the orientation angle θ k,i , for the trajectory point P 2,i Perform target coordinate system conversion to generate the corresponding trajectory points

[0019]

[0020] All the trajectory points obtained by Arranged in chronological order, forming the trajectory All the trajectory points obtained by Arranged in chronological order, forming the trajectory

[0021] Preferably, the trajectory Perform plane topology analysis to generate corresponding trajectory analysis results, including:

[0022] Starting from the origin of the target coordinate system to the trajectory Each of the trajectory points Construct the corresponding trajectory point vector and generate the corresponding trajectory point vector

[0023] Based on the subscript i, calculate each pair of trajectory point vectors The vector dot product result generates the corresponding first result M i ,

[0024] If all the first results M i are not less than 0, then connect the trajectories The first and last trajectory points of The merged trajectory Include multiple track points M≥j≥1, M is the merged trajectory The total number of trajectory points; the merged trajectory The last track point in With the first coincide;

[0025] Starting from the origin of the target coordinate system to the merged trajectory Each of the trajectory points Construct the corresponding trajectory point vector and generate the corresponding trajectory point vector

[0026] Calculate the vector of adjacent trajectory points The angle α j , and count all the angles α j The sum of the angles α sum ;

[0027] If the sum of the angles α sum is 0, then the trajectory analysis result specifically equivalent to the trajectory is generated.

[0028] Furthermore, if the trajectory The first and last trajectory points coincide, then M = 2N-1; if the trajectory The first trajectory points coincide with each other but the last trajectory points do not, then M=2N.

[0029] Furthermore, if any of the first results M i is less than 0, or the sum of the angles α sum is not 0, the method further comprises:

[0030] The trajectory analysis result specifically indicating trajectory inequality is generated.

[0031] Preferably, if the trajectory analysis result is that the trajectories are not equivalent, the method further includes:

[0032] The trajectory decision evaluation results of the trajectories T1 and T2 are regarded as unequal trajectories.

[0033] A second aspect of an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a transceiver;

[0034] The processor is used to be coupled to the memory, read and execute instructions in the memory, so as to implement the method steps described in the first aspect above;

[0035] The transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.

[0036] A third aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions. When the computer instructions are executed by a computer, the computer executes the instructions of the method described in the first aspect above.

[0037] The embodiment of the present invention provides a trajectory decision evaluation method, electronic device and computer-readable storage medium based on planar topology analysis, which determines an evaluation vehicle and a reference vehicle in a scene, and judges whether the decision trajectory of the evaluation vehicle and the actual driving trajectory are in an equivalent trajectory relationship at the trajectory decision level based on the topological difference between the decision trajectory of the evaluation vehicle and the actual driving trajectory relative to the decision trajectory of the reference vehicle. Through the method of the present invention, if the evaluation results based on all reference vehicles in the scene confirm that the decision trajectory of the evaluation vehicle and the actual driving trajectory are in an equivalent trajectory relationship, it proves that the decision trajectory of the current evaluation vehicle has a high degree of conformity with the actual driving trajectory; if the decision trajectory of all vehicles in the scene has a high degree of conformity with the actual driving trajectory, it proves that the decision accuracy of the trajectory decision module that generates the decision trajectory is high. This provides an effective evaluation mechanism for the trajectory decision module, ensuring the decision accuracy of the trajectory decision module. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of a trajectory decision evaluation method based on planar topology analysis provided in Embodiment 1 of the present invention;

[0039] Figure 2 A schematic diagram of the structure of an electronic device provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] When evaluating the trajectory decision module of the automatic driving system, the trajectory decision module first makes decisions on the driving trajectories of each traffic participant, that is, the driving vehicles in the current preset scene to generate a decision trajectory, and at the same time saves the real-time manual driving trajectory of the vehicle as the corresponding actual driving trajectory, and then uses a trajectory decision evaluation method based on plane topology analysis provided in the first embodiment of the present invention to judge the trajectory equivalence relationship between all decision trajectories generated by the trajectory decision module and their corresponding actual driving trajectories; Figure 1 A schematic diagram of a trajectory decision evaluation method based on plane topology analysis provided in the first embodiment of the present invention is shown in FIG. Figure 1 As shown, this method mainly includes the following steps:

[0042] Step 1: Select any vehicle from all vehicles in a preset scene as an evaluation vehicle A, and select any other vehicle in the scene except the evaluation vehicle A as a reference vehicle K.

[0043] Here, the preset scene is a road scene with multiple moving vehicles.

[0044] For example, there is a vehicle 1, 2, and 3 on each of the three lanes of the road. These three vehicles are taken as evaluation vehicle A in turn, and the corresponding reference vehicles are: when the evaluation vehicle A is vehicle 1, vehicles 2 and 3 are taken as reference vehicle K in turn; when the evaluation vehicle A is vehicle 2, vehicles 1 and 3 are taken as reference vehicle K in turn; when the evaluation vehicle A is vehicle 3, vehicles 1 and 2 are taken as reference vehicle K in turn.

[0045] Step 2, obtaining the decision trajectory of the evaluated vehicle A to generate the corresponding trajectory T1, and obtaining the actual driving trajectory of the evaluated vehicle A to generate the corresponding trajectory T2;

[0046] Among them, the trajectory T1 includes multiple trajectory points P 1,i , the trajectory T2 includes multiple trajectory points P 2,i ; The total number of trajectory points of trajectories T1 and T2 is equal to N, N≥i≥1; trajectory point P 1,i , P 2,i Based on the one-to-one correspondence between the subscript i, the corresponding trajectory point P 1,i , P 2,i The time parameters of the trajectory points are consistent.

[0047] Here, the decision trajectories of all vehicles are aligned with the trajectory points of the actual driving trajectories in time; each trajectory point also has a position coordinate in a unified original coordinate system, which can be a road SL coordinate or a world coordinate.

[0048] Step 3: Use the ego-vehicle coordinate system of the reference vehicle K as the target coordinate system to transform the trajectories T1 and T2, and generate two corresponding trajectories in the target coordinate system, recorded as trajectories

[0049] Among them, the trajectory Include multiple track points Trajectory Include multiple track points

[0050] Here, the relative trajectory of vehicle A relative to the reference vehicle K is evaluated in the original coordinate system in combination with the posture parameters of the reference vehicle K. The coordinate conversion process from the original coordinate system to the reference vehicle K self-vehicle coordinate system, that is, the target coordinate system, is performed to obtain the trajectories T1 and T2.

[0051] Specifically, step 31 is to obtain the decision trajectory of the reference vehicle K and generate the corresponding trajectory T K ;

[0052] Among them, the trajectory TK Including multiple trajectory points P k,i ; Track point P k,i Based on the subscript i and the trajectory point P 1,i , P 2,i Corresponding, the corresponding trajectory point P 1,i , P 2,i , P k,i The time parameters of the trajectory points are consistent;

[0053] Step 32: Obtain the reference vehicle K at each trajectory point P k,i The vehicle heading angle information at the moment generates the corresponding heading angle θ k,i ;

[0054] This, towards the angle θ k,i It is the posture parameters of the reference vehicle K at each trajectory point in the original coordinate system;

[0055] Step 33, according to the corresponding trajectory point P k,i and the orientation angle θ k,i , for the trajectory point P 1,i Perform target coordinate system transformation to generate corresponding trajectory points

[0056]

[0057] Here, (P 1,i -P k,i ) is the trajectory point P on the trajectory T1 of vehicle A evaluated in the original coordinate system 1,i The relative displacement with respect to the reference vehicle K, It is based on the pose parameters of the reference vehicle K, that is, the orientation angle θ k,i The coordinate transformation matrix from the original coordinate system to the target coordinate system; trajectory point In the target coordinate system, the reference vehicle K is taken as the stationary origin and the original trajectory point P is taken as 1,i The corresponding target coordinate system trajectory point;

[0058] Step 34, according to the corresponding trajectory point P k,i and the orientation angle θ k,i , for the trajectory point P 2,i Perform target coordinate system transformation to generate corresponding trajectory points

[0059]

[0060] Here, similarly to step 33, (P 2,i -P k,i ) is the trajectory point P on the trajectory T2 of vehicle A evaluated in the original coordinate system 2,iRelative displacement relative to the reference vehicle K; trajectory point In the target coordinate system, the reference vehicle K is taken as the stationary origin and the original trajectory point P is taken as 2,i The corresponding target coordinate system trajectory point;

[0061] Step 35, all the trajectory points obtained Sort by time to form a trajectory All the trajectory points obtained Sort by time to form a trajectory

[0062] Step 4: Track Perform plane topology analysis to generate corresponding trajectory analysis results;

[0063] Here, the plane topology analysis mainly includes two steps. The first step is to determine the trajectory. The specific judgment method is to check whether the driving directions of the same time parameters are the same. The corresponding two coordinate vectors are in the same direction to determine whether they are in the same direction. If the vector directions of all trajectory points are the same, then the trajectory is considered The real-time driving direction is the same and the second step analysis is continued. Otherwise, the trajectory is determined The second step is to divide the road into left and right sides based on the front and rear directions of the reference vehicle K, and judge the trajectory. Whether they are on the same side of the reference vehicle K (on the left or on the right), the specific judgment method is to convert the trajectory The first and last track points are connected to form a closed track, and the total rotation angle of the closed track from the start to the end track point relative to the origin of the target coordinate system is calculated by referring to the winding number principle. If the total angle is 0, it means that the track On the same side of the reference vehicle K to identify the trajectory The trajectory is equivalent and the trajectory analysis result is output as the trajectory equivalent, otherwise the trajectory is determined For unequal trajectories, the trajectory analysis result is output as unequal trajectories;

[0064] Specifically include: Step 41, starting from the origin of the target coordinate system to the trajectory Each track point Construct the corresponding trajectory point vector and generate the corresponding trajectory point vector

[0065] Step 42, based on the index i, calculate each pair of trajectory point vectors The vector dot product result generates the corresponding first result M i ,

[0066] Here, according to the vector dot multiplication principle, we know that if the angle between two vectors is less than or equal to 90°, the vector dot multiplication result is greater than or equal to 0, otherwise it is less than 0; the embodiment of the present invention assumes that if the angle between two vectors is less than or equal to 90°, the two vectors have the same direction, that is, if the first result M i is not less than 0, then the corresponding trajectory point vector The vector directions of can be considered to be in the same direction;

[0067] Step 43, determine all first results M i Are they all not less than 0? If any of the first results M i is less than 0, go to step 44; if all first results M i If both are not less than 0, go to step 45;

[0068] Here, if all first results M i If it is not less than 0, it means that the trajectory The real-time driving direction is the same, go to step 45 to continue the second step analysis; if any of the first results M i Less than 0, it means the trajectory If the real-time driving direction of the track point is different, the current first step analysis is stopped and the process goes to step 44;

[0069] Step 44, generating a trajectory analysis result specifically indicating that the trajectories are not equivalent; go to step 5;

[0070] Here, the embodiment of the present invention identifies the trajectory For unequal trajectories, the trajectory analysis result is output as unequal trajectories;

[0071] Step 45, connect the tracks The first and last trajectory points of

[0072] Among them, the merged trajectory Include multiple track points M≥j≥1, M is the merged trajectory The total number of trajectory points; if the trajectory The first and last trajectory points coincide, then M = 2N-1; if the trajectory The first track points of the two trajectories overlap but the last track points do not overlap, then M = 2N; merge the trajectories The last track point in With the first coincide;

[0073] Here, the track The first trajectory points of are all coincident, but the last trajectory points may not be coincident;

[0074] Step 46, starting from the origin of the target coordinate system to the merged trajectory Each track point Construct the corresponding trajectory point vector and generate the corresponding trajectory point vector

[0075] Step 47, calculate the adjacent trajectory point vector The angle α j , and count all angles α j The sum of the angles α sum ;

[0076] in,

[0077] Here, the winding number principle is used to calculate the sum of the winding angles of the closed trajectory relative to a fixed point, which is the origin of the target coordinate system. The so-called winding number refers to the number of times a closed curve on a plane winds around a fixed point. The sum of the rotation angles of the winding point on the closed curve relative to the fixed point during each winding process is 360°. Based on the winding number principle, if the origin of the target coordinate system is located on the merged trajectory If the target coordinate system origin is within the closed curve formed by Outside the closed curve, the winding number can only be 0 and the total rotation angle can only be 0°; that is, when the total rotation angle is 0°, the origin of the target coordinate system is located at the merged trajectory. In addition to the closed curve, it also forms a merged trajectory Trajectory On the same side of the reference vehicle K (on the left side or on the right side);

[0078] In this step, the merged trajectory is calculated Upper adjacent trajectory point vector The vector angle is the angle α j The rotation angles of adjacent trajectory points can be obtained, and then all angles α j By summing up, we can naturally get the value from the first trajectory point Starting from the track point Until the last track point (with the first trajectory point The total rotation angle and the total angle α sum ;

[0079] Step 48, determine the total angle α sum Is it 0? If the sum of the angles α sum is 0, then a trajectory analysis result equivalent to the trajectory is generated; if the total angle αsum If it is not 0, a trajectory analysis result is generated specifically indicating that the trajectories are not equivalent.

[0080] Here, if the sum of the angles α sum 0, indicating the trajectory On the same side of the reference vehicle K, the generated trajectory analysis result is the trajectory equivalent; if the sum of the angles α sum Not 0, indicating the trajectory It is not on the same side of the reference vehicle K, and the trajectory analysis result is generated as trajectory inequality.

[0081] Step 5, determine whether the trajectory analysis result is trajectory equivalence; if the trajectory analysis result is trajectory equivalence, then the corresponding trajectories T1 and T2 are considered to be trajectory equivalent relative to the trajectory analysis result of the reference vehicle K, and go to step 6; if the trajectory analysis result is trajectory inequality, then the trajectory decision evaluation results of the trajectories T1 and T2 are considered to be trajectory inequality, and go to step 401.

[0082] Here, if the trajectory analysis result is trajectory equivalence, it means that from the relative angle of the reference vehicle K, the trajectory decision module has a high degree of conformity between the decision trajectory T1 of the evaluated vehicle A and the corresponding actual driving trajectory T2; if the trajectory analysis result is trajectory inequality, it means that from the relative angle of the reference vehicle K, the trajectory decision module has a low degree of conformity between the decision trajectory T1 of the evaluated vehicle A and the corresponding actual driving trajectory T2, and the next step is to go to the error processing step 401 to perform error information prompt processing. Here, the specific processing steps of the error information prompt processing in step 401 can establish a variety of corresponding implementation steps according to actual application requirements, and the embodiment of the present invention will not be further described here.

[0083] Step 6: If the trajectory analysis results of trajectories T1 and T2 relative to all reference vehicles K are trajectory equivalent, the trajectory decision evaluation results of trajectories T1 and T2 are considered to be trajectory equivalent.

[0084] For example, there are cars 1, 2, and 3 in the current scene;

[0085] When the evaluation vehicle A is vehicle 1, vehicles 2 and 3 are used as reference vehicles K to evaluate the equivalence relationship of vehicle 1's trajectories T1 and T2 to obtain two vehicle 1 evaluation results. If the two vehicle 1 evaluation results are both trajectory equivalent, the trajectory decision evaluation results of vehicle 1's trajectories T1 and T2 are considered to be trajectory equivalent, which means that the trajectory decision module has a high degree of conformity between the decision trajectory T1 of vehicle 1 and the actual driving trajectory T2.

[0086] When the evaluation vehicle A is vehicle 2, vehicles 1 and 3 are used as reference vehicles K to evaluate the equivalence relationship of vehicle 2's trajectories T1 and T2 to obtain two vehicle 2 evaluation results. If the two vehicle 2 evaluation results are both trajectory equivalent, the trajectory decision evaluation results of vehicle 2's trajectories T1 and T2 are considered to be trajectory equivalent, which means that the trajectory decision module has a high degree of conformity between vehicle 2's decision trajectory T1 and the actual driving trajectory T2.

[0087] When the evaluated vehicle A is vehicle 3, vehicles 1 and 2 are used as reference vehicles K to evaluate the equivalence relationship of vehicle 3's trajectories T1 and T2 to obtain two evaluation results for vehicle 3. If these two evaluation results for vehicle 3 are both trajectory equivalence, the trajectory decision evaluation results of vehicle 3's trajectories T1 and T2 are considered to be trajectory equivalence, which means that the trajectory decision module has a high degree of conformity between the decision trajectory T1 of vehicle 3 and the actual driving trajectory T2.

[0088] When it is proven that the decision trajectories of vehicles 1, 2, and 3 made by the trajectory decision module are highly consistent with their respective actual driving trajectories, a high evaluation result can be given to the decision accuracy of the trajectory decision module in the current scenario.

[0089] Figure 2 This is a schematic diagram of the structure of an electronic device provided in the second embodiment of the present invention. The electronic device may be the aforementioned terminal device or server, or may be a terminal device or server connected to the aforementioned terminal device or server to implement the method of the embodiment of the present invention. Figure 2 As shown, the electronic device may include: a processor 301 (such as a CPU), a memory 302, and a transceiver 303; the transceiver 303 is coupled to the processor 301, and the processor 301 controls the transceiver 303. Various instructions may be stored in the memory 302 to complete various processing functions and implement the processing steps described in the aforementioned method embodiment. Preferably, the electronic device involved in the embodiment of the present invention also includes: a power supply 304, a system bus 305 and a communication port 306. The system bus 305 is used to realize the communication connection between components. The above-mentioned communication port 306 is used for connecting and communicating between the electronic device and other peripherals.

[0090] exist Figure 2The system bus 305 mentioned in the figure can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM), and may also include non-volatile memory (Non-Volatile Memory), such as at least one disk storage.

[0091] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a graphics processing unit (GPU), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0092] It should be noted that an embodiment of the present invention further provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the method and processing process provided in the above embodiments.

[0093] An embodiment of the present invention further provides a chip for executing instructions, wherein the chip is used to execute the processing steps described in the aforementioned method embodiment.

[0094] The embodiment of the present invention provides a trajectory decision evaluation method, electronic device and computer-readable storage medium based on planar topology analysis, which determines an evaluation vehicle and a reference vehicle in a scene, and judges whether the decision trajectory of the evaluation vehicle and the actual driving trajectory are in an equivalent trajectory relationship at the trajectory decision level based on the topological difference between the decision trajectory of the evaluation vehicle and the actual driving trajectory relative to the decision trajectory of the reference vehicle. Through the method of the present invention, if the evaluation results based on all reference vehicles in the scene confirm that the decision trajectory of the evaluation vehicle and the actual driving trajectory are in an equivalent trajectory relationship, it proves that the decision trajectory of the current evaluation vehicle has a high degree of conformity with the actual driving trajectory; if the decision trajectory of all vehicles in the scene has a high degree of conformity with the actual driving trajectory, it proves that the decision accuracy of the trajectory decision module that generates the decision trajectory is high. This provides an effective evaluation mechanism for the trajectory decision module, ensuring the decision accuracy of the trajectory decision module.

[0095] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0096] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0097] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A trajectory decision evaluation method based on plane topology analysis, characterized in that: The method comprises: Select any vehicle from all vehicles in a preset scene as an evaluation vehicle A, and select any other vehicle in the scene except the evaluation vehicle A as a reference vehicle K; Obtaining the decision trajectory of the evaluation vehicle A to generate a corresponding trajectory T1, and obtaining the actual driving trajectory of the evaluation vehicle A to generate a corresponding trajectory T2; The trajectories T1 and T2 are transformed by taking the ego-vehicle coordinate system of the reference vehicle K as the target coordinate system, and two corresponding trajectories in the target coordinate system are generated and recorded as trajectory T1. r 、T2 r ; For the trajectory T1 r 、T2 r Perform plane topology analysis to generate corresponding trajectory analysis results; If the trajectory analysis result is trajectory equivalence, then the trajectory analysis results of the corresponding trajectories T1 and T2 relative to the reference vehicle K are also considered to be trajectory equivalence; If the trajectory analysis results of the trajectories T1 and T2 relative to all reference vehicles K are trajectory equivalent, then the trajectory decision evaluation results of the trajectories T1 and T2 are regarded as trajectory equivalent; The trajectory T1 includes a plurality of trajectory points P 1,i , the trajectory T2 includes a plurality of trajectory points P 2,i ; The total number of trajectory points of the trajectories T1 and T2 is equal to N, N≥i≥1; the trajectory point P 1,i , P 2,i Based on the one-to-one correspondence between the subscript i, the corresponding trajectory point P 1,i , P 2,i The time parameters of the trajectory points are consistent; The trajectory T1 r Including multiple trajectory points P1 r ,i , the trajectory T2 r Including multiple trajectory points P2 r ,i ; The reference vehicle K's own vehicle coordinate system is used as the target coordinate system to transform the trajectories T1 and T2, and two corresponding trajectories generated in the target coordinate system are recorded as trajectory T1. r 、T2 r , specifically including: Obtain the decision trajectory of the reference vehicle K to generate the corresponding trajectory T K The trajectory T K Including multiple trajectory points P k,i ; The trajectory point P k,i Based on the subscript i and the trajectory point P 1,i , P 2,i Corresponding to the trajectory point P 1,i , P 2,i , P k,i The time parameters of the trajectory points are consistent; Obtain the reference vehicle K at each of the trajectory points P k,i The vehicle heading angle information at the moment generates the corresponding heading angle θ k,i ; According to the corresponding trajectory point P k,i and the orientation angle θ k,i , for the trajectory point P 1,i Perform target coordinate system conversion to generate the corresponding trajectory points According to the corresponding trajectory point P k,i and the orientation angle θ k,i , for the trajectory point P 2,i Perform target coordinate system conversion to generate the corresponding trajectory points All the trajectory points obtained by Arranged in chronological order, forming the trajectory All the trajectory points obtained by Arranged in chronological order, forming the trajectory The pair of trajectories Perform plane topology analysis to generate corresponding trajectory analysis results, including: Starting from the origin of the target coordinate system to the trajectory Each of the trajectory points P2 r ,i Construct the corresponding trajectory point vector and generate the corresponding trajectory point vector Based on the subscript i, calculate each pair of trajectory point vectors The vector dot product result generates the corresponding first result M i , If all the first results M i are not less than 0, then connect the trajectories The first and last trajectory points of The merged trajectory Include multiple track points M≥j≥1, M is the merged trajectory The total number of trajectory points; the merged trajectory The last track point in With the first coincide; Starting from the origin of the target coordinate system to the merged trajectory Each of the trajectory points Construct the corresponding trajectory point vector and generate the corresponding trajectory point vector Calculate the vector of adjacent trajectory points The angle α j , and count all the angles α j The sum of the angles α sum ; If the sum of the angles α sum is 0, then the trajectory analysis result specifically equivalent to the trajectory is generated.

2. The trajectory decision evaluation method based on plane topology analysis according to claim 1 is characterized in that: If the trajectory The first and last trajectory points coincide, then M = 2N-1; if the trajectory The first trajectory points coincide with each other but the last trajectory points do not, then M=2N.

3. The trajectory decision evaluation method based on plane topology analysis according to claim 1 is characterized in that: If any of the first results M i is less than 0, or the sum of the angles α sum is not 0, the method further comprises: The trajectory analysis result specifically indicating trajectory inequality is generated.

4. The trajectory decision evaluation method based on plane topology analysis according to claim 1 is characterized in that: If the trajectory analysis result is that the trajectories are not equivalent, the method further includes: The trajectory decision evaluation results of the trajectories T1 and T2 are regarded as unequal trajectories.

5. An electronic device, characterized in that: include: memory, processors, and transceivers; The processor is used to couple with the memory, read and execute instructions in the memory, so as to implement the method steps described in any one of claims 1 to 4; The transceiver is coupled to the processor, and the processor controls the transceiver to send and receive messages.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which, when executed by a computer, enable the computer to execute the method according to any one of claims 1 to 4.