원시데이터 수집 시스템
선정목록으로

Adaptive nonlinear model predictive control: maximizing tire force and obstacle avoidance in autonomous vehicles

간접 관련 산업용 섬유 · (9) 타이어코드 (3) 자동차 인테리어 소재

기본 정보

저자
  1. James Dallas — Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022|||Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022,
  2. Michael Thompson — Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022|||Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022,
  3. Jonathan Y. M. Goh — Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022|||Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022,
  4. Avinash Balachandran — Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022|||Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022,
DOI
10.55417/fr.2023006
저널
Field Robotics
발행년도
2023
발행기관
Field Robotics Publication Society
피인용수
11
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.55417/fr.2023006
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4319986638

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
(3) 자동차 인테리어 소재
R&D 측면
분석·모델링
확신도
0.80
근거 용어
tire force usage, tire-road interaction, friction estimation, Nonlinear Model Predictive Control, tire model
판단 근거
논문은 자율주행 차량의 한계 주행 시 타이어 마찰력(tire force)을 극대화하기 위한 제어 알고리즘과 타이어-노면 마찰 계수 추정 모델을 다루고 있습니다. 이는 타이어코드(9) 및 자동차 인테리어/모빌리티 시스템(3)의 성능 최적화 및 차량 동역학 분석에 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
타이어와 노면 사이의 마찰 특성 및 동역학 모델링 데이터를 통해 타이어코드 제품의 성능 설계 및 차량 제어 시스템과의 연계 최적화 연구에 활용 가능함.
평가 입력
본문 61,756자 중 30,032자 발췌

초록

The ability to reliably maximize tire force usage would improve the safety of\nautonomous vehicles, especially in challenging edge cases. However, vehicle\ncontrol near the limits of handling has many challenges, including robustly\ncontending with tire force saturation, balancing model fidelity and\ncomputational efficiency, and coordinating inputs with the lower level chassis\ncontrol system. This work studies Nonlinear Model Predictive Control for limit\nhandling, specifically adapting to changing tire-road conditions and maximally\nallocating tire force utilization. We present a novel hierarchical framework\nthat combines a single-track model with longitudinal weight transfer dynamics\nin the predictive control layer, with lateral brake distribution occurring at\nthe chassis control layer. This vehicle model is simultaneously used in an\nUnscented Kalman Filter for online friction estimation. Comparative experiments\non a full-scale vehicle operating on a race track at up to 95% of maximum tire\nforce usage demonstrate the overall practical effectiveness of this approach.\n

본문 61,756자

