Method for trajectory planning of a moving object

By using the cost function and the rapid expansion random tree method in the rule-based trajectory planning system to distinguish and calculate the violation cost, the problem of difficulty in handling rule violations in the existing technology is solved, the trajectory planning is optimized, and the efficiency and accuracy of trajectory planning are ensured. sex.

CN110926488BActive Publication Date: 2024-08-23ROBERT BOSCH GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910881063.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-19
Filing Date
2019-09-18
Publication Date
2024-08-23
Estimated Expiration
2039-09-18

AI Technical Summary

Technical Problem

Existing rule-based trajectory planning systems are difficult to effectively handle rule violations, especially when defining the cost of violation, which affects the optimization effect of trajectory planning.

Method used

A cost function is used to optimize trajectory planning, distinguishing state rule violations and transition rule violations, and calculating them based on time dependence and fixed violation cost amounts respectively, so as to determine the motion trajectory on the basis of minimizing the total cost, taking into account each trajectory segment Violation cost and trajectory planning using fast expanding random tree method.

Benefits of technology

It realizes effective handling of rule violations in the rule planning system, optimizes trajectory planning, ensures that trajectories comply with rules that cannot be violated and avoids rules that can be violated as much as possible, improving the efficiency and accuracy of trajectory planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110926488B_ABST
    Figure CN110926488B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for determining a motion trajectory for a movable object, in particular a vehicle, in a rule-based trajectory planning system, wherein rule violations include state rule violations and / or transition rule violations, wherein a state rule violation indicates a violation of a state rule, which in turn indicates an impermissible state of the movable object, and a transition rule violation indicates a violation of a transition rule, which in turn indicates an impermissible state transition, wherein a time-dependent cost amount of the violation cost is assigned to the state rule violation and a fixed, in particular time-independent, cost amount of the violation cost is assigned to the transition rule violation, so that the total cost for the motion trajectory for each trajectory segment that violates a violable rule depends on the time-dependent or fixed cost amount assigned to the violated rule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to a method for rule-based trajectory planning of a movable object taking into account permitted rule violations. Background Art

[0002] For rule-based trajectory planning, a set of predefined rules is usually taken into account for finding a meaningful trajectory between two positions. For example, a logic description language, so-called linear temporal logic (LTL), can be used for the description of the rules, which reflects the task specifications in the form of LTL specifications. From the LTL specifications, the permissible movement trajectories can be planned and optimized according to the rules.

[0003] The trajectory planning for a movable object in a rule-based planning system is based on the calculation of a cost function, with the aid of which the trajectory is iteratively optimized. The optimization is usually carried out on the basis of minimizing the time required for the movable object to move along the trajectory, the required energy consumption, etc., according to the optimization goal. However, the problem is to define an effective cost function that takes into account the violation of the rule that can be violated. The parameterization of the cost for the violation of the rule represents a special difficulty here.

