High-Speed Trajectory Planning for Autonomous Vehicles Using a Simple Dynamic Model
Florent Altch\'e, Philip Polack, Arnaud de la Fortelle

TL;DR
This paper presents a real-time trajectory planning method for autonomous vehicles that uses a simple dynamic model within a model predictive control framework to adapt velocities near dynamic limits, improving safety and efficiency.
Contribution
It introduces a trajectory planner based on a simplified dynamic model that can select feasible velocities and operate in real-time, outperforming kinematic models in robustness and trajectory quality.
Findings
Real-time feasible trajectories generated for high-speed driving.
Simplified dynamic model enhances robustness and trajectory quality.
Outperforms traditional kinematic models in simulations.
Abstract
To improve safety and energy efficiency, autonomous vehicles are expected to drive smoothly in most situations, while maintaining their velocity below a predetermined speed limit. However, some scenarios such as low road adherence or inadequate speed limit may require vehicles to automatically adapt their velocity without external input, while nearing the limits of their dynamic capacities. Many of the existing trajectory planning approaches are incapable of making such adjustments, since they assume a feasible velocity reference is given. Moreover, near-limits trajectory planning often implies high-complexity dynamic vehicle models, making computations difficult. In this article, we use a simple dynamic model derived from numerical simulations to design a trajectory planner for high-speed driving of an autonomous vehicle based on model predictive control. Unlike existing techniques,…
| , , | Position of the vehicle’s CoM (ground frame) |
| , , | Roll, pitch and yaw angles of the car body |
| , | Longitudinal and lat. vehicle speed (vehicle frame) |
| Longitudinal speed of wheel (wheel frame) | |
| Angular velocity of wheel | |
| Displacement of suspension | |
| Steering angle of the front wheels | |
| Total torque applied to wheel | |
| , | Longitudinal and lateral forces on wheel (wheel frame) |
| , | Longitudinal and lat. forces on wheel (vehicle frame) |
| Normal ground force on wheel | |
| Air drag force on the vehicle | |
| Total mass of the vehicle | |
| , , | Roll, pitch and yaw inertia of the vehicle |
| Inertia of wheel around its axis | |
| , | Distance between the front/rear axle and the CoM |
| Half-track of the vehicle | |
| Effective radius of the wheels | |
| , | Suspensions stiffness and damping |
| Model | RMS error () | Maximum error () |
|---|---|---|
| Proposed | ||
| Kinematic |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAutonomous Vehicle Technology and Safety · Robotic Path Planning Algorithms · Vehicle Dynamics and Control Systems
High-Speed Trajectory Planning for Autonomous Vehicles Using a Simple Dynamic Model
Florent Altché2,1, Philip Polack1 and Arnaud de La Fortelle1 1 MINES ParisTech, PSL Research University, Centre for robotics, 60 Bd St Michel 75006 Paris, France [florent.altche, philip.polack, arnaud.de_la_fortelle] @mines-paristech.fr2 École des Ponts ParisTech, Cité Descartes, 6-8 Av Blaise Pascal, 77455 Champs-sur-Marne, France
Abstract
To improve safety and energy efficiency, autonomous vehicles are expected to drive smoothly in most situations, while maintaining their velocity below a predetermined speed limit. However, some scenarios such as low road adherence or inadequate speed limit may require vehicles to automatically adapt their velocity without external input, while nearing the limits of their dynamic capacities. Many of the existing trajectory planning approaches are incapable of making such adjustments, since they assume a feasible velocity reference is given. Moreover, near-limits trajectory planning often implies high-complexity dynamic vehicle models, making computations difficult. In this article, we use a simple dynamic model derived from numerical simulations to design a trajectory planner for high-speed driving of an autonomous vehicle based on model predictive control. Unlike existing techniques, our formulation includes the selection of a feasible velocity to track a predetermined path while avoiding obstacles. Simulation results on a highly precise vehicle model show that our approach can be used in real-time to provide feasible trajectories that can be tracked using a simple control architecture. Moreover, the use of our simplified model makes the planner more robust and yields better trajectories compared to kinematic models commonly used in trajectory planning.
I Introduction
In order to improve safety and energy efficiency and not to surprise other road users, autonomous vehicles are widely expected to drive smoothly; moreover, traffic efficiency concerns will likely lead these vehicles to follow relatively closely the road speed limit. However, such speed limits may not always exist (e.g., on some dirt roads) or they may not be followed safely due to the road topology (e.g., mountain roads with sharp curves) or weather conditions (e.g., wet or icy road).
Many trajectory planning algorithms rely on an a-priori knowledge of a target velocity that can either be an explicit parameter of the problem [1, 2] or be implicitly given by requiring a set of target positions at fixed times [3, 4]. Some authors have proposed using the road curvature [5] to provide an upper bound on the velocity, which corresponds to a maximum lateral acceleration; this method can be extended to obstacle avoidance by first planning a collision-free path, then adjusting the velocity consequently [6]. However, as path selection and velocity planning are intrinsically linked, this approach can lead to severe inefficiencies.
For this reason, model predictive control (MPC) techniques are often used in the literature, since they allow to simultaneously compute a feasible trajectory and a sequence of control inputs to track it. However, high-speed trajectory planning requires a complex modeling of the vehicle to account for its dynamic limitations, which mainly come from the complex and highly non-linear [7] tire-road interactions. Adding to this difficulty, wheel dynamics are generally much faster (around [8]) than changes of the vehicle’s macroscopic state (typically ). Therefore, the existing literature is generally divided between medium-term (a few seconds) trajectory planning including obstacle avoidance for low-speed applications, mainly relying on simple kinematic models (see, e.g. [9, 10]), and short-term (sub-second) trajectory tracking for high-speed or low-adherence applications using wheel dynamics modeling (see, e.g., [11, 12, 13, 14]). In the second case, obstacle avoidance is generally not considered (with the notable exception of [15]), and the existence of a feasible collision-free trajectory is not guaranteed in the case of an unexpected obstacle. Note that sampling-based approaches [16] have also been proposed in the literature; however, they do not provide optimality guarantees when a finite number of samples is selected, and may have trouble finding a feasible solution in complex scenarios.
In this article, we propose a middle-ground approach to allow trajectory planning over a few seconds in high dynamic situations. This approach relies on the use a simple vehicle model (initially proposed in [17]) derived from a realistic dynamic modeling of the vehicle body and wheels, which accounts for tire slip effects using carefully estimated bounds on the dynamics. Using this model, we design a non-linear trajectory planning framework, which is able to follow a predefined path (e.g., the road centerline) at high speed while avoiding obstacles. Comparison with a more classical kinematic bicycle model shows that our proposed planner provides better trajectories and is more robust. Moreover, our simulations showed that computation time remains below on a standard computer and could be further reduced using auto-generation [4], thus allowing real-time use. To the best of the authors’ knowledge, no comparable framework has been published for medium- or long-term planning in high dynamic situations.
The rest of this article is structured as follows: in Section II, we present a 9 degrees of freedom dynamic model of the vehicle’s body, that we use throughout the rest of this article. In Section IV, we briefly describe our simplified dynamic model and to formulate a trajectory planner based on Model Predictive Control, which computes an aggressive yet feasible trajectory. This planner is validated and its performance is compared to a classical kinematic bicycle model in Section V using a realistic physics simulation suite; finally, Section VI concludes the study.
II Vehicle model
In this article, we consider a 9 degrees of freedom modeling of the vehicle body, which provides a satisfying balance between accuracy and computational cost. Alongside with the usual 2D state (with the yaw rotation) of the vehicle, the model takes into account roll and pitch movements, wheel dynamics and coupling of longitudinal and lateral tire slips. Being a chassis model, it does not take into account the dynamics of the car engine or brakes. The control inputs of the vehicle are the torque applied to each wheel and the steering angle of the front wheels, . We use uppercase letters (e.g., , ) to denote coordinates in the ground (global) frame, and lowercase letters for coordinates in the vehicle (local) frame; the coordinate in the local frame corresponds to the longitudinal component. The notations are given in Table I and illustrated in Figure 1.
We make the assumptions that the body of the vehicle rotates around its center of mass, and that the aerodynamic forces do not create a moment on the vehicle. Moreover, we assume that the road remains horizontal, and any slope or banking angle is neglected; this assumption could be relaxed using a slightly more complex vehicle model. Under these hypotheses, the dynamics of the vehicle’s center of mass are written as:
[TABLE]
where and are respectively the longitudinal and lateral tire forces generated on wheel , expressed in the local vehicle frame . The yaw, roll and pitch motions of the car body are computed as:
[TABLE]
where , with the displacement of suspension for the given roll and pitch angles of the car body. The variation of models the impact of load transfer between tires. Finally, the dynamics of each wheel can be written as
[TABLE]
In general, the longitudinal and lateral forces and depend on the longitudinal slip ratio , the side-slip angle , the reactive normal force and the road friction coefficient . The slip ratio of wheel can be computed as
[TABLE]
The lateral slip-angle of tire is the angle between the wheel’s orientation and its velocity, and can be expressed as
[TABLE]
where and denote the front and rear wheels respectively.
In this article, we use Pacejka’s combined slip tire model (equations (4.E1) to (4.E67) in [7]), which takes into account the interaction between longitudinal and lateral slips, thus encompassing the notion of friction circle [18]. For clarity purposes, we do not reproduce the complete set of equations here.
III Constrained second-order integrator model
Theoretically, it is possible to use the 9 degrees of freedom model inside a model predictive control framework to directly compute an optimal trajectory and the corresponding controls. However, classical optimization tools often struggle to solve problems involving highly nonlinear constraints or cost functions, as it is the case in the model presented in Section II – notably due to disjunction (4) which makes non-differentiable. Additionally, wheel dynamics generally occur over very small characteristic times – typically a few milliseconds – which requires choosing a correspondingly small discretization time step, making planning over long horizons impractical at best. For this reason, simplified models are very often preferred. Kinematic bicycle (or single-track) models [19, 9, 10], or even simpler second-order integrator models [2] are therefore common in the trajectory planning literature.
One of the main issues of these simplified models is that they are generally considered to be imprecise when nearing the handling limits of the vehicle. To counter this problem, previous work [17] presented a constrained second-order dynamic model derived from simulation data using the 9 degrees of freedom model of Section II. For lack of space, we only briefly described these previous results here.
Using a random sampling method, we first compute (off-line) an envelope for the set of feasible longitudinal (), lateral () and angular () accelerations, as shown in Figure 2. More specifically, these sets are computed for a given longitudinal velocity and a lateral velocity . Therefore, only part of this region is actually reachable from an initial vehicle state (corresponding to a determined lateral velocity). In this article, we assume that the lateral dynamics of the vehicle is sufficiently fast to neglect this effect. Simulation results (see Section V) show this assumption seems reasonable.
Using these results, we propose a constrained double integrator model for the vehicle dynamics. This model considers a state vector and a control , with the same notations and reference frames as presented in Section II. The dynamic equation of the system is with
[TABLE]
To allow the use of this model in planning, we approximate the sets shown in Figure 2 as a set of convex linear and nonlinear constraints in the plane as shown in Figure 3. These constraints are expressed as:
[TABLE]
where is a constant matrix, a constant vector and , depend on . For our model vehicle, the experimental data of Figure 2 yield , , and . Figure 4 shows the variation of and with the initial longitudinal velocity; a polynomial fit yields and (with expressed in ). In the plane, we suppose a linear relation between and in the form: , with . Although seemingly restrictive, this approximation provides better results than using a parallelogram acceptable region, and in practice corresponds to minimizing the vehicle slip angle.
IV MPC formulation for trajectory planning
We now use the second-order integrator model developed in the previous section to design a trajectory planner based on model predictive control. In this section, we assume that the vehicle tries to follow a known reference path, for instance the centerline of a given lane. The reference path is supposed to be given as a set of positions .
In this article, we assume that the vehicle has no information on a safe choice of longitudinal speed. Such situations can arise in various scenarios, such as poor adherence conditions where the speed limit cannot be safely followed, or in the absence of speed limits, for instance on dirt roads or for racing. Moreover, we assume that the vehicle also needs to avoid obstacles on the road; for now, we only consider fixed obstacles with known positions and shapes. Additionally, we do not consider varying road adherence, and we suppose that the tire-road friction coefficient is constant and equal for all four wheels. Future work will study real-time estimation of this friction coefficient to adapted the planner accordingly.
The planning and control scheme works in several steps, as presented in Algorithm 1. We first approximate and over the next planning horizon as fifth order polynomials of the curvilinear position, starting at the point of closest to the vehicle’s current position. Using these polynomials, we compute the maximum (in absolute value) of the path curvature over the planning horizon, noted , to determine an upper bound for the speed of the vehicle in order to limit the lateral acceleration to (as proposed, e.g., in [5]). Only the relevant obstacles, i.e. those for which a risk of collision exists during the next planning horizon , are effectively considered for collision avoidance; we note the set of these obstacles. Generalizing the ideas of [20], we determine a bounding parabola for each obstacle as shown in Figure 5, such that the collision avoidance constraints can be written as , with a second-order multinomial function. Note that the use of unbounded parabolas is preferred to bounded shapes such as ellipses, since they do not create local minima.
At a time corresponding to a vehicle state (with an initial longitudinal speed ), we formulate the motion planning problem using model predictive control with time step duration and horizon as follows:
[TABLE]
Note that, as it is often the case in the planning literature (see, e.g., [21]), collision avoidance (eq. (11h)) is actually implemented as soft constraints to avoid infeasibility caused by numerical errors. Additionally, note that our formulation can be slightly modified in order to take moving obstacles into account, by using a different parabola for each obstacle and at each time step.
In this article, we only focus on minimizing the deviation from the reference trajectory. In most of the existing MPC literature where a reference speed is supposed to be known in advance, the cost function is expressed as:
[TABLE]
In these formulations, and implicitly encode the speed at which the reference path should be followed. Since we do not assume that a reference speed is known in advance, this method cannot be applied directly. A possible way to handle this difficulty is to express as a function of (see, e.g, [22]). However, this method cannot be applied to all shapes of reference paths, and is notably not suited to sharp turns even when using local instead of global coordinates. For this reason, we introduce an auxiliary state to denote the curvilinear position of the vehicle along , so that and . In this article, we use a simple first-order integrator dynamic for with . Noting the extended state of the vehicle, we instead use the objective function:
[TABLE]
where , , and are positive weighting terms, and we add the following constraints to problem (11):
[TABLE]
V Simulation results
We used the realistic physics simulator PreScan [23] to validate the proposed MPC trajectory planner. The simulator uses the 9 degrees of freedom model presented in Section II, with the same parameters that were used to obtain the sets of feasible accelerations in Section III. Robustness of the planner to variations of the vehicle parameters is a subject for further study.
The MPC problem (11)-(14) is solved using the ACADO Toolkit [24]; due to the inner workings of the simulator, the simulation is paused during resolution. The output of the solver is the set of future target longitudinal and lateral accelerations, as well as target future positions and longitudinal velocities for the vehicle in the horizon . These outputs are fed into two low-level controllers, one being tasked with velocity tracking and the other with steering.
Low-level tracking of the planned trajectory is achieved using PID controllers; the lateral control also uses a seconds look-ahead [25]. At time , the predicted position of the vehicle at is computed as and , with . Instead of tracking the target position at time , the lateral control uses the error between predicted and desired positions at time . This method was found to provide better performance and stability than a simple PID in our simulations, with a look-ahead duration of 0.2\text{,}\mathrm{s}$$. The lateral control takes into account a limited angular velocity for the steering wheel of , which is in the average of recorded steering velocities for human drivers in obstacle avoidance scenarios [26]. However, we do not consider the dynamics of the engine or brakes, which are supposed to respond instantaneously.
The reference path used in our simulations is presented in Figure 6; the path consists of a straight line, a half circle with radius , a straight line, a Bezier arc corresponding to a 135 degrees turn, a straight line, a half circle with radius and a final -135 degrees turn Bezier arc.
In all simulations, the weights are chosen as , and . The planning horizon is chosen as 3\text{,}\mathrm{s} and the time step duration of the MPC is $h=$200\text{\,}\mathrm{ms}; replanning is performed every . To achieve real-time computation speeds, the solver is limited to five SQP iterations, which in our experience is sufficient to achieve a good convergence. Auto-generation techniques can also be used to further reduce computation time [4].
For comparison purposes, we also implemented the same MPC planner with a classical kinematic bicycle model such as presented in [19]; the model is written as follows:
[TABLE]
with the longitudinal velocity and the side slip angle. The control inputs are the longitudinal acceleration , and the steering angle of the front wheel .
All other parts of the planning and control algorithm are otherwise equal, including the low-level controller. The maximum and minimum acceleration in the bicycle model are chosen equal to and (see Figure 3 for the notations) respectively. Note that the solver is slightly faster using this formulation; therefore, the maximum number of SQP iterations is set to 6 for the kinematic model to yield comparable computation times, which increases solution quality.
V-A Planning without obstacles
We first consider trajectory planning without obstacles; Figure 7 presents the actual speed of the vehicle during the simulation as a function of its position along the path for the two MPC planners, as well as the speed bound (with the path curvature), corresponding to a centripetal acceleration of used, e.g., in [5]. First, we notice that both planners have similar performance in the straight portions of the road; however, the planner based on our proposed second-order integrator model systematically achieves higher speeds in curves. Second, no solver reaches the upper bound , thus confirming that including a speed selection phase during planning (as opposed to tracking a predefined velocity solely computed from path curvature) is relevant to allow proper tracking.
The superior performance of the planner based on the second-order integrator model is likely due to the simpler relation between the optimization variables (the input controls) and the objective value (the deviation from the target state) than in the bicycle model, which allows a much faster convergence towards the solution. Indeed, when allowing the solver to run until convergence with the kinematic bicycle model, the resulting velocity becomes comparable to that obtained with the real-time second-order model (but computation time is above ).
Figure 8 shows the lateral error when tracking the reference path, for both MPC planners. Table II presents synthetic data about the lateral error of the complete planning and control architecture in both cases, showing satisfying overall performance for high-speed applications. Note that better precision can be achieved (at the cost of speed) by selecting different values for the weighting coefficients. Moreover, a more precise low-level controller can probably achieve better performance.
V-B Planning with obstacle avoidance
In this section, we compare the behavior of both planners in the presence of obstacles, modeled as parabolas as explained in Figure 5. Figure 6 shows a detail of the actual path followed by the vehicle using the proposed planner while avoiding obstacles. The attached video file111Also available at https://youtu.be/BRpmdIxTz-0 shows the corresponding simulation.
Figure 9 presents the lateral deviation from the reference trajectory while avoiding obstacles using both planners. Generally speaking, the proposed planner allows a smaller deviation from the reference and a higher average speed of compared to using the kinematic bicycle planner (for lack of space, the velocity curves are not shown). More importantly, the kinematic planner is sometimes unable to output a trajectory in less than , as shown in Figure 10. This situation happens when approaching obstacles in high-curvature portions of the road; as before, the better behavior of the proposed planner is likely due to the simpler search space since the dynamic model presents much less non-linearity. A more in-depth analysis could provide useful insights on desirable model properties to allow fast and robust convergence.
VI Conclusion
In this article, we considered the trajectory planning and control of a vehicle at high velocity near the limits of handling. Instead of using a highly complex model during online resolution, as it is often the case in the literature, we used a simpler vehicle model obtained from precise dynamic simulations. This model was implemented into a novel MPC-based trajectory planner; contrary to most existing algorithms, our formulation does not need a predefined target speed. Instead, the MPC adjusts the vehicle’s speed in real time to track a predefined path (such as the centerline of a road) as fast as possible while maintaining a low tracking error. Using the high fidelity physics simulator PreScan, we demonstrated that the combination of this planner with a simple, PID-based low-level controller is capable of driving along a demanding path at high speed with a low lateral error. Moreover, comparison with a simple and widely used bicycle model shows that the use of our simpler model allows the solver to converge faster towards a better quality solution under real-time constraints.
Although this work remains mainly theoretical, it opens several perspectives for future research. First, the good performance of our simple dynamic model even at high speeds allows envisioning longer planning horizons without sacrificing computation speed. Future work should also study the consistency of using fully linear models, that can be coupled with efficient mixed-integer optimization techniques to allow optimal decision-making, for instance for overtaking or lane-change decisions [2]. Second, we believe that the ability of the proposed MPC formulation to automatically adapt the vehicle’s velocity can find practical applications, for instance when driving in low-adherence situations. Therefore, the behavior of the planner with a variable friction coefficient should be studied further. A more precise low-level controller, taking into account the very particular response curve of the tires to precisely track a target force, which would be more consistent with the second order integrator model, can also prove interesting. Finally, implementation of the planner and controller on an actual (scale model) vehicle is a necessary step to validate the suitability of the proposed planner for real-world use.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] R. Benenson, S. Petti, T. Fraichard, and M. Parent, “Towards urban driverless vehicles,” International Journal of Vehicle Autonomous Systems , vol. 6, no. 1/2, p. 4, 2008.
- 2[2] X. Qian, F. Altché, P. Bender, C. Stiller, and A. de La Fortelle, “Optimal trajectory planning for autonomous driving integrating logical constraints: An MIQP perspective,” in 2016 IEEE 19th International Conference on Intelligent Transportation Systems (ITSC) . IEEE, nov 2016, pp. 205–210.
- 3[3] P. Falcone, F. Borrelli, H. E. Tseng, J. Asgari, and D. Hrovat, “A hierarchical Model Predictive Control framework for autonomous ground vehicles,” 2008 American Control Conference , pp. 3719–3724, 2008.
- 4[4] J. Frasch, A. Gray, M. Zanon, H. Ferreau, S. Sager, F. Borrelli, and M. Diehl, “An auto-generated nonlinear MPC algorithm for real-time obstacle avoidance of ground vehicles,” European Control Conference (ECC), 2013 , pp. 4136–4141, 2013.
- 5[5] Y. Koh, K. Yi, H. Her, and K. Kim, “A speed control race driver model with on-line driving trajectory planning,” in The Dynamics of Vehicles on Roads and Tracks: Proceedings of the 24th Symposium of the International Association for Vehicle System Dynamics (IAVSD 2015), Graz, Austria, 17-21 August 2015 . CRC Press, 2016, p. 67.
- 6[6] D. Kim, J. Kang, and K. Yi, “Control strategy for high-speed autonomous driving in structured road,” in 2011 14th International IEEE Conference on Intelligent Transportation Systems (ITSC) . IEEE, oct 2011, pp. 186–191.
- 7[7] H. Pacejka, Tire and vehicle dynamics . Elsevier, 2005.
- 8[8] C. V. Altrock, “Fuzzy logic technologies in automotive engineering,” in WESCON/94. Idea/Microelectronics. Conference Record , Sep 1994, pp. 110–117.
