MPC Based Trajectory Tracking Control
MPC Based Trajectory Tracking Control
CITATION: Ming, T., Deng, W., Zhang, S., and Zhu, B., "MPC-Based Trajectory Tracking Control for Intelligent Vehicles," SAE
Technical Paper 2016-01-0452, 2016, doi:10.4271/2016-01-0452.
Vehicle Model where νx, νy and wr are respectively the longitudinal velocity, lateral
velocity and yaw rate of the vehicle, as shown in figure 1. In addition,
In this section, we will describe the vehicle model used for control
a and b are the distances of the front and rear axles to the vehicle
design and simulation. It contains a three degree vehicle model for
center of gravity, mCG is the vehicle mass, Iz is the yaw moment of
the trajectory tracking of intelligent vehicle. The longitudinal and
inertia, δ is the steering angle of the front wheel, and Caf , Car are total
lateral vehicle controls are treated as being completely uncoupled.
cornering stiffness of the front and rear tires, respectively.
The vehicle longitudinal control or the longitudinal velocity was
given as a function of the position along the planed path and a
As we know, during the process of trajectory tracking, the
simplified longitudinal model was presented. A bicycle model was
longitudinal velocity may not be constant. In our model, during each
used for the lateral vehicle dynamic control.
predictive horizon, the longitudinal velocity was considered as a
constant variable, and in the next predictive horizon, the longitudinal
The Longitudinal Vehicle Dynamic velocity is updated according the real vehicle speed. So it is
The longitudinal control variable is the longitudinal acceleration. reasonable to use the bicycle model to represent the lateral dynamic
According to the Newton’s second law and the vehicle dynamic, the behavior during trajectory tracking.
following equation can be obtained:
(1)
(3)
(2)
where (X, Y) and ψ are respectively the position coordination and
Where: heading angle of the vehicle in the absolute inertial frame, as shown
in figure 2.
Downloaded from SAE International by Univ of California Berkeley, Wednesday, August 01, 2018
To minimize the position error and the speed error as well as the
control energy during the trajectory tracking process, the following
cost function was considered:
(4)
(6)
where u = [a, δ] denote the longitudinal acceleration and the
steering angle. The state and input vectors are x = where, as in standard MPC notation, Δut = [Δut,t, …, Δut+Hc-1,t] is the
[X, Y, ψ, νx, νy, wr ] and u respectively. optimization vector at time t and yt+i denotes the output vector predicted
at time t + i obtained by starting from the state yt,t = y(t) and applying to
system (5) the input sequence [Δut,t, … , Δt+i-1,t]. Hc and Hp denote the
output prediction horizon and the control horizon, respectively. As in
standard MPC scheme, we use Hp > Hc and the control signal is
assumed constant for all Hp ≥ i ≥ Hc, i.e. Δut + i,t = 0 ∀ i ≥ Hc. The
reference signal yref,i = [Xref Yref ψref νxref] represents the desired outputs,
Q, R and S are weighting matrix of appropriate dimensions. The first
summand reflects the desired performance on target tracking; the
second and third summands weight the actuators’ effort.
Taking into account the constraints on the state variables and control
inputs are one of the biggest advantages of MPC controller. During
Figure 2. The coordination transformation the trajectory tracking process, some constraints have been
considered. First, due to the characteristic of the actuators, the
magnitude and rate of steering wheel angel and acceleration should
The MPC-Based Trajectory Tracking Controller be limited, as showed in (7):
The goal of trajectory tracking control is to achieve the speed control
and path following control. The basis of the MPC is to predict the
evolution of the vehicle model over a finite horizon based on a
sequence of future inputs in order to optimize the system cost under
the given constraints. In this section, we design the MPC controller (7)
computing the steering wheel angle and the longitudinal acceleration,
so that a desired trajectory is followed as close as possible. The The stability of the vehicle is another important issue that should be
controller is based on the vehicle model presented in (4). considered in the trajectory tracking, especially in the extreme
conditions, for instance, on the icy road. In that case, the reason for
the instability is tire force saturation. According to the tire model, the
MPC Controller Based on the Nonlinear Vehicle Model tire slip angle should be limited to the maximum value in order to
Before the formulation of the MPC problem, the continuous vehicle avoid it. So the following constraints were considered:
model presented in (4) should be discretized first. Based on Shannon
Sampling Theorem, the following discretized model was obtained:
(8)
where αf,r is the front or rear tire slip angle; σ is the slack variable and
σ ≥ 0. Equation (8) is a soft constraint, which makes sure that the
(5) optimization problem described in (6) always has a solution. Due to
the existence of the slack variable σ, the cost function should be
Where:
expressed in the following way:
Downloaded from SAE International by Univ of California Berkeley, Wednesday, August 01, 2018
(9)
(14)
where ρ is the weighted matrix.
Where:
By combined (5), (6), (7), (8), (9), the following optimization
problem was solved at each time step:
(10)
The LTV system (12) describes the deviations of the nonlinear system
(11) from the state trajectory x0(k).
Downloaded from SAE International by Univ of California Berkeley, Wednesday, August 01, 2018
Results Analysis
The first test maneuver that is used to evaluate the performance of the
LTV MPC controller is a steady-date constant radius cornering a.
maneuver. The vehicle is driven through a circular path with a radius
of 152.4m. The controller attempts to keep the vehicle on the
reference trajectory while the vehicle speed is continuously
increasing from an initial speed of 30km/h to a maximum speed of
90km/h. As shown in figure 3.1(b), the actual vehicle speed precisely
follows the desired speed. Figure 3.1(c) shown the comparison of the
actual trajectory and desired trajectory, it can been seen that the
controller is able to keep the vehicle on the desired circular trajectory
even at high speed and the maximum position error is less than 0.6m, b.
as shown in Figure 3.1(c). Figure 3.1(a) shows the steering wheel
angle that was applied to the keep the vehicle on the circular
trajectory, it can be seen that as the vehicle speed is increased, the
controller applied a larger steering wheel angle, thereby generating
larger lateral forces on the front axle in order to compensate for the
larger centripetal acceleration.
The second test maneuver is the double lane change (DLC) test which
presents an obstacle avoidance emergency maneuver. The objective c.
of the test is to validate the stability of the vehicle with the proposed
MPC controller in critical situations. The lateral displacement and
yaw angle of the reference trajectory are described as a function of
the longitudinal X:
d.
Figure 3. Simulation results in first test maneuver. (a) steering wheel angle;
(b) comparison of vehicle speed and desired speed; (c) comparison of vehicle
(16) trajectory and desired trajectory; (d) the partial enlarged view of the vehicle
trajectory and desired trajectory.
where z1 = 0.096(X - 27.19)-1.2, z2, = 0.11(X - 56.46) - 1.2, dx1 = 25,
dx2 = 21.95, dy1 = 4.05, dy2 = 5.7.
Downloaded from SAE International by Univ of California Berkeley, Wednesday, August 01, 2018
2. Li, L., Wen, D., Zheng, N.-N., and Shen, L.-C., “Cognitive
Cars: A New Frontier for ADAS Research,” IEEE Trans.
Intell.Transp. Syst. 13(1):395-407, 2012,doi:10.1109/
TITS.2011.2159493.
3. Tagne G., Talj R., and Charara A., "Higher-order sliding mode
control for lateral dynamics of autonomous vehicles, with
experimental validation," in 2013 IEEE Intelligent Vehicles
Symposium, IEEE IV 2013, June 23, 2013 - June 26, 2013,
Gold Coast, QLD, Australia, 2013, pp. 678-683.
4. Sharp R. S., Casanova D., and Symonds P., "Mathematical
model for driver steering control, with design, tuning and
performance results," Vehicle System Dynamics, vol. 33, pp.
289-326, 2000.
5. Chatzikomis C. I. and Spentzas K. N., "A path-following driver
Figure 4. The Trajectory.
model with longitudinal and lateral control of vehicle's motion,"
ForschungImIngenieurwesen-Engineering Research, vol. 73, pp.
257-266, Dec 2009.
6. Lee T., Kang J., Yi K., and Noh K., "An investigation on the
integrated human driver model for closed-loop simulation of
intelligent safety systems," Journal of Mechanical Science and
Technology, vol. 24, pp. 761-767, 2010.
7. Kim, D. and Kim, H., "Lateral Control for Automated Vehicle
Following System in Urban Environments," SAE Int. J. Trans.
Safety 2(2):199-206, 2014, doi:10.4271/2014-01-0161.
8. Chen, B.-C., Luan, B.-C., and Lee, K., “Design of lane keeping
Figure 5. The front steer angle δf.
system using adaptive model predictive control,” Automation
Science and Engineering (CASE), 2014 IEEE International
Conference on, IEEE: 922-926, 2014.
9. Qu, T., Chen, H., Cao, D., Guo, H., and Gao, B., “Switching-
Based Stochastic Model Predictive Control Approach for
Modeling Driver Steering Skill,” IEEE Trans. Intell. Transp.
Syst. 16(1):365-375, 2015, doi:10.1109/TITS.2014.2334623.
10. Keviczky T., Falcone P., Borrelli F., Asgari J., and Hrovat D.,
"Predictive control approach to autonomous vehicle steering,"
in 2006 American Control Conference, June 14, 2006 - June 16,
2006, Minneapolis, MN, United states, 2006, pp. 4670-4675.
Figure 6. The front and rear tire slip angle.
11. Falcone P., Borrelli F., Tseng H. E., Asgari J., and Hrovat
D., "Linear time-varying model predictive control and its
Conclusions application to active steering systems: Stability analysis and
A trajectory tracking control based on MPC was proposed to achieve experimental validation," Southern Gate, Chichester, West
the path tracking and speed tracking for intelligent vehicles. The Sussex, PO19 8SQ, United Kingdom, 2008, pp. 862-875.
control was developed under a simulation environment. In order to 12. Falcone P., Tufo M., Borrelli F., Asgarit J., and Tseng H. E., "A
reduce the computational burden, the LTV MPC based on successive linear time varying model predictive control approach to the
online linearization of the nonlinear system model was used. integrated vehicle dynamics control problem in autonomous
Simulation results under different scenarios showed the effectiveness systems," in 46th IEEE Conference on Decision and Control
and robustness of the proposed MPC controller. Experiments on a test 2007, CDC, December 12, 2007 - December 14, 2007, New
vehicle will be performed in future work. Orleans, LA, United states, 2007, pp. 2980-2985.
13. Chen Bo-Chiuan, Luan Bi-Cheng, Lee Kangwon, "Design
of Lane Keeping system using adaptive model predictive
References
control," in 2014 IEEE International Conference on Automation
1. Levinson, J., Askeland, J., Becker, J., Dolson, J., Held, D., Science and Engineer (CASE), Aug. 18, 2014 - Aug. 22, 2014,
Kammel, S., Kolter, J.Z., Langer, D., Pink, O., Pratt, V., and Taipei,Taiwan, China, 2014, pp.922-926.
others, “Towards fully autonomous driving: Systems and
14. Rawlings James B., Mayne David Q., "Model Predictive
algorithms,” Intelligent Vehicles Symposium (IV), 2011 IEEE,
Control: Theory and Design,", Nob Hill Publishing, 2009.
IEEE: 163-168, 2011.
15. Shousong Hu, "Automatic Control Theory," the Fifth Edition,
Science Press, 2007.
Downloaded from SAE International by Univ of California Berkeley, Wednesday, August 01, 2018
Contact Information
For questions or to contact the authors, please email to the
corresponding author Sumin Zhang at:
[email protected]
Acknowledgments
The authors wish to acknowledge the sponsorship of National Natural
Science Foundation of China under grant 51175215.
The Engineering Meetings Board has approved this paper for publication. It has successfully completed SAE’s peer review process under the supervision of the session organizer. The process
requires a minimum of three (3) reviews by industry experts.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or
otherwise, without the prior written permission of SAE International.
Positions and opinions advanced in this paper are those of the author(s) and not necessarily those of SAE International. The author is solely responsible for the content of the paper.
ISSN 0148-7191
http://papers.sae.org/2016-01-0452