[0004] For example, from the 52nd IEEE Conference on Decision and Control in December 2013 (52 nd A trajectory planning technique is described in "Incremental sampling-based algorithm for minimum-violation motion planning" by L. Reyes Castro et al., IEEE Conference on Decision and Control, pp. 3217-3224, in which contradictory movement rules are used to find the most suitable motion trajectory by assigning the cost for rule violation to the corresponding rule.

[0005] The publication “Minimum-violation scLTL motion planning for mobility-on-demand” by C.-I. Vasile et al., in the IEEE International Conference on Robotics and Automation (ICRA) in May 2017, pages 1481-1488, additionally discloses the integration of trajectory planning, wherein a cost for a rule violation is assigned if the rule cannot be described by a predetermined set of syntactically given scLTL rules.

[0006] Therefore, there is a need to specify the violation costs for rule violations during trajectory planning for trajectory determination methods. Summary of the invention

[0007] According to the invention, a method according to the invention for determining a movement trajectory for a movable object and a method according to the invention for guiding a movable object, a device and a movable object are provided.

[0008] Further refinements are described in the dependent claims.

[0009] According to a first aspect, a method for determining a motion trajectory for a movable object, in particular a vehicle, in a rule-based trajectory planning system is provided, wherein trajectory planning is performed on the basis of minimizing the total cost according to a cost function in order to determine the motion trajectory, wherein the cost function takes into account the following violation costs, which are derived for each trajectory segment of the motion trajectory from possible corresponding violations of one or more violable rules with respect to the trajectory segment, wherein rule violations include state rule violations and / or transition rule violations, wherein state rule violations indicate violations of state rules, for which violations of the state rules indicate an impermissible state of the movable object, and transition rule violations indicate violations of transition rules, for which violations of the transition rules indicate an impermissible state transition, wherein a time-dependent cost amount of the violation cost is assigned to the state rule violation and a fixed, in particular time-independent cost amount of the violation cost is assigned to the transition rule violation, so that for each trajectory segment that violates the violable rule, the total cost for the motion trajectory depends on the time-dependent or fixed cost amount assigned to the violated rule.

[0010] The determination of the optimized motion trajectory is usually an iterative process, in which the cost determined according to a predetermined cost function is minimized. In other words, a motion trajectory is selected from a plurality of candidate trajectories, and the lowest cost is determined for the candidate trajectory.

[0011] The cost function can be defined according to an optimization goal, which usually has at least one time-based component (especially dependent on the time for completing the relevant trajectory). Thus, the optimization goal can be minimization of the time until the target is reached, reduction of energy consumption which is also time-dependent, reduction of harmful emissions, etc.

[0012] The rule description based on trajectory planning defines the permissible and impermissible system states based on the formulation of rules. The rule description includes a set of rules, which can include rules that can be violated and rules that cannot be violated. The candidate trajectory is determined taking into account that the rules that cannot be violated must be followed and that violations of the rules that can be violated are avoided as much as possible.

[0013] The “designation of rules as violable” allows the trajectory planning to violate one or more violable rules, if necessary, and to take the rule violations into account in the basic cost function by means of additional costs. To this end, different violation costs are additionally provided for the system states and transitions between system states that lead to rule violations. In particular, rule violations associated with state transitions are provided with a fixed cost amount that is independent of time (violation costs), and rule violations associated with impermissible system states are provided with a cost amount that is dependent on time (violation costs). The corresponding violation costs can be determined by multiplying the time-dependent violation costs with a duration corresponding to the duration of the system state, during the duration of which the trajectory planning specifies the trajectory segments on which the rule violations occur.

[0014] Furthermore, the time-dependent cost variable can be determined by multiplication with the time period which is required to move the object along the relevant trajectory segment.

[0015] It may be provided that the trajectory planning includes the ascertainment of a plurality of candidate trajectories, from which the candidate trajectory having the lowest total cost is selected as the movement trajectory.

[0016] According to one embodiment, the trajectory planning can include a scan-based search method, in particular an RRT* method. Known trajectory planning methods generally include methods that take into account the corresponding costs for the trajectory segments already during or in order to create a candidate motion trajectory. Thus, for example, it can be provided in the rapidly expanding random tree method (RRT method) that the corresponding costs of the trajectory segments are taken into account on the basis of the creation of the random tree. In this case, the trajectory is incrementally derived (entwickeln) starting from the starting point for satisfying the final condition, and the corresponding costs of the trajectory segments are summed (aufsummieren) to obtain a total cost for evaluating the trajectory.

[0017] In particular, trajectory planning can include the creation of a tree, the nodes of which indicate states and / or positions of objects and the connections of which indicate trajectory segments between the positions of the associated nodes, wherein the creation of the tree includes the following steps:

[0018] - Provide new nodes corresponding to the scanned positions of the objects;

[0019] -determine multiple paths from the new nodes of the tree to the initial node;

[0020] - Find the total cost for multiple paths;

[0021] -Connect the new node with the predecessor node that belongs to the path with the lowest total cost.

[0022] It can be provided that for already provided nodes a check is carried out using a cost function to determine whether these nodes can be reached via new nodes having a lower cost, and that, if this is the case, these nodes are connected to the new node.

[0023] Furthermore, the cost function can be formulated according to an optimization objective which takes into account the time required to travel through the respective trajectory segment.

[0024] According to a further aspect, a method is provided for guiding a movable object along a movement trajectory ascertained according to the above method.

[0025] In particular, steering interventions and forward movements of the movable object can be controlled as a function of the movement trajectory.

[0026] As an alternative, driving instructions for guiding the movable object may be output as a function of the movement trajectory, in particular in the form of navigation instructions issued by a navigation system.

[0027] According to another aspect, a device for determining a motion trajectory for a movable object, in particular a vehicle, in a rule-based trajectory planning system is provided, wherein the device is configured to perform trajectory planning according to a cost function on the basis of minimization of an overall cost in order to determine the motion trajectory, wherein the cost function takes into account the following violation costs, which are derived for each trajectory segment of the motion trajectory from possible corresponding violations of one or more violable rules regarding the trajectory segment, wherein rule violations include state rule violations and / or transition rule violations, wherein state rule violations indicate violations of state rules, for which an impermissible state of the movable object is indicated, and transition rule violations indicate violations of transition rules, for which an impermissible state transition is indicated, wherein a time-dependent cost amount of the violation cost is assigned to the state rule violation and a fixed, in particular time-independent cost amount of the violation cost is assigned to the transition rule violation, so that the total cost for the motion trajectory for each trajectory segment that violates a violable rule depends on the time-dependent or fixed cost amount assigned to the violated rule.

[0028] According to another aspect, a movable object, in particular a vehicle, is provided, which has the above-mentioned device, a drive system, a steering system and a sensor device for detecting the environment of the object, wherein the device controls the drive system and the steering system according to the environmental state, in particular the position of environmental objects and environmental areas, so as to move the object along a determined motion trajectory.

[0029] In addition to a vehicle, the movable object can also be a robot, in particular an automated or partially automated robot, a movable, in particular an automated or partially automated production machine or a movable, in particular an automated or partially automated tool. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The embodiments are explained in detail below with the aid of the accompanying drawings. In the drawings:

[0031] Figure 1 A schematic diagram of a movable object is shown for which trajectory planning is to be performed;

[0032] Figure 2 A flow chart illustrating a method for performing trajectory planning is shown;

[0033] Figure 3 A flow chart illustrating the RRT* method for performing trajectory planning is shown;

[0034] Figure 4 shows exemplary traces for different rule weights for two rules, and

[0035] Figure 5 Exemplary traces for different rule weights for another rule are shown. DETAILED DESCRIPTION

[0036] A method is described below, with which trajectory planning can be performed for a movable object on the basis of a predetermined rule basis. Here, the optimization target corresponds to the time used to reach the target. The following description is performed on the example of trajectory planning for the following vehicle, which is to leave the parking lot through an exit on a specific lane. Trajectory planning should determine the movement trajectory of the vehicle, and the vehicle should be guided as quickly as possible along the movement trajectory while paying attention to the predetermined movement rules. In addition, inaccessible areas are specified, which may indicate the location of other vehicles or buildings, for example. Movement rules are indicated as rules that can be violated, that is, as rules that can be ignored when necessary taking into account the shortcomings in the cost function of trajectory planning, while inaccessibility rules represent rules that cannot be violated, because buildings or other obstacles cannot actually be crossed.

[0037] Figure 1 The schematic diagram of a movable object is shown, which can be designed as a vehicle 1. The vehicle 1 can have a control unit 2, which is designed to carry out trajectory planning and implement the desired movement trajectory. The control unit 2 can control the movement of the vehicle 1 by actuating and intervening in a drive system 3 and a steering system 4. For this purpose, the steering intervention and the forward movement can be variably predefined in a manner known per se for driving through the desired movement trajectory.

[0038] In order to control the vehicle 1, the environmental conditions can be detected by means of a sensor device 5. The sensor device 5 can include, for example, a camera, other sensor devices that can be used to detect objects in the surroundings of the vehicle, such as, for example, an ultrasonic sensor device, etc. The sensor device 5 can be used to detect and identify the positions of environmental objects and environmental areas (roadways, green areas, etc.), so that an environmental map can be determined based on the impassable areas and can be used as a basis for the impassability rules.

[0039] The starting point of the method described below is a task specification in the form of a linear temporal logic (LTL), in particular a common safe linear temporal logic (scLTL). The task specification represents a description language for the task specification of the task to be solved, which has a temporal modality ( ). Each scLTL task specification can be converted into a deterministic (deterministisch) finite automaton (Automaten).

[0040] Figure 2 A flow chart for illustrating a method for performing trajectory planning is shown in FIG.

[0041] In step S1, a rule basis for the movement of vehicle 1 is constructed from the surroundings map detected by the sensor system, the surroundings map that can be called up from the map memory, and the predefined LTL description. For example, the rule basis can be expressed as follows:

[0042] 1. Do not drive through impassable areas indicated on the environmental map.

[0043] 2. When in lane a, do not change to lane b.

[0044] 3. Do not drive in the opposite direction on the lane.

[0045] This rule basis includes rules that cannot be violated by virtue of rule 1, since the trajectory planning must not provide under any circumstances for objects in the vehicle's surroundings to be passed over.

[0046] Rules 2 and 3 represent rules that can be ignored or violated under certain conditions.

[0047] In step S2, trajectory planning is performed. Trajectory planning can be performed according to different methods known per se from the prior art. These methods usually determine K candidate trajectories.

[0048] In step S3 , a cost is determined for each candidate trajectory according to a predefined cost function. Each candidate trajectory includes N adjacent trajectory segments, the respective costs TK of which are calculated and summed for each candidate trajectory.

[0049] Can be based on

[0050]

[0051] A cost function is determined for each of the K candidate trajectories.

[0052] The conventional cost for traveling through each trajectory segment is equal to b·T i The movement cost is therefore proportional to the time required to travel through the respective trajectory segment.

[0053] Accordingly, a violation cost VK is determined for each of the trajectory sections for a violation of a rule that can be violated. In this context, a distinction is made between a switch rule violation and a state rule violation of a rule that can be violated.

[0054] Transition rule violations relate to rules related to state transitions. According to the above example, rule 2 "When in lane a, do not change to lane b" corresponds to a check of a state transition, that is, a check whether the trajectory segment under consideration provides a lane change.

[0055] If the rule indicates an impermissibility of the state of the vehicle 1, then there is a violation of the state rule. For example, if the vehicle 1 is in an impermissible position indicated by a rule that can be violated, then there is a violation of the state rule for the trajectory segment. According to the above example, a violation of the rule "do not drive in the opposite direction of travel on the lane" corresponds to a violation of the state rule by the corresponding trajectory segment.

[0056] For a set of rules R that can be violated, a violation cost VK is now assigned. The violation cost for a state rule violation indicates the amount VK that depends on the time var,i,r , so the longer the system state that violates the corresponding state rule lasts, the higher the violation cost. In contrast, the violation cost for the transition rule violation indicates a fixed cost amount VK fix,i,r ,This cost amount does not depend on time, since transitions between system states cannot be assigned a duration.

[0057] A violation cost VK can be fixedly predefined for each rule that can be violated var,i,r , VK fix,i,r , which usually applies if VK var,i,r ≠0, then VK fix,i,r =0 and vice versa.

[0058] In step S4, a motion trajectory is selected from the candidate trajectories having the lowest cost according to the above-mentioned cost function.

[0059] In step S5 , vehicle 1 is moved according to the determined trajectory.

[0060] The distinction between violation costs in transition rule violations and state rule violations also allows appropriate accounting for the violation costs for state rule violations, the amount of which is determined by the duration that the rule violation exists.

[0061] If the method used uses total costs for constructing the movement trajectory to be determined, then this consideration of the violation costs can also be taken into account in the trajectory planning.

[0062] For example, the above-mentioned cost calculation can be taken into account in a scan-based search method, such as the rapidly expanding random tree (RRT*) method, which uses Figure 3 The flowchart is explained in detail.

[0063] In the following, the Rapidly Expanding Random Tree (RRT*) method for determining the optimal movement trajectory of the vehicle 1 is explained. The Rapidly Expanding Random Tree (RRT*) method is a probabilistic approach for solving trajectory planning. In this case, a tree is constructed virtually as an aid, the nodes of which correspond to the positions of the vehicle and the branches to the trajectory segments. In addition, a total cost value can be assigned to each node.

[0064] The tree is constructed by extending it with new nodes by means of a randomly determined heuristic in the state space until the target state is reached. In this case, the tree is only extended if no unbreakable rules are violated. Starting from the target state found (final node) and working backwards towards the starting point (starting node), the tree is constructed. ) to generate the trajectory path.

