Trajectory coordination of two vehicles driving one behind the other
A joint optimization process for MPC-controlled vehicles using V2V communication enhances ACC efficiency by optimizing trajectories and reducing costs through coordinated trajectory planning and cost compensation, addressing the inefficiencies in existing MPC systems due to unpredictable leading vehicle behaviors.
Patent Information
- Application Number
- DE102022202371
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2042-03-10
AI Technical Summary
Existing model predictive control (MPC) systems for adaptive cruise control (ACC) in vehicles fail to effectively account for the behavior of leading vehicles, leading to suboptimal trajectory planning due to reduced solution spaces and inefficiencies when other road users intervene.
Implementing a joint optimization process for MPC-controlled vehicles using V2V communication to integrate V2V information into MPC-based driving strategies, allowing for coordinated trajectory planning that minimizes combined cost functions and avoids collisions while enhancing swarm efficiency.
The joint optimization process improves the efficiency of MPC control for multiple vehicles by optimizing trajectories, reducing overall costs, and ensuring safe, coordinated driving behaviors through coordinated trajectory planning and cost compensation mechanisms.
Smart Images

Figure 00000013_0000 
Figure 00000014_0000 
Figure 00000014_0001
Abstract
Description
[0001] The invention relates to a method for coordinating trajectories for two vehicles driving one behind the other using model-based predictive control (MPC).
[0002] It is known that efficiency criteria must also be taken into account when planning speed trajectories in adaptive cruise control (ACC). A rapidly growing approach in this area is trajectory planning using a so-called MPC solver. In this approach, a large number of possible trajectories are evaluated over a virtual horizon with regard to their overall efficiency. Other road users can also influence the overall efficiency of the selected trajectory. This is the case, for example, if a vehicle ahead initiates a braking maneuver or slows down, thereby reducing the solution space of the ego vehicle's MPC solver, which forces the ego vehicle onto a less optimal trajectory.
[0003] A fundamental problem here is that the ego vehicle usually does not know how a preceding vehicle will behave. In this context, WO 2021 / 115567 A1 by the applicant discloses determining a trajectory for a first vehicle using model-based predictive control, specifically using trajectory information from a second vehicle. The trajectory for the first vehicle is determined based on mutually exchanged and processed discretization points. Further prior art forming the background to the present invention is known from DE 10 2015 221 817 A1, DE 10 2018 109 885 A1, DE 10 2019 122 250 A1, DE 10 2020 122 232 A1 and DE 10 2019 219 577 A1.
[0004] An object of the present invention can be seen in providing an MPC control for a first vehicle and a second vehicle traveling in front of the first vehicle, wherein the efficiency of an MPC control of both vehicles is improved.
[0005] The problem is solved by the subject matter of the independent patent claims. Advantageous embodiments are the subject matter of the subclaims, the following description, and the figures.
[0006] According to the present invention, it is assumed that the leading vehicle is also longitudinally MPC-controlled, as is the following vehicle (ego vehicle). The present invention proposes a joint optimization process for the two MPC-controlled vehicles. This joint optimization process increases swarm efficiency. The cost functions of the MPC controllers of the two vehicles each provide a cost value for the optimized trajectories of the two vehicles. Adding these two cost values yields a total cost value for the trajectories of both vehicles. This total cost value can be reduced if the joint optimization process according to the present invention is applied (compared to determining the trajectories without the joint optimization process). The joint optimization process according to the invention enables both vehicles to benefit from the increase in swarm efficiency, i.e.an improvement can occur with respect to any locally calculated optimum.
[0007] According to the present invention, in particular, an exchange between different vehicles regarding their planned speed trajectories is proposed. In particular, a V2V communication process for using V2V information in an MPC-based longitudinal driving strategy can be used. V2V communication can be understood as an exchange of information and data between vehicles. The goal is to report critical and dangerous situations to the vehicles and / or their drivers at an early stage. The V2V information can be integrated into an MPC-based driving strategy, whereby the V2V information is used in the form of a pruning of the MPC solution space. As a result, an improved selection of an optimal longitudinal speed trajectory is enabled.
[0008] In this sense, according to a first aspect of the invention, a method for coordinating trajectories for two vehicles traveling one behind the other using model-based predictive control is proposed, wherein in particular a first vehicle travels in front of a second vehicle, which follows the first vehicle. The method comprises determining primary trajectories and secondary trajectories of the first vehicle and the second vehicle, wherein the primary trajectories and secondary trajectories are each determined using a model-based prediction, such that a cost function is minimized in each case, which assumes an individual cost value for each of the primary trajectories and secondary trajectories. The feature "trajectory for the first vehicle" can be understood as a path which the respective vehicle is to follow within a predictive horizon ahead (time-distance data pairs), e.g., within the next few seconds.Such a path can be assigned a speed profile, whereby the speed profile can specify a target speed for the first vehicle for each waypoint or discretization point along the path. This assignment of path and speed results in a speed trajectory of the first vehicle.
[0009] The primary trajectory of the first vehicle reduces a solution space for determining the secondary trajectory of the second vehicle such that the secondary trajectory of the second vehicle does not intersect the primary trajectory of the first vehicle. The primary trajectory for the first vehicle is determined, in particular, without including or not depending on a trajectory for the second vehicle. Instead, the primary trajectory for the first (leading) vehicle limits the solution space for determining the secondary trajectory for the second (following) vehicle. Thus, the secondary trajectory for the second (following) vehicle is determined including or depending on the primary trajectory for the first (leading) vehicle. The primary trajectory for the first (leading) vehicle limits the solution space for determining the trajectory for the second (following) vehicle.
[0010] The primary trajectory of the second vehicle reduces the solution space for determining the secondary trajectory of the first vehicle such that the secondary trajectory of the first vehicle does not intersect the primary trajectory of the second vehicle. The primary trajectory for the second vehicle is determined, in particular, without including or not depending on a trajectory for the first vehicle. Instead, the primary trajectory for the second (following) vehicle limits the solution space for determining the secondary trajectory for the first (leading) vehicle. Thus, the secondary trajectory for the first (leading) vehicle is determined including or depending on the primary trajectory for the second (following) vehicle. The primary trajectory for the second (following) vehicle limits the solution space for determining the trajectory for the first (leading) vehicle.
[0011] In a further method step, a selection trajectory of the first vehicle and the second vehicle is determined based on the primary trajectory of the second vehicle and the secondary trajectory of the first vehicle if a combination of the primary trajectory of the second vehicle with the secondary trajectory of the first vehicle results in fewer summed individual cost values than a combination of the secondary trajectory of the second vehicle with the primary trajectory of the first vehicle, wherein the selection trajectory of the first vehicle is used to control the first vehicle and the selection trajectory of the second vehicle is used to control the second vehicle. Thus, a trajectory combination is selected by means of which a collision is avoided and whose associated summed costs are optimal.
[0012] A trajectory combination that also avoids a collision but whose associated cumulative costs are higher can be discarded. In this sense, according to one embodiment, the primary trajectory of the first vehicle is selected for controlling the first vehicle and the secondary trajectory of the second vehicle is selected for controlling the second vehicle if a combination of the primary trajectory of the second vehicle with the secondary trajectory of the first vehicle results in more cumulative individual cost values than a combination of the secondary trajectory of the second vehicle with the primary trajectory of the first vehicle.
[0013] The selection trajectories can be determined particularly easily by having the selection trajectory of the first vehicle correspond to the secondary trajectory of the first vehicle and the selection trajectory of the second vehicle correspond to the primary trajectory of the second vehicle.
[0014] To prevent contact between the two vehicles (the front bumper of the second vehicle touching the rear bumper of the first vehicle) despite avoiding an overlap of the trajectories, the primary trajectory of the second vehicle can be provided with a safety distance from the first vehicle, and a corresponding data set can be transmitted to the first vehicle. In this sense, according to a further embodiment, it is provided that the second vehicle transmits the primary trajectory of the second vehicle to the first vehicle in the form of a trajectory data set, wherein the trajectory data set comprises time-distance value pairs calculated based on the primary trajectory of the second vehicle, and wherein a safety distance between the first vehicle and the second vehicle is taken into account in the calculation of the time-distance value pairs.
[0015] To evaluate the cost-saving potential, opportunity costs for the second vehicle can be calculated. The cost function for the primary trajectory of the second vehicle can assume a primary cost value, while the cost function for the secondary trajectory of the second vehicle assumes a secondary cost value. An opportunity cost value of the second vehicle can be determined and transmitted to the first vehicle, with the opportunity cost value of the second vehicle being determined by the difference between the secondary cost value of the second vehicle and the primary cost value of the second vehicle.
[0016] Corresponding opportunity costs can also be calculated for the first vehicle. The cost function for the primary trajectory of the first vehicle can assume a primary cost value of the first vehicle, while the cost function for the secondary trajectory of the first vehicle assumes a secondary cost value of the first vehicle. An opportunity cost value of the first vehicle can be determined, whereby the opportunity cost value of the first vehicle is determined by the difference between the primary cost value of the first vehicle and the secondary cost value of the first vehicle.
[0017] From the opportunity costs of the first and second vehicles, a savings potential can be determined, which can be used to select the most suitable trajectory from a cost perspective. The savings potential can be determined by summing the opportunity cost value of the second vehicle and the opportunity cost value of the first vehicle. The selection trajectory of the first vehicle and the second vehicle can be determined based on the primary trajectory of the second vehicle and the secondary trajectory of the first vehicle if the savings potential assumes a positive value. Subsequently, the selection trajectory of the first vehicle can be selected to control the first vehicle, and the selection trajectory of the second vehicle can be selected to control the second vehicle.Alternatively, the primary trajectory of the first vehicle may be selected to control the first vehicle and the secondary trajectory of the second vehicle may be selected to control the second vehicle when the savings potential assumes the value zero or a negative value.
[0018] To give the leading vehicle a further incentive to deviate from its more favorable primary trajectory, thereby reducing costs for the following second vehicle and increasing swarm efficiency, the selected trajectories can be modified to compensate for costs for both vehicles. For example, the avoided and incurred opportunity costs can be calculated in the form of saved or additionally used energy. This can then be converted into a monetary unit using a current electricity price. This value could then be transferred between the drivers or owners of the vehicles, for example, via car e-wallets. To achieve a Pareto improvement, the selection trajectories of both vehicles are adjusted.In particular, the primary trajectory of the second vehicle and the secondary trajectory of the first vehicle are adjusted, which also entails alternative costs.
[0019] The compensation is chosen in such a way that a Pareto improvement is achieved, which can minimize the individual costs for both vehicles. The compensation is achieved by changing the selected trajectories in such a way that the costs for the first vehicle are slightly reduced (as compensation for switching to its higher-cost secondary trajectory) and slightly increased for the second vehicle (as a price, so to speak, for allowing the second vehicle to follow its lower-cost primary trajectory).In this sense, the invention provides that when determining the selection trajectory of the first vehicle, the secondary trajectory of the first vehicle is modified such that the secondary cost value of the first vehicle is reduced by a compensation coefficient, while when determining the selection trajectory of the second vehicle, the primary trajectory of the second vehicle is modified such that the primary cost value of the second vehicle is increased by the compensation coefficient. The compensation coefficient can be calculated, for example, from a sum of the amount of the opportunity cost value of the first vehicle plus half of the savings potential that applies to both vehicles. This formula can be used to create a particularly harmonious and efficient balance between the selected trajectories of both vehicles.
[0020] Trajectory planning takes place repeatedly, whereby the associated costs can change accordingly, e.g. if another vehicle appears within the prediction horizon. To take this into account, the compensation coefficient is multiplied by a distance factor. In this sense, the invention provides that when determining the selection trajectory of the first vehicle, the secondary trajectory of the first vehicle is modified such that the secondary cost value of the first vehicle is reduced by a product of the compensation coefficient and a dimensionless distance factor that assumes a value of less than 1, wherein when determining the selection trajectory of the second vehicle, the primary trajectory of the second vehicle is modified such that the primary cost value of the second vehicle is increased by the product of the compensation coefficient and the dimensionless distance factor.
[0021] The distance factor is calculated from an iteration length x in meters divided by a length l of the prediction horizon in meters. The regularity of the iteration is determined by the iteration length x. This can be the case, for example, every 10 meters. The distance x can, but does not have to, correspond to a distance between discretization points within the prediction horizon. If the prediction horizon l has a length of 1000 meters, for example, the compensation should accordingly only be applied over a portion of the first 10 meters. Since this is not compatible with the intrinsic logic of MPC trajectory planning, the compensation is performed proportionally; in the example mentioned, 10 / 1000 = 1% multiplied by the compensation coefficient.Since the compensation coefficient results from the opportunity costs over the entire length of the prediction horizon, but the MPC algorithms of the vehicles are executed again after only 10 meters, compensation is only proportionally achieved by multiplying with the distance factor.
[0022] In the following, embodiments of the invention are explained in more detail with reference to the schematic drawing, wherein identical or similar elements are provided with the same reference numerals. Fig. 1 a schematic representation of a vehicle, Fig. 2 a plan view of a first vehicle driving in front of a second vehicle on a road, Fig. 3 an embodiment of a sequence of a method according to the invention for coordinating trajectories for the two vehicles driving one behind the other according to Fig. 2 using model-based predictive control, Fig. 4 a time / distance diagram with a primary trajectory of the first vehicle and a secondary trajectory of the second vehicle according to Fig. 2, Fig. 5 Cost values of the first vehicle, Fig. 6 Cost values of the second vehicle.
[0023] Fig. 1 shows a first vehicle 1. In the illustrated embodiment, the first vehicle 1 is a motor vehicle, e.g., a passenger car. The first vehicle 1 comprises an MPC system 2 for coordinating trajectories for two vehicles traveling one behind the other using model-based predictive control. The first motor vehicle 1 further comprises a driver assistance system 16 with a processor unit 19 and a communication interface 20. Fig. 2 shows the first vehicle 1 on a road 21, with a second vehicle 18 following the first vehicle 1. In the exemplary embodiment shown, the second vehicle 18 is also a motor vehicle, e.g., also a passenger car. In the exemplary embodiment shown, the second vehicle 18 has the same elements and functions as the first vehicle 1. In particular, the second vehicle 18 also has an MPC system 2, as will be described in more detail below in connection with the first vehicle according to Fig. 1 is described.
[0024] In the exemplary embodiment shown, the MPC system 2 comprises a processor unit 3, a memory unit 4, a communication interface 5, and a recording unit 6 for recording environmental data and status data relating to the first motor vehicle 1. The first motor vehicle 1 further comprises a drive train 7, which can comprise, for example, an electric machine 8, which can be operated as a motor and as a generator, a battery 9, and a transmission 10. In engine mode, the electric machine 8 can drive wheels of the motor vehicle 1 via the transmission 10, which can, for example, have a constant gear ratio. The electrical energy required for this can be provided by the battery 9. The battery 9 can be charged by the electric machine 8 when the electric machine 8 is operated in generator mode (recuperation). The battery 9 can optionally also be charged at an external charging station.The drive train of the motor vehicle 1 can also optionally include an internal combustion engine 17, which can drive the motor vehicle 1 alternatively or in addition to the electric machine 8. The internal combustion engine 17 can also drive the electric machine 8 to charge the battery 9.
[0025] A computer program product 11 is stored on the storage unit 4. The computer program product 11 can be executed on the processor unit 3, for which purpose the processor unit 3 and the storage unit 4 are connected to each other via the communication interface 5. When the computer program product 11 is executed on the processor unit 3, it instructs the processor unit 3 to perform the functions or method steps described in connection with the drawing.
[0026] The computer program product 11 contains an MPC algorithm 13. The MPC algorithm 13 in turn contains a longitudinal dynamics model 14 of the drive train 7 of the first motor vehicle 1. Furthermore, the MPC algorithm 13 contains a cost function 15 to be minimized. The processor unit 3 executes the MPC algorithm 13 and determines trajectories of the first motor vehicle 1 based on the longitudinal dynamics model 14, so that the cost function 15 is minimized.
[0027] The output of the optimization by the MPC algorithm 13 can, for example, be an optimal speed and an optimal torque of the electric machine 8 for discretization points in the look-ahead horizon. For this purpose, the processor unit 3 can determine an input variable for the electric machine 8, so that the optimal speed and the optimal torque are set. The processor unit 3 can control the electric machine 8 based on the determined input variable. Furthermore, this can also be done by the driver assistance system 16.
[0028] The detection unit 6 can measure current state variables of the first motor vehicle 1, record corresponding data, and feed it to the MPC algorithm 13. Furthermore, route data from an electronic map for a look-ahead or prediction horizon (e.g., 400 m) in front of the motor vehicle 1 can be updated, in particular cyclically. The route data can include, for example, gradient information, curve information, and information about speed limits. Furthermore, a curve curvature can be converted into a speed limit for the motor vehicle 1 using a maximum permissible lateral acceleration. Furthermore, the detection unit 6 can be used to locate the first motor vehicle 1, in particular via a signal generated by a GNSS sensor 12 for precise localization on the electronic map.Furthermore, the detection unit 6 can have a radar sensor 22, in particular for determining the position and / or speed of vehicles traveling ahead. The processor unit 3 can access information from the aforementioned elements, for example, via the communication interface 5. This information can be incorporated into the longitudinal model 14 of the motor vehicle 1, in particular as constraints or constraints.
[0029] The highly simplified two-dimensional (dimensions x, y) example according to Fig. 2 shows the first motor vehicle 1 on a road 21. The first motor vehicle 1, supported by the driver assistance function described above, travels autonomously at a first speed v1 in a first direction of travel x1. The second motor vehicle 18 is located behind the first motor vehicle 1, also on the road 21. The second motor vehicle 18 travels behind the first motor vehicle 1 at a second speed v2 in a second direction of travel x2. In the exemplary embodiment shown, the road 21 is straight, and the first direction of travel x1 of the first motor vehicle 1 corresponds to the second direction of travel x2 of the second motor vehicle 18. However, this is purely exemplary and not mandatory. The first speed v1 of the first motor vehicle 1 can correspond to the second speed v2 of the second motor vehicle 18 (v1 = v2), which, however, is also purely exemplary and not mandatory.The first speed v1 of the first motor vehicle 1 can also differ from the second speed v2 of the second motor vehicle 18 (v1 ≠ v2). The first motor vehicle 1 is traveling ahead of the second motor vehicle 18. The second motor vehicle 18 is following the first motor vehicle 1.
[0030] Fig. Figure 4 shows a diagram with a path s on the x-axis and a time t on the y-axis. This diagram shows the trajectories of the straight-ahead travel of the vehicles 1, 18 from Fig. 2. The processor unit 3 of the first vehicle 1 carries out in a first method step 100 ( Fig. 3) executes the MPC algorithm 13 of the MPC system 2 of the first vehicle 1 and, based on the longitudinal dynamics model 14 for the first vehicle 1 and minimizing the cost function 15 of the MPC algorithm 13 of the MPC system 2 of the first vehicle 1, determines a primary trajectory 23 of the first vehicle 1 or for the first vehicle 1 as well as an individual cost value which the cost function 15 assumes for the primary trajectory 23 of the first vehicle 1. In the exemplary embodiment shown, this cost value calculated individually for the primary trajectory 23 of the first vehicle 1 is used as the primary cost value 27 ( Fig. 5) of the first vehicle 1 and takes the value "10" as an example. For determining or calculating the primary trajectory 23 of the leading first vehicle 1, possible trajectories of the following second vehicle 18 are not taken into account. In other words, a possible trajectory of the following second vehicle 18 does not restrict a solution space for determining the primary trajectory 23 of the first vehicle 1. In a second method step 200 ( Fig. 3) the primary trajectory 23 of the first vehicle 1 and the associated cost value (10) are transmitted to the following second vehicle 18, e.g. by means of the communication interfaces of the two vehicles 1, 18.
[0031] The processor unit 3 of the second vehicle 18 carries out in a third method step 300 ( Fig. 3) executes the MPC algorithm 13 of the MPC system 2 of the second vehicle 18 and, based on the longitudinal dynamics model 14 of the second vehicle 18 and minimizing the cost function 15 of the MPC algorithm 13 of the MPC system 2 of the second vehicle 18, determines a secondary trajectory 24 of the second vehicle 18 or for the second vehicle 18, as well as an individual cost value that the cost function 15 assumes for the secondary trajectory 24 of the second vehicle 18. In the exemplary embodiment shown, this cost value calculated individually for the secondary trajectory 24 of the second vehicle 18 is referred to as the secondary cost value 28 of the second vehicle 18 and, by way of example, assumes the value "10". To determine or calculate the secondary trajectory 24 of the following second vehicle 18, the determined and transmitted primary trajectory 23 of the preceding first vehicle 1 is taken into account.In other words, the primary trajectory 23 of the leading first vehicle 1 restricts a solution space for determining the secondary trajectory 24 of the second vehicle 18. In . Fig. 4, a prohibited area 25 of the solution space is marked to the right of the primary trajectory 23. The secondary trajectory 24 of the second vehicle 18 must not run within this prohibited solution space 25 or intersect it, since otherwise the second following vehicle 18 would collide with the leading first vehicle 1.
[0032] The processor unit 3 of the second vehicle 18 carries out in a fourth method step 400 ( Fig. 3) executes the MPC algorithm 13 of the MPC system 2 of the second vehicle 18 again (additional solver call) and, based on the longitudinal dynamics model 14 of the second vehicle 18 and minimizing the cost function 15 of the MPC algorithm 13 of the MPC system 2 of the second vehicle 18, determines a primary trajectory 26 of the second vehicle 18 or for the second vehicle 18 as well as an individual cost value which the cost function 15 assumes for the primary trajectory 26 of the second vehicle 18. In the exemplary embodiment shown, this cost value calculated individually for the primary trajectory 26 of the second vehicle 18 is referred to as the primary cost value 29 of the second vehicle 18 and, for example, assumes the value "8". To determine or calculate the primary trajectory 26 of the following second vehicle 18, the determined and transmitted primary trajectory 23 of the preceding first vehicle 1 is disregarded.In other words, the primary trajectory 23 of the leading first vehicle 1 does not restrict the solution space for determining the primary trajectory 26 of the second vehicle 18. It is thus permitted that the primary trajectory 26 of the second vehicle 18 runs within or intersects the solution space 25 that is inadmissible for determining the secondary trajectory 24 of the second following vehicle 18, even though the second following vehicle 18 would collide with the leading first vehicle 1 if the leading first vehicle 1 follows its determined primary trajectory 23.
[0033] In a fifth method step 500 ( Fig. 3) an opportunity cost value of 30 ( Fig. 6) for the second following vehicle 18. This calculation can be performed in particular by the MPC system 2 of the second vehicle 18, wherein corresponding program code can be included in the MPC algorithm 13 of the MPC system 2 of the second vehicle 18. The opportunity cost value 30 of the second vehicle 18 is determined by subtracting the primary cost value 29 ("8" in the example shown) of the second vehicle 18 from the secondary cost value 28 ("10" in the embodiment shown) of the second vehicle 18. Thus, the opportunity cost value 30 for the following second vehicle 18 assumes the positive value "2". In a sixth method step 600 ( Fig. 3) the primary trajectory 26 of the second vehicle 1 and the opportunity cost value 30 ("2") are transmitted to the leading first vehicle 1, e.g. by means of the communication interfaces 5 of the two vehicles 1, 18. By transmitting this information, the following vehicle 18 suggests to the preceding vehicle 1 that the first vehicle 1, instead of implementing its determined primary trajectory 23, should determine a secondary trajectory described in more detail below, which takes the primary trajectory 26 into account and leads to lower costs overall.
[0034] In the exemplary embodiment shown, the primary trajectory 26 of the following second vehicle 18 is transmitted to the first vehicle 1 as a vector or as a trajectory data set 36. Such a trajectory data set 36 is based on the primary trajectory 26 of the following second vehicle 18 and, in the exemplary embodiment shown, includes a safety distance between the two vehicles 1, 18, which is reflected in the lateral offset that exists between the trajectory data set 36 and the primary trajectory 26 of the following second vehicle 18. For example, the primary trajectory 26 of the following second vehicle 18 can be represented as time-location value pairs. A value pair could, for example, be t=10s and s=500m. This means that when the primary trajectory 26 is selected, the second vehicle 18 should be at a location 500 m away from the current position in 10 seconds.In fact, this statement refers to the front bumper of the second vehicle 18. Typically, the safety distance refers to a distance from the leading vehicle 1. Without this safety distance, there would be a risk that the leading first vehicle 1 would not plan a safety distance itself and would plan its own trajectory, which would not cross the primary trajectory 26 of the second vehicle 18, but would touch it (= bumper to bumper). To prevent this scenario, a safety distance is included in each of the individual value pairs of the trajectory data set 36.
[0035] In a seventh method step 700 ( Fig. 3) the processor unit 3 of the first vehicle 1 executes the MPC algorithm 13 of the MPC system 2 of the first vehicle 1 again (re-call of the solver) and, based on the longitudinal dynamics model 14 of the first vehicle 1 and minimizing the cost function 15 of the MPC algorithm 13 of the MPC system 2 of the first vehicle 1, determines a secondary trajectory 31 already mentioned above ( Fig. 7) of the first vehicle 1 or for the first vehicle 1, as well as an individual cost value, which the cost function 15 assumes for the secondary trajectory 31 of the first vehicle 1. In the exemplary embodiment shown, this cost value calculated individually for the secondary trajectory 31 of the first vehicle 1 is referred to as the secondary cost value 32 of the first vehicle 1 and, for example, assumes the value "11". To determine or calculate the secondary trajectory 31 of the leading first vehicle 1, the determined and transmitted primary trajectory 26 of the following second vehicle 18 is taken into account. In other words, the primary trajectory 26 of the following second vehicle 18 restricts a solution space for determining the secondary trajectory 31 of the leading first vehicle 1. In Fig. 4, a prohibited area 33 of the solution space is marked to the left of the primary trajectory 26 of the first vehicle 33. The secondary trajectory 31 of the first vehicle 1 must not run within this prohibited solution space 33 or intersect it, since otherwise the second following vehicle 18 would collide with the first vehicle 1 traveling ahead.
[0036] In an eighth process step 800 ( Fig. 3) an opportunity cost value of 34 ( Fig. 5) is calculated for the leading first vehicle 1. This calculation can be performed, in particular, by the MPC system 2 of the first vehicle 1, wherein corresponding program code can be included in the MPC algorithm 13 of the MPC system 2 of the first vehicle 1. The opportunity cost value 34 of the first vehicle 1 is determined by subtracting the secondary cost value 32 ("11" in the example shown) of the first vehicle 1 from the primary cost value 27 ("10" in the embodiment shown) of the first vehicle 1. Thus, the opportunity cost value 34 for the leading first vehicle 1 assumes the negative value "-1".
[0037] In a ninth method step 900 ( Fig. 3) a common savings potential of 35 ( Fig. 6) is calculated for both vehicles 1, 18. This calculation can be performed in particular by the MPC system 2 of the first vehicle 1, wherein corresponding program code can be contained in the MPC algorithm 13 of the MPC system 2 of the first vehicle 1. The savings potential 35 is determined by adding the opportunity cost value 34 of the first vehicle 1 to the opportunity cost value 30 of the second vehicle 18. Since the opportunity cost value 34 of the first vehicle 1 is negative in the example shown (,,-1), the opportunity cost value 34 of the first vehicle 1 is subtracted from the opportunity cost value 30 (,,+2) of the second vehicle 18 in the example shown. Thus, the savings potential 35 for the two vehicles 1, 18 assumes the positive value "+1".
[0038] Based on the savings potential 35, it can be evaluated which combination of the trajectories 23, 31 or 24, 26 of the two vehicles 1, 18 for the swarm of the first vehicle 1 and the second vehicle 18 (or from their trajectories) is most sensible from a cost perspective. In the present case, in a tenth process step 1000 ( Fig. 3) a trajectory combination that is advantageous for the swarm from a cost perspective is selected. This selection can be made, in particular, by the MPC system 2 of the first vehicle 1, whereby the corresponding program code can be contained in the MPC algorithm 13 of the MPC system 2 of the first vehicle 1.
[0039] If the savings potential 35 assumes a positive value, as is the case in the present example, then according to a first alternative (eleventh method step 1100), a selection trajectory of the first vehicle 1 and the second vehicle 18 is determined based on the primary trajectory 26 of the second vehicle 18 and the secondary trajectory 31 of the first vehicle 1, wherein in a 12th method step 1200, the selection trajectory of the first vehicle 1 is used to control the first vehicle 1 and the selection trajectory of the second vehicle 18 is used to control the second vehicle 18. The following second vehicle 18 can incorporate the primary trajectory 31 of the first vehicle 1 as a hard constraint that must be met, e.g., by taking the primary trajectory 31 of the first vehicle 1 into account in the form of a constraint vector / data array.By observing this constraint, the selection trajectory for the second vehicle can be determined and implemented. In a simple example, the selection trajectory of the first vehicle 1 can correspond to the secondary trajectory 31 of the first vehicle 1 (possibly taking into account the above-described safety distance to the preceding first vehicle 1), with the selection trajectory of the second vehicle 18 corresponding to the primary trajectory 26 of the second vehicle 18.
[0040] Thus, the first vehicle 1 accepts following its secondary trajectory 31 at higher costs so that the second vehicle 18 can follow its primary trajectory 26 at reduced costs. The first vehicle 1 also accepts this cost disadvantage because the sum of the individual cost values of the primary trajectory 26 of the second vehicle 18 and the secondary trajectory 31 of the first vehicle 1 is lower (8 + 11 = 19) than the sum of the individual cost values of the primary trajectory 23 of the first vehicle and the secondary trajectory 24 of the second vehicle 18 (10 + 10 = 20). Within the scope of this alternative (method steps 1100, 1200), the first vehicle 1 can send a cooperation confirmation to the following second vehicle 18, then implement the secondary trajectory 31, and communicate the secondary trajectory 31 to the first vehicle 18.
[0041] To give the leading first vehicle 1 a further incentive to deviate from its more favorable primary trajectory 23 in order to reduce the costs for the following second vehicle 18 and increase swarm efficiency, the selected trajectories 26, 31 can be changed in such a way that a cost compensation is achieved for the first vehicle 1 and for the second vehicle 18. The compensation is selected in such a way that a Pareto improvement occurs, which can minimize the individual costs for both vehicles 1, 18. The compensation takes place before the selected trajectories 26, 31 are implemented in the vehicles 1, 18.
[0042] According to the secondary trajectory 31 of the first vehicle 1, the leading first vehicle should travel with a cost value of 11, and the following second vehicle 18 should travel according to its primary trajectory 26 with a cost value of 8. To create an incentive for the leading first vehicle 1 to make this adjustment, compensation is performed in parallel. For this purpose, a common compensation factor 37 of 1.18 is calculated for both vehicles. The compensation coefficient 37 results, for example, from the sum of the opportunity cost value 34 of the first vehicle 1 plus half of the savings potential 35 that applies to both vehicles 1, 18. In the example shown, the compensation coefficient 37 thus results in a value of |-1| + 0.5 * 1 = 1.5. The compensation coefficient 37 is subtracted from the secondary cost value 32 of the first vehicle 1, resulting in a compensated secondary cost value of 11 - 1.5 = 9.5 for the first vehicle 1.The compensation coefficient 37 is added to the primary cost value 29 of the second vehicle 1, resulting in a compensated primary cost value of 8 + 1.5 = 9.5 for the first vehicle 1.
[0043] Trajectory planning takes place repeatedly, whereby the associated costs can change accordingly, e.g., if another vehicle appears within the prediction horizon. Therefore, the compensation coefficient 37 is multiplied by a distance factor. The distance factor results from an iteration length x in meters divided by a length l of the prediction horizon in meters. The regularity of the iteration is determined by the iteration length x. This can, for example, be the case every 10 meters. The distance x can, but does not have to, correspond to a distance between discretization points within the prediction horizon. If the prediction horizon l has a length of 1000 meters, for example, the compensation should accordingly only be applied over a portion of the first 10 meters.Since this is incompatible with the intrinsic logic of MPC trajectory planning, compensation is applied proportionally, in the example cited, 10 / 1000 = 1% of 1.5. Since the compensation coefficient 37 (in the example with the value "1.5") results from the opportunity costs over the entire length of the prediction horizon, but the MPC algorithms 13 of the MPC systems 2 of vehicles 1, 18 are executed again after just 10 meters, compensation is only applied proportionally by multiplying by the distance factor.
[0044] If, however, the savings potential assumes the value zero or a negative value, then in a 13th method step 1300, the primary trajectory 23 of the first vehicle 1 is selected for controlling the first vehicle 1 and the secondary trajectory 24 of the second vehicle 18 is selected for controlling the second vehicle 18, and the two vehicles 1, 18 are controlled accordingly in a 14th method step 1400. This corresponds to a selection and implementation of the originally planned trajectories 23, 24, which overall incur lower costs than the alternative trajectories 26, 31, which are rejected by the preceding first vehicle 1. Reference symbol v1 Speed of the first vehicle x1 Direction of travel of the first vehicle v2 Speed of the second vehicle x2 Direction of travel of the second vehicle 1 first vehicle (driving ahead) 2 MPC system 3 Processor unit of the first vehicle 4 storage unit 5 Communication interface 6 Recording unit 7 Drivetrain 8 electric machine 9 Battery 10 gearboxes 11 Computer program product 12 GNSS sensors 13 MPC algorithm 14 Longitudinal dynamics model 15 Cost function 16 Driver assistance system 17 Internal combustion engine 18 second vehicle (following) 19 Processor unit of the driver assistance system 20 Communication interface of the driver assistance system 21 Street 22 radar sensor 23 Primary trajectory first vehicle 24 Secondary trajectory second vehicle 25 inadmissible solution space 26 Primary trajectory of the second vehicle 27 Primary cost value of first vehicle 28 Secondary cost value of second vehicle 29 Primary cost value of second vehicle 30 Opportunity cost value of second vehicle 31 Secondary trajectory first vehicle 32 Secondary cost value of first vehicle 33 inadmissible solution space 34 Opportunity cost value of first vehicle 35 Savings potential 36 Trajectory dataset 37 Compensation factor 100 to 1400 process steps
Claims
[1] Method for coordinating trajectories for two vehicles (1, 18) driving one behind the other by means of model-based predictive control, the method comprising the steps: - determining primary trajectories (23, 26) and secondary trajectories (24, 31) of the first vehicle (1) and the second vehicle (18), wherein - the primary trajectories (23, 26) and secondary trajectories (24, 31) are each determined by means of a model-based prediction, so that a cost function (15) is minimized, which assumes an individual cost value (27, 29; 28, 32) for each of the primary trajectories (23, 26) and secondary trajectories (24, 31), - the primary trajectory (23) of the first vehicle (1) reduces a solution space for determining the secondary trajectory (24) of the second vehicle (18) such that the secondary trajectory (24) of the second vehicle (18) does not intersect the primary trajectory (23) of the first vehicle (1), and - the primary trajectory (26) of the second vehicle (18) reduces a solution space for determining the secondary trajectory (31) of the first vehicle (1) such that the secondary trajectory (31) of the first vehicle (1) does not intersect the primary trajectory (24) of the second vehicle (18), - determining a selection trajectory (26, 31) of the first vehicle (1) and the second vehicle (18) based on the primary trajectory (26) of the second vehicle (18) and the secondary trajectory (31) of the first vehicle (1), if a combination of the primary trajectory (26) of the second vehicle (18) with the secondary trajectory (31) of the first vehicle (1) results in fewer summed individual cost values than a combination of the secondary trajectory (24) of the second vehicle (18) with the primary trajectory (23) of the first vehicle (1), wherein the selection trajectory (31) of the first vehicle (1) is used to control the first vehicle (1) and the selection trajectory (26) of the second vehicle is used to control the second vehicle (18), wherein - when determining the selection trajectory of the first vehicle (1), the secondary trajectory (31) of the first vehicle (1) is modified such that the secondary cost value (32) of the first vehicle (1) is reduced by a compensation coefficient (37), - when determining the selection trajectory of the second vehicle (18), the primary trajectory (26) of the second vehicle (18) is modified such that the primary cost value (29) of the second vehicle (18) is increased by the compensation coefficient (37), - when determining the selection trajectory of the first vehicle (1), the secondary trajectory (31) of the first vehicle (1) is modified such that the secondary cost value (32) of the first vehicle (1) is reduced by a product of the compensation coefficient (35) and a dimensionless distance factor which assumes a value of less than 1, and - when determining the selection trajectory of the second vehicle (18), the primary trajectory (26) of the second vehicle (18) is modified such that the primary cost value (29) of the second vehicle (18) is increased by the product of the compensation coefficient (35) and the dimensionless distance factor. [2] Method according to claim 1, wherein the primary trajectory (23) of the first vehicle (1) is selected for controlling the first vehicle (1) and the secondary trajectory (24) of the second vehicle (18) is selected for controlling the second vehicle (18) if a combination of the primary trajectory (26) of the second vehicle (18) with the secondary trajectory (31) of the first vehicle (1) causes more summed individual cost values than a combination of the secondary trajectory (24) of the second vehicle (18) with the primary trajectory (23) of the first vehicle (1). [3] Method according to claim 1 or 2, wherein the - the selection trajectory of the first vehicle (1) corresponds to the secondary trajectory (31) of the first vehicle (1) and - the selection trajectory of the second vehicle (18) corresponds to the primary trajectory (26) of the second vehicle (18). [4] Method according to one of the preceding claims, wherein - the second vehicle (18) transmits the primary trajectory (26) of the second vehicle (18) to the first vehicle (1) in the form of a trajectory data set (36), - the trajectory data set (36) comprises time-distance value pairs calculated on the basis of the primary trajectory (26) of the second vehicle (18), and - a safety distance between the first vehicle (1) and the second vehicle (18) is taken into account in the calculation of the time-distance value pairs. [5] Method according to one of the preceding claims, wherein - the cost function (15) for the primary trajectory (26) of the second vehicle (18) assumes a primary cost value (29), - the cost function (15) for the secondary trajectory (24) of the second vehicle (18) assumes a secondary cost value (28), - an opportunity cost value (30) of the second vehicle (18) is determined and transmitted to the first vehicle (1), and - the opportunity cost value (30) of the second vehicle (18) is determined by a difference between the secondary cost value (28) of the second vehicle (18) and the primary cost value (29) of the second vehicle (18). [6] Method according to one of the preceding claims, wherein - the cost function (15) for the primary trajectory (23) of the first vehicle (1) assumes a primary cost value (27) of the first vehicle (1), - the cost function (15) for the secondary trajectory (31) of the first vehicle (1) assumes a secondary cost value (32) of the first vehicle (1), - an opportunity cost value (34) of the first vehicle (1) is determined, and - the opportunity cost value (34) of the first vehicle (1) is determined by a difference between the primary cost value (27) of the first vehicle (1) and the secondary cost value (32) of the first vehicle (1). [7] Method according to claim 5 and 6, wherein - a savings potential (35) is determined, - the savings potential (35) is determined by a sum of the opportunity cost value (30) of the second vehicle (18) and the opportunity cost value (34) of the first vehicle (1), - the selection trajectory (26, 31) of the first vehicle (1) and the second vehicle (18) is determined based on the primary trajectory (26) of the second vehicle (18) and the secondary trajectory (31) of the first vehicle (1) when the savings potential (35) assumes a positive value, wherein the selection trajectory (31) of the first vehicle (1) is selected for controlling the first vehicle (1) and the selection trajectory (26) of the second vehicle (18) is selected for controlling the second vehicle (18), and - the primary trajectory (23) of the first vehicle (1) is selected for controlling the first vehicle (1) and the secondary trajectory (24) of the second vehicle (18) is selected for controlling the second vehicle (18) when the savings potential assumes the value zero or a negative value. [8] The method according to claim 1, wherein the distance factor results from an iteration length divided by a length of a prediction horizon.
Citation Information
Patent Citations
Method for decentralized voting on driving maneuvers
DE102015221817A1
Method and device for the cooperative coordination of future driving maneuvers of a vehicle with external maneuvers of at least one external vehicle
DE102018109885A1
Method and control unit for a system for controlling a motor vehicle
DE102019122250A1
Method and device for determining a trajectory that can be driven by a vehicle
DE102019219577A1
Procedure for coordinating a maneuver between vehicles
DE102020122232A1
