Next Article in Journal
Effects of Glyphosate and Its Metabolite AMPA on Aquatic Organisms
Previous Article in Journal
Sensitivity Analysis of Reliability of Low-Mobility Parallel Mechanisms Based on a Response Surface Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automated Vehicle’s Overtaking Maneuver with Yielding to Oncoming Vehicles in Urban Area Based on Model Predictive Control

Department of Mechanical Systems Engineering, Tokyo University of Agriculture and Technology, Naka-cho Koganei, Tokyo 2-24-16, Japan
*
Author to whom correspondence should be addressed.
Submission received: 31 August 2021 / Revised: 23 September 2021 / Accepted: 25 September 2021 / Published: 27 September 2021
(This article belongs to the Section Transportation and Future Mobility)

Abstract

:
The rapid development of automated driving technology has brought many emerging technologies. The collision avoidance (CA) function by braking and/or steering maneuver of advanced driver assistance systems (ADAS), which contributes to the improvement of the safety of automated vehicles, has been playing an important role in recent modern passenger cars and commercial vehicles. When an automated vehicle needs to avoid multiple obstacles at the same time, consuming travel time and safety assurance of CA need to be carefully considered especially in the case related to unpredictable motion of obstacles. This paper proposes a feasible solution to this situation by controlling speed and the steering wheel angle. The proposed motion re-planning based on post-encroachment time (PET) provides a judgment of a function which calculates the possibility of unavoidable road accidents. Then the path re-planning layer of a novel two-layer model predictive control (TL-MPC) will re-plan a local trajectory and give a reference acceleration. Finally, the path tracking layer outputs steering wheel angle to follow the trajectory under the premise of ensuring safety constraints. The proposed control system is evaluated by co-simulations of MATLAB/Simulink and CarSim software. The results show that for various conditions of post-encroachment time, the ego vehicle adopting the proposed strategy will conduct reasonable behavior re-planning and consequently successfully avoid obstacles.

1. Introduction

As the rapid innovation of microprocessor technology continues, more investment in the research and development of vehicle electronic control technology in the context of automated driving has been conducted [1,2,3,4]. Road fatalities has been one of the major death causes globally [5], and it is projected to become the fifth leading cause of death by 2030 [6]. In the same report, it is noted that the human factor is the main reason for road accidents globally, with Hamlet et al. [7] suggesting that 93% of road accidents were caused by human error and driver inattentiveness. Nevertheless, road accidents can be prevented by assimilating automation components into vehicle driving systems, thus reducing human error by controlling the vehicle in ways similar to skillful and careful drivers [8,9]. Therefore, vehicle active safety control technologies, such as advanced driver assistance systems (ADAS) that help the driving process automation are playing an important role in modern passenger cars and commercial vehicles. One of the main features of ADAS is the collision avoidance (CA) system. A sufficient CA architecture usually encompasses threat assessment, path planning and path tracking strategies [10]. As road collisions might happen in various scenarios, a successful CA system should have the ability to guide the avoidance navigation of the host vehicle in multi-scenario hazards. For example, collisions at intersections, high-speed highway collisions, CA in crowded urban areas as well as collision mitigation of a priori unknown obstacles [11,12]. There are at least two common types of CA design control architecture which have been proposed and implemented. For example, a multi-layer CA system [13], which contains both trajectory re-planning layer and tracking layer [14]. This is the usual type of CA implementation and is also known as a guidance and navigation control system [15].
In addition, optimization algorithms based on different mathematical theories have been proposed and applied in the CA system. Threat assessment strategies provide an online evaluation of the potential threat to assist drivers in avoiding or evading collisions [16]. According to Gray et al. [17], threat assessment can be defined as a real-time judgment of a function which calculates the possibility of an unavoidable road accident. A path planning (PP) strategy as part of the full CA architecture can be widely used in the field of road vehicles and mobile robots. It is formulated to acquire a collision-free path while the vehicle independently navigates itself [12]. In the condition of the avoidance of single or multiple static obstacles, many studies have been carried out. Inspired by viscous fluid flowing between two parallel plates or around a cylinder, Cheng et al. proposed virtual fluid-flow-model based lane-keeping integrated with a collision avoidance control system to realize the function of both lane-keeping and collision avoidance [18]. The predictive nature and constraint handling capabilities of model predictive control (MPC) make it an attractive framework for leveraging these new technologies, and it is also adopted in CA [15,19]. A machine learning approach, such as the artificial neural network [20,21,22] and collision cone approach [23], depends on the driver behavior and the environment instead of the mapping information alone, making it reliable in the context of dynamic CA. The advantage of this method is, once a solution is found, it will be a shorter path. However, getting stuck in local minima is also an issue that should be addressed [24]. At the same time, its drawback is it requires a large trial to obtain the results, thus the computational time is also an issue [25].
However, the literatures mentioned above mostly focuses on the fixed obstacles, like [19], or moving obstacles in the same direction as the ego vehicle, like [26], and the speed of the ego vehicle and obstacles remains a constant. Most studies are based on the fact that the ego vehicle can safely avoid obstacles while maintaining the current speed. However, in the actual obstacle avoidance process, obstacles are usually dynamic. In this situation, the safest obstacle avoidance strategy is to require the ego vehicle to decelerate or even stop. Considering the travel time cost or convenience, we hope that the ego vehicle can avoid obstacles in accordance with the predetermined requirements under the premise of ensuring safety. In other words, if the vehicle can avoid obstacles at a constant speed or by acceleration, deceleration is unnecessary, which requires that the speed of the ego vehicle and trajectory re-planning is real-time controllable during obstacle avoidance. Focusing on such problems, this research proposes a novel obstacle avoidance strategy that contains behavior re-planning based on post-encroachment time (BR-PET) and trajectory re-planning and tracking based on a two-layer MPC system. The BR-PET module will indicate the ego vehicle’s speed change based on the initial in-formation of ego vehicle and the static obstacle and the dynamic obstacle and the speed and acceleration limits of the ego vehicle and the uncertain dynamic obstacle. At the same time, after selecting different dynamic vehicle models of different complexity for two different MPCs used in the path re-planning layer and tracking layer, the real-time performance is also guaranteed.
The remainder of this paper is organized as follows: the scenario targeted by the strategy and the challenges of this research are presented in Section 2. Section 3 gives the principle of behavior re-planning and a detailed description about the design of the TL-MPC on trajectory re-planning layer and tracking layer. The performance of the proposed strategy is tested by CarSim-Matlab/Simulink co-simulation in Section 4. Section 5 is the conclusions.

2. Scenario