[0065] In detail, in step S11 , an initial node is used as a starting point, and the initial node corresponds to a specific predetermined vehicle position.

[0066] In order to create a new node, in step S12 a random node is first selected according to a random number function, which random node can represent any position of the vehicle 1 in the consideration space.

[0067] Starting from the new node, in step S13, a search is performed in the existing tree for adjacent nodes within a predetermined distance starting from the new node.

[0068] - No rules that cannot be broken,

[0069] - it is possible according to the movement model of the vehicle (no driving at sharp angles relative to the previous trajectory section), and - the total cost of the previously formed trajectory according to the tree is minimal.

[0070] The total cost is obtained by adding the cost associated with the relevant neighboring nodes to the cost for the trajectory section to the new node (new edge of the tree). The trajectory with the lowest total cost is generated by the neighboring nodes that are selected as predecessor nodes for the new node.

[0071] In this case, when calculating the cost, the same as above is true for Figure 2The violation cost is determined as described in the method of . In this case, it is determined accordingly whether the consideration of the trajectory section between the new node and the adjacent node under consideration represents a violation of a rule that can be violated. If the detected rule violation represents a state rule violation, the duration for moving the vehicle 1 along the considered trajectory section is determined in a manner known per se from the driving state data for the position of the preceding node, the route characteristics, etc., and the violation cost is calculated accordingly according to the time-dependent variable VK var,i,r The cost is determined by adding (multiplying) the duration.

