Keywords

1 Introduction

Cars have a great impact on our life. They are symbols of freedom and are often used as a means of self-expression. But they can change our life to the worst. In the year 2010, 28.759 people died in the Europe [1] and 32.999 in the USA [2] because of car accidents. The lane change maneuver, is one of the serious cause of car accidents especially as a consequence of drivers’ errors on accurate estimation of the distance between vehicles [3]. According to the statistics, twenty percent of highway car accidents are a result of an inappropriate lane change [4]. Also, lane change is a frequent driving maneuver and considered to be as a next step in automation of driving. In addition, it is an important part of microscopic traffic simulation and has a considerable effect on analysis results of these models [5]. Given all the aforementioned reasons, autonomous lane change is an important topic of study in automotive engineering nowadays.

Various methods have been demonstrated for lane change decision making and path planning so far. In [6], a model was developed for vehicles lane change based on the cellular automaton (CA), which mainly focused on some of the vehicle’s constraints such as maximum acceleration and deceleration. The rules used in [6] were later used in another study for traffic simulation in double- and triple-lane broad highways [7]. It was demonstrated that the developed model allows realistic simulations. A soft computing method was used in this study to model driver behavior during the lane change. In order to have more comprehensive model which covers complicated scenarios, the proposed system had more than only a single input and single output (SISO) [8].

In another study, an algorithm was proposed which was able to identify the boundaries of the path, store the obtained information and design the desirable driving path using a vectorial approach [9]. In [10], the driving task was interpreted as a model predictive control which was able to control and stabilize double-lane change maneuver using fuzzy logic in accordance to the ISO standard. The aforementioned approach was also employed in another study to control vehicle velocity in addition to the lane change maneuvering [11]. The experiments conducted on a one-way two-lane road demonstrated suitable longitudinal and lateral control action of the vehicle consistent with the traffic condition of the road.

In addition to the studies about decision making, a lot of studies are focused on path planning technics. Some models where developed based on the vehicle’s dynamics and the driver strategy during the lane change maneuver. The experimental evaluations during real driving conditions showed that the proposed models are superior to those using polynomial for path planning and produce more accurate paths [12, 13]. Intelligent control techniques, such as fuzzy control [14], neural networks [15] and swarm intelligence [16], were also employed for path planning. For instance, neural networks were employed in [17] to predict movements of the other vehicles in short- and long-time. Long-term predictions were used to warn the driver to do lane change or avoid it due to the possibility of collision. In addition, short-term predictions helped the driver to deal with unexpected changes in a traffic flow.

2 Algorithm

To develop the lane change decision making algorithm, first, the equations for the lateral movement of the vehicle in terms of maneuver time are produced. Then, the critical maneuvering time is calculated on the basis of the constraints. Finally, the feasibility of carrying out the maneuver is decided upon by comparing the critical times. It is assumed that, in the worst-case scenario there are three other surrounding vehicles during the maneuver, as shown in Fig. 1. Vehicle E represents the ego (lane changer) vehicle, vehicle A represents the leading vehicle at the same lane, and vehicles B and D are leading and rear vehicles at the target lane, respectively. Moreover, the dashed-line vehicle in Fig. 1 indicates the vehicle E during the maneuver. If the four conditions below are satisfied, the lane change maneuver will be possible;

  1. 1.

    During the maneuver, the lateral distance between the right front corner of vehicle E and right rear corner of vehicle B must be at least C 1 (Fig. 1a).

  2. 2.

    After the maneuver and movement of vehicle E to the target lane, it distance from vehicle B must be C 2 (Fig. 1b).

  3. 3.

    During the maneuver, the lateral distance from right rear corner of vehicle E to the left front corner of vehicle D must be at least C 3. Moreover, after the maneuver is done the longitudinal distance between these vehicles must be at least C 4 (Fig. 1c).

  4. 4.

    The generated lateral acceleration of E during the maneuver must be achievable, considering the prevailing friction potential between the road and tire.

Fig. 1
figure 1

Definition of constraints in lane change maneuver

The proposed decision-making algorithm investigates the possibility of designing a trajectory, taking all abovementioned constraints into account. It focuses on time as the main decision-making parameter. First, the lane change duration for the most critical trajectory in terms of each constraint, is derived. Then, the lane change possibility is decided upon by comparing the computed lane change durations. In the following, the methodology of calculating critical trajectories based on each of the aforementioned constraints, will be described.

