Method and device for judging right-of-way of autonomous vehicle, computer device and medium
By constructing driving routes and intersection locations, and combining semantic judgments of traffic lights, traffic signs, and road structures, the problem of determining the passage order of autonomous vehicles in road intersection areas was solved, ensuring accurate and consistent results in complex environments.
Patent Information
- Application Number
- CN202611687360.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing autonomous vehicles struggle to accurately determine the right-of-way at road intersections when traffic light information is incomplete or abnormal, or when multiple control information systems coexist. They also have difficulty handling right-of-way issues when vehicles have not yet directly intersected.
By acquiring vehicle location, obstacle location, road network static attributes, and traffic light dynamic status data, a driving route is constructed and the intersection location is determined. Sequential semantic judgments of traffic lights, traffic signs, and road structure are performed. If no conclusion is output, a geometric right-hand loopback judgment is performed to ensure that a unique passage order result is given in all situations.
When traffic light information is incomplete or abnormal, or when multiple control information coexists, autonomous vehicles can accurately determine the order of passage, avoid contradictory conclusions, and provide a clear order of passage even before vehicles directly intersect, thus improving driving safety and efficiency.
Smart Images

Figure CN123169960A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of autonomous driving technology, and in particular to a method, device, computer equipment and medium for determining the right-of-way of autonomous vehicles. Background Technology
[0002] When autonomous vehicles approach intersections, merging or diverging areas, roundabouts, or building entrances / exits, they need to determine the order of passage when encountering other road users (hereinafter collectively referred to as obstacles) to decide whether to proceed first or yield. This decision is typically made during the planning and decision-making stage and is a fundamental step on which both driving safety and traffic efficiency depend. To make this decision, vehicles generally need to obtain information about their own and the obstacles' positions, as well as relevant information about roads, traffic lights, and traffic signs.
[0003] In practice, existing systems typically break down the above-mentioned traffic order determination into several independent processes. One common process is to determine the order based on traffic light status, that is, to compare the perceived traffic light status with preset rules and then determine whether the vehicle can proceed. This process is only applicable to intersections controlled by traffic lights and where the light status information is complete and accurate. If the light status is missing or abnormal, it is difficult to give a reliable result. Another common process is to determine the order based on static rules according to road type or a single traffic sign, such as matching rules according to intersection type or a single stop sign. This type of process usually writes rules for different intersection types, and the rules are independent of each other. In complex areas containing multiple control elements, the conclusions obtained based on different elements may be inconsistent. Yet another process is to determine the traffic order based on the relative position of the vehicle and obstacles according to geometric rules. This type of process does not utilize the semantics of the road itself and control elements, and the result is relatively coarse. Furthermore, when the vehicle and the obstacle are still approaching the intersection area and their driving trajectories have not yet directly intersected, the above processing method is difficult to determine which intersection point should be used as the basis for judging the order of passage; moreover, the output of the above processing method is mostly a rough result of whether to yield, which is difficult to express a situation where both parties have equal right-of-way and can be negotiated. Summary of the Invention
[0004] In response to the above-mentioned deficiencies or disadvantages, this application provides a method, device, computer equipment, and medium for determining the right-of-way of autonomous vehicles.
[0005] This application provides a method for determining the right-of-way for autonomous vehicles according to a first aspect. The method includes: acquiring the current position of the vehicle, the current position of obstacles, static attribute data of the road network, and dynamic status data of traffic lights; constructing the vehicle's driving route and the obstacle's driving route based on the current position of the vehicle, the current position of obstacles, and the static attribute data of the road network, and determining the intersection of the two driving routes as the right-of-way determination location; performing traffic light semantic judgment based on the driving route, the static attribute data of the road network, and the dynamic status data of the traffic lights; if the traffic light semantic judgment does not output a right-of-way conclusion, then performing traffic sign judgment based on the driving route and the static attribute data of the road network. The system performs a traffic sign semantic judgment. If the traffic sign semantic judgment does not output a right-of-way conclusion, then a road structure semantic judgment is performed based on the vehicle's current position, the obstacle's current position, and the road network's static attribute data. If the road structure semantic judgment does not output a right-of-way conclusion, then a geometric right-of-way judgment is performed based on the right-of-way judgment position and the driving route to obtain the geometric right-of-way judgment result. If the traffic light semantic judgment, traffic sign semantic judgment, or road structure semantic judgment outputs a right-of-way conclusion, then the right-of-way conclusion is used as the right-of-way judgment result. Otherwise, the geometric right-of-way judgment result is used as the right-of-way judgment result. The right-of-way judgment result can be one of priority, equal, or yield.
[0006] According to a second aspect, this application provides an autonomous vehicle right-of-way determination device, the device comprising: The acquisition module is used to acquire the vehicle's current position, the current position of obstacles, static attribute data of the road network, and dynamic status data of traffic lights; The route determination module is used to construct the vehicle's driving route and the obstacle's driving route based on the vehicle's current position, the obstacle's current position, and road network static attribute data, and to determine the intersection of the two driving routes as the right-of-way judgment position. The traffic light judgment module is used to perform semantic judgment of traffic lights based on driving routes, static attribute data of road networks, and dynamic status data of traffic lights. The traffic sign judgment module is used to perform traffic sign semantic judgment based on the driving route and road network static attribute data when the traffic light semantic judgment does not output a right-of-way conclusion. The road structure judgment module is used to perform road structure semantic judgment based on the current position of the vehicle, the current position of the obstacle, and the static attribute data of the road network when the traffic sign semantic judgment does not output a right-of-way conclusion. The geometric right-of-way judgment module is used to perform a geometric right-of-way judgment based on the right-of-way judgment position and driving route when the road structure semantic judgment does not output a right-of-way conclusion, and obtain the geometric right-of-way judgment result. The result determination module is used to determine the right-of-way conclusion when the traffic light semantic judgment, traffic sign semantic judgment, or road structure semantic judgment outputs the right-of-way conclusion; otherwise, the geometric right-of-way conclusion is used as the right-of-way conclusion. The right-of-way conclusion can be one of priority, equality, or yield.
[0007] According to a third aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the autonomous vehicle right-of-way determination method in the above embodiments.
[0008] According to a fourth aspect, this application provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the autonomous vehicle right-of-way determination method in the above embodiments.
[0009] This application can avoid contradictory conclusions about the passage order based on different control information in situations where multiple control information such as traffic lights and traffic signs exist simultaneously in a road intersection area, or where some of the information is missing or abnormal, and the vehicle and the obstacle are still in the process of approaching each other and their trajectories have not yet directly intersected. It can also provide a definite passage order result in situations where control information is missing or abnormal and the two sides have not yet directly intersected.
[0010] This application first acquires the current position of the vehicle, the current position of obstacles, static attribute data of the road network, and dynamic status data of traffic lights. Based on this, it constructs the driving routes of both parties and determines the intersection of the two driving routes as the right-of-way judgment position. This allows for the early identification of the judgment object surrounding subsequent judgments even when both parties are approaching the road intersection area and their driving trajectories have not yet directly intersected, providing a clear basis for the judgment. Second, by executing the next-level judgment only when the previous-level judgment has not output a right-of-way conclusion, and using the judgment result that outputs a right-of-way conclusion as the sole right-of-way judgment result, it avoids the simultaneous occurrence of multiple contradictory conclusions in complex areas where multiple control information coexists. Third, by performing a geometric right-of-way fallback judgment when none of the above judgments have output a right-of-way conclusion, and using this fallback judgment result as the right-of-way judgment result, it can still provide a definite conclusion when control information such as traffic lights is missing or abnormal. In addition, the right-of-way judgment result can be one of priority, equality, or yield, which can express the situation where both parties have equal right-of-way, enabling downstream decision-making to distinguish between different strategies such as mandatory yielding and negotiable passage. Attached Figure Description
[0011] Figure 1 This is a flowchart of a method for determining the right-of-way of an autonomous vehicle in one or more embodiments of this application; Figure 2This is a schematic diagram of the structure of an autonomous vehicle right-of-way determination device in one or more embodiments of this application; Figure 3 This is a schematic diagram of the internal structure of a computer device according to one or more embodiments of this application. Detailed Implementation
[0012] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the described embodiments are merely some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0013] In the following description, when referring to the accompanying drawings, the same numbers in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0014] In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. Furthermore, in the description of this application, unless otherwise stated, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0015] The autonomous vehicle right-of-way determination method in this application can be applied to right-of-way determination scenarios in autonomous vehicles or vehicles with autonomous driving capabilities. Taking an onboard computing device (e.g., an autonomous driving controller) that performs planning decisions on the vehicle as an example, the method is explained below. This onboard computing device can obtain the vehicle's location information output by the vehicle positioning device, obstacle location information and traffic light dynamic status identified by the sensing device, and static attribute data of the road network carried by a pre-constructed road network map, and execute the following steps. This method can be understood to be jointly implemented by a hierarchical right-of-way determination embodiment and several detailed embodiments described below, with each embodiment interconnected through the following description.
[0016] Step-by-step right-of-way determination implementation example To address the shortcomings or defects of related technologies, this embodiment provides a method for determining the right-of-way for autonomous vehicles, such as... Figure 1 As shown, the method includes steps S110 to S170. These steps work together to first identify the judgment object, then compare the right-of-way of both parties layer by layer along the judgment object, and use geometric right-of-way to ensure that the result can be determined in any situation. Together, they achieve consistency and deterministic output of the conclusion of the right-of-way judgment in complex scenarios, avoiding the judgment being suspended. This method can be applied to right-of-way judgment scenarios in autonomous vehicles or vehicles with autonomous driving capabilities. The following uses the on-board computing device (such as the autonomous driving controller) that performs planning decisions on the vehicle as an example to illustrate the method. Step S110: Obtain the current position of the vehicle, the current position of the obstacles, the static attribute data of the road network, and the dynamic status data of the traffic lights.
[0017] The current location of this vehicle refers to the current location of this vehicle; the current location of an obstacle refers to the current location of other traffic participants that are located near the intersection of the road with this vehicle, which can be identified by sensing devices; static attribute data of the road network refers to information about the road network that does not change over time, including the topology of the road network, road attributes (such as road type, connectivity between roads, attributes of ring roads and connecting roads, etc.), and pre-labeled information of control elements (such as the location of control elements such as traffic lights and traffic signs and their association with roads), which can be provided by a pre-constructed road network map; dynamic status data of traffic lights refers to the real-time status information of each traffic light at its current location.
[0018] In this embodiment, the onboard computing device acquires the aforementioned four types of data as input for subsequent processing. By incorporating participant location, road static attributes, and traffic light dynamic status into a unified input, this embodiment provides a consistent data foundation for each subsequent stage, avoiding inconsistencies caused by each stage acquiring its own data.
[0019] Step S120: Based on the current position of the vehicle, the current position of the obstacle, and the static attribute data of the road network, construct the driving route of the vehicle and the driving route of the obstacle, and determine the intersection of the two driving routes as the right-of-way determination position.
[0020] The driving route refers to the path of travel obtained by extending along the road from the current position of the vehicle or the obstacle; the right-of-way judgment position refers to the position where the driving route of the vehicle and the driving route of the obstacle intersect, that is, the position where the two parties may conflict, and it is also the object of judgment for subsequent right-of-way judgment.
[0021] In this embodiment, the on-board computing device constructs the vehicle's driving route and the obstacle's driving route based on the vehicle's current position, the obstacle's current position, and the road network's static attribute data. That is, starting from the vehicle's current position and the obstacle's current position, the driving routes of both parties are extended along the road's connecting direction to obtain their respective driving routes. Then, the location where the two driving routes intersect is determined as the right-of-way determination location. That is, the location where the two parties will meet is determined first, and subsequent judgments on elements such as traffic lights, traffic signs, and road structures are all based on this right-of-way determination location and the driving routes of both parties.
[0022] Based on this, this embodiment can also determine the driving direction of the vehicle and the obstacle based on the vehicle's driving route and the obstacle's driving route, that is, determine whether each of them is going straight, turning left, turning right or making a U-turn. For example, it can be determined based on the direction of the roads connected before and after the right-of-way judgment position and the change in heading. Thus, in addition to determining where the two parties will meet, this step can also give the driving direction of each party, providing a directional basis for subsequent steps such as straight-ahead priority judgment and geometric right-of-way judgment.
[0023] Specifically, the driving direction can be represented by categories such as going straight, turning left, turning right, and making a U-turn, or it can be represented by a driving direction vector. The driving direction represented by category is used to indicate the turning action of the participant when passing the right-of-way judgment position, which can be determined according to the direction of the driving route relative to the road at the right-of-way judgment position and its heading change.
[0024] For the direction selection method when the driving route extends in two directions and has multiple continuing directions, please refer to the following embodiment on driving route extension and disambiguation of continuing directions; for the method of determining the right-of-way judgment position when the two parties have not yet directly intersected, please refer to the following embodiment on right-of-way judgment position locking and nearest candidate search. This embodiment locks the driving routes of both parties and their intersection position before judgment, so that there is a clear judgment object when the two parties have not yet directly intersected, which can reduce the misjudgment of right-of-way due to improper selection of judgment object.
[0025] Step S130: Perform semantic judgment of traffic lights based on driving route, road network static attribute data and traffic light dynamic status data.
[0026] The right-of-way conclusion refers to the conclusion obtained from a certain right-of-way judgment, which is used to indicate the priority of the vehicle relative to the obstacle. The value can be one of priority, equality, and yield. For the controlled traffic light determination method and the specific comparison method of traffic light semantics based on this embodiment, please refer to the traffic light semantic comparison embodiment below.
[0027] In this embodiment, when the traffic light information corresponding to the driving routes of both parties, as reflected in the traffic light dynamic status data, is available, the on-board computing device performs traffic light semantic judgment based on the driving route, road network static attribute data, and traffic light dynamic status data. This involves comparing the right-of-way rights of both parties at the right-of-way judgment location based on traffic light semantics. If this embodiment can output a right-of-way conclusion, this conclusion serves as the judgment result used in subsequent closing stages. If this embodiment cannot output a right-of-way conclusion (e.g., the traffic light semantic information cannot provide a definite comparison result), then the next level of judgment is entered. This embodiment prioritizes obtaining the passage order conclusion when the most direct source of dynamic information on right-of-way—the traffic lights—can provide a conclusion, which is more closely aligned with the current actual traffic situation than judgments based solely on static rules.
[0028] Step S140: If the traffic light semantic judgment does not output a right-of-way conclusion, then perform traffic sign semantic judgment based on the driving route and road network static attribute data.
[0029] In this embodiment, when the traffic light semantic judgment fails to output a right-of-way conclusion, the on-board computing device performs traffic sign semantic judgment based on the driving route and road network static attribute data. This involves comparing the traffic signs along the roads where both parties are located at a semantic level to determine the priority relationship between their respective roads. If this embodiment can output a right-of-way conclusion, this conclusion is used as the judgment result in subsequent closing stages. If this embodiment cannot output a right-of-way conclusion, it proceeds to the next level of judgment. For the categories of traffic signs, the method of determining road priorities, and the handling of signs at the same level, please refer to the following embodiment on traffic sign road priority judgment. In this embodiment, when there are no traffic lights or the traffic lights cannot provide a conclusion, the judgment continues to be given through the traffic semantics carried by the roadside signs, allowing for a relatively clear basis for the traffic order even in scenarios where traffic lights are unavailable.
[0030] Step S150: If the traffic sign semantic judgment does not output a right-of-way conclusion, then perform a road structure semantic judgment based on the current position of the vehicle, the current position of the obstacle, and the static attribute data of the road network.
[0031] In this embodiment, when the traffic sign semantic judgment does not output a right-of-way conclusion, the on-board computing device performs a road structure semantic judgment based on the vehicle's current position, the obstacle's current position, and the road network's static attribute data. This involves comparing the structural semantics of the roads where both parties are located (e.g., merging structures, roundabout structures, special road structures, and straight-ahead relationships). If this embodiment can output a right-of-way conclusion, this conclusion is used as the judgment result for subsequent closing stages. If this embodiment cannot output a right-of-way conclusion, it proceeds to the next level of judgment. For the sub-judgments and their order performed within the road structure semantic judgment, please refer to the following embodiment on road structure order judgment, where the classification judgment of roundabout structures is referred to in the following embodiment on roundabout classification judgment. In situations where there are no traffic lights and no signs available for judgment, this embodiment continues to provide conclusions based on the traffic semantics inherent in the road structures themselves, thus covering more situations lacking dynamic and sign information.
[0032] Step S160: If the road structure semantic judgment does not output the right-of-way conclusion, then perform the geometric right-of-way judgment based on the right-of-way judgment position and driving route to obtain the geometric right-of-way judgment result.
[0033] In this embodiment, when the road structure semantic judgment does not output a right-of-way conclusion, the on-board computing device performs a geometric right-of-way catch-all judgment based on the right-of-way judgment location and the driving route, and obtains a geometric right-of-way catch-all judgment result. That is, based on the relative relationship between the driving directions of the two parties at the right-of-way judgment location, a definite result is given according to the right-of-way semantics. The specific processing method of this judgment is described in the geometric right-of-way catch-all judgment embodiment below. This embodiment ensures that a definite result can still be obtained when none of the aforementioned judgments output a right-of-way conclusion, thus ensuring that the entire process does not become suspended due to a lack of judgmentable information.
[0034] Step S170: If the traffic light semantic judgment, traffic sign semantic judgment, or road structure semantic judgment outputs a right-of-way conclusion, then the right-of-way conclusion is taken as the right-of-way judgment result; otherwise, the geometric right-of-way judgment result is taken as the right-of-way judgment result; the right-of-way judgment result takes one of priority, equality, and yield.
[0035] The right-of-way determination result refers to the final determination of the vehicle's priority relative to the obstacle; among them, priority means that the vehicle has priority to pass, equal means that the vehicle and the obstacle have equal right-of-way, and yield means that the vehicle yields to the obstacle.
[0036] In this embodiment, when any of the traffic light semantic judgment, traffic sign semantic judgment, or road structure semantic judgment outputs a right-of-way conclusion, the on-board computing device uses that right-of-way conclusion as the right-of-way judgment result; when none of the above judgments output a right-of-way conclusion, the geometric right-of-way catch-all judgment result is used as the right-of-way judgment result. The right-of-way judgment result takes one of priority, equality, or yielding. Since the geometric right-of-way catch-all judgment can give a result under any input condition, this method can determine the right-of-way judgment result in all situations. That is, this embodiment can converge each layer of judgment and the catch-all judgment into a definite result through a unified closing method, which can ensure that the output conclusion is unique and non-conflicting, and can express the equality situation where both parties have equal right-of-way.
[0037] In summary, this embodiment first identifies the intersection of the driving routes of both parties as the judgment object, then compares the right-of-way layer by layer along this object and concludes with a geometric catch-all. In situations where multiple control information coexists or is partially missing, and the two parties may not have directly intersected, it avoids contradictions in the conclusions of the passage order and can stably give a definite conclusion.
[0038] Example of disambiguation for route extension and continuation In existing technologies, when constructing a vehicle's travel path along a road, if the road has multiple continuing directions at the current location and the wrong direction is selected, subsequent control elements such as traffic lights and traffic signs retrieved along the travel path will be misaligned, thus affecting the accuracy of the traffic order determination. To address this, based on the route construction stage of the step-by-step right-of-way determination embodiment, this embodiment is used to select the appropriate direction when multiple continuing directions exist, aligning it with the vehicle's actual driving intention. Figure 1 The driving route is extended in the desired direction to ensure the accuracy of subsequent acquisition of control elements along the route.
[0039] For example, when a road forks or has multiple possible directions, the direction that is most straight with the vehicle's current direction of travel can be selected as the continuing direction, and the driving route can be extended along that direction to ensure that the constructed driving route matches the vehicle's actual driving intention. Figure 1 This ensures that the traffic lights, signs, and other elements found along the driving route are the actual elements the vehicle will pass through.
[0040] In some examples, based on the vehicle's current position, the obstacle's current position, and road network static attribute data, the vehicle's driving route and the obstacle's driving route are constructed. This includes: starting from the vehicle's current position, extending the route forward and backward along the road by a preset length to construct the vehicle's driving route; starting from the obstacle's current position, extending the route forward and backward along the road by a preset length to construct the obstacle's driving route; when there are multiple continuing directions on the road at the vehicle's current position or the obstacle's current position, and other modules cannot determine the accurate driving route, a composite criterion combining straight-ahead attribute priority and geometric straightness is adopted to determine the continuing direction from the multiple continuing directions, and the corresponding driving route is extended along the continuing direction; the straight-ahead attribute is used to indicate the straight-ahead passage attribute of the corresponding road label, and the geometric straightness is used to indicate the degree of deviation of the candidate continuing direction relative to the current driving direction.
[0041] The straight-ahead attribute can refer to the attribute marked on the road itself that indicates that the direction is processed according to the semantics of straight-ahead traffic; geometric straightness can refer to the measure of the degree of deviation between the candidate continuing direction and the current direction of vehicle travel. The smaller the deviation, the higher the geometric straightness.
[0042] In this example, the onboard computing device first extends the road forward and backward by a preset length to form the driving routes for both directions. If there are multiple continuing directions, such as forks, at the current location, the direction with the best straight-line attribute and the smallest directional deviation is selected as the continuing direction for further extension, considering the straight-line attribute and geometric straightness of each candidate continuing direction. Other modules can refer to modules on the vehicle that can output the driving route other than those described in this method, such as a prediction module or a planning module. The prediction module can be used to predict the driving intention and future trajectory of obstacles, while the planning module can be used to output the planned path of the vehicle along the road. When other modules can determine the accurate driving route, that route can be directly used to determine the continuing direction. Only when other modules cannot determine the accurate driving route is the continuing direction determined according to the above composite criterion. It is understood that the weights of the straight-line attribute and geometric straightness, as well as the values of the preset lengths, in the above composite criterion can be flexibly set according to the implementation scenario; the straight-line attribute and geometric straightness indicators can also be used alone or in combination with other indicators for direction selection.
[0043] This example introduces a concept similar to real driving. Figure 1 Directional disambiguation can reduce the occurrence of misaligned subsequent control element queries due to incorrect selection of the continuation direction. It can count the number of times that traffic light and sign queries are misaligned due to extension along the wrong direction, which is lower than the method of simply selecting the continuation direction by road length or random selection.
[0044] Judgment position locking and nearest candidate search implementation examples Existing traffic order determination methods often rely on whether the two parties are currently directly intersecting or their current location. When the two parties are approaching a road intersection area and their routes have not yet directly intersected, it is difficult to determine which intersection point should be used for judgment, easily leading to misjudgment by selecting a distant intersection point. Therefore, based on the step of determining the right-of-way judgment location in the previous step-by-step right-of-way determination embodiment, this embodiment is used to identify the location to be judged from multiple candidate intersection points on the route when the two parties' routes do not directly intersect.
[0045] For example, you can first determine whether the driving routes of the two parties intersect directly. If they do not intersect directly, you can find multiple possible intersection points on the driving routes of the two parties and select a point that is in the same direction as your own driving and is relatively close as the judgment object, so that the position around which the subsequent judgment is based can be determined before the two parties enter the intersection area.
[0046] In some examples, the location where two driving routes intersect is determined as the right-of-way determination location. This includes: when the driving route of the vehicle and the driving route of the obstacle directly intersect at the current moment, the location of direct intersection is used as the right-of-way determination location; when the driving route of the vehicle and the driving route of the obstacle do not directly intersect at the current moment, candidate intersection locations are searched along the driving route of the vehicle and the driving route of the obstacle, each candidate intersection location is projected onto the route coordinates of the corresponding driving route, and the candidate intersection location with the smallest distance from the vehicle on the route coordinates along the driving direction of the vehicle is selected as the right-of-way determination location.
[0047] Candidate intersection locations can refer to multiple locations where two driving routes may intersect; route coordinates can refer to one-dimensional coordinates established along the driving route, used to characterize the order and distance of each location along the route.
[0048] In this example, if two driving routes intersect directly at the current moment, the intersection point is directly used as the right-of-way determination position. If they do not intersect directly, all possible candidate intersection points are searched along the two driving routes. Each candidate position is projected onto the route coordinates of its respective driving route, and then the candidate position with the smallest distance from the current vehicle on the route coordinates is selected as the right-of-way determination position along the vehicle's driving direction. It is understandable that the search range for candidate intersection points and the specific measurement method for the minimum distance criterion can be flexibly set according to the implementation scenario. For example, Euclidean distance or an estimate of arrival time can be used to measure the order of candidate positions.
[0049] This example projects candidate intersection locations onto route coordinates and selects the closest one along the vehicle's direction of travel. This allows for the identification of the correct target before the two intersections directly intersect. It can also count the number of right-of-way misjudgments caused by mistakenly selecting a distant intersection location during the approach process, which is lower than the method of directly using the current nearest intersection or the current relative position as the basis for judgment.
[0050] Traffic light semantic comparison examples The method of determining right-of-way by comparing traffic light status with a fixed rule table can only distinguish the light status itself, and it is difficult to reflect the strength of protection of the traffic light phase for different traffic directions and the priority semantics between traffic directions, resulting in limited granularity of judgment. Therefore, based on the traffic light semantic judgment stage of the step-by-step right-of-way judgment embodiment, this embodiment is used to determine the controlled traffic lights for each party based on the dynamic status of the traffic lights, and compare the right-of-way of both parties according to their phase protection level and traffic direction priority.
[0051] For example, we can first determine the traffic lights that control the right of way for the vehicle and the obstacle respectively, and then compare the right of way of both parties by combining the degree of protection and priority relationship of the two directions of passage in the semantics of the traffic lights, so as to give a more detailed conclusion on the passage order in the traffic light scenario.
[0052] In some examples, based on the driving route, road network static attribute data, and traffic light dynamic state data, traffic light semantic judgment is performed, including: determining the traffic lights controlled by the vehicle and those controlled by obstacles based on the driving route and road network static attribute data; determining the signal phase protection level and traffic direction priority corresponding to the vehicle's travel direction based on the dynamic state of the traffic lights controlled by the vehicle in the traffic light dynamic state data; determining the signal phase protection level and traffic direction priority corresponding to the obstacle's travel direction based on the dynamic state of the traffic lights controlled by the obstacle in the traffic light dynamic state data; comparing the right-of-way between the vehicle and the obstacle based on the signal phase protection level and traffic direction priority of the vehicle's travel direction and the obstacle's travel direction, and outputting a right-of-way conclusion.
[0053] Controlled traffic lights can refer to traffic lights that control the right-of-way in a certain direction and correspond to the route of travel in that direction. They can be found in the static attribute data of the road network based on the route of travel. The degree of protection of the signal phase can refer to the strength of protection of the right-of-way in a certain direction by the signal phase. For example, the degree of protection of a dedicated phase for a certain direction of travel is higher than that of a phase that allows straight-ahead traffic in the same direction to share the right-of-way with oncoming traffic. The priority of the direction of travel can refer to the priority relationship between the various directions of travel determined according to the semantics of the traffic rules. For example, the priority of the straight-ahead direction is usually higher than that of the turning direction.
[0054] In this example, the onboard computing device queries the controlled traffic lights along the driving routes of both parties, reads their corresponding dynamic states in the traffic light dynamic state data, determines the phase protection level and priority of the two directions of travel, and then compares the right-of-way of both parties to output a right-of-way conclusion. It is understood that the protection level values for each signal phase, the priority values for each direction of travel, and the method of combining the two to obtain the right-of-way conclusion can all be flexibly configured according to the traffic rules of the deployment area, and this application does not limit their specific values.
[0055] This example distinguishes between phase protection level and traffic direction priority at the semantic level of traffic lights, which is more accurate than simply relying on binary rules of light status. It can count the number of misjudgments in situations where permitted phases, turns, and straight-ahead travel coexist, and is lower than judgment methods that ignore phase semantics. Relevant specific data need to be calibrated in conjunction with the implementation scenario.
[0056] Example of missing traffic light state reasoning When traffic lights malfunction, flash, or the status of some participants' traffic lights is unavailable, relying solely on the complete status of the lights is insufficient to draw conclusions. Therefore, based on the aforementioned traffic light semantic comparison embodiment, this embodiment further addresses the issue of missing or abnormal traffic light statuses when some traffic light dynamic states are missing or abnormal. It infers the corresponding traffic status of the missing or abnormal traffic lights based on the traffic status indicated by the intact traffic lights and the geometric relationship between the parties, allowing the judgment to continue.
[0057] For example, when the status of a controlled traffic light is missing or abnormal, the original traffic status corresponding to the missing or abnormal traffic light can be inferred by combining the traffic status indicated by the traffic light in good condition and the relative geometric relationship between the two sides. Then, the comparison mechanism of the traffic light semantic comparison embodiment is used to output the right-of-way conclusion. If it cannot be inferred, the layer will not output the right-of-way conclusion.
[0058] In some examples, based on the traffic light semantic comparison embodiment, the traffic light semantic judgment further includes: when the dynamic state of some traffic lights among the traffic lights controlled by the vehicle and the traffic lights controlled by the obstacle is missing or abnormal, inferring the traffic state corresponding to the missing or abnormal traffic light based on the traffic state indicated by the traffic light with a complete dynamic state and the geometric relationship between the vehicle and the obstacle; determining the signal phase protection level and traffic direction priority of the traffic direction corresponding to the traffic light with a missing or abnormal dynamic state based on the inferred traffic state; comparing the right-of-way between the vehicle and the obstacle based on the signal phase protection level and traffic direction priority of the vehicle's traffic direction and the obstacle's traffic direction, and outputting a right-of-way conclusion; when the traffic state corresponding to the traffic light with a missing or abnormal dynamic state cannot be inferred, the traffic light semantic judgment does not output a right-of-way conclusion.
[0059] In this example, the judgment process is consistent with the aforementioned traffic light semantic comparison embodiment. The only difference is that when the dynamic state of one traffic light is missing or abnormal, the missing light's passage status is first inferred using the intact light status and the geometric relationship between the two lights, and then compared and output according to the same mechanism. If the inference cannot be performed (for example, the geometric relationship between the two lights is insufficient to determine the missing light's passage status), then this layer does not output a right-of-way conclusion, thus naturally connecting to the next layer of judgment in the hierarchical right-of-way judgment embodiment. It is understood that the geometric relationship division method on which the inference is based can be flexibly selected according to the implementation scenario.
[0060] This example can still output a conclusion that conforms to the traffic logic when the traffic light information is incomplete. It can count the proportion of usable outputs in the case of missing or abnormal traffic lights, which is higher than the method of giving up or conservatively yielding in all cases when the information is missing. At the same time, it avoids forced judgments that are out of the semantics of traffic.
[0061] Example of traffic sign road priority determination The method of directly matching individual traffic signs is insufficient to reflect the road priority jointly determined by yield signs and priority signs, and it is difficult to draw conclusions when sign types are mixed or when there are no comparable signs. In this regard, based on the traffic sign semantic judgment step of the step-by-step right-of-way judgment implementation, this implementation is used to aggregate yield signs and priority signs along the roads where both parties are located, determine the road priority of each road, and compare the right-of-way of both parties accordingly.
[0062] For example, traffic signs along the routes of both vehicles can be obtained first to determine the road priority of the road where the vehicle is located and the road where the obstacle is located. Then, the priorities of the two roads are compared. If there is a difference, the conclusion that the one with the higher priority has priority is output. If there is no difference, no conclusion is output for this layer.
[0063] In some examples, based on the driving route and road network static attribute data, traffic sign semantic judgment is performed, including: obtaining traffic signs pre-marked along the driving route, including stop signs, yield signs, and priority road signs; determining the road priority of the road where the vehicle is located and the road priority of the road where the obstacle is located based on the traffic signs; when there is a difference between the road priority of the road where the vehicle is located and the road priority of the road where the obstacle is located, outputting a right-of-way conclusion that the road with the higher priority has priority; when the road priority of the road where the vehicle is located and the road priority of the road where the obstacle is located are the same, the traffic sign semantic judgment does not output a right-of-way conclusion.
[0064] Traffic signs can refer to control elements set along roads to convey traffic rules; among them, stop and yield signs indicate that vehicles should stop and yield before entering the intersection area, slow down and yield signs indicate that vehicles should slow down and yield, and priority road signs indicate that the road has priority passage attributes; road priority can refer to the level of traffic priority determined by the yield and priority signs along the road.
[0065] In this example, the onboard computing device acquires pre-marked traffic signs along the driving routes of both parties, aggregates yield signs and priority signs, and determines the road priority of each road. If there is a difference in the priorities of the two roads, the device outputs a right-of-way conclusion for the road with the higher priority; otherwise, no right-of-way conclusion is output at this layer, thus connecting to the next layer of judgment in the hierarchical right-of-way determination embodiment. It is understood that the aggregation method of yield and priority signs and the contribution of each sign to the road priority can be flexibly set according to the implementation scenario.
[0066] This example determines road-level priority by aggregating multiple types of signs, which can cover scenarios where multiple signs coexist. It can count the number of times road priority determination is consistent in scenarios with multiple or mixed signs, making it more consistent than writing rules for each type of intersection separately. The specific data needs to be calibrated in conjunction with the implementation scenario.
[0067] Example of Road Structure Sequence Determination In situations where there are neither traffic lights nor traffic signs available for judgment, it is necessary to continue the judgment based on the traffic semantics inherent in the road structure itself, and the rules of different road structures should not be mixed. Therefore, based on the road structure semantic judgment step in the hierarchical right-of-way judgment embodiment, this embodiment organizes the road structure judgment into several sub-judgments, which are executed sequentially, output, and then stopped.
[0068] For example, the judgment at the road structure level can be organized into several sub-judgments executed sequentially. If any sub-judgment can output a right-of-way conclusion, it is taken as the result of that level. The level ends only when all sub-judgments fail to output a conclusion.
[0069] In some examples, based on the vehicle's current position, the obstacle's current position, and the road network's static attribute data, a road structure semantic judgment is performed, including: sequentially performing merging yield judgment, roundabout classification judgment, special road rapid judgment, and straight-ahead priority judgment; when any of the executed judgments outputs a right-of-way conclusion, that right-of-way conclusion is used as the right-of-way conclusion output by the road structure semantic judgment, and the execution of any remaining judgments in the road structure semantic judgment is stopped; when none of the merging yield judgment, roundabout classification judgment, special road rapid judgment, or straight-ahead priority judgment outputs a right-of-way conclusion, the road structure semantic judgment does not output a right-of-way conclusion.
[0070] In this example, the onboard computing device processes traffic in the following order: merging yield judgment, roundabout classification judgment, special road rapid judgment, and straight-ahead priority judgment. Merging yield judgment is used for situations such as the merging of two traffic flows, and is determined based on yielding semantics. Roundabout classification judgment is used for roundabout structures, and its processing method is the same as the aforementioned roundabout classification judgment embodiment; see the description of the aforementioned roundabout classification judgment embodiment for details. Special road rapid judgment is used for special road structures such as unit entrances / exits and tram lines, and can activate corresponding priority rules according to the traffic semantics of the deployment area. Straight-ahead priority judgment is used for situations where none of the above judgments can distinguish between them, and is processed according to the straight-ahead priority traffic semantics. Each sub-judgment can be enabled or disabled according to the traffic rules of the deployment area, and the order of judgment can also be rearranged according to the regional traffic rules or scenario statistics. The processing method for this layer ends when any sub-judgment outputs and when none outputs. It is understood that the specific enabling and judgment details of the above sub-judgments can be flexibly configured according to the implementation scenario, and this application does not limit its details.
[0071] This example organizes road structure judgments into a sequence of sub-judgments that are executed sequentially and stop upon output. This allows for the generation of conclusions based on structural semantics even when there are no traffic lights or signs, and ensures that the conclusions at each layer are unique. It can also statistically analyze the proportion of conclusions generated at each layer in structural scenarios such as merging, roundabouts, and entrances / exits, making it clearer than methods that mix various structural rules.
[0072] Roundabout Classification Implementation Example The traffic rules of a roundabout prioritize vehicles already inside the roundabout over those entering. However, accurately distinguishing between vehicles leaving the roundabout and those entering directly impacts the accuracy of roundabout scenario assessment. To address this, building upon the roundabout classification step in the aforementioned road structure sequence determination embodiment, this embodiment further categorizes both parties based on road attributes into participants already inside the roundabout and participants entering the roundabout, thus determining traffic priority. For example, they can be classified according to the road attributes of their current locations. If one party is inside the roundabout while the other is about to enter, the party already inside takes priority; if both belong to the same category, this step does not output a conclusion.
[0073] In some examples, roundabout classification includes: classifying the vehicle and the obstacle as participants within the roundabout and participants entering the roundabout, respectively, based on road attributes; participants within the roundabout include those on the roundabout's circular road, those on the roundabout's branching roads, and those identified as exiting the roundabout via the final exit segment attribute; participants entering the roundabout include those on the connecting road entering the roundabout who have not yet reached the final exit segment; when one of the vehicle and the obstacle is a participant within the roundabout and the other is a participant entering the roundabout, the roundabout classification outputs a right-of-way conclusion that the participant within the roundabout has priority; when the vehicle and the obstacle are participants of the same type, the roundabout classification does not output a right-of-way conclusion.
[0074] Participants within a roundabout can refer to those on the roundabout's circular road, branching roads within the roundabout, or connecting roads that are identified as exiting the roundabout via the final exit segment attribute. Participants entering a roundabout can refer to those on the connecting roads leading into the roundabout who have not yet reached the final exit segment. The final exit segment can refer to the marked road segment attribute on the roundabout's connecting roads that indicates a vehicle's departure from the roundabout, used to identify that a vehicle is in the process of exiting the roundabout.
[0075] In this example, the onboard computing device classifies participants based on the road attributes corresponding to their current positions in the road network static attribute data: those located on roundabouts, inner branch roads, or connecting roads and identified as departing by the last exit segment attribute are considered participants within the roundabout; those located on connecting roads but not yet reaching the last exit segment are considered participants entering the roundabout. When one party is within the roundabout and the other enters, the system outputs a right-of-way conclusion prioritizing the party within the roundabout; when both parties are of the same type, no conclusion is output in this step, and subsequent processing continues according to the aforementioned road structure order determination embodiment. It is understood that the granularity of attribute classification for roundabouts, branch roads, and connecting roads, as well as the labeling method for the last exit segment attribute, can be flexibly set according to the implementation scenario.
[0076] This example correctly identifies vehicles leaving the roundabout by recognizing road attributes and the last exit segment, reducing the chance of misidentifying vehicles leaving the roundabout as entering vehicles. It can statistically analyze the accuracy of distinguishing between leaving and entering in multi-exit roundabout scenarios, and is more accurate than roundabout rules that do not distinguish the leaving process; specific data need to be calibrated in conjunction with the implementation scenario.
[0077] Geometric Approach to Right-Handed Judgment Implementation When the above-mentioned judgments based on traffic lights, traffic signs, and road structure fail to yield a conclusion, a fallback method that does not rely on these information sources is still needed to ensure that the process can output a definite result for any input. Therefore, based on the geometric right-of-way fallback judgment step of the step-by-step right-of-way judgment embodiment, this embodiment uses the relationship between the driving directions of both parties at the right-of-way judgment location to give a fallback conclusion according to the semantics of yielding to the right.
[0078] For example, if no conclusion is given in the aforementioned layers, the position of the obstacle relative to the vehicle can be determined based on the cross product sign between the driving direction vectors of both parties at the judgment position, and a catch-all conclusion can be output according to the yield right semantics, so that there is a definite result in any case.
[0079] In some examples, a geometric right-of-way decision is performed based on the right-of-way determination location and driving route. This includes: determining the vehicle's driving direction vector at the right-of-way determination location based on the vehicle's driving route, and determining the obstacle's driving direction vector at the right-of-way determination location based on the obstacle's driving route; calculating the cross product sign of the vehicle's driving direction vector and the obstacle's driving direction vector, and determining the obstacle's position relative to the vehicle based on the cross product sign; when the obstacle is determined to be on the right side of the vehicle, outputting a right-of-way conclusion that the vehicle yields to the obstacle; when the obstacle is determined not to be on the right side of the vehicle, outputting a right-of-way conclusion that the vehicle has priority.
[0080] The driving direction vector can refer to the direction vector determined by the forward direction at the right-of-way judgment position along the corresponding driving route; the cross product symbol can refer to the symbol of the result obtained by the cross product operation of two driving direction vectors, which is used to determine the relative rotation between the two directions, thereby determining the left and right positions of the obstacle relative to the vehicle.
[0081] In this example, the onboard computing device determines the vehicle's driving direction vector at the right-of-way determination position along the vehicle's driving route, and determines the obstacle's driving direction vector at that position along the obstacle's driving route. It calculates the cross product sign of the two vectors and determines whether the obstacle is located to the right of the vehicle based on this sign. If the obstacle is to the right, it outputs a right-of-way decision to yield; otherwise, it outputs a right-of-way decision to give priority to the vehicle. Since the above processing relies only on the driving directions of both vehicles and the determination position, without requiring other control information, results can be output under any input conditions. It is understandable that the correspondence between the cross product sign and left / right orientation, and the method for determining the orientation of the vehicle and the obstacle, can be flexibly set according to the implementation scenario.
[0082] This example ensures that the entire judgment process can still give a definite right-of-way conclusion when there is a lack of other judgment information. It can statistically determine the proportion of cases where no judgment can be made at any level, which is higher than the handling method of not being able to make a judgment due to lack of information or conservative parking, thus avoiding the process being suspended.
[0083] It should also be noted that the above embodiments are merely examples, and the following optional implementations and substitutions may also be adopted in the implementation of this application.
[0084] Understandably, the implementation details of each step from S110 to S170 can be flexibly adjusted according to the implementation scenario. For example, the construction of the driving route can adopt a fixed step-size iterative sampling method or a depth-limited graph search method; the direction selection when there are multiple continuing directions can also be implemented based on road curvature, heading angle difference, or map confidence; when determining the right-of-way judgment position, the selection of candidate intersection positions can also adopt Euclidean spatial distance or the method of estimating the arrival time based on the speed of both parties; the position of control elements such as traffic lights and traffic signs and their relationship with the road can be provided by real-time perception or vehicle-road cooperation, cloud-based distribution, etc., replacing the pre-labeling of the road network map; the traffic rules such as yielding to right, turning to straight, and main road priority can be parameterized and enabled and adjusted according to the regulations of the deployment area through configuration files; the output form of the right-of-way judgment result can also be extended to continuous confidence values or time-series states with time validity, for downstream to make more detailed game decisions. The embodiments of this application do not limit the specific values of engineering parameters such as preset extension length and candidate search range in each judgment step. These parameters can be calibrated by those skilled in the art according to the vehicle platform and implementation scenario. The above adjustments do not change the processing idea of this application, which is to lock the judgment object based on the intersection of driving routes, compare them layer by layer, and finally give the result of determining the passage order.
[0085] It should be noted that, unless otherwise explicitly stated herein, the execution order of the steps included in the autonomous vehicle right-of-way determination method provided in any of the above embodiments is not strictly limited, and these steps can be executed in other orders. Moreover, at least some of these steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0086] Based on the same inventive concept, this application also provides a right-of-way determination device for autonomous vehicles. In some embodiments, such as Figure 2 As shown, the autonomous vehicle right-of-way determination device includes the following modules: The acquisition module 110 is used to acquire the current position of the vehicle, the current position of obstacles, static attribute data of the road network, and dynamic status data of traffic lights; The route determination module 120 is used to construct the vehicle's driving route and the obstacle's driving route based on the vehicle's current position, the obstacle's current position, and road network static attribute data, and to determine the intersection of the two driving routes as the right-of-way judgment position. The traffic light judgment module 130 is used to perform traffic light semantic judgment based on the driving route, road network static attribute data and traffic light dynamic status data; The traffic sign judgment module 140 is used to perform traffic sign semantic judgment based on the driving route and road network static attribute data when the traffic light semantic judgment does not output a right-of-way conclusion. The road structure judgment module 150 is used to perform road structure semantic judgment based on the current position of the vehicle, the current position of the obstacle, and the static attribute data of the road network when the traffic sign semantic judgment does not output a right-of-way conclusion. The geometric right-of-way judgment module 160 is used to perform a geometric right-of-way judgment based on the right-of-way judgment position and driving route when the road structure semantic judgment does not output a right-of-way conclusion, and obtain the geometric right-of-way judgment result. The result determination module 170 is used to take the right-of-way conclusion as the right-of-way judgment result when the traffic light semantic judgment, traffic sign semantic judgment, or road structure semantic judgment outputs a right-of-way conclusion; otherwise, the geometric right-of-way judgment result is taken as the right-of-way judgment result; the right-of-way judgment result can be one of priority, equality, and yield.
[0087] Specific limitations regarding the autonomous vehicle right-of-way determination device can be found in the limitations of the autonomous vehicle right-of-way determination method described above, and will not be repeated here. Each module in the aforementioned autonomous vehicle right-of-way determination device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0088] This application also provides a computer device. In some embodiments, the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it can implement the autonomous vehicle right-of-way determination method provided in any of the above embodiments.
[0089] In some embodiments, the internal structure diagram of a computer device may be as follows: Figure 3As shown, the computer device includes a processor, memory, and network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores data, and the specific data stored can be further specified in the above method embodiments. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for determining the right-of-way for an autonomous vehicle.
[0090] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0091] This application also provides a computer-readable storage medium, in some embodiments of which a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the autonomous vehicle right-of-way determination method provided in any of the above embodiments.
[0092] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0093] Those skilled in the art will understand that implementing all or part of the processes in the above method embodiments can be accomplished by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchlink, DRAM (SLDRAM), memory bus, direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0094] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0095] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for determining right-of-way for autonomous vehicles, characterized in that, The method includes: Acquire the vehicle's current location, the current locations of obstacles, static road network attribute data, and dynamic traffic light status data; Based on the current position of the vehicle, the current position of the obstacle, and the static attribute data of the road network, construct the vehicle's driving route and the obstacle's driving route, and determine the intersection of the two driving routes as the right-of-way determination position; Perform traffic light semantic judgment based on the driving route, the road network static attribute data, and the traffic light dynamic status data; If the traffic light semantic judgment does not output a right-of-way conclusion, then a traffic sign semantic judgment is performed based on the driving route and the road network static attribute data; If the traffic sign semantic judgment does not output a right-of-way conclusion, then a road structure semantic judgment is performed based on the current position of the vehicle, the current position of the obstacle, and the road network static attribute data. If the road structure semantic judgment does not output a right-of-way conclusion, then a geometric right-of-way judgment is performed based on the right-of-way judgment position and the driving route to obtain the geometric right-of-way judgment result. If the traffic light semantic judgment, traffic sign semantic judgment, or road structure semantic judgment outputs a right-of-way conclusion, then the right-of-way conclusion shall be used as the right-of-way judgment result; otherwise, the geometric right-of-way judgment result shall be used as the right-of-way judgment result; the right-of-way judgment result shall be one of priority, equality, and yield.
2. The method according to claim 1, characterized in that, The step of constructing the vehicle's driving route and the obstacle's driving route based on the vehicle's current position, the obstacle's current position, and the road network's static attribute data includes: Starting from the current position of the vehicle, extend the vehicle's route forward and backward by a predetermined length along the road direction to construct the vehicle's driving route; starting from the current position of the obstacle, extend the obstacle's route forward and backward by a predetermined length along the road direction to construct the obstacle's driving route. When there are multiple continuing directions on the road at the current position of the vehicle or the current position of the obstacle, a composite criterion combining straight-going attribute priority and geometric straightness is adopted to determine the continuing direction from the multiple continuing directions, and the corresponding driving route is extended along the continuing direction; the straight-going attribute is used to indicate the straight-going attribute of the corresponding road label, and the geometric straightness is used to indicate the degree of deviation of the candidate continuing direction relative to the current driving direction.
3. The method according to claim 1, characterized in that, Determining the location where the two driving routes intersect as the right-of-way determination location includes: When the vehicle's travel path intersects the obstacle's travel path at the current moment, the point of direct intersection will be used as the right-of-way determination point; When the vehicle's travel route does not directly intersect with the obstacle's travel route at the current moment, candidate intersection positions are searched along the vehicle's travel route and the obstacle's travel route. Each candidate intersection position is projected onto the route coordinates of the corresponding travel route, and the candidate intersection position with the smallest distance from the vehicle on the route coordinates along the vehicle's travel direction is selected as the right-of-way determination position.
4. The method according to claim 1, characterized in that, The step of performing traffic light semantic judgment based on the driving route, the road network static attribute data, and the traffic light dynamic status data includes: Based on the driving route and the static attribute data of the road network, determine the traffic lights controlled by this vehicle and the traffic lights controlled by obstacles; Based on the dynamic state of the controlled signal lights of this vehicle in the dynamic state data of the signal lights, determine the signal phase protection level and the priority of the direction of travel of this vehicle; Based on the dynamic state of the traffic lights controlled by the obstacle in the dynamic state data of the traffic lights, determine the signal phase protection level and traffic direction priority corresponding to the obstacle's passage direction; Based on the signal phase protection level and traffic direction priority of the vehicle's direction of travel and the obstacle's direction of travel, compare the right-of-way of the vehicle and the obstacle, and output the right-of-way conclusion.
5. The method according to claim 4, characterized in that, The semantic judgment of the traffic lights also includes: When the dynamic state of some of the traffic lights controlled by the vehicle and the traffic lights controlled by the obstacle is missing or abnormal, the passage state corresponding to the missing or abnormal traffic lights can be inferred based on the passage state indicated by the traffic lights with complete dynamic state and the geometric relationship between the vehicle and the obstacle. Based on the traffic status obtained through reasoning, determine the signal phase protection level and traffic direction priority of the traffic lights corresponding to the traffic lights with missing or abnormal dynamic status. Based on the signal phase protection level and traffic direction priority of the vehicle's direction of travel and the obstacle's direction of travel, compare the right-of-way between the vehicle and the obstacle, and output the right-of-way conclusion. When the traffic status corresponding to a traffic light with a missing or abnormal dynamic state cannot be deduced, the traffic light semantic judgment does not output a right-of-way conclusion.
6. The method according to claim 1, characterized in that, The step of performing traffic sign semantic judgment based on the driving route and the road network static attribute data includes: Obtain traffic signs pre-marked along the driving route, including stop signs, yield signs, and priority lane signs; Based on the traffic signs, determine the road priority of the road where the vehicle is located and the road priority of the road where the obstacle is located; When there is a difference between the road priority of the road where the vehicle is located and the road priority of the road where the obstacle is located, output the right-of-way conclusion that the road with the higher road priority has priority to pass. When the road priority of the road where the vehicle is located is the same as the road priority of the road where the obstacle is located, the traffic sign semantic judgment does not output a right-of-way conclusion.
7. The method according to claim 1, characterized in that, The step of performing road structure semantic judgment based on the current position of the vehicle, the current position of the obstacle, and the static attribute data of the road network includes: The following steps are executed sequentially: merging yield judgment, roundabout classification judgment, special road rapid judgment, and straight-ahead priority judgment; When any of the judgments executed outputs a right-of-way conclusion, that right-of-way conclusion is used as the right-of-way conclusion output by the road structure semantic judgment, and the execution of the judgments in the road structure semantic judgment that have not yet been executed is stopped; When the merging yield judgment, the roundabout classification judgment, the special road rapid judgment, and the straight-ahead priority judgment all fail to output a right-of-way conclusion, the road structure semantic judgment also fails to output a right-of-way conclusion.
8. The method according to claim 7, characterized in that, The roundabout classification judgment includes: Based on road attributes, the vehicle and obstacles are classified as participants within the roundabout and participants entering the roundabout, respectively. Participants within the roundabout include participants located on the roundabout's circular road, participants located on the branching roads within the roundabout, and participants identified by the final exit segment attribute as being on the connecting road exiting the roundabout. Participants entering the roundabout include participants located on the connecting road entering the roundabout who have not yet reached the final exit segment. When one of the vehicles and the obstacle is a participant already in the roundabout and the other is a participant entering the roundabout, output the right-of-way conclusion that the participant already in the roundabout has priority. When the vehicle and the obstacle are of the same type, the roundabout classification judgment does not output a right-of-way conclusion.
9. The method according to claim 1, characterized in that, The step of determining the location based on the right-of-way and the driving route, and performing a geometric right-of-way decision, includes: Based on the vehicle's driving route, determine the vehicle's driving direction vector at the right-of-way assessment location, and based on the obstacle's driving route, determine the obstacle's driving direction vector at the right-of-way assessment location; Calculate the sign of the cross product between the vehicle's direction of travel vector and the obstacle's direction of travel vector, and determine the obstacle's position relative to the vehicle based on the cross product sign; When it is determined that the obstacle is located on the right side of the vehicle, output the right-of-way conclusion that the vehicle should yield to the obstacle; When it is determined that the obstacle is not located on the right side of the vehicle, the vehicle is given the right-of-way.
10. A right-of-way determination device for autonomous vehicles, characterized in that, The device includes: The acquisition module is used to acquire the current position of the vehicle, the current position of obstacles, static attribute data of the road network, and dynamic status data of traffic lights; The route determination module is used to construct the vehicle's driving route and the obstacle's driving route based on the vehicle's current position, the obstacle's current position, and the road network static attribute data, and to determine the intersection of the two driving routes as the right-of-way determination position; The traffic light determination module is used to perform traffic light semantic determination based on the driving route, the road network static attribute data, and the traffic light dynamic status data. The traffic sign judgment module is used to perform traffic sign semantic judgment based on the driving route and the road network static attribute data when the traffic light semantic judgment does not output a right-of-way conclusion. The road structure judgment module is used to perform road structure semantic judgment based on the current position of the vehicle, the current position of the obstacle, and the static attribute data of the road network when the traffic sign semantic judgment does not output a right-of-way conclusion. The geometric catch-all judgment module is used to perform a geometric right-of-way catch-all judgment based on the right-of-way judgment position and the driving route when the road structure semantic judgment does not output a right-of-way conclusion, and to obtain a geometric right-of-way catch-all judgment result. The result determination module is used to take the right-of-way conclusion as the right-of-way judgment result when the traffic light semantic judgment, traffic sign semantic judgment, or road structure semantic judgment outputs a right-of-way conclusion; otherwise, the geometric right-of-way judgment result is taken as the right-of-way judgment result; the right-of-way judgment result takes one of priority, equality, and yielding.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 9.
12. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method according to any one of claims 1 to 9.