[0072] If the detected rule violation represents a transformation rule violation, then a fixed cost amount VK corresponding to the violation cost is added. fix,i,r to determine the cost.

[0073] In step S14 , the node is set accordingly and connected to the found selected preceding node via a corresponding trajectory segment.

[0074] Now, in step S15, it can be checked whether other already set nodes of the tree can be realized with a lower total cost by means of the new node. In this case, all or part of the already set (considered) nodes are checked. This is done assuming a connection, i.e. a track section from the new node to the considered node and the corresponding total cost is determined. If the newly calculated total cost is lower than the total cost previously assigned to the considered node, the connection, i.e. the track section from the considered node to its predecessor node, is disconnected and the new node is connected to the considered node via the corresponding connection (track section).

[0075] In step S16, it is checked whether the target condition has been met or the target position has been reached. If the target condition has not been met (alternative: No), the method continues with step S12, otherwise the method continues with step S17.

[0076] In step S17 , the vehicle 1 is moved along the found trajectory.

[0077] By means of the above-mentioned RRT* method, which is known per se, it is possible to take into account the rules that can be violated for the trajectory planning by adapting the total cost, wherein, in the case of a state rule violation, the violation cost is determined according to the duration of this rule violation. In contrast, rule violations associated with state transitions are taken into account as time-independent fixed cost quantities when calculating the total violation cost.