본문 펼치기
## A hierarchical adaptive nonlinear model predictive control approach for maximizing tire force usage in autonomous vehicles _∗_ James Dallas <sup>_†_</sup> , Michael Thompson <sup>_†_</sup> , Jonathan Y.M. Goh <sup>_∗_</sup> , Avinash Balachandran ### Abstract The ability to reliably maximize tire force usage would improve the safety of autonomous vehicles, especially in challenging edge cases. However, vehicle control near the limits of handling has many challenges, including robustly contending with tire force saturation, balancing model fidelity and computational efficiency, and coordinating inputs with the lower level chassis control system. This work studies Nonlinear Model Predictive Control for limit handling, specifically adapting to changing tire-road conditions and maximally allocating tire force utilization. We present a novel hierarchical framework that combines a single-track model with longitudinal weight transfer dynamics in the predictive control layer, with lateral brake distribution occurring at the chassis control layer. This vehicle model is simultaneously used in an Unscented Kalman Filter for online friction estimation. Comparative experiments on a full-scale vehicle operating on a race track at up to 95% of maximum tire force usage demonstrate the overall practical effectiveness of this approach. ### 1 Introduction The ability to fully use the force generation capabilities of a vehicle can greatly improve the safety of autonomous vehicles. For example, in [Wurts et al., 2020b, Dallas et al., 2020b, Wurts et al., 2020a], a collision imminent steering algorithm was developed to perform an evasive lane change when collision could not be avoided by braking alone. However, doing so required the vehicle to operate near tire force saturation, where the closed-loop behavior of the vehicle is strongly influenced by the level of model fidelity used [Liu et al., 2016]. The objective of minimizing laptime in racing scenarios provides an opportunity to further explore the role of model fidelity in safely and reliably controlling autonomous vehicles at the limits. For an autonomous controller to extract full performance out of a vehicle, the vehicle model must capture complex vehicle dynamics, and the controller must have precise knowledge of the current environment. This work addresses both of these needs. Model Predictive Control (MPC) has drawn interest in limit handling applications as the vehicle dynamics, constraints, and costs can be intuitively encoded in a receding horizon manner [Brown et al., 2017, _∗_ J. Dallas, M. Thompson, J. Goh, and A. Balachandran are with the Extreme Vehicle Dynamics Control group, Toyota Research Institute, Los Altos, CA, 94022. _∗_ Corresponding author: james.dallas@tri.global _†_ Authors contributed equally Schwarting et al., 2018]. In doing so, MPC has the capability to replan trajectories online to balance objectives and constraints to account for modeling error and changing environment conditions. While the state-of-the-art has explored MPC for high level planning and control, MPC often ignores important aspects of the underlying chassis controller such as allocating brake balance. This raises an important question: could performance and safety be improved by subsuming some of the chassis control functionality into the higher level MPC model? Bringing elements of chassis control functionality into the high-level MPC accentuates an important tradeoff - the vehicle model must sufficiently capture the complex dynamics that occur at the handling limits while balancing computational complexity for real-time operation. Various MPC formulations have been developed in an effort to balance model complexity and efficiency. Approaches have varied in model fidelity from linear MPC which can reduce computational effort at the expense of modeling error [Katriniok et al., 2013, Turri et al., 2013], to Nonlinear MPC (NMPC) accounting for road topology, nonlinear dynamics, and force constraints in racing applications [Laurense, 2019]. Furthermore, various approaches addressing computational effort of NMPC have focused on extending horizons through cascaded approaches [Laurense, 2019, Laurense et al., 2017, Laurense and Gerdes, 2018], pseudospectral methods [Febbo, 2019], and parallelization [Wurts et al., 2020b]. While these approaches address the balance of model fidelity and computational complexity, efficiently bringing low level chassis control into the higher level optimizer - and demonstrating its practical utility - remains an open question. Even with a high fidelity model, knowledge of the evolving tire-road interaction is needed to extract the full potential of an autonomous controller. For example, due to the sensitivity of tire forces to friction in limit handling scenarios, even just a deviation of 2% can lead to failure [Laurense et al., 2017], demonstrating the importance of accurately modeling the tire-road interaction. Various approaches to address tire parameter adaptation have been proposed, including adaptive linear and nonlinear tracking controllers [Chen et al., 2014, Borrelli et al., 2005, Falcone et al., 2007], and adaptive coupled trajectory planning and tracking formulations [Dallas et al., 2021, Dallas et al., 2020b, Wurts et al., 2020a]. The latter of these examples was demonstrated in simulation and decreased the sensitivity to changing tire parameters by allowing for online planning that can account for updated parameters that are unknown _a_ _priori_, preventing infeasibility of offline plans. However, extensive experimental validation of a UKF based friction estimator, as well as including the impact of topology and force coupling in a high-fidelity estimation model, has yet to be addressed [Dallas et al., 2020a]. This work builds upon the state-of-the-art with a hierarchical adaptive NMPC approach that subsumes longitudinal brake balance into the predictive control layer, but delegates lateral brake balance to the chassis layer. This permits using the single-track assumption in the optimization problem, enabling reduced complexity and longer horizons for stability, whilst still maximizing tire force usage on all four wheels during limit braking scenarios. To extract the full potential of this approach, it is combined with a novel application of a UKF based friction estimation algorithm which extends that of [Dallas et al., 2020a]. Specifically, first-order longitudinal load transfer dynamics and steady-state lateral weight transfer are modeled to account for the evolving force potential at each tire. This enables optimal allocation of brake torque at each axle. A low-level routine apportions lateral brake distribution based on feedforward lateral acceleration from the reference trajectory, and in turn, the NMPC optimization problem accounts for the induced yaw effect from braking. Next, an Unscented Kalman filter (UKF) is utilized to estimate tire-road friction in real time. Lastly, the NMPC prediction model is updated with the estimated coefficient of friction to adapt to uncertainties in real time. Experimental validation on a race track at an imposed limit of 95% of the available friction, with and without online UKF estimation, shows the efficacy of this approach. Furthermore, comparative experiments between dynamic brake balance and static distributions showcase the importance of including this capability in the predictive control layer. The vehicle model is presented in Section II. The NMPC formulation is presented in Section III, and the UKF friction estimator is discussed in Section IV. Experimental setup is given in Section V and insights drawn from the NMPC formulation are discussed in Section VI. Finally, Sec. VII draws conclusions and discusses future work. ### 2 Vehicle Model 2.1 Bicycle Model The vehicle model used for the NMPC controller and for generating reference trajectories is given by the single-track dynamic bicycle model in a curvilinear coordinate system [Goh et al., 2019, Goh, 2019], illustrated in Fig. 1. There are a total of 11 vehicle states in this model, including a state representing the transient load shift occurring from the first order longitudinal weight transfer model described in Sec. 2.4. The states are described in Eq. 1.   _Roadwheel_ _angle_ _Engine_ _torque_ _Front_ _brake_ _torque_ _Rear_ _brake_ _torque_ _Yaw_ _rate_ _Velocity_ _Sideslip_ _Rear_ _wheelspeed_ _r_ _V_ _β_ _ωr_ _e_ ∆ _φ_ _dFz_    _Lateral_ _error_ _Course_ _error_ _Longitudinal_ _weight_ _transfer_ _state_ (1) _x_ =  = _δ_ _τ_ _τbrake,f_ _τbrake,r_   To easily encode actuator slew rate constraints, the 4 inputs to the model are the rate of change of roadwheel angle (steering), engine torque, and the front and rear brake torques:  _Engine_ _torque_ _rate_ _Front_ _brake_ _torque_ _rate_ _Rear_ _brake_ _torque_ _rate_   _Roadwheel_ _angle_ _rate_    =  (2) _u_ =  _δ_ ˙ _τ_ ˙ _τ_ ˙ _brake,f_ _τ_ ˙ _brake,r_ The state derivatives describing this vehicle model are given as: ��� ��� ������������ ��� �� �� Figure 1: Single track bicycle model.   _<u>aFyf cos</u>_ <u>(</u> _<u>δ</u>_ <u>)+</u> _<u>aFxf sin</u>_ <u>(</u> _<u>δ</u>_ <u>)</u> _<u>−bFyr</u>_ <u>+</u> _<u>τbb</u>_ _Iz_ <u>(</u> _<u>−Fyf sin</u>_ <u>(</u> _<u>δ−β</u>_ <u>)+</u> _<u>Fxf cos</u>_ <u>(</u> _<u>δ−β</u>_ <u>)+(</u> _<u>Fyr</u>_ <u>+</u> _<u>Fgy</u>_ <u>)</u> _<u>sin</u>_ <u>(</u> _<u>β</u>_ <u>)+(</u> _<u>Fxr</u>_ <u>+</u> _<u>Fgx</u>_ <u>)</u> _<u>cos</u>_ <u>(</u> _<u>β</u>_ <u>))</u> _m_ <u>(</u> _<u>Fyf cos</u>_ <u>(</u> _<u>δ−β</u>_ <u>)+</u> _<u>Fxf sin</u>_ <u>(</u> _<u>δ−β</u>_ <u>)+(</u> _<u>FmVyr</u>_ <u>+</u> _<u>Fgy</u>_ <u>)</u> _<u>cos</u>_ <u>(</u> _<u>β</u>_ <u>)</u> _<u>−</u>_ <u>(</u> _<u>Fxr−Fgx</u>_ <u>)</u> _<u>sin</u>_ <u>(</u> _<u>β</u>_ <u>))</u> _−_ _r_ _<u>rw</u>_ <u>(</u> _<u>τw−Fxrrw</u>_ <u>)</u> _δ_ ˙ _τ_ ˙ _τ_ ˙ _brake,f_ _τ_ ˙ _brake,r_ (3) _x_ ˙ =   1 _−κref e_ _−k_ _dFz_ _−_ _a_ <sup>_<u>h</u>_</sup> + <sup>_<u>cg</u>_</sup> _b_ <sup>_F_</sup> _Iw_ _V sin_ (∆ _φ_ ) _φ_ ˙ _−_ _κref_ _<u>V cos</u>_ 1 _−κ_ _<u>V cos</u>_ <u>(∆</u> _<u>φ</u>_ <u>)</u> - _dFz_ _−_ _a_ <sup>_<u>h</u>_</sup> + <sup>_<u>cg</u>_</sup> _a_ <sup>_<u>h</u>_</sup> + <sup>_<u>cg</u>_</sup> _b_ <sup>_Fxnet_</sup> Where _a_ and _b_ are the distance from the center of gravity to the front and rear axles, respectively, _hcg_ is the center of gravity height, _rw_ is the tire radius, _m_ is the vehicle mass, and _Iz_ and _Iw_ are the yaw moments of inertia for the vehicle and lumped rear axle, respectively. The longitudinal and lateral tire forces are given as _Fxf,r_ and _Fyf,r_, for the front and rear tires respectively, _τw_ is the torque at the wheel, _τbb_ is the moment created from the lateral brake balance discussed in Sec. 2.5, _Fgx_ and _Fgy_ are the gravitational forces in the longitudinal and lateral directions due to road topology described in Sec. 2.3, and the longitudinal weight transfer model is further described in Sec. 2.4. _κref_ is the reference curvature and _φ_ ˙ = _β_ ˙ + _r_ ˙ (4) is the rate of rotation of the vehicle’s velocity vector. 2.2 Tire Model The forces _Fxf,r_ and _Fyf,r_ are modeled by an isotropic coupled slip Fiala brush tire model, similar to that described in [Svendenius, 2007]. This is given as - _<u>−tan</u>_ <u>(</u> _<u>α</u>_ <u>)</u> _σκ_ _σ_ (5) - _Fy_ _Fx_ = _Ftotal_ where _κ_ is the slip ratio, _α_ is the slip angle, and _σ_ is the combined slip given as _σ_ = ~~�~~ _tan_ ( _α_ ) <sup>2</sup> + _κ_ <sup>2</sup> (6) and _Ftotal_ is given as _<u>f</u>_ <sup>3</sup> <sup>_σ_</sup> <sup>3</sup> _Cf_ <sup>2</sup> _Cf_ <sup>2</sup> <sup>_σ_</sup> <sup>2</sup> _Cf_ <sup>3</sup> 3 _µFz_ <sup>+</sup> 27( _µF_ _<u>f</u>_ <sup>2</sup> <sup>_σ_</sup> <sup>2</sup> _Ftotal_ = _Cf_ _σ −_ _Cf_ _σ −_ 3 _µFz_ <sup>+</sup> 27( _µFz_ ) <sup>2</sup> _|σ| < σsl_ _µFz_ _|σ| > σsl_ Where _Cf_ is the cornering stiffness, _µ_ is the coefficient of friction, _Fz_ is the normal load, and _σsl_ is the maximum combined slip where saturation occurs: _σsl_ = _arctan_ (3 _µFz/Cf_ ) (7) 2.3 Road Topology The effects of road topology are incorporated as in [Laurense, 2019, Subosits, 2020]. The effect of topology on the normal load at the front and rear axle is given as: _<u>b</u>_ _Fzf,topology_ = _a_ + _b_ <sup>_m_</sup> <sup>(</sup> <sup>_g_</sup> <sup>cos(</sup> <sup>_θ_</sup> <sup>) cos(</sup> <sup>_ψ_</sup> <sup>) +</sup> <sup>_Av_</sup> <sup>)</sup> (8) _<u>a</u>_ _Fzr,topology_ = _a_ + _b_ <sup>_m_</sup> <sup>(</sup> <sup>_g_</sup> <sup>cos(</sup> <sup>_θ_</sup> <sup>) cos(</sup> <sup>_ψ_</sup> <sup>) +</sup> <sup>_Av_</sup> <sup>)</sup> (9) where _θ_ and _ψ_ are the road grade and bank, respectively. The centripetal acceleration due to vertical curvature, _Av_, is given as: ( ˙ _s_ ) <sup>2</sup> (10) _Av_ = - _−_ <sup>_<u>dθ</u>_</sup> _ds_ <sup>_<u>dθ</u>_</sup> _ds_ <sup>_cos_</sup> <sup>(</sup> <sup>_ψ_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_κsin_</sup> <sup>(</sup> <sup>_ψ_</sup> <sup>)</sup> <sup>_cos_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>)</sup> Road grade and bank also contribute components of gravitational acceleration along the vehicle’s longitudinal and lateral direction. This is given respectively as: _Fgy_ = _−mg_ cos( _θ_ ) _sin_ ( _ψ_ ) (11) _Fgx_ = _mg_ sin( _θ_ ) (12) 2.4 Load Transfer As seen, in Sec. 2.2, the tire force - and importantly, its maximum - depends on the normal force at each tire. This makes accurate, but computationally efficient, modelling of load transfer dynamics crucial to on-road performance. Inspired by experimental data, we use a simple but accurate first order model for the longitudinal load transfer dynamics. This is given as: _dF_ ˙ _z_ = _−k_ - _dFz_ _−_ <sup>_<u>hcg</u>_</sup> _a_ + _b_ <sup>_Fxnet_</sup> (13) Where _k_ is a constant, _dFz_ is the load transferred from the front to rear axle due to the acceleration of the car, and the net longitudinal force, _Fxnet_, is given as _Fxnet_ = _Fxr_ + _Fxf_ _cos_ ( _δ_ ) _−_ _Fyf_ _sin_ ( _δ_ ) + _Fgx_ (14) Hence, the load on the front and rear axles are given respectively as: _Fzf_ = _Fzf,topology −_ _dFz_ (15) 0.02 0.00 Measured Data Simulated Dynamics 2 4 6 8 10 12 14 16 Time (s) Figure 2: Pitch response of test vehicle during acceleration (4s to 10s) and braking (11s to 14s). This data is used to calibrate the weight transfer model, specifically _k_ in Eq. (13). _Fzr_ = _Fzr,topology_ + _dFz_ (16) The weight transfer model time constant _k_ is calibrated based on data taken from the test vehicle (Sec. 5). First, the effective pitch stiffness was calculated from measurements of pitch angle during extended periods of constant acceleration and constant braking. Transient pitch behavior, measured during step changes in acceleration and braking, is then used to estimate _k_ from Eq. (13). Fig. 2 shows an example of measured pitch angle when the test vehicle transitions from accelerating to hard braking. The vehicle model, incorporating Eq. (13), is then used to simulate the pitch response given similar acceleration inputs (orange line, Fig. 2). The parameter _k_ = 3 _._ 01 is selected such that the vehicle model simulation approximates the behavior in the test data. 2.5 Lateral Brake Balance In addition to longitudinal weight transfer, lateral weight transfer can also change the normal force on each tire. This is particularly important to consider in corners and during trail braking. Previous work has shown the importance of utilizing lateral brake balance in high performance driving [Subosits, 2020]. Here, in order to balance computational complexity of the NMPC layer, we propose a novel hierarchical control approach for calculating lateral brake balance. The allocation of brake torques on the right and left side of each axle is calculated outside the NMPC in a low level controller and is based upon the static lateral load transfer, as given by the reference trajectory. For the right and left side of a single axle, this is given respectively by: _τbrake,r_ = _τbrake,axle_ _τbrake,l_ = _τbrake,axle_ - 21 <sup>+</sup> _t_ <sup>_<u>a</u>_</sup> _width_ <sup>_<u>yhcg</u>_</sup> _g_ - <u>12</u> <sup>_−_</sup> _t_ <sup>_<u>a</u>_</sup> _width_ <sup>_<u>yhcg</u>_</sup> _g_ (17) (18) Where _τbrake,axle_ is the total braking force commanded by the NMPC to either the front or rear axle, and _τbrake,r_ and _τbrake,l_ are the individual brake torques for the right and left side of the axle. Additionally, _g_ is the acceleration due to gravity, _twidth_ is the vehicle track width, and _ay_ is the lateral acceleration. Because the low level controller commands different brake torques to the right and left side of the vehicle, an additional yaw moment is created, shown below: _τbb_ = <sup>_<u>−</u>_</sup> <sup><u>(</u></sup> <sup>_<u>τbrake,fl −</u>_</sup> <sup>_<u>τbrake,fr</u>_</sup> <sup><u>)</u></sup> _rw_ cos( _δ_ )( _twidth/_ 2) _−_ <sup><u>(</u></sup> <sup>_<u>τbrake,rl −</u>_</sup> <sup>_<u>τbrake,rr</u>_</sup> <sup><u>)</u></sup> _rw_ ( _twidth/_ 2) (19) where _τbrake,fr_ and _τbrake,fl_ are the front right and left brake torques, and _τbrake,rr_ and _τbrake,rl_ are rear right and left brake torques. The term _τbb_ is accounted for in the model predictive control layer, and the importance of doing so is discussed in Sec. 6.3. 2.6 Gear Change Algorithm Optimizing gear choice inside the NMPC is considered out of scope for this paper. Gear changes are computed outside of the NMPC in a low level controller based on the reference path. The engine torque from the NMPC solution is converted to an overall drive force, and then matched considering the current gear of the vehicle. ### 3 MPC Formulation Two optimal control problems (OCPs) are used, one for generating the reference trajectory which optimizes for the entire track length, and a fixed horizon MPC used online. The reference trajectory is generated using a similar formulation as the online controller, but the focus of this paper is on the online controller. The MPC formulation is given in general form as: min _J_ _s.t._ _xk_ +1 = _f_ ( _xk, uk_ ) _∀k_ _∈_ [1 _, N_ ] _g_ ( _xk, uk_ ) = 0 _∀k_ _∈_ [1 _, N_ ] _h_ ( _xk, uk_ ) _≤_ 0 _∀k_ _∈_ [1 _, N_ ] _xmin_ _≤_ _xk_ _≤_ _xmax_ _∀k_ _∈_ [1 _, N_ ] _umin_ _≤_ _uk_ _≤_ _umax_ _∀k_ _∈_ [1 _, N_ ] _x_ 0 = _xlookahead_ (20) With _J_ being the cost, _x_ the state vector, and _u_ the input vector. _xmin_ and _xmax_ are the minimum and maximum values for the state vector, respectively. _umin_ and _umax_ are defined in the same way for the inputs. Lastly, the initial state, _x_ 0, is constrained to be equal to the state vector _xlookahead_, which is constructed using the method in Section 3.2.1. To efficiently encode the reference path and trajectory states, the dynamics are represented in spatial terms along the curvilinear coordinate system relative to the reference trajectory: _<u>dx</u>_ _<u>dxds</u>_ <sup>=</sup> <sup><u>1</u></sup> _s_ ˙ _s_ ˙ _<u>dx</u>_ (21) _dt_ _s_ ˙ = <sup>_<u>V</u>_</sup> <sup><u>cos ∆</u></sup> <sup>_<u>φ</u>_</sup> (22) 1 _−_ _κref_ _e_ The vehicle dynamics are discretized using a second-order implicit Runge Kutta method, which has been shown to balance accuracy with computational effort [Brown and Gerdes, 2019]. In order to have increased integration accuracy in the first part of the horizon but still maintain an appropriately long look ahead distance, the first 5 points of the horizon have a step length of _ds_ = 3 _m_ and the remaining horizon points have a step length of _ds_ = 7 _m_ . We use 20 points in the NMPC horizon giving a lookahead distance of 120 _m_ . 3.1 Cost For the online control formulation, the cost function is given as _J_ = _JsN_ + _N_ �( _Jei_ + _Jti_ + _Jαi_ + _Jxi_ + _i_ =0 _JFi_ + _Ju_ ¨ _i_ + _Ju_ ) _· dsi_ (23) Where _N_ is the horizon length and _dsi_ is the path distance step length. The running cost consists of several terms penalizing the state, deviation from the reference trajectory, and control effort, weighted by the step lengths at each step. 3.1.1 State Bounds Cost To prevent infeasiblity due to constraint violations at the first stage of the NMPC problem, which is propagated from measured vehicle states, we chose to implement the track bound and sideslip violation as soft constraints. The state bound cost imposes a slack constraint on track bound violation and exceeding a specified maximum vehicle sideslip. The components of this cost are only active if the maximum or minimum values are exceeded. When exceeded, this cost is given as _Jei_ = _wtb_ ( _ei −_ _emini,maxi_ ) <sup>2</sup> + _wβ_ ( _βi −_ _βmin,max_ ) <sup>2</sup> (24) Where _wtb_ is a large weight on violating track bounds, and _wβ_ is a large weight on exceeding the prescribed sideslip range. 3.1.2 Time and Tracking Cost This tracking cost penalizes the lateral error from the reference trajectory, as well as time, _t_ = ( _dsi/s_ ˙ _i_ ), accumulated over the horizon. This is given as _Jti_ = _weei_ <sup>2</sup> <sup>+</sup> <sup>_wtt_</sup> (25) Where _we_ is a weight on the lateral error, and _wt_ is a weight on time. 3.1.3 Front Tire Sideslip To aid convergence, a small regularization cost is imposed on the front tire sideslip to avoid zero gradients at tire force saturation, inspired by [Laurense, 2019]. This is given as _Jαi_ = _wααf_ <sup>2</sup> _i_ (26) With the weight _wα_ weighting the sideslip. 3.1.4 State Regularization Cost The state regularization cost imposes a small cost penalizing deviation from the reference velocity and brake torques. This is given as _Jxi_ = _wV_ ( _Vi −_ _Vrefi_ ) <sup>2</sup> + _wτbrakef_ ( _τbrakef,i −_ _τbrakef,ref,i_ ) <sup>2</sup> + _wτbraker_ ( _τbraker,i −_ _τbraker,ref,i_ ) <sup>2</sup> (27) Where _wV_ is the velocity weight, and _wτbrakef_ and _wτbraker_ are front and rear brake torque weights, respectively. _Vref_ is the reference velocity, while _τbrakef,ref_ and _τbraker,ref_ are the reference front and rear brake torques, respectively. When testing, _Vref_ is approximately scaled for consistency with the imposed force circle limit cost in Section 3.1.5. 3.1.5 Force Circle Cost This cost penalizes exceeding a designated maximum fraction of the friction circle at the lumped front and rear tires, accounting for longitudinal load transfer. This is encoded as a soft constraint, so that the vehicle can use additional force if necessary, e.g. to abide by the road bounds cost. This also prevents infeasibility due to initial conditions. When the tire force exceeds the friction circle, this is given as �2 + _JFi_ = _wF_ �� _F_ 2 _<u>xfi</u>_ <sup>+</sup> <sup>_F_</sup> <sup>2</sup> _<u>yfi</u>_ ( _µf_ _Fzfi_ ) <sup>2</sup> <sup>_−_</sup> <sup>(</sup> <sup>_µlim_</sup> <sup>)2</sup> �� _F_ 2 _<u>xfi</u>_ <sup>+</sup> <sup>_F_</sup> <sup>2</sup> _<u>yf</u>_ - _F_ 2 _<u>xri</u>_ <sup>+</sup> <sup>_F_</sup> <sup>2</sup> _<u>yri</u>_ ( _µrFzri_ ) <sup>2</sup> <sup>_−_</sup> <sup>(</sup> <sup>_µlim_</sup> <sup>)2</sup> - _F_ 2 _<u>xri</u>_ <sup>+</sup> <sup>_F_</sup> <sup>2</sup> _<u>yr</u>_ (28) �2� Where _wF_ is a weight and _µlim_ is the designated maximum fraction of the estimated friction. _Fz_ is the load on each tire accounting for longitudinal load transfer and topology, which directly impacts the force potential at each tire. 3.1.6 Input Acceleration Cost The input acceleration cost penalizes the engine torque and steering angle acceleration to promote smooth inputs: _Ju_ ¨ _i_ = _wδ_ ¨ _δ_ <sup>¨</sup> _i_ With _wδ_ ¨ and _wτ_ ¨ being the corresponding weights. 3.1.7 Input Cost 2 + _wτ_ ¨ ¨ _τi_ 2 (29) The input cost applies a small regularization to the reference brake torque rate: _Ju_ = _wτ_ ˙ ( ˙ _τbrake,r,i −_ _τ_ ˙ _brake,r,ref,i_ ) <sup>2</sup> + _wτ_ ˙ ( ˙ _τbrake,f,i −_ _τ_ ˙ _brake,f,ref,i_ ) <sup>2</sup> (30) Where _wτ_ ˙ is the weight. 3.1.8 Terminal Stability Cost The terminal stability cost encodes sideslip and error stability by encouraging first order dynamics for path error and sideslip at the terminal state. Specifically: (31) _JsN_ = _wβ_ ˙ _N dsN_ ( _β_ <sup>˙</sup> _N_ + _kβ_ ˙ _βN_ ) <sup>2</sup> + _we_ ˙ _dsN_ (˙ _eN_ + _ke_ ˙ _eN_ ) <sup>2</sup> With _wβ_ ˙ being a weight on sideslip rate, and _we_ ˙ being a weight on the lateral error rate. _kβ_ ˙ and _ke_ ˙ are constants. 3.2 Constraints 3.2.1 Initial State Constraints The initial state of the NMPC problem, _x_ 0, is constrained to be equal to the lookahead state, _xlookahead_ . To construct _xlookahead_, the current state of the vehicle is integrated forward by _tlookahead_ = 50 _ms_ to account for the expected solve time of the controller. For the NMPC states which correspond to the input states, namely _δ_, _τ_, _τbrake,f_, and _τbrake,r_, the corresponding terms of _xlookahead_ are calculated by starting with the value inside the current NMPC solution, and integrating forward by _tlookahead_ using the inputs _δ,_ <sup>˙</sup> _τ,_ ˙ _τ_ ˙ _brake,f_ _,_ _τ_ ˙ _brake,r_ also from the current NMPC solution. This is done to achieve smooth inputs from the NMPC. This procedure is also used for states where there is not a measurement available, _dFz_, or the available measurement is noisy, _ωr_ . For states where measurements are available, namely _r, V, β, e_, and ∆ _φ_, the corresponding terms of _xlookahead_ are calculated by starting with the current measurements and integrating forward by _tlookahead_ using the vehicle model in Section 2.1, and the input roll-outs from above. 3.2.2 Actuation Constraints Maximum and minimum bounds are imposed on the inputs and states to maintain consistency with the vehicle’s physical limitations, e.g. steering range, steering motor power, maximum steering slew rate, engine torque and power limits, and maximum engine/brake torque slew rates. This is given as     _δmin_ _δ_ ˙ _min_ _δ_ ¨ _min_ _ωr,min_ _δ_ _δ_ ˙ _δ_ ¨ _ωr_ _δmax_ _δ_ ˙ _max_ _δ_ ¨ _max_ _ωr,max_  _τ_ _τbrake,f_ _τbrake,r_ _τ_ ˙ _brake,f_ _τ_ ˙ _brake,r_  _τmax_ _τbrake,max_ _τbrake,max_ _τ_ ˙ _brake,max_ _τ_ ˙ _brake,max_ _τmin_ _τbrake,min_ _τbrake,min_ _τ_ ˙ _brake,min_ _τ_ ˙ _brake,min_   _≤_   _≤_   (32) 3.2.3 Dynamic Longitudinal Brake Balance With load being transferred longitudinally between the front and rear axles and laterally during acceleration and cornering, the load on each tire varies throughout operation. For example, as load is shifted forward Figure 3: High-level diagram of the adaptive MPC formulation. during braking, the front tires have more capability to generate forces due to the increased load, and concomitantly, the rear tire has less. As such, a dynamic brake balance that can allocate brake torques among each tire independently is important to exploit the full capabilities of the vehicle. To allow the NMPC to optimally allocate these forces, longitudinal brake torque on the front and rear axle are treated as separate states. Because the static weight distribution of the test vehicle is biased to the front, and load transfers forward during braking, there are very few cases in which it is advantageous to brake more in the rear than in the front. It was found empirically that constraining the front brake torque to be larger in magnitude than the rear brake torque aided convergence times, without limiting the practical performance of the controller. With the convention that brake torques are always negative, this constraint is expressed as: _τbrake,r_ _> τbrake,f_ (33) 3.3 Solver Implementation The OCPs are implemented using the CasADi auto-differentiation and code-generation toolbox[Andersson et al., 2019] and solved with the interior point method implemented with IPOPT [W¨achter and Biegler, 2006]. To improve convergence time, and to keep the solutions within a similar local minimum attraction basin, the initial guess is set to the previous converged optimal solution; or the offline reference if no previous optimal solution exists. The solver is constrained to a maximum of 50 iterations, preventing runaway computation. The command sent to the vehicle is interpolated from the most recent optimal solution based upon the current path distance, _s_ . ### 4 Unscented Kalman Filter To estimate the coefficient of friction, we build on the UKF approach in [Dallas et al., 2020a, Dallas et al., 2020b, Wurts et al., 2020a], as this has been shown to be of suitable balance between efficiency and accuracy and can better approximate nonlinear transformations than an Extended Kalman filter [Simon, 2006]. By accounting for longitudinal and lateral force coupling, and the impact of load transfer and topology, we robustly deploy this technique from simulations to real-world experiments. Briefly, the UKF predictions are performed using the bicycle model with lateral yaw perturbation, described in Eq. (3); however the prediction model only contains five states; the yaw rate, velocity, sideslip, and front and rear friction (represented with trivial dynamics). The UKF correction step is based upon measurements of the yaw rate, velocity, and sideslip. The UKF runs at 62.5 Hz and the MPC bicycle model is updated with the current friction estimate at each call. A high level diagram describing the integration is shown in Fig 3. 4.1 Tuning The UKF is automatically tuned for the process noise covariance matrix and initial friction variance. The process optimizes the following function ( _ypred,i −_ _ymeas,i_ ) <sup>2</sup> + ( _µpred,i −_ _µtrue,i_ ) <sup>2</sup> _s.t._ _Qmin_ _≤_ _Q ≤_ _Qmax_ (34) min _J_ = _N_ _i_ =0 _min_ <sup>2</sup> <sup>_≤_</sup> <sup>_σ_</sup> <sup>2</sup> <sup>_≤_</sup> <sup>_σ_</sup> <sup>2</sup> _σ_ <sup>2</sup> _max_ where _ypred_ is the normalized predictions of the state vector consisting of yaw rate, velocity, and sideslip, and _ymeas_ are the measurements. _µpred,i_ is the UKF prediction of the front and rear frictions at each index, while _µtrue,i_ is the believed truth for the friction. _Q_ is the process noise covariance matrix, and _Qmin_ and _Qmax_ represent the upper and lower bounds respectively. Bounds are also placed on the initial friction variance, _σ_ <sup>2</sup> . Inside each iteration of the optimization, two steps occur. First, the UKF is run to obtain point-wise estimates of friction for the given process noise. Second, open loop predictions, parameterized by the UKF estimates, are performed over the entire data set. The cost is then evaluated using these state predictions and friction estimates, and then the process noise and initial friction variance are updated and the next iteration begins. To prevent overfitting, the dataset is structured as two back-to-back laps of a representative test track with three different initial conditions; for _N_ = 6 laps (approximately 12 minutes) in total. This consists of two laps with a high initial guess, two with a low initial guess, and two with the nominal initial guess. The cost function is designed to determine the process noise covariance matrix that minimizes the open loop prediction error as compared to measurements. The optimization problem is solved using the L-BFGS implementation in the SciPy toolbox. [Virtanen et al., 2020]. ### 5 Experimental Vehicle Experiments are performed on a 2019 Lexus LC 500, shown in Fig. 4. The powertrain, drivetrain, and suspension are not modified. Autonomous control is achieved by communicating with the pre-existing driver assistance features and hardware, which required extensive modification. The vehicle is equipped with an Oxford Technical Systems (OxTS) RT3000 v3 RTK-GPS/IMU system with dual antennas for localization and state estimation. The MPC computation is performed by a RAVE ATC8110-F ruggedized computer running Ubuntu Linux. Low level control and communication is handled by a dSpace MicroAutoboxII Figure 4: LC 500 experimental vehicle. (DS1401). The OxTS data and all actuator commands are communicated via CAN, and communication between the Linux computer and the MicroAutoBox is done via UDP. All experiments were performed on a closed course. ### 6 Results and Discussion The NMPC formulation was tested with the experimental vehicle of Sec. 5 on the Thunderhill West 2-mile track. This section provides the results of the integrated algorithm on a racetrack. Furthermore, comparative experiments that examine the importance of online adaptation, dynamic brake balance, and yaw moment created from lateral brake proportioning are performed. 6.1 Integrated Approach on Race Track To evaluate the overall integrated approach including online friction estimation, the controller was tested on the Thunderhill West racetrack with the force friction circle limit (Sec. 3.1.5) set to 0 _._ 95 _·_ _µ_ . This 2-mile long course includes sections with significant grade and bank, and several typical race track features including chicanes and hairpin turns. The straight in the bottom of Fig. 5a is not tested autonomously due to safety concerns from a concrete wall immediately adjacent to the track in this section. Fig. 5a shows the measured total acceleration (g-forces) of the vehicle as it autonomously drives the track. In braking zones and turns, the vehicle regularly operates close to 1 _g_ of acceleration, and the engine is often at full power during corner exits. On multiple segments, the vehicle reaches speeds of 39 _m/s_ and is immediately followed by sharp turns that require a drastic deceleration. This requires the enhanced braking potential achieved through the longitudinal and lateral brake distributions. This is depicted in the GG diagram in Fig. 5b which highlights the vehicle consistently operating near its maximum capabilities, both in pure lateral cornering and also in −1000 −900 −800 −700 −600 −600 −400 −200 0 200 North (m) 0.2 0.4 0.6 0.8 1.0 Total Acceleration (g) (a) Thunderhill West 2-mile track with total acceleration overlayed. 1.00 0.75 0.50 0.25 0.00 −0.25 −0.50 −0.75 −1.00 −1.0 −0.5 0.0 0.5 1.0 ay (g) (b) GG acceleration plot. Dashed circles represent 0.6g, 0.8g, and 1.0g. Figure 5: Thunderhill track test with friction limit of 0.95 _·µ_ combined trail braking and acceleration. The high performance of this trail braking behavior is enabled by the dynamic lateral and longitudinal brake proportioning. This is displayed in the top plot of Fig. 6, where the commanded brake torque is different for each wheel to account for the lateral and longitudinal weight transfer. The engine torque commands and road wheel angle are shown in the middle and bottom of Fig. 6 respectively, and remain smooth throughout this challenging trajectory. The acceleration data in Fig. 8 and Fig. 5a, is obtained from the GNSS-IMU unit and is filtered using the Scipy [Virtanen et al., 2020] implementation of a bidirectional 4th order digital low pass Butterworth filter with a natural frequency of 9 Hertz. The second plot from the bottom in Fig. 8 shows the lateral, longitudinal, and magnitude of total acceleration. The black dash dotted line at 0.95 _·g_ represents the acceleration target corresponding to a friction limit of 0.95 _·µ_ . This figure showcases the trail braking ability of this controller. Particularly between _s_ = 3250 and _s_ = 3400, the controller starts with hard braking and large longitudinal acceleration, and smoothly releases the brakes while increasing lateral acceleration, thereby keeping the total acceleration at nearly constant magnitude through the turn. Similar behavior can be seen throughout, e.g. this is also demonstrated between _s_ = 2500 and _s_ = 2750. An inherent and positive attribute of NMPC controllers is the ability to re-plan locally optimal control inputs when operating far from the reference trajectory. With this in mind, we intentionally let the NMPC framework in this work deviate from the reference path in order to minimize time around the race track even if the test conditions differ from the reference path conditions. This characteristic is displayed in the bottom plot of Fig. 8 which shows the error from the reference path as well as the track edges. The controller regularly deviates from the reference path, adapting to changing track conditions and the current state evolution to minimize time. For example at _s_ = 2500 _m_ the vehicle pushes close to the track edge in order to widen the corner entry of turn 3, then crosses the reference path and pushes to the other side of the track at _s_ = 2725 towards the apex of the corner. Operating away from the reference path becomes a necessary feature to fully take advantage of the UKF friction estimation, which will often estimate a different friction value than the reference path conditions. As seen in Fig. 7, the friction values estimated by the UKF are slightly lower in the middle of the track from _s ≈_ 2500 to _s ≈_ 3300. The estimated front friction drops as low as _µfront_ = 0 _._ 93 compared to the reference 0 −5000 500 0 0.25 0.00 −0.25 <u>Front Left</u> <u>Front Right</u> <u>Rear Left</u> <u>Rear Right</u> 2250 2500 2750 3000 3250 3500 3750 4000 4250 s (m) Figure 6: Experiments control inputs for brake force (top) for front left wheel (blue), front right (orange), rear left (green), and rear right (red), engine torque (middle), and road wheel angle (bottom). 1.20 1.15 1.10 1.05 1.00 0.95 rear front 2250 2500 2750 3000 3250 3500 3750 4000 4250 s (m) Figure 7: UKF friction estimate for lap around Thunderhill West. 0.5 0.0 −0.5 40 20 0.05 0.00 −0.05 1 0 −1 1 0 −1 Track Edge 2250 2500 2750 3000 3250 3500 3750 4000 4250 s (m) <u>Long.</u> ~~Lat.~~ ~~<u>Total</u>~~ Figure 8: Vehicle state trace for Thunderhill West at a 0.95 _·µ_ . Reference trajectory for _r_, _V_, and _β_ is shown as a dashed black line. The acceleration plot has the friction limit of 0 _._ 95 _· µ_ as a dashed dotted line. The lateral error plot has the track edge as a solid black line. 0.2 0.0 −0.2 −0.4 −0.6 −0.8 static 1.0 <u>static 5.0</u> ~~static 3.0~~ dynamic −0.4 −0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 ay (g) Figure 9: Acceleration for turn 3 at Thunderhill West showing increased performance with weight transfer modeling and dynamic brake balance (green) as compared to static distributions of 1.0 (blue), 3.0 (yellow) and 5.0 (red). trajectory value of _µfront_ = 1 _._ 004. Various unmodeled factors can create this result including uneven heating of the track, road surface changes, or inaccurate topology information. As a result, the NMPC controller reduces velocity in this section relative to the reference, which is planned with a nominal friction value for the entire track. Fig. 8 shows the reduced velocity in this middle section, which returns nearer to the reference as the UKF friction estimate returns closer to the nominal friction value. This demonstrates the ability of this controller to fully use but not exceed the available friction, even if the test conditions differ from the reference conditions. Overall, the vehicle was able to exhibit precise control at the limits of handling at a friction limit of 0 _._ 95 _·_ _µ_ . Importantly, throughout this experiment, the mean solve time was 31.3 milliseconds with a standard deviation of 6.7 milliseconds, and a mean number of iterations of 15.7 with a standard deviation of 3.1, demonstrating the ability for real time application. In the following subsections, comparative tests highlight the importance of several key components of this formulation in achieving this performance. 6.2 Weight Transfer Modeling and Brake Balance The most direct impact of including weight transfer in the NMPC vehicle model is the ability to dynamically change the brake balance while braking. As the ideal braking force for the front and rear axle is dependent on the normal force at each axle, the longitudinal weight transfer during braking can have a large impact on the optimal braking force and brake balance. At the beginning of a flat braking zone, the weight distribution of the car is approximately equal to the static weight distribution, making _τfront/τrear_ = 1 _._ 13 the optimal brake balance for the test vehicle at this point. As the vehicle brakes, more load is transferred to the front axle thereby reducing the capability of generating force at the rear axle, shifting the optimal brake balance to bias the front axle. Demonstrating these effects, Fig. 9 and 10 shows the results of four autonomous tests where the vehicle 40 20 0 −2000 −4000 0 −2000 4 2 <u>s a ic 1.0</u> ~~s a ic 5.0~~ s a ic 3.0 <u>dynamic</u> 2575 2600 2625 2650 2675 2700 2725 2750 s (m) Figure 10: (a) velocity plot, (b) front brake torque, (c) rear brake torque, and (d) brake ratio for turn 3 at Thunderhill West showing increased performance with weight transfer modeling and dynamic brake balance (green) as compared to static distributions of 1.0 (blue), 3.0 (yellow) and 5.0 (red). starts braking and entering a turn. In one test the longitudinal weight transfer is modeled inside the NMPC and the dynamic brake balance is applied. In the other tests, weight transfer is not modeled, and instead a constant brake balance ratio of _τfront/τrear_ = 1, 3, and 5 are included as a slack constraint inside the NMPC. For these tests, the test vehicle autonomously drives through turn 3 of the Thunderhill West track and is aiming to use up to 90% of the available tire friction. Turn 3 of Thunderhill West has a fast and slightly downhill approach, a flat braking zone, followed by a left turn. In all tests, the vehicle approaches turn 3 at a velocity of approximately 40 meters per second and slows to around 25 meters per second at the apex of the turn. Fig. 9 shows the G-G trace, the longitudinal vs. lateral acceleration expressed as a ratio of _g_ . Without modeling weight transfer, the vehicle is only able to achieve longitudinal acceleration of about 0.7g for _τfront/τrear_ = 5, 0.77g for _τfront/τrear_ = 3, and 0.74g for _τfront/τrear_ = 1 and does not utilize the imposed limit of maximum braking force. When weight transfer is modeled and dynamic brake balance utilized, the vehicle is able to achieve 0.82g of longitudinal acceleration. As the vehicle turns, a larger trace is observed in the trail braking section for the dynamic brake balance as compared to the static brake balance, as the vehicle better utilizes the available force. Fig. 10 depicts the measured vehicle speed through the turn. Despite starting at similar speeds, the approach with dynamic brake balance is able to carry more speed through the trail braking and cornering sections, while also achieving similar exit speed. For the dynamic brake balance, the front brakes are delayed as compared to the static distribution (middle plot) and are released sooner since the vehicle is able to achieve higher magnitude acceleration from braking. This leads to the vehicle braking later and carrying more speed early in the turn, but losing speed rapidly in the braking zone (top). Fig. 10 (bottom) shows the brake balance during the test. The NMPC with weight transfer starts braking with a brake balance of _τfront/τrear_ = 1 _._ 4, factoring in the vehicle acceleration and topology that can cause the higher distribution than the static value of 1.13. As load is transferred during braking, the brake distribution increases to _τfront/τrear_ = 2 _._ 0 before easing off as the brakes are released. This indicates that the dynamic brake balance allows the NMPC to utilize the available rear braking force at the start of braking, and also utilize the increased available braking force at the front axle as load is transferred to the front. 6.3 Lateral Brake Distribution Model To highlight the importance of modeling the yaw moment created from the hierarchical approach to lateral brake proportioning, comparative tests with and without the _τbb_ term in the vehicle model were conducted on the track. In these tests, the vehicle is run through turn 3 of the Thunderhill West track. This turn has heavy simultaneous braking and steering, as is often seen during trail braking and emergency maneuvers; the results are shown in Fig. 11. The top left plot of Fig. 11 shows the estimated yaw moment (black) compared to the modeled yaw moment _τbb_ (blue). The top right plot is from the comparison test where _τbb_ is not modeled and set to 0 (red). When _τbb_ is included in the model, the vehicle is able to complete the turn with much higher performance in several key metrics. The error trace in the middle left plot shows the vehicle without the yaw moment model (red) exceeds track bounds at _s_ = 105 _m_, indicating that the unmodeled moment is preventing the car from rotating in the direction of the turn, and the controller does not have the means to correctly compensate quickly enough. This is made more apparent in the yaw rate and sideslip plots in the bottom right. The controller with the yaw moment model (blue) builds sideslip and increases yaw rate much earlier in the turn. Focusing on the sideslip plot at _s_ = 25 _m_, the vehicle with yaw moment modeled builds sideslip about 5 _m_ before the vehicle without yaw moment modeled, which enables the car to stay within the track limits. Finally, the velocity plot shows that the vehicle is able to maintain higher velocity through both the corner entry and exit. 2000 0 −2000 −4000 −6000 1 0 (1 35 30 25 <u>M deled</u> <u>Measured</u> <u>With yaw m ment m deling</u> ~~Track Edge~~ Yaw M deled ~~Yaw N t M deled~~ 0 50 100 150 200 s (m) <u>M deled</u> <u>Measured</u> <u>With ut yaw m ment m deling</u> 0 50 100 150 200 s (m) 2000 0 (2000 (4000 (6000 0.50 0.25 0.00 (0.25 0.02 0.00 (0.02 Figure 11: Performance of controller with and without yaw moment model. <u>μf</u> ~~1~~ .25 ~~1~~ .00 ~~<u>0</u>~~ .75 ~~1~~ .25 ~~1~~ .00 ~~<u>0</u>~~ .75 ~~1~~ .25 ~~1~~ .00 1.25 1.00 0.75 1.25 1.00 0.75 1.25 1.00 0.75 <u>μr</u> ~~<u>0</u>~~ .75 2000 3000 4000 2000 3000 4000 Figure 12: Experiments with in-the-loop UKF tire friction estimation with nominal (top), medium (middle), and low (bottom) initializations on Thunderhill West demonstrating accuracy and repeatability of the UKF. Orange and blue lines within each plot show separate runs with the same initial condition. 6.4 UKF Adaptive MPC While allocating brakes based upon load transfer, and accounting for the additional yaw moment it creates improves the performance and operating range of NMPC, utilizing all the available friction force requires knowledge of friction and how friction varies throughout operation. Addressing this, three separate experiments, each consisting of two laps of the track under autonomous control, were conducted with different initializations of the UKF estimator: low ( _µf_ _, µr_ ) = (0 _._ 7 _,_ 0 _._ 7), medium ( _µf_ _, µr_ ) = (0 _._ 85 _,_ 0 _._ 85), and nominal ( _µf_ _, µr_ ) = (1 _._ 003 _,_ 1 _._ 04). In each of these cases, the estimated friction is used to update the NMPC controller in real time. This shows the efficacy of this approach in closed-loop. 6.4.1 Stability of UKF Estimation Fig. 12 shows the estimated friction vs. path distance for the six separate UKF runs where NMPC is updated in real-time with the estimated friction coefficients. The top row depicts nominal initialization of ( _µf_ _, µr_ ) = (1 _._ 003 _,_ 1 _._ 04), the middle row depicts a medium initialization of ( _µf_ _, µr_ ) = (0 _._ 85 _,_ 0 _._ 85), while the bottom is a low initialization of ( _µf_ _, µr_ ) = (0 _._ 7 _,_ 0 _._ 7). Each row shows two separate runs (orange and blue) for the rear (left) and front friction (right). In all six runs, the estimator shows repeatability and captures similar trends, such as front tire friction being less than the rear. Furthermore, the UKF converges near similar values despite the low initialization yielding less lateral dynamic excitation. Slight differences are observed between individual runs which could be attributable to increased tire temperature due to ambient temperature changes throughout the day or temperature changes from repeated testing. 6.4.2 Adaptive NMPC: Conservative Scenario Fig. 13 depicts the performance improvement achieved by adaptive MPC as compared to a non-adaptive baseline MPC. In this test, the UKF is initialized to: _µf_ = 0 _._ 85 and _µr_ = 0 _._ 85. For the non-adaptive case, friction is fixed at these values throughout the whole run; for the adaptive MPC case, the UKF is initialized with the same values but runs online and updates the MPC vehicle model with the estimates. For both cases, the NMPC is configured to use up to 90% of this modeled friction on the track (i.e. by setting _µlim_ = 0 _._ 9). Despite the large initialization error, the UKF converges near the optimal values (Fig. 12, middle). Fig. 13 shows the velocity trace (top) and total acceleration (bottom) for adaptive MPC (blue) and non-adaptive MPC (orange). Adaptive MPC (blue) is able to outperform the non-adaptive MPC (orange) and achieves higher speeds (top) and higher total acceleration (bottom). In fact the mean speed for adaptive MPC is 26.9 _m/s_ whereas the mean non-adaptive speed is 26.1 _m/s_, demonstrating the improved performance achieved through adaptation. 6.4.3 Adaptive NMPC: Nominal Scenario Online friction estimation can also improve performance in non-conservative scenarios. In this next set of experiments, the baseline MPC is configured to run at fixed values _µf_ = 1 _._ 004, and _µr_ = 1 _._ 03, which were empirically determined to result in excellent performance across the track. This is compared to the adaptive approach which is initialized at these same friction values, but allowed to update its values online. While this improved performance throughout the track, the difference is particularly pronounced at sharp hairpin corners. In Fig. 14, we show the result for Turn 7 at Thunderhill West. Turn 7 is a sharp left hairpin corner where the vehicle approaches at a speed of approximately 36 _m/s_ before braking to about 13 _m/s_ . This also corresponds to the jump in estimated friction seen at _s_ _≈_ 3740 _m_ in Fig. 12. The impact of online friction adaptation is visible in several aspects of this plot. First, without friction estimation and adaptation, the non-adaptive MPC (orange) formulation operates at a peak total acceleration of 1.04g due to a overestimation of the available friction and carries more speed into the turn, as compared to 1.0g for adaptive MPC (blue) where the entry speed is more appropriate (third plot). This leads to tire saturation with non-adaptive MPC causing the vehicle to miss the apex shown by the large lateral error of the nonadaptive case (orange) of the top plot. The non-adaptive case (orange) also reduces speed later in the turn, 40 30 20 10 0 1.00 0.75 0.50 0.25 0.00 ~~adaptive MPC~~ ~~<u>non-adaptive MPC</u>~~ <u>ref</u> 2500 2750 3000 3250 3500 3750 4000 s (m) Figure 13: Thunderhill 2-mile Velocity trace (top) and total g’s (bottom) for adaptive MPC (blue) and non-adaptive MPC (orange). Reference velocity is shown in black. as indicated by the decreased speed between s values of 1090 m and 1110 m of the second plot. Due to this saturation, non-adaptive MPC fails to converge as there is no available lateral force to correct for the error and complete the turn, shown by the large gap of solves between an s value of 1080 and 1100 m in Fig. 14 (bottom). Adaptive MPC is able to complete the turn at the limit of traction but without saturating the tire. Furthermore, the adaptive MPC achieves an average and peak absolute lateral error of 0.43 and 0.77 _m_ which is less than the 1.4 and 3.26 _m_ of non-adaptive MPC, Fig. 14 (top). In both implementations, lateral error bound violations are extremely rare and adaptive MPC led to less track bound violation (0.8%) as compared to the non-adaptive MPC (1.8%) for the whole tested track. The improved performance allows adaptive MPC to carry a better speed profile through the turn allowing for earlier throttle application leading to an exit speed of 15.37 _m/s_ as compared to 12.5 _m/s_ for non-adaptive MPC. This is particularly prominent for s values after 1090 m of the second plot. In contrast to non-adaptive MPC, the ability of adaptive MPC to learn and adapt to friction allows for successful completion of turn 7 while improving robustness and performance. Complete lap time cannot be calculated because a section of the test circuit is unsuitable for autonomous operation; however, calculating the partial lap time between turn 2 and turn 9 results in 79.1s for non-adaptive MPC and 77.6s for adaptive MPC, further demonstrating improved performance. ### 7 Conclusion Developing autonomous vehicles capable of operating at, or beyond, the limits of handling requires models that can capture complex nonlinear dynamics and accurate knowledge of environment variables. To addresses this need, this work presents a novel NMPC formulation that brings selected important chassis control functionality into the higher level vehicle model. Specifically, the predictive control layer uses a single-track model with longitudinal weight transfer dynamics and independent allocation of front and rear axle brake torques, but delegates lateral brake balance to the chassis layer. This expands the vehicle operating range by optimally allocating the brake distribution to account for the additional or reduced load at each wheel, whilst 5 0 −5 20 <u>track</u> ~~ref~~ ~~adaptive MPC~~ <u>non-adaptive MPC</u> 1060 1070 1080 1090 1100 1110 1120 s (m) 10 1.0 0.5 0.10 0.05 Figure 14: Autonomous tests for turn 7 of Thunderhill West. Lateral error (top), velocity (middle), total acceleration (middle), and solve times (bottom) showing increased performance of adaptive MPC (blue) as compared to non-adaptive MPC (orange). still allowing for sufficient horizon length in the predictive control layer. Next, to address the need for accurate knowledge of environment variables, UKF friction estimation is used to update the vehicle model within NMPC in real-time. This is shown to significantly increase closed loop NMPC performance. Experimental validation is performed at a friction limit of 0.95 _·µ_ on a closed course track demonstrating the effectiveness of the dynamic brake balance and online friction adaptation for extracting maximum performance of the autonomous vehicle. This demonstrates a step towards realizing autonomous vehicles capable of utilizing the vehicle’s full capabilities when the need arises. Future work in this vein could explore further improvements to the formulation, such as assimilating more chassis level control into NMPC, incorporating friction estimate uncertainty, and the impact of estimating other parameters simultaneously. Furthermore, while the approach has been validated extensively through experiments, formal stability and recursive feasibility analysis is an important future research direction. ### References [Andersson et al., 2019] Andersson, J. A. E., Gillis, J., Horn, G., Rawlings, J. B., and Diehl, M. (2019). CasADi - A software framework for nonlinear optimization and optimal control. _Mathematical_ _Program-_ _ming_ _Computation_, 11(1):1–36. [Borrelli et al., 2005] Borrelli, F., Falcone, P., Keviczky, T., Asgari, J., and Hrovat, D. (2005). Mpc-based approach to active steering for autonomous vehicle systems. _International_ _Journal_ _of_ _Vehicle_ _Autonomous_ _Systems_, 3:265–291. [Brown et al., 2017] Brown, M., Funke, J., Erlien, S., and Gerdes, J. C. (2017). Safe driving envelopes for path tracking in autonomous vehicles. _Control_ _Engineering_ _Practice_, 61:307–316. [Brown and Gerdes, 2019] Brown, M. and Gerdes, J. (2019). Coordinating tire forces to avoid obstacles using nonlinear model predictive control. _IEEE_ _Transactions_ _on_ _Intelligent_ _Vehicles_, PP:1–1. [Chen et al., 2014] Chen, B.-C., Luan, B.-C., and Lee, K. (2014). Design of lane keeping system using adaptive model predictive control. In _2014_ _IEEE_ _International_ _Conference_ _on_ _Automation_ _Science_ _and_ _Engineering_ _(CASE)_, pages 922–926. [Dallas et al., 2021] Dallas, J., Cole, M. P., Jayakumar, P., and Ersal, T. (2021). Terrain adaptive trajectory planning and tracking on deformable terrains. _IEEE_ _Transactions_ _on_ _Vehicular_ _Technology_, 70(11):11255– 11268. [Dallas et al., 2020a] Dallas, J., Jain, K., Dong, Z., Sapronov, L., Cole, M. P., Jayakumar, P., and Er sal, T. (2020a). Online terrain estimation for autonomous vehicles on deformable terrains. _Journal_ _of_ _Terramechanics_, 91:11–22. [Dallas et al., 2020b] Dallas, J., Wurts, J., Stein, J. L., and Ersal, T. (2020b). Contingent nonlinear model predictive control for collision imminent steering in uncertain environments. _IFAC-PapersOnLine_, 53(2):14330–14335. 21st IFAC World Congress. [Falcone et al., 2007] Falcone, P., Borrelli, F., Asgari, J., Tseng, H. E., and Hrovat, D. (2007). Predictive active steering control for autonomous vehicle systems. _IEEE Transactions on Control Systems Technology_, 15(3):566–580. [Febbo, 2019] Febbo, H. (2019). _Real_ _time_ _trajectory_ _planning_ _to_ _enable_ _safe_ _and_ _performant_ _automated_ _vehicles_ _operating_ _in_ _unknown_ _dynamic_ _environments_ . PhD thesis, University of Michigan. [Goh, 2019] Goh, J. (2019). _Automated_ _vehicle_ _control_ _beyond_ _the_ _stability_ _limits_ . PhD thesis, Stanford University. [Goh et al., 2019] Goh, J. Y., Goel, T., and Gerdes, J. C. (2019). Toward automated vehicle control beyond the stability limits: Drifting along a general path. _Journal of Dynamic Systems Measurement and Control-_ _transactions_ _of_ _The_ _Asme_, 142. [Katriniok et al., 2013] Katriniok, A., Maschuw, J. P., Christen, F., Eckstein, L., and Abel, D. (2013). Optimal vehicle dynamics control for combined longitudinal and lateral autonomous vehicle guidance. In _2013_ _European_ _Control_ _Conference_ _(ECC)_, pages 974–979. [Laurense, 2019] Laurense, V. (2019). _Integrated_ _motion_ _planning_ _and_ _control_ _for_ _automated_ _vehicles_ _up_ _to_ _the_ _limits_ _of_ _handling_ . PhD thesis, Stanford University. [Laurense and Gerdes, 2018] Laurense, V. A. and Gerdes, J. C. (2018). Speed control for robust pathtracking for automated vehicles at the tire-road friction limit. In _The_ _14th_ _International_ _Symposium_ _on_ _Advanced_ _Vehicle_ _Control_ . [Laurense et al., 2017] Laurense, V. A., Goh, J. Y., and Gerdes, J. C. (2017). Path-tracking for autonomous vehicles at the limit of friction. In _2017_ _American_ _Control_ _Conference_ _(ACC)_, pages 5586–5591. [Liu et al., 2016] Liu, J., Jayakumar, P., Stein, J. L., and Ersal, T. (2016). A study on model fidelity for model predictive control-based obstacle avoidance in high-speed autonomous ground vehicles. _Vehicle_ _System_ _Dynamics_, 54(11):1629–1650. [Schwarting et al., 2018] Schwarting, W., Alonso-Mora, J., Paull, L., Karaman, S., and Rus, D. (2018). Safe nonlinear trajectory generation for parallel autonomy with a dynamic vehicle model. _IEEE_ _Transactions_ _on_ _Intelligent_ _Transportation_ _Systems_, 19(9):2994–3008. [Simon, 2006] Simon, D. (2006). _The_ _unscented_ _Kalman_ _filter_, chapter 14, pages 433–459. John Wiley & Sons, Ltd. [Subosits, 2020] Subosits, J. (2020). _Model_ _fidelity_ _and_ _trajectory_ _planning_ _for_ _autonomous_ _vehicles_ _at_ _the_ _limit_ . PhD thesis, Stanford University. [Svendenius, 2007] Svendenius, J. (2007). _Tire_ _modeling_ _and_ _friction_ _estimation_ . PhD thesis, Lund Univer sity. [Turri et al., 2013] Turri, V., Carvalho, A., Tseng, H. E., Johansson, K. H., and Borrelli, F. (2013). Lin ear model predictive control for lane keeping and obstacle avoidance on low curvature roads. In _16th_ _International_ _IEEE_ _Conference_ _on_ _Intelligent_ _Transportation_ _Systems_ _(ITSC_ _2013)_, pages 378–383. [Virtanen et al., 2020] Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., Carey, C. J., Polat, I., <sup>˙</sup> Feng, Y., Moore, E. W., VanderPlas, J., Laxalde, D., Perktold, J., Cimrman, R., Henriksen, I., Quintero, E. A., Harris, C. R., Archibald, A. M., Ribeiro, A. H., Pedregosa, F., van Mulbregt, P., and SciPy 1.0 Contributors (2020). SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. _Nature_ _Methods_, 17:261–272. [Wurts et al., 2020a] Wurts, J., Dallas, J., Stein, J. L., and Ersal, T. (2020a). Adaptive nonlinear model predictive control for collision imminent steering with uncertain coefficient of friction. In _2020_ _American_ _Control_ _Conference_ _(ACC)_, pages 4856–4861. [Wurts et al., 2020b] Wurts, J., Stein, J. L., and Ersal, T. (2020b). Collision imminent steering at high speed using nonlinear model predictive control. _IEEE_ _Transactions_ _on_ _Vehicular_ _Technology_, 69(8):8278–8289. [W¨achter and Biegler, 2006] W¨achter, A. and Biegler, L. T. (2006). On the implementation of an interior point filter line-search algorithm for large-scale nonlinear programming. _Mathematical_ _programming_, 106.