In the proposed scenario, shown as Figure 1, the dotted line 3 is the trajectory of the oncoming vehicle and the dotted line 1 is the initial reference trajectory (also known as the global reference trajectory) of the ego vehicle. Due to the existence of the parked vehicle and oncoming vehicle, the ego vehicle needs to alternate the local trajectory planning (shown as the dotted line 2) at this stage. Considering the different initial position and the speed change in the process of the oncoming vehicle’s motion, it may be not safe for the ego vehicle if it still maintains the current speed or accelerates within the allowable speed boundaries or handling stability requirements. Therefore, it is inevitable for the ego vehicles to decelerate in order to handle the driving situation with guaranteed safety. Considering the dynamic obstacles like oncoming vehicles in the opposite lane, especially when future speed of the obstacle is unpredictable, it is difficult for the controlled ego vehicle to behave in a similar way of judgment as a skillful and careful human driver. Therefore, how to re-plan the motion behavior and local reference trajectory is a question worth pondering.
Before introducing a collision avoidance strategy, it is necessary to refine the scenario and establish some restrictions. This research aims to propose an upper-level control algorithm to improve the safe avoidance of unpredictable obstacles. By default, the relative position relationship between the vehicles and the real-time speed of the oncoming vehicle can be accurately measured by automotive radar.
As shown in Figure 2, A represent the ego vehicle, B is the parked vehicle and C is the oncoming vehicle. A1, C1 are the positions when the ego vehicle and the oncoming vehicle meet with each other (the same for A2, C2). La and Lb are defined as the distance between the ego vehicle and the front/rear side of the parked vehicle, respectively. Lc is defined as the distance between the oncoming vehicle and the front side of the parked vehicle. D s a f e t y is a safe distance which is used as a reference for speed control of the ego vehicle. Unless otherwise stated, the units of measurement for distances is meter in this paper. We consider that:
(1)
La, Lb are global fixed parameters for the scenario, that means the initial relative position of the ego vehicle and the parked vehicle are not changed in any simulation;
(2)
Lc is treated as a local invariant, that means the initial relative position of the ego vehicle and the parked vehicle will only be changed as the initial condition of a simulation;
(3)
0   m / s v a 15   m / s , 10   m / s v c 15   m / s ;
(4)
3   m / s 2 a s c 1   m / s 2 , 3   m / s 2 a O n C 1   m / s 2 .
Where v a , a s c represent the speed and acceleration/deceleration of the ego vehicle respectively. v c , a O n C represent the speed and acceleration/deceleration of the oncoming vehicle respectively. D s a f e t y is a distance used to determine a safe passing position. It is obvious that such a scene often occurs in crowded urban traffic conditions.
The behavior of the ego vehicle will be re-planned by the calculated passing position, shown as follows:
(1)
If the passing position is far enough away from the parked vehicle, as shown in Figure 2a at passing position 1, the ego vehicle will choose to keep speed unchanged or accelerate according to the oncoming vehicle speed v c 1 and position   L c 1 ;
(2)
Due to excessive speed v c 1 or short initial distance L c 2 of the oncoming vehicle, even if the ego vehicle accelerates to the maximum allowable speed, it cannot guarantee that their passing position is at a safe position, as shown in Figure 2b at passing position 2. The ego vehicle will decelerate until oncoming vehicle has already passed, shown as Figure 3, then it restarts and overtakes the parked vehicle.
The problem describes how to calculate the passing position, control speed and re-plan the trajectory in real time. The position can be simply obtained by the initial state of three vehicles when their speed remains constant during the whole process. However, if the future speed of the oncoming vehicle is unpredictable, the passing position will not be defined as a fixed position. Thus, it is necessary to adopt a more intuitive safety indicator. The problem of balancing the consuming travel time and ensuring the safety need be solved in the behavior re-planning part. In addition, the module that conducts path re-planning and tracking tasks needs to adopt a vehicle dynamics model with reasonable boundary constraints in terms of physical capability to ensure real-time computation ability.

3. Collision Avoidance Strategy

The control flow of the proposed CA system is shown in Figure 4. First, the oncoming vehicle’s predictive state is calculated based on its real-time position and velocity. Then the recognition layer will determine the movement (i.e., acceleration, constant speed or deceleration) of the ego vehicle in the whole obstacle avoidance process based on the PET calculated from the initial state of the ego vehicle and obstacles. Based on calculated PET, the vehicle control unit (VCU) will determine the action (keeping speed unchanged or acceleration or deceleration) of the next step. With the MPC controller 1 of the re-planning layer, the local reference path will be passed to the tracking layer in the form of fitted curve parameters and reference longitudinal acceleration is obtained and output to the tracking layer at the same time. Finally, in the operation layer, which is also named the tracking layer, the optimal front wheel steering angle and reference speed are calculated by the vehicle dynamics model and MPC controller 2. Then they are output to Carsim module. In the next step, the state of the ego vehicle output by Carsim will update the data in the recognition layer. More detailed instructions will be expanded in the following subsections.

3.1. Behavior Replanning Based on Post-Encroachment Time (PET)

Based on a safety indicator, this module is used to make behavior planning for the entire obstacle avoidance process for the ego vehicle. A widely used safety indicator of obstacle avoidance is time to collision (TTC) [27]. It indicates the time span left before two vehicles collide, if nobody takes evasive action. However, this method is based on the speed and heading angle of the vehicle at the current time, and does not take into account the acceleration of the vehicle, resulting in large judgment error. PET is another indicator that is used to estimate the criticality of a certain traffic situation. It has been defined as the elapsed time between the front of the lead vehicle passing a point on the roadway and the front of the following vehicle passing the same point [28]. This research adopts PET as a safety indicator for behavior re-planning due to the variability of the oncoming vehicle’s speed.
The site for calculating PET is set at the front side of the parked vehicle, shown as Line 1 in Figure 5. Here the PET represents the time difference between A and C passing through Line 1. As the scenario is the congested urban road with unpredictable future speed of oncoming vehicle, the safety of the ego vehicle in the process of obstacle avoidance is the highest priority. Therefore, we assume that the oncoming vehicle will accelerate to the allowable maximum speed without deceleration even when it is close to the ego vehicle. The safe distance D s a f e t y is set as 20   m .
The equivalent PET is defined as:
P E T s a f e m a x = D s a f e t y / v a _ i n i + D s a f e t y / v c _ m a x 3.33   s 3.5   s
P E T s a f e m i n = D s a f e t y / v a _ m a x + D s a f e t y / v c _ m a x 2.66   s 3   s
where P E T s a f e m a x defines the maximum time difference between two vehicles passing through the set site while P E T s a f e m i n defines the minimum time difference. These two items are close to each other so that the safe PET is set as 3.5 s for convenience. In order to visualize the result, the case where the initial speed of the ego vehicle is 11 m/s is selected. The result can be easily extended to the entire allowed speed span of the ego vehicle.
As Figure 6 shows, the behavior re-planning module is obtained by the following steps. Firstly, after traversing all allowable speeds and allowable positions of the oncoming vehicle, the PET under the condition of the ego vehicle keeping the initial velocity unchanged ( P E T s 1 ) and accelerating ( P E T s 2 ) will be calculated separately. Then, the initial data of oncoming vehicle and calculated PET will be stored as two different arrays according to whether the ego vehicle needs to accelerate. In Figure 6, the blue surface consists of point set S 1 while the red surface consists of point set S 2 . Finally, the logic of behavior re-planning is as follows:
Case 1: If P E T s 2 > P E T s a f e , then ego vehicle will keep speed as initial speed unchanged in the whole avoidance process.
Case 2: If P E T s 2 < P E T s a f e and P E T s 1 > P E T s a f e which means the ego vehicle cannot avoid obstacles by an unchanged speed unless acceleration, then ego vehicle will be required to accelerate.
Case 3: If P E T s 2 < P E T s a f e and P E T s 1 < P E T s a f e which means even if the ego vehicle accelerates to maximum allowable speed, it cannot avoid obstacles safely, then the ego vehicle will be required to decelerate.