[0078] In the exemplary situation outlined above, the vehicle is to reach the exit of the parking lot from an empty parking lot and to do this needs to perform trajectory planning. Figure 4, where there are two parked vehicles in the lane in the direction of the exit. The target condition is that the vehicle should leave the parking lot in the correct lane and in the correct direction to the lower right. The condition that cannot be violated is equivalent to the condition that the vehicle may not drive over other vehicles or other structural obstacles. The rule is equivalent to:

[0079] Rule 1: Vehicles should not always drive in the wrong direction in the lane;

[0080] Rule 2: Vehicles should avoid lane changes whenever possible.

[0081] like Figure 4 As shown, four traces are generated for different cost amounts for rule violations.

[0082]

[0083] The resulting curves K1 to K4 correspond to the respective weights which can be taken from the table.

[0084] In order to illustrate the flexibility of the method, it can be extended with a rule according to which an empty parking space cannot be passed. This rule can be provided with a variable cost. In conjunction with the two previously defined rules, a variable cost is generated for the third rule for the two cost quantities selected as an example. Figure 5 The trajectory curves K5 and K6 (K5: low cost volume, K6: high cost volume) shown in FIG. 1 show that, according to the weighted trajectory planning regulations, it is possible to pass over an empty parking space.

Claims

1. A method for determining a movement trajectory for a movable object in a rule-based trajectory planning system, wherein trajectory planning is performed on the basis of minimization of total costs according to a cost function for determining the movement trajectory, wherein the cost function takes into account violation costs which, for each trajectory segment of the movement trajectory, result from a possible corresponding violation of one or more violable rules with respect to the trajectory segment, The rule violation includes a state rule violation and / or a transition rule violation, wherein the state rule violation indicates a violation of the state rule, and the violation of the state rule indicates an impermissible state of the movable object, and the transition rule violation indicates a violation of the transition rule, and the violation of the transition rule indicates an impermissible state transition, A time-dependent cost amount is assigned to the state rule violation and a fixed cost amount is assigned to the transition rule violation, so that the total cost for the motion trajectory for each trajectory segment that violates a violable rule depends on the time-dependent or fixed cost amount assigned to the violated rule. 2 . The method according to claim 1 , wherein the time-dependent cost variable is determined by multiplying the time period required to move the object along the relevant trajectory segment. 3 . The method according to claim 1 , wherein the trajectory planning comprises obtaining a plurality of candidate trajectories, and selecting a candidate trajectory with a lowest total cost from the plurality of candidate trajectories as the motion trajectory. The method of claim 1 , wherein the trajectory planning comprises a scanning-based search method. The method of claim 1 , wherein the trajectory planning comprises a RRT* method.