섹션 본문 80문단 · 42,236자

(제목 없음)

1The ability to reliably maximize tire force usage would improve the safety of autonomous vehicles, especially in challenging edge cases. However, vehicle control near the limits of handling has many challenges, including robustly contending with tire force saturation, balancing model fidelity and computational efficiency, and coordinating inputs with the lower level chassis control system. This work studies Nonlinear Model Predictive Control for limit handling, specifically adapting to changing tire-road conditions and maximally allocating tire force utilization. We present a novel hierarchical framework that combines a single-track model with longitudinal weight transfer dynamics in the predictive control layer, with lateral brake distribution occurring at the chassis control layer. This vehicle model is simultaneously used in an Unscented Kalman Filter for online friction estimation. Comparative experiments on a full-scale vehicle operating on a race track at up to 95% of maximum tire force usage demonstrate the overall practical effectiveness of this approach.

Introduction

2The ability to fully use the force generation capabilities of a vehicle can greatly improve the safety of autonomous vehicles. For example, in [Wurts et al., 2020b, Dallas et al., 2020b, Wurts et al., 2020a, a collision imminent steering algorithm was developed to perform an evasive lane change when collision could not be avoided by braking alone. However, doing so required the vehicle to operate near tire force saturation, where the closed-loop behavior of the vehicle is strongly influenced by the level of model fidelity used [Liu et al., 2016]. The objective of minimizing laptime in racing scenarios provides an opportunity to further explore the role of model fidelity in safely and reliably controlling autonomous vehicles at the limits. For an autonomous controller to extract full performance out of a vehicle, the vehicle model must capture complex vehicle dynamics, and the controller must have precise knowledge of the current environment. This work addresses both of these needs.

3Model Predictive Control (MPC) has drawn interest in limit handling applications as the vehicle dynamics, constraints, and costs can be intuitively encoded in a receding horizon manner [Brown et al., 2017, Schwarting et al., 2018. In doing so, MPC has the capability to replan trajectories online to balance objectives and constraints to account for modeling error and changing environment conditions. While the state-of-the-art has explored MPC for high level planning and control, MPC often ignores important aspects of the underlying chassis controller such as allocating brake balance. This raises an important question: could performance and safety be improved by subsuming some of the chassis control functionality into the higher level MPC model?

4Bringing elements of chassis control functionality into the high-level MPC accentuates an important tradeoff -the vehicle model must sufficiently capture the complex dynamics that occur at the handling limits while balancing computational complexity for real-time operation. Various MPC formulations have been developed in an effort to balance model complexity and efficiency. Approaches have varied in model fidelity from linear MPC which can reduce computational effort at the expense of modeling error [Katriniok et al., 2013, Turri et al., 2013, to Nonlinear MPC (NMPC) accounting for road topology, nonlinear dynamics, and force constraints in racing applications [Laurense, 2019]. Furthermore, various approaches addressing computational effort of NMPC have focused on extending horizons through cascaded approaches [Laurense, 2019, Laurense et al., 2017, Laurense and Gerdes, 2018, pseudospectral methods [Febbo, 2019], and parallelization [Wurts et al., 2020b]. While these approaches address the balance of model fidelity and computational complexity, efficiently bringing low level chassis control into the higher level optimizer -and demonstrating its practical utility -remains an open question.

5Even with a high fidelity model, knowledge of the evolving tire-road interaction is needed to extract the full potential of an autonomous controller. For example, due to the sensitivity of tire forces to friction in limit handling scenarios, even just a deviation of 2% can lead to failure [Laurense et al., 2017], demonstrating the importance of accurately modeling the tire-road interaction. Various approaches to address tire parameter adaptation have been proposed, including adaptive linear and nonlinear tracking controllers [Chen et al., 2014, Borrelli et al., 2005, Falcone et al., 2007, and adaptive coupled trajectory planning and tracking formulations [Dallas et al., 2021, Dallas et al., 2020b, Wurts et al., 2020a. The latter of these examples was demonstrated in simulation and decreased the sensitivity to changing tire parameters by allowing for online planning that can account for updated parameters that are unknown a priori, preventing infeasibility of offline plans. However, extensive experimental validation of a UKF based friction estimator, as well as including the impact of topology and force coupling in a high-fidelity estimation model, has yet to be addressed [Dallas et al., 2020a].

6This work builds upon the state-of-the-art with a hierarchical adaptive NMPC approach that subsumes longitudinal brake balance into the predictive control layer, but delegates lateral brake balance to the chassis layer. This permits using the single-track assumption in the optimization problem, enabling reduced complexity and longer horizons for stability, whilst still maximizing tire force usage on all four wheels during limit braking scenarios. To extract the full potential of this approach, it is combined with a novel application of a UKF based friction estimation algorithm which extends that of [Dallas et al., 2020a].

7Specifically, first-order longitudinal load transfer dynamics and steady-state lateral weight transfer are modeled to account for the evolving force potential at each tire. This enables optimal allocation of brake torque at each axle. A low-level routine apportions lateral brake distribution based on feedforward lateral acceleration from the reference trajectory, and in turn, the NMPC optimization problem accounts for the induced yaw effect from braking. Next, an Unscented Kalman filter (UKF) is utilized to estimate tire-road friction in real time. Lastly, the NMPC prediction model is updated with the estimated coefficient of friction to adapt to uncertainties in real time.

8Experimental validation on a race track at an imposed limit of 95% of the available friction, with and without online UKF estimation, shows the efficacy of this approach. Furthermore, comparative experiments between dynamic brake balance and static distributions showcase the importance of including this capability in the predictive control layer.

9The vehicle model is presented in Section II. The NMPC formulation is presented in Section III, and the UKF friction estimator is discussed in Section IV. Experimental setup is given in Section V and insights drawn from the NMPC formulation are discussed in Section VI. Finally, Sec. VII draws conclusions and discusses future work.

Bicycle Model

10The vehicle model used for the NMPC controller and for generating reference trajectories is given by the single-track dynamic bicycle model in a curvilinear coordinate system , illustrated in Fig. 1. There are a total of 11 vehicle states in this model, including a state representing the transient load shift occurring from the first order longitudinal weight transfer model described in Sec. 2.4. The states are described in Eq. 1.

11To easily encode actuator slew rate constraints, the 4 inputs to the model are the rate of change of roadwheel angle (steering), engine torque, and the front and rear brake torques:

12Roadwheel angle rate Engine torque rate Front brake torque rate Rear brake torque rate

13The state derivatives describing this vehicle model are given as:

14Where a and b are the distance from the center of gravity to the front and rear axles, respectively, h cg is the center of gravity height, r w is the tire radius, m is the vehicle mass, and I z and I w are the yaw moments of inertia for the vehicle and lumped rear axle, respectively. The longitudinal and lateral tire forces are given as F xf,r and F yf,r , for the front and rear tires respectively, τ w is the torque at the wheel, τ bb is the moment created from the lateral brake balance discussed in Sec. 2.5, F gx and F gy are the gravitational forces in the longitudinal and lateral directions due to road topology described in Sec. 2.3, and the longitudinal weight transfer model is further described in Sec. 2.4. κ ref is the reference curvature anḋ φ =β +ṙ (4) is the rate of rotation of the vehicle's velocity vector.

Tire Model

15The forces F xf,r and F yf,r are modeled by an isotropic coupled slip Fiala brush tire model, similar to that described in [Svendenius, 2007]. This is given as

16where κ is the slip ratio, α is the slip angle, and σ is the combined slip given as

17and F total is given as

18Where C f is the cornering stiffness, µ is the coefficient of friction, F z is the normal load, and σ sl is the maximum combined slip where saturation occurs:

Road Topology

19The effects of road topology are incorporated as in [Laurense, 2019, Subosits, 2020. The effect of topology on the normal load at the front and rear axle is given as:

20where θ and ψ are the road grade and bank, respectively. The centripetal acceleration due to vertical curvature, A v , is given as:

21Road grade and bank also contribute components of gravitational acceleration along the vehicle's longitudinal and lateral direction. This is given respectively as:

22F gx = mg sin(θ) (12)

Load Transfer

23As seen, in Sec. 2.2, the tire force -and importantly, its maximum -depends on the normal force at each tire. This makes accurate, but computationally efficient, modelling of load transfer dynamics crucial to on-road performance. Inspired by experimental data, we use a simple but accurate first order model for the longitudinal load transfer dynamics. This is given as:

24Where k is a constant, dF z is the load transferred from the front to rear axle due to the acceleration of the car, and the net longitudinal force, F xnet , is given as

25Hence, the load on the front and rear axles are given respectively as: Figure 2: Pitch response of test vehicle during acceleration (4s to 10s) and braking (11s to 14s). This data is used to calibrate the weight transfer model, specifically k in Eq. (13).

26The weight transfer model time constant k is calibrated based on data taken from the test vehicle (Sec. 5). First, the effective pitch stiffness was calculated from measurements of pitch angle during extended periods of constant acceleration and constant braking. Transient pitch behavior, measured during step changes in acceleration and braking, is then used to estimate k from Eq. (13). Fig. 2 shows an example of measured pitch angle when the test vehicle transitions from accelerating to hard braking. The vehicle model, incorporating Eq. (13), is then used to simulate the pitch response given similar acceleration inputs (orange line, Fig. 2). The parameter k = 3.01 is selected such that the vehicle model simulation approximates the behavior in the test data.

Lateral Brake Balance

27In addition to longitudinal weight transfer, lateral weight transfer can also change the normal force on each tire. This is particularly important to consider in corners and during trail braking. Previous work has shown the importance of utilizing lateral brake balance in high performance driving [Subosits, 2020]. Here, in order to balance computational complexity of the NMPC layer, we propose a novel hierarchical control approach for calculating lateral brake balance. The allocation of brake torques on the right and left side of each axle is calculated outside the NMPC in a low level controller and is based upon the static lateral load transfer, as given by the reference trajectory. For the right and left side of a single axle, this is given respectively by:

28Where τ brake,axle is the total braking force commanded by the NMPC to either the front or rear axle, and τ brake,r and τ brake,l are the individual brake torques for the right and left side of the axle. Additionally, g is the acceleration due to gravity, t width is the vehicle track width, and a y is the lateral acceleration. Because the low level controller commands different brake torques to the right and left side of the vehicle, an additional yaw moment is created, shown below:

29where τ brake,f r and τ brake,f l are the front right and left brake torques, and τ brake,rr and τ brake,rl are rear right and left brake torques. The term τ bb is accounted for in the model predictive control layer, and the importance of doing so is discussed in Sec. 6.3.

Gear Change Algorithm

30Optimizing gear choice inside the NMPC is considered out of scope for this paper. Gear changes are computed outside of the NMPC in a low level controller based on the reference path. The engine torque from the NMPC solution is converted to an overall drive force, and then matched considering the current gear of the vehicle.

MPC Formulation

31Two optimal control problems (OCPs) are used, one for generating the reference trajectory which optimizes for the entire track length, and a fixed horizon MPC used online. The reference trajectory is generated using a similar formulation as the online controller, but the focus of this paper is on the online controller. The MPC formulation is given in general form as:

32With J being the cost, x the state vector, and u the input vector. x min and x max are the minimum and maximum values for the state vector, respectively. u min and u max are defined in the same way for the inputs. Lastly, the initial state, x 0 , is constrained to be equal to the state vector x lookahead , which is constructed using the method in Section 3.2.1.

33To efficiently encode the reference path and trajectory states, the dynamics are represented in spatial terms along the curvilinear coordinate system relative to the reference trajectory:

34The vehicle dynamics are discretized using a second-order implicit Runge Kutta method, which has been shown to balance accuracy with computational effort [Brown and Gerdes, 2019]. In order to have increased integration accuracy in the first part of the horizon but still maintain an appropriately long look ahead distance, the first 5 points of the horizon have a step length of ds = 3m and the remaining horizon points have a step length of ds = 7m. We use 20 points in the NMPC horizon giving a lookahead distance of 120m.

Cost

35For the online control formulation, the cost function is given as

36Where N is the horizon length and ds i is the path distance step length. The running cost consists of several terms penalizing the state, deviation from the reference trajectory, and control effort, weighted by the step lengths at each step.

State Bounds Cost

37To prevent infeasiblity due to constraint violations at the first stage of the NMPC problem, which is propagated from measured vehicle states, we chose to implement the track bound and sideslip violation as soft constraints. The state bound cost imposes a slack constraint on track bound violation and exceeding a specified maximum vehicle sideslip. The components of this cost are only active if the maximum or minimum values are exceeded. When exceeded, this cost is given as

38Where w tb is a large weight on violating track bounds, and w β is a large weight on exceeding the prescribed sideslip range.

Time and Tracking Cost

39This tracking cost penalizes the lateral error from the reference trajectory, as well as time, t = (ds i /ṡ i ), accumulated over the horizon. This is given as

40Where w e is a weight on the lateral error, and w t is a weight on time.

Front Tire Sideslip

41To aid convergence, a small regularization cost is imposed on the front tire sideslip to avoid zero gradients at tire force saturation, inspired by [Laurense, 2019]. This is given as

42With the weight w α weighting the sideslip.

State Regularization Cost

43The state regularization cost imposes a small cost penalizing deviation from the reference velocity and brake torques. This is given as

44Where w V is the velocity weight, and w τ brake f and w τ braker are front and rear brake torque weights, respectively. V ref is the reference velocity, while τ brake f ,ref and τ braker,ref are the reference front and rear brake torques, respectively. When testing, V ref is approximately scaled for consistency with the imposed force circle limit cost in Section 3.1.5.

Force Circle Cost

45This cost penalizes exceeding a designated maximum fraction of the friction circle at the lumped front and rear tires, accounting for longitudinal load transfer. This is encoded as a soft constraint, so that the vehicle can use additional force if necessary, e.g. to abide by the road bounds cost. This also prevents infeasibility due to initial conditions. When the tire force exceeds the friction circle, this is given as

46Where w F is a weight and µ lim is the designated maximum fraction of the estimated friction. F z is the load on each tire accounting for longitudinal load transfer and topology, which directly impacts the force potential at each tire.

Input Acceleration Cost

47The input acceleration cost penalizes the engine torque and steering angle acceleration to promote smooth inputs:

48With wδ and wτ being the corresponding weights.

Input Cost

49The input cost applies a small regularization to the reference brake torque rate:

50Where wτ is the weight.

Terminal Stability Cost

51The terminal stability cost encodes sideslip and error stability by encouraging first order dynamics for path error and sideslip at the terminal state. Specifically:

52With wβ being a weight on sideslip rate, and wė being a weight on the lateral error rate. kβ and kė are constants.

Initial State Constraints

53The initial state of the NMPC problem, x 0 , is constrained to be equal to the lookahead state, x lookahead . To construct x lookahead , the current state of the vehicle is integrated forward by t lookahead = 50ms to account for the expected solve time of the controller.

54For the NMPC states which correspond to the input states, namely δ, τ , τ brake,f , and τ brake,r , the corresponding terms of x lookahead are calculated by starting with the value inside the current NMPC solution, and integrating forward by t lookahead using the inputsδ,τ ,τ brake,f ,τ brake,r also from the current NMPC solution. This is done to achieve smooth inputs from the NMPC. This procedure is also used for states where there is not a measurement available, dF z , or the available measurement is noisy, ω r .

55For states where measurements are available, namely r, V, β, e, and ∆φ, the corresponding terms of x lookahead are calculated by starting with the current measurements and integrating forward by t lookahead using the vehicle model in Section 2.1, and the input roll-outs from above.

Actuation Constraints

56Maximum and minimum bounds are imposed on the inputs and states to maintain consistency with the vehicle's physical limitations, e.g. steering range, steering motor power, maximum steering slew rate, engine torque and power limits, and maximum engine/brake torque slew rates. This is given as

Dynamic Longitudinal Brake Balance

57With load being transferred longitudinally between the front and rear axles and laterally during acceleration and cornering, the load on each tire varies throughout operation. For example, as load is shifted forward during braking, the front tires have more capability to generate forces due to the increased load, and concomitantly, the rear tire has less. As such, a dynamic brake balance that can allocate brake torques among each tire independently is important to exploit the full capabilities of the vehicle. To allow the NMPC to optimally allocate these forces, longitudinal brake torque on the front and rear axle are treated as separate states. Because the static weight distribution of the test vehicle is biased to the front, and load transfers forward during braking, there are very few cases in which it is advantageous to brake more in the rear than in the front. It was found empirically that constraining the front brake torque to be larger in magnitude than the rear brake torque aided convergence times, without limiting the practical performance of the controller. With the convention that brake torques are always negative, this constraint is expressed as:

Solver Implementation

58The OCPs are implemented using the CasADi auto-differentiation and code-generation toolbox [Andersson et al., 2019] and solved with the interior point method implemented with IPOPT [Wächter and Biegler, 2006]. To improve convergence time, and to keep the solutions within a similar local minimum attraction basin, the initial guess is set to the previous converged optimal solution; or the offline reference if no previous optimal solution exists. The solver is constrained to a maximum of 50 iterations, preventing runaway computation. The command sent to the vehicle is interpolated from the most recent optimal solution based upon the current path distance, s.

59To estimate the coefficient of friction, we build on the UKF approach in [Dallas et al., 2020a, Dallas et al., 2020b, Wurts et al., 2020a, as this has been shown to be of suitable balance between efficiency and accuracy and can better approximate nonlinear transformations than an Extended Kalman filter [Simon, 2006]. By accounting for longitudinal and lateral force coupling, and the impact of load transfer and topology, we robustly deploy this technique from simulations to real-world experiments. Briefly, the UKF predictions are performed using the bicycle model with lateral yaw perturbation, described in Eq. (3); however the prediction model only contains five states; the yaw rate, velocity, sideslip, and front and rear friction (represented with trivial dynamics). The UKF correction step is based upon measurements of the yaw rate, velocity, and sideslip. The UKF runs at 62.5 Hz and the MPC bicycle model is updated with the current friction estimate at each call. A high level diagram describing the integration is shown in Fig 3.

Tuning

60The UKF is automatically tuned for the process noise covariance matrix and initial friction variance. The process optimizes the following function

61where y pred is the normalized predictions of the state vector consisting of yaw rate, velocity, and sideslip, and y meas are the measurements. µ pred,i is the UKF prediction of the front and rear frictions at each index, while µ true,i is the believed truth for the friction. Q is the process noise covariance matrix, and Q min and Q max represent the upper and lower bounds respectively. Bounds are also placed on the initial friction variance, σ 2 . Inside each iteration of the optimization, two steps occur. First, the UKF is run to obtain point-wise estimates of friction for the given process noise. Second, open loop predictions, parameterized by the UKF estimates, are performed over the entire data set. The cost is then evaluated using these state predictions and friction estimates, and then the process noise and initial friction variance are updated and the next iteration begins.

62To prevent overfitting, the dataset is structured as two back-to-back laps of a representative test track with three different initial conditions; for N = 6 laps (approximately 12 minutes) in total. This consists of two laps with a high initial guess, two with a low initial guess, and two with the nominal initial guess. The cost function is designed to determine the process noise covariance matrix that minimizes the open loop prediction error as compared to measurements. The optimization problem is solved using the L-BFGS implementation in the SciPy toolbox. [Virtanen et al., 2020].

Experimental Vehicle

63Experiments are performed on a 2019 Lexus LC 500, shown in Fig. 4. The powertrain, drivetrain, and suspension are not modified. Autonomous control is achieved by communicating with the pre-existing driver assistance features and hardware, which required extensive modification. The vehicle is equipped with an Oxford Technical Systems (OxTS) RT3000 v3 RTK-GPS/IMU system with dual antennas for localization and state estimation. The MPC computation is performed by a RAVE ATC8110-F ruggedized computer running Ubuntu Linux. Low level control and communication is handled by a dSpace MicroAutoboxII

Results and Discussion

64The NMPC formulation was tested with the experimental vehicle of Sec. 5 on the Thunderhill West 2-mile track. This section provides the results of the integrated algorithm on a racetrack. Furthermore, comparative experiments that examine the importance of online adaptation, dynamic brake balance, and yaw moment created from lateral brake proportioning are performed.

Integrated Approach on Race Track

65To evaluate the overall integrated approach including online friction estimation, the controller was tested on the Thunderhill West racetrack with the force friction circle limit (Sec. 3.1.5) set to 0.95 · µ. This 2-mile long course includes sections with significant grade and bank, and several typical race track features including chicanes and hairpin turns. The straight in the bottom of Fig. 5a is not tested autonomously due to safety concerns from a concrete wall immediately adjacent to the track in this section. Fig. 5a shows the measured total acceleration (g-forces) of the vehicle as it autonomously drives the track. In braking zones and turns, the vehicle regularly operates close to 1g of acceleration, and the engine is often at full power during corner exits. On multiple segments, the vehicle reaches speeds of 39 m/s and is immediately followed by sharp turns that require a drastic deceleration. This requires the enhanced braking potential achieved through the longitudinal and lateral brake distributions. This is depicted in the GG diagram in Fig. 5b which highlights the vehicle consistently operating near its maximum capabilities, both in pure lateral cornering and also in The high performance of this trail braking behavior is enabled by the dynamic lateral and longitudinal brake proportioning. This is displayed in the top plot of Fig. 6, where the commanded brake torque is different for each wheel to account for the lateral and longitudinal weight transfer. The engine torque commands and road wheel angle are shown in the middle and bottom of Fig. 6 respectively, and remain smooth throughout this challenging trajectory.

66The acceleration data in Fig. 8 and Fig. 5a, is obtained from the GNSS-IMU unit and is filtered using the Scipy [Virtanen et al., 2020] implementation of a bidirectional 4th order digital low pass Butterworth filter with a natural frequency of 9 Hertz. The second plot from the bottom in Fig. 8 shows the lateral, longitudinal, and magnitude of total acceleration. The black dash dotted line at 0.95·g represents the acceleration target corresponding to a friction limit of 0.95·µ. This figure showcases the trail braking ability of this controller. Particularly between s = 3250 and s = 3400, the controller starts with hard braking and large longitudinal acceleration, and smoothly releases the brakes while increasing lateral acceleration, thereby keeping the total acceleration at nearly constant magnitude through the turn. Similar behavior can be seen throughout, e.g. this is also demonstrated between s = 2500 and s = 2750.

67An inherent and positive attribute of NMPC controllers is the ability to re-plan locally optimal control inputs when operating far from the reference trajectory. With this in mind, we intentionally let the NMPC framework in this work deviate from the reference path in order to minimize time around the race track even if the test conditions differ from the reference path conditions. This characteristic is displayed in the bottom plot of Fig. 8 which shows the error from the reference path as well as the track edges. The controller regularly deviates from the reference path, adapting to changing track conditions and the current state evolution to minimize time. For example at s = 2500m the vehicle pushes close to the track edge in order to widen the corner entry of turn 3, then crosses the reference path and pushes to the other side of the track at s = 2725 towards the apex of the corner.

68Operating away from the reference path becomes a necessary feature to fully take advantage of the UKF friction estimation, which will often estimate a different friction value than the reference path conditions. As seen in Fig. 7, the friction values estimated by the UKF are slightly lower in the middle of the track from s ≈ 2500 to s ≈ 3300. The estimated front friction drops as low as µ f ront = 0.93 compared to the reference trajectory value of µ f ront = 1.004. Various unmodeled factors can create this result including uneven heating of the track, road surface changes, or inaccurate topology information. As a result, the NMPC controller reduces velocity in this section relative to the reference, which is planned with a nominal friction value for the entire track. Fig. 8 shows the reduced velocity in this middle section, which returns nearer to the reference as the UKF friction estimate returns closer to the nominal friction value. This demonstrates the ability of this controller to fully use but not exceed the available friction, even if the test conditions differ from the reference conditions. Overall, the vehicle was able to exhibit precise control at the limits of handling at a friction limit of 0.95 · µ. Importantly, throughout this experiment, the mean solve time was 31.3 milliseconds with a standard deviation of 6.7 milliseconds, and a mean number of iterations of 15.7 with a standard deviation of 3.1, demonstrating the ability for real time application. In the following subsections, comparative tests highlight the importance of several key components of this formulation in achieving this performance.

Weight Transfer Modeling and Brake Balance

69The most direct impact of including weight transfer in the NMPC vehicle model is the ability to dynamically change the brake balance while braking. As the ideal braking force for the front and rear axle is dependent on the normal force at each axle, the longitudinal weight transfer during braking can have a large impact on the optimal braking force and brake balance. At the beginning of a flat braking zone, the weight distribution of the car is approximately equal to the static weight distribution, making τ f ront /τ rear = 1.13 the optimal brake balance for the test vehicle at this point. As the vehicle brakes, more load is transferred to the front axle thereby reducing the capability of generating force at the rear axle, shifting the optimal brake balance to bias the front axle.

70Demonstrating these effects, Fig. 9 starts braking and entering a turn. In one test the longitudinal weight transfer is modeled inside the NMPC and the dynamic brake balance is applied. In the other tests, weight transfer is not modeled, and instead a constant brake balance ratio of τ f ront /τ rear = 1, 3, and 5 are included as a slack constraint inside the NMPC. For these tests, the test vehicle autonomously drives through turn 3 of the Thunderhill West track and is aiming to use up to 90% of the available tire friction. Turn 3 of Thunderhill West has a fast and slightly downhill approach, a flat braking zone, followed by a left turn. In all tests, the vehicle approaches turn 3 at a velocity of approximately 40 meters per second and slows to around 25 meters per second at the apex of the turn. Fig. 9 shows the G-G trace, the longitudinal vs. lateral acceleration expressed as a ratio of g. Without modeling weight transfer, the vehicle is only able to achieve longitudinal acceleration of about 0.7g for τ f ront /τ rear = 5, 0.77g for τ f ront /τ rear = 3, and 0.74g for τ f ront /τ rear = 1 and does not utilize the imposed limit of maximum braking force. When weight transfer is modeled and dynamic brake balance utilized, the vehicle is able to achieve 0.82g of longitudinal acceleration. As the vehicle turns, a larger trace is observed in the trail braking section for the dynamic brake balance as compared to the static brake balance, as the vehicle better utilizes the available force. Fig. 10 depicts the measured vehicle speed through the turn. Despite starting at similar speeds, the approach with dynamic brake balance is able to carry more speed through the trail braking and cornering sections, while also achieving similar exit speed. For the dynamic brake balance, the front brakes are delayed as compared to the static distribution (middle plot) and are released sooner since the vehicle is able to achieve higher magnitude acceleration from braking. This leads to the vehicle braking later and carrying more speed early in the turn, but losing speed rapidly in the braking zone (top). Fig. 10 (bottom) shows the brake balance during the test. The NMPC with weight transfer starts braking with a brake balance of τ f ront /τ rear = 1.4, factoring in the vehicle acceleration and topology that can cause the higher distribution than the static value of 1.13. As load is transferred during braking, the brake distribution increases to τ f ront /τ rear = 2.0 before easing off as the brakes are released. This indicates that the dynamic brake balance allows the NMPC to utilize the available rear braking force at the start of braking, and also utilize the increased available braking force at the front axle as load is transferred to the front.

Lateral Brake Distribution Model

71To highlight the importance of modeling the yaw moment created from the hierarchical approach to lateral brake proportioning, comparative tests with and without the τ bb term in the vehicle model were conducted on the track. In these tests, the vehicle is run through turn 3 of the Thunderhill West track. This turn has heavy simultaneous braking and steering, as is often seen during trail braking and emergency maneuvers; the results are shown in Fig. 11.

72The top left plot of Fig. 11 shows the estimated yaw moment (black) compared to the modeled yaw moment τ bb (blue). The top right plot is from the comparison test where τ bb is not modeled and set to 0 (red). When τ bb is included in the model, the vehicle is able to complete the turn with much higher performance in several key metrics. The error trace in the middle left plot shows the vehicle without the yaw moment model (red) exceeds track bounds at s = 105m, indicating that the unmodeled moment is preventing the car from rotating in the direction of the turn, and the controller does not have the means to correctly compensate quickly enough. This is made more apparent in the yaw rate and sideslip plots in the bottom right. The controller with the yaw moment model (blue) builds sideslip and increases yaw rate much earlier in the turn. Focusing on the sideslip plot at s = 25m, the vehicle with yaw moment modeled builds sideslip about 5m before the vehicle without yaw moment modeled, which enables the car to stay within the track limits.

73Finally, the velocity plot shows that the vehicle is able to maintain higher velocity through both the corner entry and exit. Orange and blue lines within each plot show separate runs with the same initial condition.

UKF Adaptive MPC

74While allocating brakes based upon load transfer, and accounting for the additional yaw moment it creates improves the performance and operating range of NMPC, utilizing all the available friction force requires knowledge of friction and how friction varies throughout operation. Addressing this, three separate experiments, each consisting of two laps of the track under autonomous control, were conducted with different initializations of the UKF estimator: low (µ f , µ r ) = (0.7, 0.7), medium (µ f , µ r ) = (0.85, 0.85), and nominal (µ f , µ r ) = (1.003, 1.04). In each of these cases, the estimated friction is used to update the NMPC controller in real time. This shows the efficacy of this approach in closed-loop.

Stability of UKF Estimation

75Fig . 12 shows the estimated friction vs. path distance for the six separate UKF runs where NMPC is updated in real-time with the estimated friction coefficients. The top row depicts nominal initialization of (µ f , µ r ) = (1.003, 1.04), the middle row depicts a medium initialization of (µ f , µ r ) = (0.85, 0.85), while the bottom is a low initialization of (µ f , µ r ) = (0.7, 0.7). Each row shows two separate runs (orange and blue) for the rear (left) and front friction (right). In all six runs, the estimator shows repeatability and captures similar trends, such as front tire friction being less than the rear. Furthermore, the UKF converges near similar values despite the low initialization yielding less lateral dynamic excitation. Slight differences are observed between individual runs which could be attributable to increased tire temperature due to ambient temperature changes throughout the day or temperature changes from repeated testing.

Adaptive NMPC: Conservative Scenario

76Fig. 13 depicts the performance improvement achieved by adaptive MPC as compared to a non-adaptive baseline MPC. In this test, the UKF is initialized to: µ f = 0.85 and µ r = 0.85. For the non-adaptive case, friction is fixed at these values throughout the whole run; for the adaptive MPC case, the UKF is initialized with the same values but runs online and updates the MPC vehicle model with the estimates. For both cases, the NMPC is configured to use up to 90% of this modeled friction on the track (i.e. by setting µ lim = 0.9). Despite the large initialization error, the UKF converges near the optimal values (Fig. 12, middle). Fig. 13 shows the velocity trace (top) and total acceleration (bottom) for adaptive MPC (blue) and non-adaptive MPC (orange). Adaptive MPC (blue) is able to outperform the non-adaptive MPC (orange) and achieves higher speeds (top) and higher total acceleration (bottom). In fact the mean speed for adaptive MPC is 26.9 m/s whereas the mean non-adaptive speed is 26.1 m/s, demonstrating the improved performance achieved through adaptation.

Adaptive NMPC: Nominal Scenario

77Online friction estimation can also improve performance in non-conservative scenarios. In this next set of experiments, the baseline MPC is configured to run at fixed values µ f = 1.004, and µ r = 1.03, which were empirically determined to result in excellent performance across the track. This is compared to the adaptive approach which is initialized at these same friction values, but allowed to update its values online. While this improved performance throughout the track, the difference is particularly pronounced at sharp hairpin corners. In Fig. 14, we show the result for Turn 7 at Thunderhill West. Turn 7 is a sharp left hairpin corner where the vehicle approaches at a speed of approximately 36m/s before braking to about 13m/s. This also corresponds to the jump in estimated friction seen at s ≈ 3740m in Fig. 12. The impact of online friction adaptation is visible in several aspects of this plot. First, without friction estimation and adaptation, the non-adaptive MPC (orange) formulation operates at a peak total acceleration of 1.04g due to a overestimation of the available friction and carries more speed into the turn, as compared to 1.0g for adaptive MPC (blue) where the entry speed is more appropriate (third plot). This leads to tire saturation with non-adaptive MPC causing the vehicle to miss the apex shown by the large lateral error of the nonadaptive case (orange) of the top plot. The non-adaptive case (orange) also reduces speed later in the turn, Total Accel (g) Figure 13: Thunderhill 2-mile Velocity trace (top) and total g's (bottom) for adaptive MPC (blue) and non-adaptive MPC (orange). Reference velocity is shown in black.

78as indicated by the decreased speed between s values of 1090 m and 1110 m of the second plot. Due to this saturation, non-adaptive MPC fails to converge as there is no available lateral force to correct for the error and complete the turn, shown by the large gap of solves between an s value of 1080 and 1100 m in Fig. 14 (bottom). Adaptive MPC is able to complete the turn at the limit of traction but without saturating the tire. Furthermore, the adaptive MPC achieves an average and peak absolute lateral error of 0.43 and 0.77 m which is less than the 1.4 and 3.26 m of non-adaptive MPC, Fig. 14 (top). In both implementations, lateral error bound violations are extremely rare and adaptive MPC led to less track bound violation (0.8%) as compared to the non-adaptive MPC (1.8%) for the whole tested track.

79The improved performance allows adaptive MPC to carry a better speed profile through the turn allowing for earlier throttle application leading to an exit speed of 15.37 m/s as compared to 12.5 m/s for non-adaptive MPC. This is particularly prominent for s values after 1090 m of the second plot. In contrast to non-adaptive MPC, the ability of adaptive MPC to learn and adapt to friction allows for successful completion of turn 7 while improving robustness and performance. Complete lap time cannot be calculated because a section of the test circuit is unsuitable for autonomous operation; however, calculating the partial lap time between turn 2 and turn 9 results in 79.1s for non-adaptive MPC and 77.6s for adaptive MPC, further demonstrating improved performance.

Conclusion

80Developing autonomous vehicles capable of operating at, or beyond, the limits of handling requires models that can capture complex nonlinear dynamics and accurate knowledge of environment variables. To addresses this need, this work presents a novel NMPC formulation that brings selected important chassis control functionality into the higher level vehicle model. Specifically, the predictive control layer uses a single-track model with longitudinal weight transfer dynamics and independent allocation of front and rear axle brake torques, but delegates lateral brake balance to the chassis layer. This expands the vehicle operating range by optimally allocating the brake distribution to account for the additional or reduced load at each wheel, whilst still allowing for sufficient horizon length in the predictive control layer. Next, to address the need for accurate knowledge of environment variables, UKF friction estimation is used to update the vehicle model within NMPC in real-time. This is shown to significantly increase closed loop NMPC performance. Experimental validation is performed at a friction limit of 0.95·µ on a closed course track demonstrating the effectiveness of the dynamic brake balance and online friction adaptation for extracting maximum performance of the autonomous vehicle.

참고문헌 23건

  1. Tire Modeling and Friction Estimation 2007
  2. Optimal vehicle dynamics control for combined longitudinal and lateral autonomous vehicle guidance 2022 European Control Conference (ECC) · 2013 10.23919/ecc.2013.6669331
  3. MPC-based approach to active steering for autonomous vehicle systems International Journal of Vehicle Autonomous Systems · Inderscience Publishers · 2005 10.1504/ijvas.2005.008237
  4. Design of lane keeping system using adaptive model predictive control IEEE International Conference on Automation Science and Engineering (CASE) · 2014 10.1109/coase.2014.6899436
  5. Linear model predictive control for lane keeping and obstacle avoidance on low curvature roads 2013 10.1109/itsc.2013.6728261
  6. Predictive Active Steering Control for Autonomous Vehicle Systems IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2007 10.1109/tcst.2007.894653
  7. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming Mathematical Programming · Springer Science+Business Media · 2005 10.1007/s10107-004-0559-y
  8. Safe driving envelopes for path tracking in autonomous vehicles Control Engineering Practice · Elsevier BV · 2016 10.1016/j.conengprac.2016.04.013
  9. A study on model fidelity for model predictive control-based obstacle avoidance in high-speed autonomous ground vehicles Vehicle System Dynamics · Taylor & Francis · 2016 10.1080/00423114.2016.1223863
  10. Path-tracking for autonomous vehicles at the limit of friction 2022 American Control Conference (ACC) · 2017 10.23919/acc.2017.7963824
  11. Safe Nonlinear Trajectory Generation for Parallel Autonomy With a Dynamic Vehicle Model IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tits.2017.2771351
  12. CasADi: a software framework for nonlinear optimization and optimal control Mathematical Programming Computation · Springer Science+Business Media · 2018 10.1007/s12532-018-0139-4
  13. Toward Automated Vehicle Control Beyond the Stability Limits: Drifting Along a General Path Journal of Dynamic Systems Measurement and Control · ASM International · 2019 10.1115/1.4045320
  14. Coordinating Tire Forces to Avoid Obstacles Using Nonlinear Model Predictive Control IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2019 10.1109/tiv.2019.2955362
  15. Online terrain estimation for autonomous vehicles on deformable terrains Journal of Terramechanics · Elsevier BV · 2020 10.1016/j.jterra.2020.03.001
  16. Collision Imminent Steering at High Speed Using Nonlinear Model Predictive Control IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2020 10.1109/tvt.2020.2999612
  17. Adaptive Nonlinear Model Predictive Control for Collision Imminent Steering with Uncertain Coefficient of Friction 2022 American Control Conference (ACC) · 2020 10.23919/acc45564.2020.9147713
  18. SciPy 1.0: fundamental algorithms for scientific computing in Python Nature Methods · Nature Portfolio · 2020 10.1038/s41592-019-0686-2
  19. The unscented Kalman filter 2006 10.1002/0470045345.ch14
  20. Contingent Nonlinear Model Predictive Control for Collision Imminent Steering in Uncertain Environments IFAC-PapersOnLine · Elsevier BV · 2020 10.1016/j.ifacol.2020.12.1377
  21. Terrain Adaptive Trajectory Planning and Tracking on Deformable Terrains IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2021 10.1109/tvt.2021.3114088
  22. Adaptive nonlinear model predictive control: maximizing tire force and obstacle avoidance in autonomous vehicles Field Robotics · Field Robotics Publication Society · 2023 10.55417/fr.2023006
  23. Real-time Trajectory Planning to Enable Safe and\nPerformant Automated Vehicles Operating in\nUnknown Dynamic Environments Deep Blue (University of Michigan) · University of Michigan · 2019