2.1 Case 1: A Vehicle in Front on the Same Lane

Considering Fig. 1a, during the lane change the left front corner of vehicle E (point P) will touch the right rear corner of vehicle A (point M) if C 1 is zero. Magnified illustration of this situation is shown in Fig. 2.

Fig. 2
figure 2

Lateral constraint between ego vehicle and vehicle in front on the same lane

Considering the safe distance of C 1 between the vehicles when their longitudinal coordinates coincide, one will obtain Eq. (1).

$$ y_{A} \left( t \right) - y_{E} \left( t \right) = C_{1} + \left| {O_{A} M} \right|\sin \left( {\theta_{M} - \theta_{A} \left( t \right)} \right) + \left| {O_{E} P} \right|\sin \left( {\theta_{P} - \, \theta_{E} \left( t \right)} \right) $$
(1)

In Eq. (1), y A (t) and y E (t) indicate the lateral position of the center of gravity of vehicles A and E, respectively. |O E P| is the length of the imaginary line connecting vehicle E’s center of gravity to point P. Similarly, parameter |O A M| indicates the length of the imaginary line between vehicle A’s center of gravity and point M. θ M is the angle between O A M and longitudinal axis of the vehicle A. Parameter θ A (t) is the angle between vehicle A’s longitudinal axis and the horizon and θ P is the angle between O E P and longitudinal axis of the vehicle E. while θ E (t) represents the angle between the longitudinal axis of vehicle E and the horizon at any moment. Using the numerical technique presented in [18], one can solve (1) and obtain the maneuver duration such that constraint C 1 is satisfied. This time is labelled as t 1.

2.2 Case 2: A Vehicle in Front and on the Target Lane

Various studies have addressed the issue of the minimum safe longitudinal distance between two vehicles and several formulations have been developed for this distance, e.g. [19, 20]. In this study, the method proposed by Juala et al. [21] is employed. In this conservative method, it is assumed that the velocity of the front vehicle suddenly becomes zero in case of collision with an obstacle. In this circumstance, the safety distance is obtained as,

$$ C_{2} = s_{0} + v_{xE} t_{d} + \left( {v^{2}_{xE} /2a_{Eb} } \right) $$
(2)

In (2), s 0 is the safe stopping distance, while a Eb is the maximum deceleration of vehicle E. In addition, t d is the reaction time of the driver which depends on various factors such as physical and mental condition of the driver as well as road conditions and usually varies between 0.67 and 1.11 [22]. By substituting all required parameters in (2), C 2 and hence the maneuver time, labeled as t 2, can be obtained. Hence, at the specified time instant, the longitudinal and lateral position of two vehicle are governed by (3) and (4);

$$ x_{B} \left( t \right){-}x_{E} \left( t \right) = s_{0} + v_{xE} t_{d} + \left( {v^{2}_{xE} /2a_{Eb} } \right) + l_{Ef} + l_{Br} $$
(3)
$$ y_{B} \left( t \right) = y_{E} \left( t \right) $$
(4)

where, x B (t) and y B (t) indicate the longitudinal and lateral positions of the center of gravity of vehicle B respectively, and l Br indicates the longitudinal distance from vehicle B’s center of gravity to the vehicle’s rear. Obviously, this constraint designates all trajectories in which the longitudinal distance between centers of gravity of vehicles E and B at the end of the maneuver is greater than the value obtained in (3), as a candidate for a safe trajectory.

2.3 Case 3: A Vehicle Behind and on the Target Lane

This case is a combination of the first two cases. A larger illustration of the vehicles condition in this case, is shown in Fig. 3.

Fig. 3
figure 3

Lateral constraint between ego vehicle and vehicle behind on the target lane

To obtain the lane change duration, firstly the appropriate maneuver time is computed based on the safe lateral distance using (5). Then, the suitable maneuver time is obtained using the safe longitudinal distance at the end of the maneuver using (6). As the behavior of vehicle D is controlled by the automatic system, the possibility of sudden velocity change is almost negligible and hence a two-second law [23] is used instead of the conservative method in case two. Finally, the larger value among the two obtained values are introduced as t 3.