3.2. Two-Layer Model Predictive Control (MPC) Modeling

After behavior is re-planned, the global reference path should be re-planned based on the real-time relative position of the ego vehicle and obstacles. Then the re-planned path will be tracked.
When building a vehicle mathematical model, it is necessary to comprehensively consider factors such as performance and calculation speed. Due to the large amount of calculation bring by the algorithm of the re-planning layer, the main purpose of introducing MPC is to ensure the re-planning results meet the constraints of vehicle dynamics and kinematics. Therefore, in order to reduce the calculation, there is no advantage when choosing a complex model. A comparison conducted proved that adopting a relatively lower precision model at the re-planning layer and a relatively higher precision model at the tracking layer can balance control performance and calculation speed. Therefore, a bicycle model and a point mass model are adopted at the re-planning layer and the tracking layer, respectively.
The core work of this layer is to design a reasonable evaluation function to realize the obstacle avoidance and reduce the deviation between the re-planned path and global reference path while satisfying the constraints. Then, the local reference path fitting function and the reference longitudinal acceleration are output to the tracking layer. In this layer, we define the cost function as follows:
J 1 = i = 1 N p , 1 η 1 ( t + i | t ) η r e f , g l o b a l ( t + i | t ) Q 1 2 + i = 1 N c , 1 U i ( t + i | t ) R 1 2 + J o b
where η 1 ( t + i | t ) = Y ( t + i | t ) is the output vector. η r e f , g l o b a l ( t + i | t ) , with i = 1 , , N p , 1 , is the initial trajectory reference, for the output tracking variable.   U i = [ a x   a y ] T is control vector.   N p , 1 , N c , 1 are the prediction horizon in replanning layer and the control horizon in re-planning layer, respectively. Q 1 p y , 1 × p y , 1 , R 1 m 1 × m 1 are weighting matrices. J o b = J P a r i k i n g + J r o a d + J O n C is the total cost of obstacles avoidance. The above variables and constraints will be explained in detail in the following subsections. In this function, the first term suppresses the lateral deviation and heading deviation of the ego vehicle relative to the reference trajectory. The second item requires ego vehicles to keep speed unchanged as far as possible, which also ensures the comfort of the vehicle.
In this layer, the vehicle is treated as a point with a given mass m, i.e., no orientation is defined and the yaw dynamics is neglected [29], shown as Figure 7.
The state of motion and the state of force can be expressed as:
X ˙ = x ˙ cos φ y ˙ sin φ
Y ˙ = x ˙ sin φ + y ˙ cos φ
m a y = F y
m a x = F x F d
where subscript [ x , y ] is the [longitudinal, lateral] axle in the vehicle body frame. X , Y are the Cartesian coordinates that belong to the world axis frame. F x ,   F y are the resultant force in longitudinal and lateral axles in the vehicle body frame, respectively.   F d = m a d represents the resultant force of resistance in the longitudinal axle.
The maximum tire forces should be constrained by the maximum adhesion provided by ground. In particular, for a given friction coefficient μ and the tire normal force F z , the lateral and longitudinal forces are constrained as follows:
F x 2 + F y 2 ( μ F z ) 2
Therefore the vehicle dynamics described by the Equations (4)–(7) can be rewritten in the following compact from:
κ ˙ ( t ) = f p m ( κ ( t ) , u ( t ) ) s . t . u m i n u ( t ) u m a x a x 2 + a y 2 ( μ g ) 2
where the state vector is κ = [ y ˙   x ˙   φ   Y   X ] T and the input vector is u = [ a x   a y ] T .
Since the point-mass vehicle model ignores the information of body size, the obstacles should be expanded. At the same time, the obstacle needs to be segmented according to a certain resolution to prevent the vehicles passing through the obstacle when its size is too large, shown as Figure 8.
The principles of processing of road boundary and the parked vehicle are as follows:
(1)
The actual boundary of the road should be preprocessed according to the width of the ego vehicle;
(2)
The parked vehicle is decomposed into several discrete small obstacles;
(3)
The cost of the function is adjusted by the vehicle speed and the distance deviation between the obstacle points and the vehicle.
The cost function of the distance between the ego vehicle and parked vehicle is established as:
J P a r k i n g = i = 1 N p , 1 n = 1 N 1 S 1 ( X i X 0 , i ) 2 + ( Y i Y 0 , i ) 2 + ζ 1
where S 1 is the weight coefficient. ζ 1 is a small positive number that prevents the denominator from being zero.   N 1 is total number of copies after the parked vehicle is segmented.   X 0 , i is the predictive position of the ego vehicle at step i .
Moreover, we consider that the road is divided into two opposite lanes and the global reference path is in one of them, shown as Figure 9. Therefore, in order to eliminate the deviation between the actual trajectory and the reference trajectory, the cost function of the road part is adjusted by the relative position between the ego vehicle and the road bounds.
J r o a d = { 0 , D s c 2 R o a d , i D min ;   i = 1 N p , 1 S 2 D s c 2 R o a d , i + ζ 2 , D s c 2 R o a d , i < D min
where S 2 is the weight coefficient.   ζ 2 is a small positive number that prevents the denominator from being zero. D min is the allowable minimum distance between the ego vehicle and the road bounds.   D s c 2 R o a d , i is defined as:
D s c 2 R o a d , i = { | Y s f , i R u b | , Y s f R u b Y s f R l b ; | Y s f , i R l b | , Y s f R u b Y s f R l b
where Y s f is the longitudinal coordinate of the ego vehicle in world axis frame. R [ u b , l b ] is the [upper, lower] bound constraint of the road.
Similar to a parked vehicle and taking the position prediction of the oncoming vehicle into account, the cost function of oncoming vehicle part is defined as:
J O n C = i = 1 N p , 1 n = 1 N 2 S 3 D s c 2 m o | n , T = i   + ζ 3
where S 3 is the weight coefficient. ζ 3 is a small positive number that prevents the denominator from being zero. N 2 is total number of copies after the oncoming vehicle is segmented. D s c 2 m o | n , T = i   is defined as:
D s c 2 m o | n , T = i   = ( X n , i X 0 , i ) 2 + ( Y n , i Y 0 , i ) 2
where X n , i is the predictive position of oncoming vehicle’s n th block after being segmented at step i .
When combining road, parked vehicle and the oncoming vehicle, shown as the Figure 10, we solve the following optimization problem at each time step:
min U t   J 1   ( κ ( t ) , u ( t ) ) s . t . u m i n u ( t ) u m a x   a x 2 + a y 2 ( μ g ) 2
With the non-linear problem solver, the solution U t * = [ u t , t * , , u t + N c , 2 , t * ] T is obtained. Then, with the u t , t * = [ a x , t *   a y , t * ] T , the predictive state of the ego vehicle from the time t , that is [ X 0 , t + i | t   Y 0 , t + i | t   φ 0 , t + i | t ] with i = 1 , , N p , 2 , is obtained by Equations (4)–(7).

3.2.1. Polynomial Fitting

The re-planned path is given by discrete points in the prediction time domain. If these points are directly input into the tracking layer, input interfaces will be greatly occupied. As the prediction horizon changes, the number of points will also be changed, which is not conducive to the standardized design of the controller. Besides, the control period of re-planning layer is not the same as that of tracking layer, which is difficult for the controller of the tracking layer to track discrete reference trajectory points [30].
In order to reduce the calculation of the controller, meet the continuity requirements of position change, yaw angle change and acceleration change and reduce impact, a fifth-order polynomial is adopted as the fitting curve.
Y r e f = a 0 t 5 + a 1 t 4 + a 2 t 3 + a 3 t 2 + a 4 t + a 5 φ r e f = b 0 t 5 + b 1 t 4 + b 2 t 3 + b 3 t 2 + b 4 t + b 5
The output of the re-planning layer are coefficients of the fifth-order polynomial, a p = [ a 0   a 1   a 2   a 3   a 4   a 5 ] and b p = [ b 0   b 1   b 2   b 3   b 4   b 5 ] , and the reference longitudinal acceleration a x , r e f .

3.2.2. Reference Trajectory Tracking Layer

The target of the MPC controller in this layer is tracking the local reference trajectory re-planned by the MPC controller of trajectory re-planning layer. Similar to the re-planning layer, the cost function is defined as:
min Δ U t , ε   J 2 ( ξ ( t ) , u ( t 1 ) , U ( t ) , ε ) = i = 1 N p , 2 η 2 ( t + i | t ) η r e f , l o c a l ( t + i | t ) Q 2 2 + i = 1 N c , 2 1 Δ U ( t + i 1 | t ) R 2 2 + ρ ε 2
where η r e f , l o c a l ( t + i | t ) , with i = 1 , , N p , 2 , is the reference, which is generated by re-planning layer, for the output tracking variable. U = δ f is control vector.   Q 2 p y , 2 × p y , 2 , R 2 m 2 × m 2 are weighting matrices. ε is a slack variable. The above variables and constraints will be explained in detail in the following. In this function, the first term suppresses the lateral deviation and heading deviation of the ego vehicle relative to the reference trajectory while the second item requires the smooth change of the control quantity.
Since this study considers the low-to-medium-speed urban conditions where there is no emergency, and this MPC contains two layers, this layer uses a bicycle model (Figure 11) that is advantageous to reduce the calculation.
In this scenario, the vehicle tires operate in the linear region under small lateral acceleration, so vehicle lateral forces can be calculated based on the simple linear tire model, which adopts the equivalent tire cornering stiffness C ¯ α f and C ¯ α r :
F y f = C ¯ α f α f
F y r = C ¯ α r α r
where α f , α r denote slip angles of the front and rear axle, respectively. Moreover, due to the small tire deflection, the tire slip angles,   α f , α r , can be expressed as:
α f = arctan ( v y + l f r v x ) δ f v y + l f φ ˙ v x δ f
α r = arctan ( v y l r r v x ) v y l r φ ˙ v x
where v is the velocity.   r is the yaw rate. l f and l r are the distances from the center of gravity to the front and rear axles, respectively. φ and δ f are the yaw angle and the front wheel steering angle, respectively.
Thus, based on small deflection angle of front wheels and the linear tire model, the vehicle dynamics can be described by the following mathematical equations
m v ˙ y = m v x φ ˙ + 2 [ C ¯ α f ( δ f v y + l f φ ˙ v x ) + C ¯ α r l r φ ˙ v y v x ]
m v ˙ x = m v y φ ˙ + 2 [ C l f s f + C ¯ α f ( δ f v y + l f φ ˙ v x ) δ f + C l r s r ]
I z z φ ¨ = 2 [ l f C ¯ α f ( δ f v y + l f φ ˙ v x ) l r C ¯ α r l r φ ˙ v y v x ]
φ ˙ = r
Y ˙ = v x sin φ + v y cos φ
X ˙ = v x cos φ v y sin φ
where m is the vehicle mass. The yaw moment of inertia and vehicle mass are represented by m and I z z . s [ f , r ] is the slip rate of [front, rear] tire.   C ¯ α [ f , r ] is the longitudinal stiffness of [front, rear] tire. The state vector is ξ = [ y ˙   x ˙   φ   φ ˙   Y   X ] T and the input vector is u = δ f . And we define that 10 ° δ f 10 ° , 0.85 Δ δ f 0.85 .
The vehicle nonlinear dynamic model is:
ξ ˙ = f ( ξ , u )
Firstly, to form an MPC problem, the bicycle model is linearized by Taylor formula at the reference point and discretized by the Forward-Euler method as follows:
ξ ( k + 1 ) = A k ξ ( k ) + B k u ( k ) + d ( k )
η 2 ( k ) = C k ξ ( k )
where A k = I + A t , B k = T s B t and d ( k ) = ξ r e f ( k + 1 ) A k ξ r e f ( k ) B k u ( k ) . A t = f ξ | ξ t , u t ,   B t = f u | ξ t , u t .   T s , 2 = 0.01   s is the simulation step.   η 2 ( k ) = [ φ   Y ] T is the output vector and C k is a output selection matrix.
To introduce the increment of control quantity Δ U and simplify the calculation, the state space is reconstructed as:
ξ ˜ ( k ) = [ ξ ( k ) u ( k 1 ) ]
η ˜ 2 ( k ) = C ˜ k ξ ˜ ( k )
The predictive state is defined as:
ξ ˜ ( k + 1 ) = A ˜ k ξ ˜ ( k ) + B ˜ k Δ u ( k ) + d ˜ ( k )
where A ˜ k = [ A k B k 0 m × n I m ] ; B ˜ k = [ B k I m ] ; C ˜ k = [ C k 0 ] ; d ˜ ( k ) = [ d ( k ) 0 m ] ; Δ u ( k ) = u ( k ) u ( k 1 )   m is the dimension of control amount while n is the dimension of state amounts.
Therefore, the final output expression can be expressed as:
γ ( k + 1 ) = ψ ξ ( k ) + Θ Δ u ( k ) + Γ Φ ( k )
where
γ ( k + 1 ) = [ η 2 ( k + 1 ) η 2 ( k + N c , 2 ) η 2 ( k + N p , 2 ) ] , ψ = [ C ˜ k A ˜ k C ˜ k A ˜ k N c , 2 C ˜ k A ˜ k N p , 2 ] ,   Δ U ( k ) = [ Δ u ( k ) Δ u ( k + 1 ) Δ u ( k + N c , 2 1 ) ] , Θ = [ C ˜ k B ˜ k 0 0 0 C ˜ k A ˜ k N c , 2 1 B ˜ k C ˜ k A ˜ k N c , 2 2 B ˜ k C ˜ k B ˜ k C ˜ k A ˜ k N p , 2 1 B ˜ k C ˜ k A ˜ k N p , 2 2 B ˜ k C ˜ k A ˜ k N p , 2 N c , 2 B ˜ k ] , Γ = [ C ˜ k 0 C ˜ k A ˜ k N p , 2 1 C ] ,   Φ ( k ) = [ d ˜ ( k ) d ˜ ( k + N p , 2 1 ) ] ,
and N p , 2 , N c , 2 are the prediction horizon in tracking layer and the control horizon in tracking layer, respectively.
At each time step we solve the following optimization problem:
min Δ U t , ε   J 2   ( ξ ( t ) , u ( t ) , U ( t ) , ε ) s . t . Δ U min Δ U t Δ U max U min A Δ U t + U t U max y h c . min y h c y h c . max y s c . min ε y s c y s c . max + ε ε > 0
where y h c . [ min , max ] is the [upper, lower] bound on output variables to be hard constrained;   y s c . [ min , max ] is the [upper, lower] bound on output variables to be soft constrained. As it is a convex optimization problem, the function can be reconstructed as a standard quadratic form:
J 2 ( ξ ( t ) , u ( t 1 ) , U ( t ) , ε ) = [ Δ U ( t ) T , ε ] T H t [ Δ U ( t ) T , ε ] + G t [ Δ U ( t ) T , ε ] + Ρ t
where H = ( Θ T Q e Θ + R e 0 0 ρ ) ,   G t = [ 2 E T Q e Θ 0 ] ,   Ρ t = E T Q e E and E is defined as a tracking error between the free response of the linearized system and the reference trajectory, i.e.,   E = γ r e f ψ ξ ( t ) Γ Φ ( t ) with γ r e f = [ η r e f , l o c a l ( t + 1 | t ) , , η r e f , l o c a l ( t + N p | t ) ] T . The matrices Q e and R e are block diagonal matrices of appropriate dimensions with Q and R on the main diagonal, respectively.
With QP problem solver, the solution U t * = [ Δ u t , t * , , Δ u t + N c , 1 1 , t * ] T at time t for the current state ξ ( t ) and the previous input u ( t 1 ) are obtained. The resulting feedback control law is given by:
u ( t , ξ ( t ) ) = u ( t 1 ) + Δ u t , t * ( ξ ( t ) )
At time t + 1 the optimization problem is formulated and solved over a shifted horizon. Controller parameters and weights are shown as Table 1.

4. Simulation Results

To verify the effectiveness of the obstacle avoidance strategy which is based on PET and two-layer MPC, CarSim-MATLAB co-simulation is conducted. The vehicle used in the simulation is based on the front wheel driving C-class hatchback model in Carsim software. The sample time is 0.01 s. The three cases are based on different PET, which is established in Section 2, should be discussed in this section. Therefore, to get different PET, we assume that the distance between the ego vehicle and parked vehicle is a constant while the initial position of the oncoming vehicle is variable. At the same time, the initial speed of the ego vehicle is set as 11 m/s in all three simulations.
In case 1, the calculated P E T s 2 is larger than the set P E T s a f e , so the ego vehicle keeps the initial speed unchanged in the whole avoidance process. The acceleration, the steering wheel angle and vehicle longitudinal speed under case 1 are shown in Figure 12.
Figure 13 shows the CA process of ego vehicle under case 1. The CA process is simulated by Simulink/Matlab, and items among CA process, i.e., the parking vehicle, the oncoming vehicle, the re-planned local reference and so on, are marked in Figure 13c. The local reference path, which is shown as a short gray curve out of actual trajectory (green curve), is generated by MPC controller 1 in decision making layer (refer to Figure 4) in this time step to indicate the reference trajectory in the next time step.
In case 2, the calculated P E T s 1 is larger than P E T s a f e , so the ego vehicle will then be required to accelerate. The acceleration, the steering wheel angle and vehicle longitudinal speed under case 2 are shown as Figure 14.
Figure 15 shows the CA process of the ego vehicle under case 2. If there is a risk of collision when the ego vehicle keeps speed unchanged during the CA process, and this risk can be avoided if ego vehicle accelerates to allowable maximum speed, then the ego vehicle will be required to accelerate. Although deceleration and waiting for oncoming vehicle passing the parked vehicle is another option for ego vehicle, considering the time cost and convenience, acceleration is an optimal solution with the promise of safety.
In case 3, the calculated P E T is smaller than P E T s a f e , so the ego vehicle will then be required to decelerate. The acceleration, the steering wheel angle and vehicle longitudinal speed under case 3 are shown as Figure 16.
Figure 17 shows the CA process of ego vehicle under case 3. When the calculation shows that this is not a safe time under uniform speed or acceleration for avoiding both parked vehicle and oncoming vehicle in the same time, the ego vehicle will be required to decelerate to wait for the oncoming vehicle passing the parked vehicle firstly, as shown in Figure 17c. After the oncoming vehicle has passed, the ego vehicle then restarts and continues the CA process.
Figure 12a,c, Figure 14a,c and Figure 16a,c show the acceleration and velocity of the vehicle during the whole obstacle avoidance process, respectively. Based on different   P E T , the vehicle will be required to choose corresponding behavior, which is shown by figures of acceleration and velocity. As shown in Figure 12b, Figure 14b and Figure 16b, due to the low-speed urban condition, the vehicle front wheel steering angle under the three cases is small. When the ego vehicle begins to turn, the steering wheel angle also fluctuates lightly, and the maximum value of the steering wheel is about 8°.
The comparison of the longitudinal speed under three cases is shown in Figure 18.
From Figure 18, the comparison of speed under three different cases, in case 1, the velocity still maintains at about 11m/s despite fluctuations, which meets the requirement of keeping the speed as reference when the situation permits. In case 2, in order to reduce the time waste on the premise of ensuring safety, the vehicle chooses to accelerate to avoid obstacles, and its speed and acceleration are all within the preset boundaries. After passing obstacles, the vehicle decelerates to the reference speed. In case 3, the vehicle cannot avoid obstacles safely even if it accelerates to the maximum allowable speed. Therefore, in this case, the ego vehicle decelerates until the oncoming vehicle has already passed, then it restarts and avoids the parked vehicle. The final speeds of ego vehicle in three cases will be controlled to return to the reference speed after obstacle avoidance.
At the same time, the time history of TTC between the ego vehicle and the oncoming vehicle is also established, as Figure 19 shows. These two cars go towards each other, so finally the TTC will be zero. Smaller initial TTC will bring higher safety risk during the CA process. If the ego vehicle can safely avoid collision by acceleration, then deceleration is not necessary. This is to ensure the rapid passing of the ego vehicle to prevent congestion and save passengers’ time.
Time consumption of the simulation calculation is an effective indicator used to reflect the real-time performance of the proposed algorithm. As Figure 20 shows, in case 1 and case 2 in which the ego vehicle is not required to decelerate, the calculation time cost generally stays around 8 ms except for some fluctuations. Although some simulation calculations in case 2 are relatively time-consuming, they are no bigger than 100 ms. In addition, long time-consuming calculations mainly occur between the 7th and 10th seconds of the simulation in case 2. During this time period, the ego vehicle is parked and waiting for the oncoming vehicle to pass first (referring to Figure 18). Thus these long time-consuming calculations will not affect the safety of obstacle avoidance and the real-time decision making when the ego vehicle is running.
Table 2 shows changes in related parameters while the ego vehicle is running. The data in the table proves that the ego vehicle can avoid obstacles stably and safely within the speed and acceleration limits and further confirms the reliability of the proposed algorithm.
Figure 21 shows the real trajectories of the ego vehicle in three cases. And the minimum distance between ego vehicle and obstacle are 0.52 m (in case 1), 0.24 m (in case 2) and 0.5 m (in case 3), which verify the effectiveness of the proposed algorithm as the functions of obstacle avoidance and lane keeping in the urban traffic condition.
In addition, a comparison simulation is also established to prove the superiority of TL-MPC system. In order to promise real-time performance, reference [31] give a method of linear MPC based on a triple integrator chain. The original method which cannot adjust the speed after overtaking the obstacles is modified to adapt to this research.
Figure 22 shows the comparison in case 1 (collision avoidance at uniform speed). Even in this case under which there is no relative high requirement of speed control for the ego vehicle, the compared method cannot easily converge due to lack of model accuracy. At the same time, it also has great fluctuations in controlling the steering wheel angle. The same problem, that it is difficult to converge, can also be found in the results of reference [18]. This is basically due to the same vehicle model being selected in both re-planning and tracking layers. Since the comparison results in the other two cases are very similar, they will not be repeated in the paper. The results, shown by Figure 20 and Figure 22, illustrates that the TL-MPC proposed in this paper can guarantee real-time performance and converge.

5. Conclusions

Based on a normal urban driving scenario, this paper proposed an effective vehicle motion control strategy for automated vehicles which contains TL-MPC and BR-PET to realize the function of both lane-keeping and collision avoidance. The difficulty of solving this motion planning problem is how to deal with the unpredictable or uncertain future speed of oncoming vehicle and to control the speed of an autonomous vehicle in the whole process. Firstly, the BR-PET is proposed to solve the problem of oncoming vehicle’s unpredictable speed. Then, based on TL-MPC system, the vehicle’s speed and steering wheel angle are controlled in real time, so that both trajectory re-planning and tracking are realized. Finally, the proposed control system is verified by co-simulations of MATLAB/Simulink and CarSim. The obtained simulation results showed that under three different cases, BR-PET successfully re-plans a collision-free movement of the vehicle while the TL-MPC ensures trajectory re-planning and tracking performance under the premise of a safe collision avoidance.
Future work will focus on obstacle avoidance under extreme adhesion or at relative high speed conditions. More issues such as considering vehicle stability and passenger comfort could also be taken into account in future.

Author Contributions

Conceptualization, Y.Z. X.S. and P.R.; methodology, Y.Z. and X.S.; software, Y.Z.; validation, Y.Z. and X.S.; formal analysis, Y.Z.; investigation, P.R.; resources, P.R.; data curation, Y.Z.; writing—original draft preparation, Y.Z.; writing—review and editing, X.S. and P.R.; visualization, Y.Z.; supervision, P.R.; project administration, P.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Fleming, W. Forty-Year Review of Automotive Electronics: A Unique Source of Historical Information on Automotive Electronics. IEEE Veh. Technol. Mag. 2015, 10, 89–90. [Google Scholar] [CrossRef]
  2. Shen, X.; Raksincharoensak, P. Pedestrian-aware statistical risk assessment. IEEE Trans. Intell. Transp. Syst. 2021. [Google Scholar] [CrossRef]
  3. Cheng, S.; Li, L.; Liu, C.Z.; Wu, X.; Yong, J.W. Robust lmi-based h-infinite controller integrating afs and dyc of autonomous vehicles with parametric uncertainties. IEEE Trans. Syst. Man Cybern. Syst. 2020, 99, 1–10. [Google Scholar] [CrossRef]
  4. Shen, X.; Zhang, Y.; Shen, T.; Khajorntraidet, C. Spark advance self-optimization with knock probability threshold for lean-burn operation mode of si engine. Energy 2017, 122, 1–10. [Google Scholar] [CrossRef]
  5. Fallon, I.; O’Neill, D. The world’s first automobile fatality. Accid. Anal. Prev. 2005, 37, 601–603. [Google Scholar] [CrossRef]
  6. He, H.; Paichadze, N.; Hyder, A.A.; Bishai, D. Economic development and road traffic fatalities in Russia: Analysis of federal regions 2004–2011. Inj. Epidemiol. 2015, 2, 1–16. [Google Scholar] [CrossRef] [Green Version]
  7. Hamlet, A.J.; Emami, P.; Crane, C.D. The cognitive driving framework: Joint inference for collision prediction and avoidance in autonomous vehicles. In Proceedings of the 15th International Conference on Control, Automation and Systems (ICCAS) IEEE, Edinburgh, UK, 16–19 July 2015. [Google Scholar]
  8. Vahidi, A.; Eskandarian, A. Research advances in intelligent collision avoidance and adaptive cruise control. Intell. Transp. Syst. IEEE Trans. 2003, 4, 143–153. [Google Scholar] [CrossRef] [Green Version]
  9. Li, X.; Seignez, E. Driver inattention monitoring system based on multimodal fusion with visual cues to improve driving safety. Trans. Inst. Meas. Control 2016, 40, 885–895. [Google Scholar] [CrossRef]
  10. Isermann, R.; Mannale, R.; Schmitt, K. Collision-avoidance systems proreta: Situation analysis and intervention control. Control Eng. Pract. 2012, 20, 1236–1246. [Google Scholar] [CrossRef]
  11. Shen, X.; Zhang, X.; Ouyang, T.; Li, Y.; Raksincharoensak, P. Cooperative comfortable-driving at signalized intersections for connected and automated vehicles. IEEE Robot. Autom. Lett. 2020, 5, 6247–6254. [Google Scholar] [CrossRef]
  12. Saito, Y.; Raksincharoensak, P. Risk predictive shared deceleration control: Its functionality and effectiveness of an early intervention support. In Proceedings of the IEEE Intelligent Vehicles Symposium (IV), Gotenburg, Sweden, 19–22 June 2016; pp. 49–54. [Google Scholar]
  13. Lefèvre, S.; Carvalho, A.; Borrelli, F. A learning-based framework for velocity control in autonomous driving. IEEE Trans. Autom. Sci. Eng. 2016, 13, 32–42. [Google Scholar] [CrossRef]
  14. Raksincharoensak, P.; Hasegawa, T.; Nagai, M. Motion planning and control of autonomous driving intelligence system based on risk potential optimization framework. Int. J. Automot. Eng. 2016, 7, 53–60. [Google Scholar] [CrossRef] [Green Version]
  15. Falcone, P.; Borrelli, F.; Asgari, J.; Tseng, H.E.; Hrovat, D. Predictive active steering control for autonomous vehicle systems. IEEE Trans. Control Syst. Technol. 2007, 15, 566–580. [Google Scholar] [CrossRef]
  16. Wang, T.-C.; Lin, T.-J. Unmanned vehicle obstacle detection and avoidance using danger zone approach. Trans. Can. Soc. Mech. Eng. 2013, 37, 529–538. [Google Scholar] [CrossRef]
  17. Gray, A.; Ali, M.; Gao, Y.; Hedrick, J.K.; Borrelli, F. Integrated threat assessment and control design for roadway departure avoidance. In Proceedings of the 15th International IEEE Conference on Intelligent Transportation Systems (ITSC), Anchorage, AK, USA, 16 September 2012; pp. 1714–1719. [Google Scholar]
  18. Cheng, S.; Li, L.; Liu, Y.; Li, W.; Guo, H. Virtual Fluid-Flow-Model-Based Lane-Keeping Integrated With Collision Avoidance Control System Design for Autonomous Vehicles. IEEE Trans. Intell. Transp. Syst. 2020, 99, 1–10. [Google Scholar] [CrossRef]
  19. Balachandran, A.; Brown, M.; Erlien, S.; Gerdes, J. Predictive Haptic Feedback for Obstacle Avoidance Based on Model Predictive Control. IEEE Trans. Autom. Sci. Eng. 2016, 13, 26–31. [Google Scholar] [CrossRef]
  20. Chi, K.-H.; Lee, M.-F.R. Obstacle avoidance in mobile robot using neural network. In Proceedings of the International Conference on Consumer Electronics, Communications and Networks (CECNet), XianNing, China, 16–18 April 2011; pp. 5082–5085. [Google Scholar]
  21. Duguleana, M.; Barbuceanu, F.G.; Teirelbar, A.; Mogan, G. Obstacle avoidance of redundant manipulators using neural networks based reinforcement learning. Robot. Comput. Integr. Manuf. 2012, 28, 132–146. [Google Scholar] [CrossRef]
  22. Huang, Y. Intelligent technique for robot path planning using artificial neural network and adaptive ant colony optimization. J. Converg. Inf. Technol. 2012, 7, 246–252. [Google Scholar]
  23. Chakravarthy, A.; Ghose, D. Generalization of the collision cone approach for motion safety in 3-d environments. Auton. Robot. 2012, 32, 243–266. [Google Scholar] [CrossRef]
  24. Balch, T.; Arkin, R.C. Behaviour-based formation control for multirobot teams. IEEE Trans. Robot. Autom. 1998, 14, 926–939. [Google Scholar] [CrossRef] [Green Version]
  25. Baker, J.E. Adaptive selection methods for genetic algorithms. In Proceedings of the International Conference on Genetic Algorithms and Their Applications, Hillsdale, NJ, USA, 24–26 July 1985; pp. 101–111. [Google Scholar]
  26. Yuan, H.; Sun, X.; Gordon, T. Unified decision-making and control for highway collision avoidance using active front steer and individual wheel torque control. Veh. Syst. Dyn. 2019, 57, 1188–1205. [Google Scholar] [CrossRef]
  27. Lefèvre, S.; Vasquez, D.; Laugier, C. A survey on motion prediction and risk assessment for intelligent vehicles. Robomech J. 2014, 1, 1–14. [Google Scholar] [CrossRef] [Green Version]
  28. Vogel, K. A comparison of headway and time to collision as safety indicators. Accid. Anal. Prev. 2003, 35, 427–433. [Google Scholar] [CrossRef]
  29. Falcone, P. Nonlinear Model Predictive Control for Autonomous Vehicles; University of Sannio: Benevento, Italy, 2007. [Google Scholar]
  30. Gong, J.W.; Jiang, Y.; Xu, W. Model Predictive Control for Self-Driving Vehicles; Beijing Institute of Technology Press: Beijing, China, 2014. [Google Scholar]
  31. Lattarulo, R.; He, D.; Perez, J. A Linear Model Predictive Planning Approach for Overtaking Manoeuvres under Possible Collision Circumstances. In Proceedings of the IEEE Intelligent Vehicles Symposium, Suzhou, China, 26–30 June 2018; pp. 1340–1345. [Google Scholar]
Figure 1. Target scenario of collision avoidance overtaking a parked vehicle and yielding an oncoming vehicle.
Figure 1. Target scenario of collision avoidance overtaking a parked vehicle and yielding an oncoming vehicle.
Applsci 11 09003 g001
Figure 2. Different passing position when ego vehicle keeps speed constant during overtaking (a) The passing position is at a safe position (b) The passing position is too close to the parked vehicle.
Figure 2. Different passing position when ego vehicle keeps speed constant during overtaking (a) The passing position is at a safe position (b) The passing position is too close to the parked vehicle.
Applsci 11 09003 g002
Figure 3. The case of ego vehicle slowing down. (a) Relative positions between vehicles at t = 0 s; (b) Relative positions between vehicles at t = T1 s; (c) Relative positions between vehicles at t = T2 s.
Figure 3. The case of ego vehicle slowing down. (a) Relative positions between vehicles at t = 0 s; (b) Relative positions between vehicles at t = T1 s; (c) Relative positions between vehicles at t = T2 s.
Applsci 11 09003 g003
Figure 4. Control flow of proposed collision avoidance (CA) system.
Figure 4. Control flow of proposed collision avoidance (CA) system.
Applsci 11 09003 g004
Figure 5. The site for calculating post-encroachment time.
Figure 5. The site for calculating post-encroachment time.
Applsci 11 09003 g005
Figure 6. Calculation flow of post-encroachment time (PET).
Figure 6. Calculation flow of post-encroachment time (PET).
Applsci 11 09003 g006
Figure 7. Point mass vehicle model for trajectory re-planning layer.
Figure 7. Point mass vehicle model for trajectory re-planning layer.
Applsci 11 09003 g007
Figure 8. Obstacle expansion and the cost caused by parked vehicle.
Figure 8. Obstacle expansion and the cost caused by parked vehicle.
Applsci 11 09003 g008
Figure 9. Cost caused by road bounds.
Figure 9. Cost caused by road bounds.
Applsci 11 09003 g009
Figure 10. The whole process of generating local reference trajectory.
Figure 10. The whole process of generating local reference trajectory.
Applsci 11 09003 g010
Figure 11. Bicycle model for trajectory tracking layer.
Figure 11. Bicycle model for trajectory tracking layer.
Applsci 11 09003 g011
Figure 12. (a) Longitudinal and lateral acceleration, (b) Steer wheel angle and (c) longitudinal speed of ego vehicle in case 1 (ego car just keeps speed unchanged when overtaking obstacles).
Figure 12. (a) Longitudinal and lateral acceleration, (b) Steer wheel angle and (c) longitudinal speed of ego vehicle in case 1 (ego car just keeps speed unchanged when overtaking obstacles).
Applsci 11 09003 g012
Figure 13. Collision avoidance process of ego vehicle under case 1. (a) Relative positions between vehicles at t = 1 s; (b) Relative positions between vehicles at t = 4.7 s; (c) Relative positions between vehicles at t = 7.5 s; (d) Relative positions between vehicles at t = 20 s.
Figure 13. Collision avoidance process of ego vehicle under case 1. (a) Relative positions between vehicles at t = 1 s; (b) Relative positions between vehicles at t = 4.7 s; (c) Relative positions between vehicles at t = 7.5 s; (d) Relative positions between vehicles at t = 20 s.
Applsci 11 09003 g013
Figure 14. (a) Longitudinal and lateral acceleration, (b) Steer wheel angle and (c) longitudinal speed of ego vehicle in case 2 (ego car needs to accelerate for a safe overtaking).
Figure 14. (a) Longitudinal and lateral acceleration, (b) Steer wheel angle and (c) longitudinal speed of ego vehicle in case 2 (ego car needs to accelerate for a safe overtaking).
Applsci 11 09003 g014
Figure 15. Collision avoidance process of ego vehicle under case 2. (a) Relative positions between vehicles at t = 1 s; (b) Relative positions between vehicles at t = 3.4 s; (c) Relative positions between vehicles at t = 6.6 s; (d) Relative positions between vehicles at t = 20 s.
Figure 15. Collision avoidance process of ego vehicle under case 2. (a) Relative positions between vehicles at t = 1 s; (b) Relative positions between vehicles at t = 3.4 s; (c) Relative positions between vehicles at t = 6.6 s; (d) Relative positions between vehicles at t = 20 s.
Applsci 11 09003 g015
Figure 16. (a) Longitudinal and lateral acceleration, (b) Steer wheel angle and (c) longitudinal speed of ego vehicle in case 3 (ego car needs to decelerate for a safe overtaking).
Figure 16. (a) Longitudinal and lateral acceleration, (b) Steer wheel angle and (c) longitudinal speed of ego vehicle in case 3 (ego car needs to decelerate for a safe overtaking).
Applsci 11 09003 g016
Figure 17. Collision avoidance process of ego vehicle under case 3. (a) Relative positions between vehicles at t = 1 s; (b) Relative positions between vehicles at t = 8.7s; (c) Relative positions between vehicles at t = 13.2 s; (d) Relative positions between vehicles at t = 20 s.
Figure 17. Collision avoidance process of ego vehicle under case 3. (a) Relative positions between vehicles at t = 1 s; (b) Relative positions between vehicles at t = 8.7s; (c) Relative positions between vehicles at t = 13.2 s; (d) Relative positions between vehicles at t = 20 s.
Applsci 11 09003 g017
Figure 18. Speed comparison under different cases (Case 1: Collision avoidance at uniform speed; Case 2: Collision avoidance by acceleration; Case 3: Collision avoidance by deceleration).
Figure 18. Speed comparison under different cases (Case 1: Collision avoidance at uniform speed; Case 2: Collision avoidance by acceleration; Case 3: Collision avoidance by deceleration).
Applsci 11 09003 g018
Figure 19. The time history of the time-to-collision between ego vehicle and the oncoming vehicle (Case 1: Collision avoidance at uniform speed; Case 2: Collision avoidance by acceleration; Case 3: Collision avoidance by deceleration).
Figure 19. The time history of the time-to-collision between ego vehicle and the oncoming vehicle (Case 1: Collision avoidance at uniform speed; Case 2: Collision avoidance by acceleration; Case 3: Collision avoidance by deceleration).
Applsci 11 09003 g019
Figure 20. Time consuming of simulation calculation under different cases (Case 1: Collision avoidance at uniform speed; Case 2: Collision avoidance by acceleration; Case 3: Collision avoidance by deceleration).
Figure 20. Time consuming of simulation calculation under different cases (Case 1: Collision avoidance at uniform speed; Case 2: Collision avoidance by acceleration; Case 3: Collision avoidance by deceleration).
Applsci 11 09003 g020
Figure 21. Real trajectories comparison under different cases (Case 1: Collision avoidance at uniform speed; Case 2: Collision avoidance by acceleration; Case 3: Collision avoidance by deceleration.).
Figure 21. Real trajectories comparison under different cases (Case 1: Collision avoidance at uniform speed; Case 2: Collision avoidance by acceleration; Case 3: Collision avoidance by deceleration.).
Applsci 11 09003 g021
Figure 22. Simulation comparison ((a): Comparison of real trajectory; (b): Comparison of steering angle).
Figure 22. Simulation comparison ((a): Comparison of real trajectory; (b): Comparison of steering angle).
Applsci 11 09003 g022
Table 1. Controller parameters and weights. A. MPC parameters in motion re-planning layer; B. MPC parameters in the motion tracking layer.
Table 1. Controller parameters and weights. A. MPC parameters in motion re-planning layer; B. MPC parameters in the motion tracking layer.
A
SymbolValueUnit
N p , 1 60(none)
N c , 1 2(none)
Q 1 100 × I N p , 1 (none)
R 1 10 × I N c , 1 (none)
T s , 1 0.02s
S 1 900 + k 1 × v a (none)
S 2 2000 + k 2 × v a (none)
S 3 900 + k 3 × ( v a + v O n C ) (none)
B
SymbolValueUnit
N p , 2 30(none)
N c , 2 3(none)
Q 2 [ 2000 0 0 10 , 000 ] (none)
R 2 5 × 10 5 × I N c , 2 (none)
ρ 1000(none)
T s , 2 0.01s
Where I * is an identity matrix of dimension * . k 1 = k 3 = 3 and   k 2 = 1 are the weights of speed. S 1 , S 2 and S 3 are the weight coefficients of avoiding the parked vehicle, road bounds and the oncoming vehicle, respectively. They are velocity dependent due to the demands of ensuring the safety and lateral stability of driving. Therefore, cost of collision avoidance will increase as the speed of the car increases especially in relatively high speed conditions.
Table 2. Related parameters while the ego vehicle is running. A. Parameters in case1; B. Parameters in case2; C. Parameters in case3.
Table 2. Related parameters while the ego vehicle is running. A. Parameters in case1; B. Parameters in case2; C. Parameters in case3.
A
SymbolRangeUnit
Longitudinal speed10.8~11.8m/s
Steering wheel angle−3.1~3.2°(degree)
Longitudinal acceleration−1.2~2.2m/s2
Lateral acceleration−2.4~2.5m/s2
B
SymbolRangeUnit
Longitudinal speed11~15.2m/s
Steering wheel angle−2.3~2.8°(degree)
Longitudinal acceleration−1.9~3.1m/s2
Lateral acceleration−2.5~3.3m/s2
C
SymbolRangeUnit
Longitudinal speed0~11m/s
Steering wheel angle−8.3~4.8°(degree)
Longitudinal acceleration−2.1~3.3m/s2
Lateral acceleration−4.1~3.1m/s2
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhang, Y.; Shen, X.; Raksincharoensak, P. Automated Vehicle’s Overtaking Maneuver with Yielding to Oncoming Vehicles in Urban Area Based on Model Predictive Control. Appl. Sci. 2021, 11, 9003. https://0-doi-org.brum.beds.ac.uk/10.3390/app11199003

AMA Style

Zhang Y, Shen X, Raksincharoensak P. Automated Vehicle’s Overtaking Maneuver with Yielding to Oncoming Vehicles in Urban Area Based on Model Predictive Control. Applied Sciences. 2021; 11(19):9003. https://0-doi-org.brum.beds.ac.uk/10.3390/app11199003

Chicago/Turabian Style

Zhang, Yan, Xun Shen, and Pongsathorn Raksincharoensak. 2021. "Automated Vehicle’s Overtaking Maneuver with Yielding to Oncoming Vehicles in Urban Area Based on Model Predictive Control" Applied Sciences 11, no. 19: 9003. https://0-doi-org.brum.beds.ac.uk/10.3390/app11199003

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop