A method and system implemented by an autonomous vehicle
By evaluating and optimizing the decision tree in autonomous vehicle path planning through parallel tree decision-making solutions, the problem of complex decision-making and large calculations of autonomous vehicles is solved, and fast and safe path planning is achieved.
Patent Information
- Application Number
- CN202011013744.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-09-25
- Filing Date
- 2020-09-24
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-09-24
AI Technical Summary
Autonomous vehicles need to make a large number of complex decisions quickly, and existing technologies are difficult to effectively handle path planning problems that are computationally intensive and challenging to design.
Using a parallel tree decision-making scheme, by evaluating and comparing decision trees in path steps, the lowest-cost action is determined to optimize the behavior plan, reducing the amount of calculation and increasing the speed of decision-making.
Effectively handles complex decisions in autonomous vehicle path planning, improves decision-making speed and calculation efficiency, and ensures that vehicles can quickly and safely reach their destination from the starting point.
Smart Images

Figure CN112550301B_ABST
Abstract
Description
Technical Field
[0001] The subject disclosure relates to a parallel tree-based decision making scheme for autonomous vehicles. Background Art
[0002] As the level of autonomous operation of vehicles (e.g., cars, trucks, farm equipment, construction equipment, automated factory equipment) increases, the vehicles must make more decisions independently. For example, an autonomous vehicle, referred to as a Level 4 autonomous vehicle, is one that includes controls that allow a human driver to take over but is also capable of fully autonomous operation. For example, compared to semi-autonomous operation (e.g., adaptive cruise control, automatic braking), the number of decisions that such a vehicle must make is relatively large, and the time in which the decisions must be made is relatively small. The algorithm that selects from the potential behaviors during autonomous operation is not only challenging to design, but also computationally expensive. Therefore, it is desirable to provide a parallel tree-like decision-making scheme for autonomous vehicles. Summary of the invention
[0003] In an exemplary embodiment, a method implemented by an autonomous vehicle includes determining a path plan from a starting point of the autonomous vehicle to a destination. The path plan includes two or more path steps that indicate tasks to be completed to reach the destination. During the autonomous vehicle's traversal of the path plan, the method includes evaluating one or more of the two or more path steps that are part of a plan horizon to determine a behavior plan for the plan horizon. The plan horizon is based on a current position of the autonomous vehicle, the behavior plan includes a speed and trajectory for the autonomous vehicle to complete one or more of the two or more path steps, and the evaluation includes performing a cost analysis using a parallel tree-like decision scheme at each of two or more simulation intervals in the plan horizon. The method also includes repeating the evaluation and determination of the behavior plan for the plan horizon at two or more positions of the autonomous vehicle from the starting point to the destination.
[0004] In addition to one or more features described herein, performing the cost analysis includes obtaining a decision tree for each of one or more of two or more path steps in a simulation interval within a planning horizon, indicating optional actions associated with each of one or more of the two or more path steps in the planning horizon.
[0005] In addition to one or more features described herein, performing the cost analysis includes determining a cost associated with each of the optional actions of each of the decision trees associated with each of one or more of the two or more path steps in the simulation interval within the planning horizon.
[0006] In addition to one or more features described herein, determining the behavior plan includes selecting a lowest cost action among the selectable actions for each of two or more simulation intervals within a plan range.
[0007] In addition to one or more features described herein, repeated evaluation and determination of behavior plans are continuously performed during the autonomous vehicle traversal of the path plan.
[0008] In addition to one or more features described herein, during traversal of the path plan, determining the behavior plan also includes performing a cost analysis on conditions indicating tasks encountered in real time and that are complementary to tasks indicated by the path steps.
[0009] In addition to one or more features described herein, determining a path plan includes determining a main path plan including two or more main path steps prior to the traversal and determining an alternate path plan including two or more alternate path steps during the traversal, evaluating one or more of the two or more path steps as part of a plan scope includes determining whether one or more of the two or more alternate path steps are in the plan scope, and evaluating one or more of the two or more alternate path steps in the plan scope based on a determination indicating that one or more of the two or more alternate path steps are in the plan scope.
[0010] In addition to one or more features described herein, evaluating one or more of the two or more path steps includes obtaining a decision tree for each of one or more of the two or more main path steps in the planning scope, which indicates optional actions associated with each of one or more of the two or more main path steps in two or more simulation intervals in the planning scope, and obtaining a decision tree for each of one or more of the two or more alternative path steps in the two or more simulation intervals in the planning scope, which indicates optional actions associated with each of one or more of the two or more alternative path steps in the planning scope.
[0011] In addition to one or more features described herein, performing a cost analysis includes determining a primary cost associated with each of the optional actions of each of the decision trees associated with each of one or more of the two or more primary path steps in each of the two or more simulation intervals within a planning range and determining an alternative cost associated with each of the optional actions of each of the decision trees associated with each of one or more of the two or more alternative path steps in each of the two or more simulation intervals within a planning range.
[0012] In addition to one or more features described herein, the method also includes comparing the primary cost and the alternative cost to select between a behavior plan from the primary path plan and a behavior plan from the alternative path plan to traverse through the autonomous vehicle.
[0013] In another exemplary embodiment, a system in an autonomous vehicle includes a storage device that stores a path plan from a starting point of the autonomous vehicle to a destination. The path plan includes two or more path steps. The system also includes a processor that evaluates one or more of the two or more path steps that are part of a plan horizon during the autonomous vehicle's traversal of the path plan to determine a behavior plan for the plan horizon. The plan horizon is based on a current position of the autonomous vehicle, the behavior plan includes a speed and trajectory for the autonomous vehicle to complete one or more of the two or more path steps, and the evaluation includes performing a cost analysis using a parallel tree-like decision scheme at each of two or more simulation intervals in the plan horizon. The processor repeats the process of determining the behavior plan for the plan horizon at two or more positions of the autonomous vehicle from the starting point to the destination.
[0014] In addition to one or more features described herein, the processor obtains a decision tree for each of one or more of the two or more path steps in the planning scope, which indicates optional actions associated with each of one or more of the two or more path steps in the simulation interval within the planning scope.
[0015] In addition to one or more features described herein, the processor determines a cost associated with each of the optional actions of each of the decision trees associated with each of one or more of the two or more path steps in the simulation interval within the planning range.
[0016] In addition to one or more features described herein, the processor selects a lowest cost action among the selectable actions for each of two or more simulation intervals within the planning horizon.
[0017] In addition to one or more features described herein, the process of iteratively determining the behavior plan is continuously performed while the autonomous vehicle traverses the path plan.
[0018] In addition to one or more features described herein, during traversal of the path plan, the processor determines the behavior plan by additionally performing a cost analysis on conditions indicative of tasks encountered in real time and that are complementary to the tasks indicated by the path steps.
[0019] In addition to one or more features described herein, the processor determines a primary path plan including two or more primary path steps before the autonomous vehicle leaves the starting point and determines an alternate path plan including two or more alternate path steps after the autonomous vehicle leaves the starting point and before the autonomous vehicle reaches the destination, determines whether one or more of the two or more alternate path steps are in a plan scope, and evaluates one or more of the two or more alternate path steps in the plan scope based on the determination indicating that one or more of the two or more alternate path steps are in the plan scope.
[0020] In addition to one or more features described herein, the processor obtains a decision tree for each of one or more of two or more main path steps in a planning scope, indicating optional actions associated with each of one or more of the two or more main path steps in two or more simulation intervals in the planning scope, and obtains a decision tree for each of one or more of the two or more alternative path steps in two or more simulation intervals in the planning scope, indicating optional actions associated with each of one or more of the two or more alternative path steps in the planning scope.
[0021] In addition to one or more features described herein, the processor determines a primary cost associated with each of the optional actions of each of the decision trees associated with each of one or more of the two or more primary path steps in each of the two or more simulation intervals within a planning range and determines an alternative cost associated with each of the optional actions of each of the decision trees associated with each of one or more of the two or more alternative path steps in each of the two or more simulation intervals within a planning range.
[0022] In addition to one or more features described herein, the processor compares the primary cost and the alternate cost to select between a behavior plan from the primary path plan and a behavior plan from the alternate path plan to traverse through the autonomous vehicle.
[0023] The above features and advantages and other features and advantages of the present disclosure will be apparent from the following detailed description when considered in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Other features, advantages and details appear, by way of example only, from the following detailed description, which refers to the accompanying drawings, in which:
[0025] Figure 1 is a block diagram of a vehicle implementing a parallel tree-based decision-making scheme for autonomous operation according to one or more embodiments;
[0026] Figure 2 is an exemplary scenario for illustrating a parallel tree-like decision-making scheme for autonomous operation of a vehicle according to one or more embodiments;
[0027] Figure 3 is a process flow of a method for determining a behavior plan of a plan scope as part of a parallel tree-like decision-making scheme for autonomous driving according to one or more embodiments;
[0028] Figure 4 is a process flow detailing a process for generating a behavior plan for a given plan scope in accordance with one or more embodiments; and
[0029] Figure 5 An exemplary parallel tree-based decision making scheme is shown in accordance with one or more embodiments. DETAILED DESCRIPTION
[0030] The following description is merely exemplary in nature and is not intended to limit the present disclosure, its application, or uses. It should be understood that throughout the drawings, corresponding reference numerals indicate the same or corresponding parts and features.
[0031] As previously described, as the degree of independent operations performed increases, the number of decisions that the vehicle must make also increases. It should also be noted that the algorithm for selecting from potential behaviors is both complex and computationally intensive. Embodiments of the systems and methods detailed herein relate to a parallel tree-like decision scheme for an autonomous vehicle. Decision speed is increased by parallel analysis. In addition, by reducing the total computational effort by reusing determined costs (rather than recalculating the cost of each branch), situations encountered through different branches in the same time period can be efficiently handled. In detail, a path plan that specifies a series of path steps for navigating from a starting point to a destination is used as input. Through a parallel tree-like decision scheme according to one or more embodiments, a behavior plan that specifies how to perform the navigation steps is obtained.
[0032] According to an exemplary embodiment, Figure 1 is a block diagram of a vehicle 100 implementing a parallel tree-like decision-making scheme for autonomous operation. Figure 1 The exemplary vehicle 100 shown in FIG. 1 is a car 101. The vehicle 100 includes sensors 120a to 120n (generally referred to as 120). For example, the sensors 120 may include one or more radar systems, one or more lidar systems, and one or more cameras. The sensors 120 may be located anywhere within or on the vehicle 100 to detect objects around the vehicle 100 and to facilitate decision making according to a parallel tree-like scheme. The vehicle 100 also includes a controller 110. The data collected by each sensor 120 may be processed within the sensor and provided to the controller 110, the data from each sensor 120 may be provided to the controller 120 for processing, or a combination of the sensors 120 and the controller 110 may process the data to obtain information from each sensor 120. The controller 110 may control or communicate with other controllers that control the operation of the vehicle 100. The controller 110 includes a processing circuit, which may include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and a memory that executes one or more software or firmware programs, a combinational logic circuit, and / or other suitable components that provide the functions described.
[0033] Figure 21 is an exemplary scenario for illustrating a parallel tree-like decision scheme for autonomous operation of a vehicle 100 according to one or more embodiments. The vehicle 100 is shown at a starting point O. In order for the vehicle 100 to reach a destination D, a main path plan 210 is determined by the controller 110. An alternative path plan 220 is also shown. The alternative path plan 220 is not generated before the trip as the main path plan 210 is. The main path plan 210 is composed of path steps S1 to S9, and certain path steps related to the alternative path plan 220 are also indicated. Each path step indicates a task for the autonomous vehicle 100. Table 1 indicates the tasks related to the exemplary path steps S1 to S9.
[0034] step Task S1 Stay in your current lane until you reach the crosswalk S2 Crossing a pedestrian crossing S3 Move right one lane S4 Stop at a Stop Sign S5 Turn right S6 Stay in your current lane until you reach the crosswalk S7 Crossing a pedestrian crossing S8 Keep current lane S9 Stop at destination
[0035] Table 1 Exemplary path steps and corresponding tasks
[0036] As previously described, the main path plan 210 is generated by the controller 110 before the vehicle 100 leaves the starting point O. One or more alternative path plans 220 can be generated during the trip based on the conditions encountered. Each path plan 210, 220 can be determined based on a map. Traffic and weather data obtained via communication with the controller 110 can also be used to determine the path plans 210, 220. Although the path steps indicate static tasks (i.e., tasks that do not take into account real-time conditions) that the vehicle 100 must perform along the route indicated by the path plans 210, 220, the Level 4 autonomous vehicle 100 must evaluate the real-time environment during the traversal of the path plans 210, 220 and determine the best behavior (e.g., speed, signal, maneuver) to complete the tasks indicated by each path step. For the purpose of explanation, the potential behaviors considered are referred to as actions. For example, if the path step indicates a task to maintain the current lane, based on the real-time situation (e.g., a motorcycle in front of the vehicle 100 in the lane), the action may include maintaining the speed or using adaptive cruise control (i.e., slowing down and recovering the speed based on the speed of other objects in front of the vehicle 100). The behavior plan represents a selection from these actions. As reference Figure 4 Further discussion, the best behavior (i.e., selection among actions) is determined based on cost optimization. As further detailed, for a given planning horizon, among the actions considered, the lowest cost action is selected as the action step and becomes part of the action plan.
[0037] The controller 110 evaluates a series of actions within a plan range throughout the entire trip from the origin O to the destination D. That is, while a single main path plan 210 lists the path steps from the origin O to the destination D, multiple behavior plans within multiple plan ranges, each covering a subset of the main path plan 210, are used to make decisions about how to traverse the path steps between the origin O and the destination D. If the path steps of the alternative path plan 220 are within a given plan range, the actions corresponding to the alternative path plan 220 are also considered as well as the actions corresponding to the main path plan 210 to select the behavior steps of the behavior plan for the alternative path plan 220. The lowest cost behavior plan (e.g., fastest) of the plan range is selected from the behavior plans of the main path plan 210 and the behavior plans of the alternative path plan 220.
[0038] The planning horizon may be defined by a specific distance ahead of the vehicle 100, a specific number of path steps, or a specific amount of time (e.g., 7 seconds ahead) and the corresponding distance estimated to be traversed in that time. The planning horizon may be considered a simulation of the near future based on information obtained from sensors 120 about objects, signs, traffic lights, lane markings, etc., near the vehicle 100. Regardless of which criteria is used to select the planning horizon, the final position of the planning horizon remains the same for a given number of simulations. Figure 2 The exemplary scenario shown discusses this further.
[0039] The best (in terms of cost) actions (i.e., behavior steps) to accomplish the tasks indicated by the path steps within the planning horizon constitute the behavior plan. Thus, starting from the starting point O, the vehicle 100 continuously develops behavior plans for the upcoming path steps within the planning horizon. As further detailed, the development of a behavior plan for a given planning horizon involves simulating future time at multiple intervals. As the vehicle 100 proceeds to the destination D, the path steps that are part of the planning horizon change. For example, for Figure 2 1. The position of the vehicle 100 shown, the exemplary planning scope of 7 seconds can correspond to the distance to the stop sign (path step S4) based on the estimated speed of the vehicle 100. Within the 7-second planning scope, the behavior steps of the behavior plan can be selected based on the simulation of the position of the vehicle 100 every 0.5 seconds. That is, the state of the vehicle 100 and all objects around the vehicle 100 are simulated at 0.5 second intervals into the future (i.e., 0.5 seconds in advance, 1.0 seconds in advance, 1.5 seconds in advance, etc.). For example, the vehicle 100 can be positioned at the crosswalk (path step S2) with a 3-second simulation. Therefore, the actions considered for selecting the behavior steps can be actions related to path steps S2, S3 and S4, but according to the simulation, path step S1 has already been passed and therefore will not be part of the simulation at 3-second intervals within the planning scope.
[0040] For each simulation interval (e.g., 0.5 seconds) in the plan horizon, an action is considered for each relevant (i.e., yet to be processed) path step in the plan horizon. Of the actions considered at each simulation interval, only one action (i.e., the lowest cost action) is selected as the behavior step for that simulation interval. For example, for the simulation intervals within the exemplary plan horizon mentioned above (e.g., 2.5 seconds into the future), path steps S2, S3, and S4 may be considered. Specifically, the costs associated with the actions associated with path steps S2, S3, and S4 are compared. For example, as determined by comparison, if the lowest cost action is to decelerate to a stop based on a stop sign that is part of path step S4, then the behavior step for the 2.5 second simulation interval within the exemplary plan horizon is to decelerate to a stop. Using the reference Figure 3 and 4 A detailed description of the parallel tree-like decision-making scheme to determine the action steps. Continue to refer to Figure 1 and 2 Let's discuss Figure 3 and 4 A behavior plan for a given planning horizon is a sequence of behavior steps determined at simulation intervals within the planning horizon.
[0041] Figure 3 1 is a process flow of a method 300 for determining a behavior plan with a plan scope as part of a parallel tree-like decision-making scheme for autonomous driving according to one or more embodiments. In box 310, the process includes formulating a main path plan 210 with path steps to reach a destination D from a starting point O. As previously described, the main path plan 210 is formulated before the vehicle 100 leaves the starting point O. In box 320, starting the trip refers to leaving the starting point O. In box 330, defining the current plan scope refers to determining the plan scope based on the current position of the vehicle 100 (e.g., the distance ahead of the vehicle 100, the time, the number of path steps directly ahead of the vehicle 100). For example, in Figure 2 In the exemplary scenario shown, when the vehicle 100 is at the starting point O, the planning horizon may include path steps S1 and S2, but once the vehicle 100 reaches the stop sign at path step S4, the planning horizon will not include path steps S1 or S2.
[0042] At block 340, for each simulation interval, reference Figure 4Detailed description is given of a cost analysis based on determining behavior steps using a parallel tree-like decision scheme to evaluate one or more path steps and unmapped path steps as part of the current simulation interval of the current plan scope. As previously described, the simulation is iteratively performed within the plan scope at regular intervals. The behavior steps determined at each simulation interval are combined with other behavior steps determined at other simulation intervals within the same plan scope to form a behavior plan. For a given simulation interval within the plan scope, the position of the vehicle 100 and other objects is based on the behavior steps selected in the previous simulation interval. That is, the initial conditions of a given simulation interval within a given plan scope are simulated based on the behavior steps determined for the previous simulation interval. Within a given plan scope, the path steps represent prior knowledge based on a map or other sources. For example, the path steps indicating a task to cross a crosswalk require the existence of the crosswalk to be understood in, for example, a map-based path planning process. In a given plan scope, unmapped path steps (e.g., unmapped crosswalks, unmapped traffic lights, unmapped traffic signs) may be encountered that are not resolved by the path steps in the main path plan 210.
[0043] At box 350, a check is made to see if any alternate paths are within the plan scope. Specifically, a check is made to see if any path steps from one or more alternate path plans 220 are within the plan scope defined at box 330 based on the current position of the vehicle 100. This may occur, for example, if traffic conditions or communications indicating an incident along the primary path plan 210 cause the controller 110 to generate an alternate path plan 220 during travel. If no alternate path plan 220 is encountered within the plan scope, the behavior plan determined for the primary path plan 210 at box 340 is output at box 360 for the current plan scope. The behavior plan is implemented by the vehicle 100 even if it is updated by the next iteration starting at box 330.
[0044] If the check at box 350 determines that there is at least one path step associated with the alternative path plan 220 in the plan range defined at box 330, then the processes of boxes 370 and 380 are performed. At box 370, the process is similar to the process performed at box 340, and reference is made to Figure 4Detailed description. The result is a behavior plan associated with each alternative path plan 220 having a path step as part of the plan scope. In box 380, the cost of the behavior plan of the main path plan 210 (from box 340) is compared with the cost of the behavior plan determined for each alternative path plan 220 (in box 370) resulting in the selection of the behavior plan with the lowest cost. The lowest cost behavior plan may be the behavior plan involving the fastest driving. That is, when comparing the behavior plans associated with different path plans 210, 220, slower driving can be considered to be a higher cost. In box 360, the behavior plan selected in box 380 (which may be associated with the main path plan 210 or one of the alternative path plans 220) is output for implementation by the vehicle 100. In the next iteration, the current plan scope defined will involve the path steps and conditions of the path plans 210, 220 selected in box 380.
[0045] Figure 4 is described in detail in Figure 3 Blocks 340 and 370 generate a process flow for the process of behavioral planning for a given planning scope. Figure 3 As shown, the current plan scope is defined at block 330. Therefore, whether the action plan is made for the primary path plan 210 (at block 340) or the alternative path plan 220 (at block 370), the corresponding path steps, any unmapped path steps, and real-time conditions within the plan scope are executed. Figure 4 The process shown in FIG. is repeated at each simulation interval within the planning range at blocks 410, 420, and 430. At block 410, reference Figure 5 Further discussion is to determine a hierarchical decision tree for each path step and unmapped path step associated with a simulation interval. Each branch of the decision tree represents an action based on real-time conditions. For example, for a path step indicating a task of crossing a crosswalk or for an unmapped crosswalk, an exemplary branch of the decision tree may involve an action of yielding to a pedestrian at the center of the crosswalk. Another exemplary branch may involve an action of yielding to a pedestrian starting at the crosswalk. Yet another exemplary branch may involve an action of keeping the lane in the absence of any pedestrians or because a pedestrian is leaving the crosswalk. Based on real-time conditions (e.g., the presence and location of pedestrians, the absence of pedestrians), some branches are not relevant and therefore their costs are not considered.
[0046] At block 420, the process includes computing or reusing, in parallel for each decision tree, the cost of each associated action indicated by the decision tree. One of the efficiencies gained according to one or more embodiments is based on the fact that the same branch of a decision tree may be associated with more than one path step that is part of the same plan horizon. In that case, the cost associated with the branch does not need to be re-determined, but can be reused after being determined once for the plan horizon. As described with reference to Figure 5 Further discussion, cost refers to spatial cost (SC) and temporal cost (TC). Spatial cost (SC) is the cost associated with lateral movement (e.g. lane change, maneuvering around parked vehicles) and is zero otherwise. Temporal cost (TC) is proportional to acceleration and therefore decreases with deceleration.
[0047] At block 430, for each decision tree associated with a path step or an unmapped path step in the planning horizon (for the relevant simulation interval), selecting an action based on cost refers to selecting the minimum cost action. Figure 5 This is discussed further. The lowest cost action among the actions selected for each path step or unmapped path step is the behavior step for a given simulation interval. At block 440, generating a behavior plan from the behavior steps refers to putting together the behavior steps from each simulation interval of the plan scope as a plan scope behavior plan.
[0048] Figure 5 An exemplary decision tree scheme according to one or more embodiments is shown. The decision tree scheme may and will likely involve comparing Figure 5 More decision trees are shown for explanation purposes in Figure 5 , path steps and unmapped path steps are represented by squares, real-time conditions (e.g., the number of pedestrians present in a crosswalk, the color of a traffic light) are represented as diamonds, tasks (e.g., maintaining the current lane, parking) are represented as circles, and actions (e.g., maintaining speed, enabling adaptive cruise control) or methods to achieve the tasks are represented as triangles. When part of path plans 210, 220, the tasks can be the path steps themselves, as discussed with reference to the second exemplary path step PS2. Each decision tree represents a set of actions. Based on real-time conditions, certain branches of the decision tree (i.e., certain potential actions) can be pruned. Each unpruned branch of the decision tree is associated with a cost including a space cost SC and a time cost TS. After discussing the unmapped path step C and path steps PS1, PS2, the costs are further discussed.
[0049] The exemplary simulation interval of the exemplary planning horizon includes an exemplary unmapped path step C and two exemplary path steps PS1 and PS2. Therefore, according to the process at block 410, a decision tree DT1 is determined for the unmapped path step C (e.g., unmapped traffic lights), a decision tree DT2 is determined for the path step PS1 (e.g., crossing a crosswalk), and a decision tree DT3 is determined for the path step PS2 (e.g., staying in the current lane). Figure 5As shown, the decision tree DT3 associated with the second path step PS2 is part of the decision trees DT1 and DT2 associated with the condition C and the path step PS1 in the same planning scope. That is, for at least some simulations performed in the same planning scope, all decision trees DT1, DT2, DT3 may be related to the selection action.
[0050] First, the decision tree DT1 for the exemplary unmapped path plan C for an unmapped traffic light encountered in the current planning scope is discussed. In the exemplary planning scope, the real-time condition RTC of the green light is correct. Therefore, branches related to other potential real-time conditions (such as yellow light, red light, flashing yellow light, flashing red light) are crossed out. For the real-time condition of the green light GL, the corresponding task is to maintain the current lane, which also happens to be the path step PS2 that is part of the same planning scope. This task or path step PS2 branches into two potential actions. One is to maintain the speed MS, and the other is to use adaptive cruise control AC. These are discussed with reference to the decision tree DT3 for the second path step PS2 in the planning scope.
[0051] The decision tree DT2 for the exemplary path step PS1 for crossing a crosswalk has many potential real-time conditions associated with it. For example, a pedestrian may enter the crosswalk within the planned range (which will require stopping), a pedestrian may leave the crosswalk within the planned range (which will not require stopping), multiple pedestrians may be located at different locations of the crosswalk, or, as in the exemplary real-time condition, there are no pedestrians NP. Other real-time conditions that are not the case within the exemplary planned range are crossed out. The task corresponding to no pedestrians NP is to stay in the current lane (i.e., another path step PS2).
[0052] Decision tree DT3 is a subset of decision trees DT1 and DT2, and is a decision tree DT3 for a second path step PS2 for maintaining the current lane. This task or path step PS2 branches to potential actions of maintaining speed MS and adaptive cruise control AC. If nothing (e.g., a motorcycle, a car) is within a threshold distance in front of the vehicle 100 in the lane, the adaptive cruise control AC behavior action may be crossed out unnecessarily. As previously described, each branch of each decision tree represents a potential action. Some of these actions are not required by real-time conditions within the planning range, and are therefore eliminated as actions with cost taken into account.
[0053] The costs associated with the actions of maintaining speed MS and adaptive cruise control AC only need to be determined once within the planning horizon for a given interval (e.g., a simulation of 0.5 seconds for a planning horizon to 5 seconds). This cost applies to all three decision trees DT1, DT2, and DT3 for the same interval of the same planning horizon. Specifically, since staying in the same lane does not involve any lateral movement, the spatial cost SC is 0. The time cost TC for maintaining speed is 0 because the time cost TC is proportional to acceleration. In the exemplary planning horizon, the motorcycle in front of the vehicle 100 may need to slow down. Therefore, the time cost TC associated with deceleration (negative acceleration) is -1. In summary, the costs associated with the path step PS2 of maintaining the current lane using the action of maintaining speed are SC=0 and TC=0, while the costs associated with the path step PS2 of maintaining the current lane using the action of adaptive cruise control are SC=0 and TC=-1.
[0054] Therefore, in the exemplary simulation interval of the exemplary planning range, the cost of the action of using the adaptive cruise control is low. That is, the lowest cost action among the actions of the unmapped path step C for the unmapped traffic light with green light GL, the path step PS1 for crossing the crosswalk without pedestrians NP, and the path step PS2 for keeping the current lane is the adaptive cruise control system. Therefore, the behavior step for the exemplary simulation interval of the exemplary planning range is to use the adaptive cruise control. This behavior step will also be used to set the real-time condition for the next simulation interval in the planning range.
[0055] Although the above disclosure has been described with reference to exemplary embodiments, it will be appreciated by those skilled in the art that various changes may be made and equivalents may be substituted for its elements without departing from its scope. In addition, many modifications may be made to adapt specific circumstances or materials to the teachings of the disclosure without departing from the substantive scope of the disclosure. Therefore, it is intended that the disclosure is not limited to the specific embodiments disclosed, but will include all embodiments falling within its scope.
Claims
1. A method implemented by an autonomous vehicle, the method comprising: determining, using a processor, a path plan from a starting point of the autonomous vehicle to a destination, the path plan comprising two or more path steps indicating tasks to be completed to reach the destination; during traversal of the path plan by the autonomous vehicle, evaluating, using a processor, one or more of two or more path steps that are part of a plan horizon to determine a behavior plan for the plan horizon, the plan horizon being based on a current position of the autonomous vehicle, the behavior plan including a speed and trajectory for the autonomous vehicle to complete one or more of the two or more path steps, the evaluating including performing a cost analysis using a parallel tree-like decision scheme at each of two or more simulation intervals in the plan horizon; as well as Repeatedly evaluate and scope the behavior plan at two or more locations from the autonomous vehicle’s origin to its destination, wherein determining the path plan includes determining a main path plan including two or more main path steps prior to the traversal and determining an alternate path plan including two or more alternate path steps during the traversal, evaluating one or more of the two or more path steps as part of a plan scope includes determining whether one or more of the two or more alternate path steps are in the plan scope, and evaluating one or more of the two or more alternate path steps in the plan scope based on the determination indicating that one or more of the two or more alternate path steps are in the plan scope, evaluating one or more of the two or more path steps includes obtaining, for each of the one or more of the two or more main path steps in the plan scope, a decision tree indicating optional actions associated with each of the one or more of the two or more main path steps in two or more simulation intervals within the plan scope, and for each of the one or more of the two or more main path steps in the plan scope, determining an alternate path plan including two or more alternate path steps. A decision tree is obtained for each of one or more of two or more alternative path steps in two or more simulation intervals within the planning range, which indicates optional actions associated with each of one or more of the two or more alternative path steps in the planning range, performing a cost analysis includes determining a primary cost associated with each of the optional actions of each of the decision trees associated with each of one or more of the two or more primary path steps in each of the two or more simulation intervals within the planning range and determining an alternative cost associated with each of the optional actions of each of the decision trees associated with each of one or more of the two or more alternative path steps in each of the two or more simulation intervals within the planning range, and the method also includes comparing the primary cost and the alternative cost to select between a behavior plan from the primary path plan and a behavior plan from the alternative path plan to be traversed by the autonomous vehicle.
2. The method according to claim 1, wherein: Performing the cost analysis includes obtaining a decision tree for each of one or more of two or more path steps in a simulation interval within a planning scope, indicating optional actions associated with each of one or more of the two or more path steps in the planning scope, performing the cost analysis includes determining a cost associated with each of the optional actions for each of the decision trees associated with each of one or more of the two or more path steps in the simulation interval within the planning scope, and determining the behavior plan includes selecting a lowest cost action among the optional actions for each of the two or more simulation intervals within the planning scope.
3. The method according to claim 1, wherein: The repeated evaluation and determination of the behavior plan is performed continuously while the autonomous vehicle traverses the path plan.
4. The method according to claim 1, wherein: During traversal of the path plan, determining the behavior plan also includes performing a cost analysis on conditions indicating tasks that are encountered in real time and that are complementary to the tasks indicated by the path steps.
5. A system in an autonomous vehicle, the system comprising: a storage device configured to store a path plan from a starting point of the autonomous vehicle to a destination, the path plan comprising two or more path steps; as well as a processor configured to evaluate one or more of two or more path steps that are part of a plan horizon during traversal of the path plan by the autonomous vehicle to determine a behavior plan for the plan horizon, the plan horizon being based on a current position of the autonomous vehicle, the behavior plan including a speed and trajectory for the autonomous vehicle to complete one or more of the two or more path steps, the evaluating including performing a cost analysis using a parallel tree-like decision scheme at each of two or more simulation intervals in the plan horizon; and a process of repeating the behavior plan of the determined planning range at two or more locations of the autonomous vehicle from the starting point to the destination, wherein the processor is configured to determine a main path plan including two or more main path steps before the autonomous vehicle leaves a starting point and to determine an alternative path plan including two or more alternative path steps after the autonomous vehicle leaves a starting point and before the autonomous vehicle reaches a destination, determine whether one or more of the two or more alternative path steps are in a plan scope, and evaluate one or more of the two or more alternative path steps in the plan scope based on the determination indicating that one or more of the two or more alternative path steps are in the plan scope, the processor is configured to obtain a decision tree for each of the one or more of the two or more main path steps in the plan scope, which indicates optional actions associated with each of the one or more of the two or more main path steps in two or more simulation intervals within the plan scope, and for the two or more of the two or more alternative path steps in the plan scope, obtain a decision tree indicating optional actions associated with each of the one or more of the two or more main path steps in two or more simulation intervals within the plan scope. each of one or more of the two or more alternative path steps in the simulation interval obtains a decision tree indicating optional actions associated with each of the one or more of the two or more alternative path steps in the planning horizon, the processor is configured to determine a primary cost associated with each of the optional actions of each of the decision trees associated with each of the one or more of the two or more primary path steps in each of the two or more simulation intervals in the planning horizon and determine an alternative cost associated with each of the optional actions of each of the decision trees associated with each of the one or more of the two or more alternative path steps in each of the two or more simulation intervals in the planning horizon, and the processor is configured to compare the primary cost and the alternative cost to select between a behavior plan from the primary path plan and a behavior plan from the alternative path plan to traverse through the autonomous vehicle.
6. The system according to claim 5, wherein: The processor is configured to obtain a decision tree for each of one or more of two or more path steps in a planning scope, which indicates optional actions associated with each of one or more of the two or more path steps in a simulation interval within the planning scope, the processor is configured to determine a cost associated with each of the optional actions for each of the decision trees associated with each of one or more of the two or more path steps in the simulation interval within the planning scope, and the processor is configured to select a lowest cost action among the optional actions for each of the two or more simulation intervals within the planning scope.
7. The system according to claim 5, wherein: The process of iteratively determining the behavior plan is performed continuously while the autonomous vehicle traverses the path plan.
8. The system according to claim 5, wherein: During traversal of the path plan, the processor is configured to determine a behavior plan by additionally performing a cost analysis on conditions indicative of tasks encountered in real time and that are complementary to the tasks indicated by the path steps.