$$ y_{E} \left( t \right) - y_{D} \left( t \right) = C_{3} + \left| {O_{D} N} \right|\sin (\theta_{N} - \theta_{D} \left( t \right)) + |O_{E} Q|\sin (\theta_{E} \left( t \right)) $$
(5)
$$ x_{E} \left( t \right) - x_{D} \left( t \right) = 2v_{xD} + l_{Er} + l_{Df} $$
(6)

In Eqs. (5) and (6), x D (t) and y D (t) represent the longitudinal and lateral position of the vehicle D’s center of gravity. Moreover, v xD and l Df indicate the longitudinal velocity of vehicle D and the longitudinal distance from vehicle D’s center of gravity to the vehicle’s back respectively. |O E Q| is the length of the imaginary line between vehicle E’s center of gravity and right rear corner of the vehicle, i.e. point Q. Similarly, |O D N| in (5) show the length of the imaginary line from the gravity center of vehicle D and its left front corner (Point N). l Er is the longitudinal distance between vehicle E’s center of gravity and its rear and θ N indicates the angle between this line and longitudinal axis of the vehicle.

2.4 Case 4: The Most Aggressive Lane Change

The designed lane change trajectory for the vehicle must be feasible with respect to vehicle dynamics. In other words, in addition to continuity and differentiability of the trajectory, the dynamic constraints of the vehicle must be satisfied. In particular, it must be ensured that the generated lateral acceleration during the maneuver must be attainable, considering road-tire friction, and maintain vehicle stability. The dynamic vehicle simulation tool, IPG CarMaker, is used for the analyses. Figure 4 shows the 3-D diagram of the maneuver time in terms of mass, velocity and tire-road friction. The illustrated surface divides the space into two parts. The volume above the surface indicates acceptable maneuver time.

Fig. 4
figure 4

Diagram of the maneuver time in terms of weight, velocity and road-tire friction

The results of the different simulations are approximated by (7), where the minimum maneuver time t m is expressed in terms of road-tire friction µ and vehicle velocity v x .

$$ t_{m} \left( {\mu ,v_{x} } \right) = \left( {\mu \left( {8 + 0.5v_{x} } \right) + 5} \right)/10\mu . $$
(7)

2.5 Decision-Making Strategy

In this paper, the value of the required parameters to obtain t 1, t 2 and t 3 based on the aforementioned equations, are presented in Table 1.

Table 1 Value of the parameters

By calculation and comparison of these times, the decision can be made. Table 2 presents the possible lane change cases along with the acceptable time or time interval for the maneuver. Obviously, if the comparison of the computed time does not correspond to any of the cases presented in Table 2, the lane change maneuver is not allowed. If any of the three vehicles A, B and D does not exist on the path, its corresponding time is eliminated from calculations.

Table 2 Decision making table

3 Scenario Design

Comprehensive scenarios including all different possible traffic situations are designed to evaluate the performance of the developed decision making algorithm. As mentioned earlier, the algorithm is designed to bring the target vehicle to the right line of the road only if the driver is not able to control the vehicle. So, the lane change direction will always be to the right.

In the designed scenarios, the target vehicle is moving in a three lane highway, and in the worst case, surrounded by three other vehicles. The scenarios are designed based on the number of vehicles on the road, relative distance, velocity and acceleration of all vehicles, and road friction. For a more clear presentation of different possible traffic situations, the scenarios are defined parametric as it is demonstrated in the Table 3.

Table 3 Parametric presentation of different possible traffic conditions

3.1 Scenario 1: No Other Vehicle on the Road

The simplest situation happens when there is no other vehicle on the road. The decision making unit defines a proper time for lane change based on the velocity of the ego vehicle and road condition. This situation is presented in Fig. 5.

Fig. 5
figure 5

The simplest possible scenario, no other vehicle on the road

3.2 Scenario 2: A Vehicle in Front on the Same Lane

This situation happens when there is only one vehicle in front and on the same lane. Based on vehicle A (target 1) dynamic behavior, decision making algorithm must be able to guide the ego vehicle to a safe lane change (Fig. 6).

Fig. 6
figure 6

One vehicle in front and on the same lane

3.3 Scenario 3: One Vehicle on the Same Lane and One on Target Lane

In this case, the decision making system should consider the situation and behavior of two other vehicles in order to prepare a safe lane change maneuver. Here, in addition to the Vehicle A which is driving on the same lane as the ego vehicle, The vehicle B (target 2) is driving on the target lane. This situation is presented in Fig. 7.

Fig. 7
figure 7

