Autonomous Lane Keeping With Model Predictive Control
Autonomous Lane Keeping With Model Predictive Control
Abstract the results of the bicycle model and the two other models
contained negligible differences. The conclusion of the
This study aims to establish a feasible lane keeping Polack, et al publication proved that the bicycle model is
controller for a simulated autonomous vehicle by a viable candidate for accurately expressing the dynamics
employing model predictive control (MPC) of an autonomous vehicle, while minimizing
methodologies. The lane keeping controller will operate computational cost.
by tracking a reference trajectory, when given a reference
longitudinal velocity. The model used for this experiment Research by Dixit et al. was conducted into the use of
is a combination of a lane keeping model and an adaptive MPC for planning an overtake (passing maneuver) by an
cruise control model, resulting in a system capable of autonomous vehicle [2]. This overtake consists of an
controlling both the longitudinal acceleration and the autonomous vehicle recognizing obstacles (other
steering angle of the ego vehicle. The vehicle dynamics vehicles) and performing a lane change action to pass in
were created using the kinematic bicycle model. The front the aforementioned obstacles. This study first
model and simulation were performed in MATLAB considered the implementation of a path planning system
2019b using Simulink, the Automated Driving toolbox, which utilized rapidly exploring random tree (RRT)
and the Model Predictive Control toolbox. The resulting algorithms. The findings of the study identified this
MPC controller was proven to feasibly provide lane technique to be slow for use in a time sensitive and live
keeping capability to the simulated ego vehicle, when setting such as autonomous vehicles. This conclusion
driving upon a road way containing arbitrary waypoints. was primarily attributed to the inability of the algorithm
to quickly handle data and multiple variables. The paper
Keywords – Model Predictive Control (MPC), subsequently explored MPC which utilized a reference
Autonomous Lane Keeping, Adaptive Cruise Control, table containing current state values of the vehicle. By
Lane Keeping Assist, Reference Trajectory Tracking. using the MPC controller to avoid a collision with another
driver. The results of this experiment proved the MPC to
Introduction be capable of handling complex situations and
constraints. For this reason, this lane keeping study will
Autonomous vehicles are continuing to emerge as viable leverage MPC principles.
options for the commercial world. A cornerstone feature
of these vehicles is their ability to maintain proper Active steering using MPC has been researched by
positioning in road lanes. This lane keeping feature can Borrelli et al. Their work established a systematic control
be made possible via the implementation of a model method for steering and stabilization of a vehicle along a
predictive controller acting upon the appropriate path [3]. Their research displayed how effective MPC can
vehicular dynamic model. be in this application and how different factors have an
effect on this result.
Performing a review of current literature emphasized the
importance of choosing a feasible and accurate model Similar to the goal of this present study of lane keeping,
when using MPC for a vehicle or any physical object. Bujarburuah et al. have conducted research on the use of
Modelling a vehicle can be an extremely difficult and an adaptive robust MPC for lane keeping that is effective
computationally demanding task, particularly for detailed for sharp turns. This control strategy works to minimize
systems. For this application of autonomous vehicle lane the distance between the car and the center of the road [4].
keeping, a bicycle model was chosen as a balance This research takes an approach that accounts for sensory
between simplicity and accuracy of model dynamics. This information in conjunction with vehicle dynamics to
decision was supported by research conducted by Polack understand the state of the vehicle. If the vehicle behaves
et al. into the feasibility of a bicycle model for use in differently than the dynamics predict, the vehicle will
trajectory planning and autonomous vehicles [1]. This adapt and bring itself back onto the intended course.
research compared the results of the bicycle model with
two other models containing higher complexity and A study conducted by Wang et al. investigated the use of
accuracy. The conclusions of this research identified that fuzzy adaptive weight control as an improvement upon
standard MPC in the application of autonomous vehicles. The input for the system is the steering angle and the
This study proved that this control algorithm can lead to outputs are lateral velocity and the yaw angle rate.
a smoother control, with a generally more comfortable
experience for end users. The new method gradually The second system expressed adaptive cruise control [10]
modifies a weight applied to the cost function to correct and considers the following system:
disturbances [5].
d Vẋ −1/τ 0 Vẋ 1/𝜏 [ ̇ ]
[ ]=[ ][ ] + [ ] Vx
Cheng et al. released a study on the use of adaptive MPC dt Vx 1 0 Vx 0
for longitudinal collision avoidance including lateral
stability to account for lateral disturbances caused by an In the second model the following variables are
emergency brake. This model used two levels of control: implemented:
a higher-level controller that is responsible for
determining desired deceleration and yaw adjustment, Vẋ – longitudinal acceleration of the vehicle
and a lower-level controller that accounts for forces acting Vx - longitudinal velocity of the vehicle
on each tire [6]. τ - acceleration time constant.
The aforementioned preliminary research into the current As previously mentioned, this model was necessary in
state of vehicle dynamic models and MPC for order to express the longitudinal motion of the vehicle. In
autonomous driving applications has shaped the particular, the input is longitudinal acceleration and the
dynamical model choice and controller strategy used in output is longitudinal velocity.
this present study.
To combine both the lane keeping and adaptive cruise
Modelling control models together, an augmented matrix was
generated using the following form:
The model selected for this study was formed by
combining two state space models. The two state space Ẋ A 0 X1 B 0 U1
models are the lane keeping model [9] and the adaptive [ 1] = [ 1 ][ ]+ [ 1 ][ ]
X2 ̇ 0 A2 X 2 0 B2 U2
cruise control model [10]. The lane keeping model
expresses the lateral motion of the ego vehicle system, Carrying out the augmentation matrix method resulted in
while the adaptive cruise control model expresses the the following total dynamical model:
longitudinal motion of the ego vehicle system. By
combining the two models into one, both lateral and −1/𝜏 0 0 0 1/τ 0
Vẋ 1 0 0 0 Vẋ 0 0
longitudinal motion can be expressed. d Vx 2(Cf + Cr ) 2(Cf Lf − Cr Lr ) Vx 2Cf V̇
= 0 0 − −Vx − + 0 [ x]
dt Vy mVx mVx Vy m δ
2(Cf Lf − Cr Lr ) 2(Cf L2f + Cr L2r ) [ ψ̇ ] 2Cf Lf
The first state space model describes the lateral dynamics [ψ] ̇
0 0 − − 0
[ Iz Vx Iz Vx ] [ Iz ]
of the vehicle according to the bicycle model [7,9]. This
model considers the vehicle to be a bicycle model by
combining the two front and rear wheels into a single The combined model provides dynamical relationships
front and rear wheel model [8,9]. This system is for the following states:
expressed as the following:
• longitudinal acceleration (m/s2)
2(Cf + Cr ) 2(Cf Lf − Cr Lr ) 2Cf • longitudinal velocity (m/s)
− −Vx −
d Vy
[ ]=
mVx mVx Vy m
[ ] + 2C L [δ]
• lateral velocity (m/s)
dt ψ̇ 2(Cf Lf − Cr Lr ) 2(Cf L2f + Cr L2r ) ψ̇ f f
• yaw angle rate (radians/s)
− − [ Iz ]
[ Iz Vx Iz Vx ]
Simulation Results
Ego vehicle outputs Figure [2] The reference road trajectory with
• longitudinal velocity (m/s) waypoints
• lateral velocity (m/s)
• yaw angle rate (rad/s)
Conclusion
References