6. The method according to claim 4 or 5, wherein the trajectory planning comprises the creation of a tree, the nodes of the tree indicating the state and / or position of the object, and the edges of the tree indicating the trajectory segments between the positions of the associated nodes, wherein the creation of the tree comprises the following steps: - providing a new node corresponding to the scanned position of the object; - determining a plurality of paths from the new node of the tree to the initial node; - Find the total cost for multiple paths; - Connecting the new node to the predecessor node belonging to the path with the lowest total cost.

7. The method according to claim 6, wherein for already provided nodes it is checked with the aid of a cost function whether these nodes can be reached via new nodes having a lower cost, and wherein if this is the case, these nodes are connected to the new node. 8 . The method according to claim 1 , wherein the cost function is formulated according to an optimization objective that takes into account the duration for traversing the respective trajectory segment.

9. Method for guiding a movable object along a movement path ascertained according to one of the methods as claimed in claim 1. 10 . The method according to claim 9 , wherein a steering intervention and a forward movement of the movable object are controlled as a function of the movement trajectory. The method according to claim 9 , wherein a driving command for guiding the movable object is outputted according to the movement trajectory.

12. A device for determining a movement trajectory for a movable object in a rule-based trajectory planning system, wherein the device is designed to carry out trajectory planning based on minimization of total costs in accordance with a cost function for determining the movement trajectory, wherein the cost function takes into account violation costs which, for each trajectory segment of the movement trajectory, result from a possible corresponding violation of one or more violable rules with respect to the trajectory segment, The rule violation includes a state rule violation and / or a transition rule violation, wherein the state rule violation indicates a violation of the state rule, and the violation of the state rule indicates an impermissible state of the movable object, and the transition rule violation indicates a violation of the transition rule, and the violation of the transition rule indicates an impermissible state transition, A time-dependent cost quantity is assigned to the state rule violation and a fixed cost quantity is assigned to the transition rule violation, so that the total cost for the motion trajectory for each trajectory segment that violates a violable rule depends on the time-dependent or fixed cost quantity assigned to the violated rule.

13. A movable vehicle, comprising a device according to claim 12, a drive system (3), a steering system (4) and a sensor device (5) for detecting the environment of the vehicle, wherein the device controls the drive system (3) and the steering system (4) according to the environmental conditions to move the vehicle along a determined motion trajectory.

14. A computer program product which, when executed in a data processing device, performs all the steps of the method according to any one of claims 1 to 11.

15. A machine-readable storage medium on which a computer program is stored which, when executed in a data processing device, carries out all the steps of the method according to claim 1.