One vehicle on the same lane and one on the target lane

3.4 Scenario 4: One Vehicle on the Same Lane and Two on Target Lane

This is the most complicated situation for an emergency lean change maneuver where the decision making unit should guide the ego vehicle considering three other vehicles on the road. This situation is presented in Fig. 8.

Fig. 8
figure 8

One vehicle on the same lane and two on the target lane

4 Implementing Scenarios in IPG CarMaker

All the aforementioned scenarios were implemented in IPG Carmaker which is a platform to simulate vehicle’s dynamics and control units. To do so, the ability of this software to communicate with MATLAB/SIMULINK was applied for better flexibility. Different constraints in decision making unit, as discussed earlier, were implemented to find out appropriate time t 1 to t 4 in each case. Based on calculated times, the possibility of performing a safe lane change and the corresponding maneuver time were reached based on decision making rules Table 2. Figure 9 shows the block diagram of final system in Simulink.

Fig. 9
figure 9

The Block diagram of decision making system in MATLAB/Simulink

In Fig. 9, dynamic data of the ego and target vehicles as well as tire-road friction is fed into the functions where the critical lane change times t 1, t 2, t 3, and t 4 are calculated based on equations presented in Sect. 2. These times are then sent to the decision making function where the rules demonstrated in Table 2 are coded in order to find the final maneuver time (t m ) which is finally presented to the driver model via port number 1. The driver model is responsible to guide the vehicle on the lane change trajectory using Eq. (8).

$$ y_{E} \left( t \right) = \left( { - 6h/t_{m}^{5} } \right)t^{5} + \left( {15h/t_{m}^{4} } \right)t^{4} + \left( { - 10h/t_{m}^{3} } \right)t^{3} $$
(8)

In Eq. 8, h is the maximum lateral displacement of the ego vehicle at the end of the maneuver and attains the value of −3.75 which is the standard lane width. The negative sign indicates lane change to the right-side of the road.

5 Results

To evaluate the performance of the decision making algorithm, various tests were performed based on aforementioned scenarios in Sect. 3. In this paper, the results of three different cases are presented and discussed. In case one, the ego vehicle velocity is v E  = 110 (km/h) and vehicle A is driving with the speed of v A  = 120 (km/h) and 100 (m) away in front. Also, vehicles B and C are driving in target lane with the speed of v B1 = 110 (km/h) and v C  = 90 (km/h) and are located at the distances of 140 (m) and 10 (m) in front of ego vehicle, respectively. In case two and three, vehicle B is driving at the speed of v B2 = 100 and v B3 = 90 km/h respectively while all other conditions remain the same as in case one. All explained cases are presented schematically in Fig. 10. Tire-road friction is equal to 0.9 for all cases and the lane change maneuver begins 4.5 (s) after the scenario begins.

Fig. 10
figure 10

Sample scenario used to evaluate lane change algorithm performance

Table 4 shows critical maneuver times based on Eqs. 17 and final maneuver time based on decision making rules in Table 2. As it can be seen, for the first two cases, the decision making unit allows the lane change maneuver to be performed. The maneuver time for case 1 must be in the range between 3.2 (s) and 4.2 (s) and for case 2 between 3.2 (s) and 3.6 (s). The lane change cannot be performed in case 3.

Table 4 Allowable maneuver times for each three cases

The diagrams of lateral position of ego vehicle is demonstrated in Fig. 11 for cases one and two. In addition, corresponding lateral velocity and acceleration of the ego vehicle is presented in Figs. 12 and 13. As it can be seen in both cases, the lateral acceleration value is less than 2 (m/s2) which satisfies passenger comfort condition.

Fig. 11
figure 11

Lateral position of ego vehicle

Fig. 12
figure 12

Lateral velocity of ego vehicle

Fig. 13
figure 13

Lateral acceleration of ego vehicle

6 Conclusion

This study, proposed a methodology to evaluate the performance of a novel emergency lane change algorithm. Inclusion of the lateral position of other vehicles on the road, the tire-road friction, and real-time ability are the main advantages of this novel algorithm. For performance evaluation of the developed algorithm, a set of driving scenarios were designed to consider different possible traffic situations that may appear in an emergency lane change maneuver. These scenarios were implemented later in IPG CarMaker, which is a vehicle’s dynamics platform. The result of three different cases were presented and discussed. The results show an acceptable performance of the algorithm.