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

Energy Efficient and Safe Control Strategy for Electric Vehicles Including Driver Preference

관련 모빌리티 소재 · (3) 자동차 인테리어 소재

기본 정보

저자
  1. Sepehr Ghasemi Dehkordi — Institute of Health and Biomedical Innovation (IHBI), Queensland University of Technology (QUT), Kelvin Grove, QLD, Australia|||Centre for Accident Research Road Safety-Queensland (CARRS-Q), Queensland University of Technology (QUT), Brisbane, QLD, Australia
  2. Michael E. Cholette — Science and Engineering Faculty, Queensland University of Technology (QUT), Brisbane, QLD, Australia
  3. Grégoire S. Larue — Institute of Health and Biomedical Innovation (IHBI), Queensland University of Technology (QUT), Kelvin Grove, QLD, Australia|||Centre for Accident Research Road Safety-Queensland (CARRS-Q), Queensland University of Technology (QUT), Brisbane, QLD, Australia
  4. Andry Rakotonirainy — Institute of Health and Biomedical Innovation (IHBI), Queensland University of Technology (QUT), Kelvin Grove, QLD, Australia|||Centre for Accident Research Road Safety-Queensland (CARRS-Q), Queensland University of Technology (QUT), Brisbane, QLD, Australia
  5. Sébastien Glaser — Institute of Health and Biomedical Innovation (IHBI), Queensland University of Technology (QUT), Kelvin Grove, QLD, Australia|||Centre for Accident Research Road Safety-Queensland (CARRS-Q), Queensland University of Technology (QUT), Brisbane, QLD, Australia
DOI
10.1109/access.2021.3050780
저널
IEEE Access
발행년도
2021
발행기관
Institute of Electrical and Electronics Engineers
피인용수
10
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2021.3050780
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W3119203238

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (3) 자동차 인테리어 소재
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 자동차 인테리어 소재' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In this manuscript, a control strategy for electric vehicles is developed to optimise the energy consumption while respecting constraints associated with both inter-vehicle safety and comfort, which is a challenge in typical optimal control solution methodologies. Firstly, the long-term optimal control is developed using Pontryagin's Maximum Principle (PMP). Thereafter, the obtained PMP solution is used to bound the state space for a computationally tractable Dynamic Programming (DP) optimisation to ensure the satisfaction of the safety constraints. While the acceleration subproblem solution is similar to internal combustion engine vehicles (ICEVs), the combination of regenerative and hydraulic braking significantly alters the nature of the optimal braking profile. Since a DP solution is not tractable for real-time implementation of combined braking, a fast heuristic is developed, which achieves 98% of the optimal energy recovery calculated by the DP in the simulated cases. Simulation results demonstrate that the proposed strategy respects the acceleration and safety constraints while saving approximately 5% energy use without significantly increasing travel time. Further simulations were conducted to evaluate the effect of driver preferences on energy use. It was shown that a 9.5% reduction in energy use if the driver is willing to accept a 10% speed reduction.

본문 71,504자

본문 펼치기
Received December 25, 2020, accepted January 7, 2021, date of publication January 11, 2021, date of current version January 21, 2021. _Digital Object Identifier 10.1109/ACCESS.2021.3050780_ # Energy Efficient and Safe Control Strategy for Electric Vehicles Including Driver Preference SEPEHR G. DEHKORDI 1,2, MICHAEL E. CHOLETTE 3, GRÉGOIRE S. LARUE 1,2, ANDRY RAKOTONIRAINY 1,2, AND SÉBASTIEN GLASER 1,2 1Centre for Accident Research Road Safety-Queensland (CARRS-Q), Queensland University of Technology (QUT), Brisbane, QLD 4059, Australia 2Institute of Health and Biomedical Innovation (IHBI), Queensland University of Technology (QUT), Kelvin Grove, QLD 4059, Australia 3Science and Engineering Faculty, Queensland University of Technology (QUT), Brisbane, QLD 4059, Australia Corresponding author: Sepehr G. Dehkordi (sepehr.ghasemi@qut.edu.au) This work was supported in part by the Australian Research Council Discovery under Grant DP140102895, and in part by the Queensland University of Technology (QUT). ABSTRACT In this manuscript, a control strategy for electric vehicles is developed to optimise the energy consumption while respecting constraints associated with both inter-vehicle safety and comfort, which is a challenge in typical optimal control solution methodologies. Firstly, the long-term optimal control is developed using Pontryagin’s Maximum Principle (PMP). Thereafter, the obtained PMP solution is used to bound the state space for a computationally tractable Dynamic Programming (DP) optimisation to ensure the satisfaction of the safety constraints. While the acceleration subproblem solution is similar to internal combustion engine vehicles (ICEVs), the combination of regenerative and hydraulic braking significantly alters the nature of the optimal braking profile. Since a DP solution is not tractable for realtime implementation of combined braking, a fast heuristic is developed, which achieves 98% of the optimal energy recovery calculated by the DP in the simulated cases. Simulation results demonstrate that the proposed strategy respects the acceleration and safety constraints while saving approximately 5% energy use without significantly increasing travel time. Further simulations were conducted to evaluate the effect of driver preferences on energy use. It was shown that a 9.5% reduction in energy use if the driver is willing to accept a 10% speed reduction. INDEX TERMS Electric vehicle, model predictive control, Pontryagin maximum principle, dynamic programming. I. INTRODUCTION The transportation sector is responsible for 30% of global emissions across the world [1]. Electric Vehicles (EVs) have the potential to reduce the negative environmental impacts of the transport sector (particularly if these vehicles are charged using renewable energy). The market penetration of EVs has increased 57% in the past decade and it is expected grow rapidly until 2040 [2]. Yet, the main challenge with the uptake of EVs is their reduced range compared to internal combustion engine vehicles (ICEVs). While the range of EVs may be extended through new technologies (e.g. vibration energy harvesting) [3], driving style is also highly influential and can be improved by ecological driving (eco-driving). Eco-driving consists of guidelines and driving methods based on rules of thumb, such as smooth deceleration, The associate editor coordinating the review of this manuscript and approving it for publication was Shanying Zhu . acceleration, and maintaining momentum to improve energy efficiency [4], [5]. The main disadvantage with these guidelines is that they provide general advice and cannot rigorously address the different EV dynamics and consider traffic condition to achieve the optimal performance. This issue can be overcome by defining eco-driving as an optimal control problem (OCP) where the vehicle dynamics and traffic conditions are considered to minimise energy consumption [6]–[9]. Model predictive control (MPC) is the most common approach to obtain energy efficient driving in dynamic traffic conditions [10]–[13]. MPC solves an optimisation of energy consumption within a short time horizon (e.g. 5 to 15 seconds) [12], [14]. In order to ensure the feasibility and safety of optimised trajectories, the optimal control subproblems in the MPC approach should consider constraints, including: i) physical constraints (e.g. range of torque, maximum braking force, maximum regenerative energy) and ii) safety constraints (e.g. feasible acceleration, speed limits, fixed distance [12], relative distance [15], and time to collision [16] with the preceding vehicle). Several optimisation techniques can be used to incorporate constraints when computing the optimum velocity profile such as nonlinear programming [15], dynamic programming [16], and Quadratic programming [17]. An important challenge in MPC is the consideration of constraints while ensuring a reasonable computation time/load for online deployment. Indeed, constraints are often ignored or weakened to achieve real-time solution which can produce unrealistic or unsafe results. The second challenge to implementing MPC algorithms is to design a methodology that does not contain hard-totune parameters. Most of the optimisation frameworks have weighting factors to manage the trade-off between optimisation objectives such as travel time, energy consumption, and inter-vehicle safety [6], [18]–[20]. Setting the values of these weights is typically done by trial and error, and the weights often lack an easily interpretable meaning for the driver. Such an approach makes it difficult to guarantee safety in all conditions, as all scenarios may not have been considered to tune the weights. Therefore, it is concluded that there is a need for a transparent definition of the weights so that the algorithm can adapt to driver preference and current traffic conditions, without potentially adversely affecting safety. The third challenge in designing MPC is selecting the horizon length, which should be as long as possible to obtain near-optimal solutions [12], [14]. However, increasing the length of the horizon increases the computational cost of the MPC optimisation solver, which has an impact on the realtime applicability of the MPC approach [21]. To increase the prediction horizon and keep the computational cost low, Han, _et al._ [12] proposed an MPC framework by solving PMP where safety is introduced as a fixed gap. However, their approach did not consider control bounds in the solution procedure and ignored the hydraulic brake input. While accurate long-term predictions could alleviate the need for extreme control sequences, changing traffic conditions make almost impossible to obtain an accurate prediction, necessitating the consideration of control constraints and hydraulic brakes to provide feasible solutions. One approach used to reduce the necessity of accurate long-term traffic predictions is the use of a two-stage technique based on long-term optimisation and short-term adaptation. This method has been used for ICEVs, plug-in, and hybrid EV [17], [22], [20]. The long-term optimisation refers to optimising a long-horizon by assuming free-flow driving to adapt the speed to the upcoming traffic and topographical information of the road. The short-term adaptation refers to the use of MPC with safety constraints [20], [23]. Most of the existing research use numerical optimisers for longterm optimisation, which typically have high computation times. As a consequence, the reference trajectory can only be computed once at the start of the journey and updated occasionally, and thus the long-term velocity profile cannot adapt to dynamic traffic conditions, which degrades the performance of the MPC. Indeed, [16] and [24] show that if the reference trajectory cannot be updated in real-time, the number of hydraulic braking events and unnecessary accelerations is increased for the two-stage optimisation approach, and its performance is degraded significantly. To update the reference trajectory when traffic changes abruptly, an analytical solution with proper constraints is required (i.e. control constraints such as constraint on the torque and braking force). Although there are studies addressing the analytical solution for EV longitudinal dynamics [7], [10], the vast majority of studies have ignored friction brakes [12], [25], [26]. In Jia, _et al._ [27], the authors include friction brake by applying numerous simplifications to the optimisation problem to provide a real-time solution, for instance by simplifying the maximum regenerative braking regions. Efficient and safe braking is achievable by considering maximum possible regenerative braking, reducing hydraulic brake, and real-time update of the long-term optimisation process. This article aims to design a control strategy for EVs that minimises the energy consumption while respecting typical constraints associated with safety and comfort (TIV, TTC, acceleration range and speed limit). Similar to existing work, a two-stage optimisation approach is adopted from [6], [16] However, unlike previous work, this study uses an analytical solution for long-term optimisation to obtain real-time update and satisfaction of control (i.e. acceleration and hydraulic brake), with a short-term optimisation to consider intervehicle safety. The first stage provides a real-time controlconstrained PMP solution for the long-term optimisation, and the second stage is a computationally tractable MPC framework with state-constraints to ensure the satisfaction of the inter-vehicle safety criteria. The contributions of this study are as follows: - The use of an analytical solution for the optimisation of the long-term reference trajectory, which enables realtime updating of the reference trajectory rather than simply using the pre-trip reference. - A methodology for near-optimum and real-time solution of the energy minimal control in the presence of safety and control constraints. - Transparent inclusion of user preferences via a ‘‘preference velocity’’, which is the speed that the driver prefers when traffic and speed limits allow. The remainder of the article is organized as follows. Section II provides an overview of the two-stage methodology, and Section III presents the EV model. Section IV describes the optimisation of the long-term reference trajectory via PMP, while Section V describes an MPC framework to adapt the long-term trajectory to respect safety constraints. Section VI presents a simulation case study and Section VII concludes the study and suggests possible avenues for future work. II. METHODOLOGY In this article, a two-stage optimisation framework is used for EVs to minimise energy usage. Fig.1 shows the overall methodology of the proposed approach, which includes: the III. ELECTRIC VEHICLE MODEL In this section, the model for the EV is described in detail. While the dynamics of EVs can be quite complex, this study uses a simplified control-oriented model, as is typical in control studies of EVs and ICEs [12], [28], [29]. Consider the longitudinal motion for a vehicle [29], [30]: _Fw_ = _ma_ + _c_ 0 _(θ)_ + _c_ 1 _(θ) v_ + _c_ 2 _v_ <sup>2</sup> + _Fb_ _c_ 0 _(θ)_ = 0 _._ 5 _Cd_ _ρAv_ <sup>2</sup> _w_ <sup>+</sup> <sup>_m_</sup> <sup>g</sup> - _cr,_ 1 cos _(θ)_ + sin <sup>2</sup> _w_ <sup>+</sup> <sup>_m_</sup> <sup>g</sup> - _cr,_ 1 cos _(θ)_ + sin _(θ)_ _c_ 1 _(θ)_ = _cr,_ 2 _m_ gcos _(θ)_ - _Cd_ _ρAv_ <sup>2</sup> _w_ _c_ 2 = 0 _._ 5 _Cd_ _ρA_ + _cr,_ 3 _m_ gcos _(θ)_ (1) FIGURE 1. Methodology flowchart of proposed controlling EV. long-term optimisation to obtain the most energy-efficient velocity profile, and the short-term optimisation, to consider inter-vehicle safety along with energy-efficient driving velocity. The long-term optimisation uses the current state and the driver’s preferred free-flow velocity to conduct the energy optimisation. The solution produces a target velocity profile which respects the control constraints and accelerates the vehicle to either the velocity of the preceding vehicle or the driver’s preferred velocity. For the optimisation to be effective under dynamic traffic conditions, it is necessary to solve the long-term optimisation efficiently so that it can be updated in real-time. Subsequently, the short-term optimisation is a look-ahead Eco and Safe (EcoSafe) MPC approach with control and state constraints related to EV dynamics. Here, the target velocity profile from the long-term optimisation is used to narrow the search space for finding instantaneous safe and eco velocity. The safety-related constraints, such as Time to Collison (i.e. relative distance divided by the relative speed) and Inter-vehicular time (TIV, relative distance divided by the ego vehicle speed), are considered as the constraints in the MPC formulation. In the subsequent sections, the methodology is described in detail. In section IV, an analytical solution for EV dynamics is obtained by considering control constraints with the use of hydraulic, regenerative braking and the safe range for acceleration/deceleration. Then, this analytical solution is used in the design of a fast MPC optimiser section V. where _Fw_ [N] is the force on the wheel, _a_ [m _/_ s <sup>2</sup> ] is the acceleration, _v_ [m _/_ s] is the velocity, _θ_ is the angle of the road slope angle, _Fb_ [N] is the hydraulic brake and _cr,_ 1, _cr,_ 2 and _cr,_ 3 are the rolling friction coefficients. _Cd_, _ρ_, _A_, _vw_ are the aerodynamic drag coefficient, the air mass density, the effective frontal vehicle area and the wind velocity, respectively. For notational simplicity, the term _c_ 0 _(θ)_ + _c_ 1 _(θ) v_ + _c_ 2 _v_ <sup>2</sup> can be expressed as a steady-state force ( _Fss_ ) applied on the wheel. Equation (1 can then be rewritten as: _Fw_ = _ma_ + _Fss (v, θ, vw)_ + _Fb_ (2) The relationship between the force on the wheel and the electric motor torque ( _Tm_ ) is given by Han, _et al._ [12]: _/r_ (3) _Fw_ = - _Tmηt_ <sup>_sign(Tm)_</sup> _Rt_ where _Rt_ is the transmission ratio, _ηt_ is the transmission efficiency and _r_ is the wheel radius. It should be noted that _Fw_ has the same sign as _Tm_ since _ηt_, _Rt_ and _r_ are positive values. The term _sign_ ( _Tm_ ) is used to incorporate the efficiency of driveline for positive, negative and zero torques applied to the wheel. The power consumption can be obtained from the relationship between the voltage and current of the electric motor, which is equal to [7]: _Pe_ = _Vaia_ = _b_ 1 _vTm_ + _b_ 2 _Tm_ <sup>2</sup> (4) i.e. the relationship between _Pe_ and _Tm_ is quadratic. However, the torque is limited to be within the range _Tm,min_ ≤ _Tm_ ≤ _Tm,max_ . The range of the motor torque is a common approach for considering the operational range of electric motors in EVs [7], [10]. Instead of using the motor torque as the control variable, the acceleration is considered as the control variable in this study. This choice is not too restrictive, since Eqs. (2) and (3) can be used to solve for the motor torque from the desired acceleration. Indeed, having acceleration as the control variable allows the specification of control constraints to limit unsafe and uncomfortable accelerations directly. In this study, the interval [−4 _,_ 4] m _/_ s <sup>2</sup> is considered as the allowable range of acceleration, which is similar to other studies [26], [31]. Fig. 2 shows the relationship between _Tm_, _v_ and _a_ (within the allowable acceleration range) when _Fb_ is zero. If _a_ _>_ 0, the maximum acceleration is bounded by the maximum torque (blue line in Fig. 2), which shows that TABLE 1. System Parameters [12] FIGURE 2. Relationship between traction force, velocity and acceptable range of acceleration for EVs specified in Table 1. increasing the velocity reduces the maximum acceleration. If _a <_ 0, the negative _Tm_ can provide resistive force for reducing velocity. In this mode, the motor is used as a generator and can use some of the kinetic energy from the vehicle to charge the battery. Fig. 2 shows the minimum acceleration necessary for regenerative braking ( _amin,r_ ) when the hydraulic braking _Fb_ is zero. It is obviously preferable to use only regenerative braking to save energy since hydraulic braking transfers the kinetic energy to heat. However, to maintain safe operation, the combination of regenerative and hydraulic braking may be necessary. The optimum combination of regenerative braking and hydraulic braking, which results in the highest energy savings is the subject of section IV.B. The notation and parameter values used in this study are summarised in TABLE 1. In the next section, the long-term optimisation is developed for EVs. The problem is constrained within a safe acceleration range and propose a braking strategy to increase safety and maximise regenerative braking energy that combines hydraulic and regenerative braking. IV. CONTROL CONSTRAINED OPTIMAL CONTROL PROBLEM FOR LONG-TERM OPTIMISATION The long-term optimisation is used to identify the optimal speed profile with regard to the traffic conditions. As shown in Fig. 1, the purpose of the long-term optimisation is to determine the optimal control profile to reach the steadystate speed of the traffic ahead. For this study, the steadystate velocity is taken to be either the minimum of the average velocity of the preceding vehicle over a suitable time window (10s) or the driver preference velocity [24]. The optimal control statement of the long-term optimisation is given by: where _λs_ and _λv_ are the distance and velocity co-states and _ϵ_ is an indirect distance penalty (which will be used later for braking with distances) [32]. The co-state differential equations for _λv_ and _λs_ are given by the well-known necessary optimality conditions [33]: _Tm,min_ ≤ _T_ ≤ _Tm,max_ 0 ≤ _Fb_ ≤ Fb _,_ max _v_ 0 and _v_ - _tf_ - known - _tf_ - known (5) where _tf_ is free, _v_ 0 and _v_ - _tf_ - are initial velocity and final velocity, respectively. Since the target speed _v_ - _tf_ - is known, where _tf_ is free, _v_ 0 and _v_ - _tf_ - _tf_ velocity, respectively. Since the target speed _v_ - _tf_ - is known, fixed final time formulations tend to over-constrain the solution by requiring a specific average acceleration to achieve the target _v_ - _tf_ �. Instead, an indirect time penalty ( _ψ_ ) is the target _v_ - _tf_ �. Instead, an indirect time penalty ( _ψ_ ) is considered here to penalise excessively large final times. Methods to set _ψ_ based on driver preferences are discussed later in this section. The running cost is augmented with two penalty terms to (heavily) penalise violations of the control constraints. The two terms with the (large) weights _λc,max_ and _λc,min_ and the Heaviside function _h_ (·) serve to penalise accelerations that are less than the lower acceleration bound _amin_ or greater than the maximum acceleration _amax_ . The Hamiltonian of this system is as follows: _H_ := _Pe_ + _ψ_ + _(λs_ + _ϵ) v_ + _λva_ + _λc,max (a_ - _amax_ ( _v_ ) _)_ <sup>2</sup> _h (a_ - _amax_ ( _v_ ) _)_ - _tf_ - (6) + _λc,min_ - _a_ - _amin,r (v)_ �2 _h_ _amin,r (v)_ - _a_ min _a_ ( _t_ ) - _tf_ [ _Pe (t)_ + _ψ_ 0 <sup>_∂_</sup> _∂θ_ <sup>_H_</sup> <sup>·</sup> <sup>_∂θ_</sup> _∂s_ + _λc,max (a_ - _amax (v))_ <sup>2</sup> _h (a_ - _amax (v))_ + _λc,min (a_ - _amin (v))_ <sup>2</sup> _h (amin (v)_ - _a)_ ] _dt_ Subject to ˙ _s_ = _v_ Equation (7) forms a nonlinear two-point boundary value problem (TPBVP) whose solution usually requires numerical techniques (e.g., multiple shooting methods) [12], [34]. The long-term optimisation is customarily split into acceleration _λ_ ˙ _v_ = - <sup>_∂H_</sup> _∂v_ _λ_ ˙ _s_ = - <sup>_∂_</sup> _∂_ <sup>_H_</sup> _s_ _∂_ <sup>_H_</sup> _s_ <sup>= −</sup> <sup>_∂_</sup> _∂θ_ <sup>_H_</sup> (7) <sup>_∂θ_</sup> _∂s_ _v_ ˙ = _a_ = - _<u>Pe</u>_ _v_ <sup>−</sup> <sup>_Fss_</sup> <sup>−</sup> <sup>_Fb_</sup> _/m_ _Pe_ = _b_ 1 _vTm_ + _b_ 2 _Tm_ <sup>2</sup> and deceleration modes with a free final time. An indirect method to solve the Pontryagin’s Maximum Principle (PMP) described in previous studies will be used to solve for the optimal control [32], [35]. The optimal control must minimise the Hamiltonian function. If the Hamiltonian is continuous and differentiable in the control, then solving <sup>_<u>∂</u>_</sup> _<u>∂</u>_ <sup>_<u>H</u>_</sup> _a_ <sup>= 0 with respect to</sup> <sup>_a_</sup> <sup>yields the</sup> optimum acceleration [29], [32], [33]. Indeed, it can be seen that the Hamiltonian in Equation (6) is a continuous function since _H_ - _a_ <sup>−</sup> _min_ - = _H_ - _a_ <sup>+</sup> _min_ - and _H_ - _a_ <sup>−</sup> _max_ - = _H_ - _a_ <sup>+</sup> _max_ �. The If _λc,max_, _λc,min_ are large enough (ideally _λc,max_ = _λc,min_ →∞ ), then Equation (10) can be approximated by: _amax (v)_ _a_ ≥ _amax_ _amin (v)_ _amin_ ≥ _a_ _a_ ≈    C1 _λv_ + C2 − <sup>_<u>(Fss</u>_</sup> <sup>+</sup> <sup>_<u>Fb)</u>_</sup> <sup>+</sup> <sup>_<u>Fb)</u>_</sup> _amin_ _< a < amax_ _m_ C1 = - <sup>_<u>R</u>_</sup> _<u>t</u>_ <sup>2</sup> 2b _<u>t</u>_ <sup>2</sup> <sup>_η_</sup> _<u>t</u>_ <sup>2k</sup> _<u>t</u>_ <sup><u>)(</u></sup> <sup>_<u>b</u>_</sup> <sup><u>1</u></sup> <sup>_<u>rv</u>_</sup> <sup><u>)</u></sup> <sup>_<u>R</u>_</sup> <u>�</u> <sup>_<u>t</u>_</sup> 2b <sup>_η_</sup> <sup>k</sup> 2 _mr_ <sup>2�</sup> (11) - _a_ <sup>−</sup> - and _H_ _min_ since _H_ - _a_ <sup>−</sup> _min_ - = _H_ - _a_ <sup>+</sup> _min_ - and _H_ - _a_ <sup>−</sup> _max_ - = _H_ - _a_ <sup>+</sup> _max_ �. The derivative of the Hamiltonian with respect to _a_ is: - _a_ <sup>−</sup> _max_ _max_ <sup>_<u>R</u>_</sup> _<u>t</u>_ <sup>2</sup> <sup>_η_</sup> _<u>t</u>_ <sup>2k</sup> C2 = − <sup><u>(</u></sup> <sup>_<u>R</u>_</sup> <u>�</u> <sup>_<u>t</u>_</sup> <sup>_η_</sup> _<u>t</u>_ <sup>k</sup> 2b2 _r_ <sup>2</sup> <sup>_,_</sup> 2b2 - = _H_ - _a_ <sup>+</sup> _min_ - = _H_ - _a_ <sup>+</sup> _∂H_ _∂a_ <sup>=</sup> <sup>0</sup> = <sup>_<u>dP</u>_</sup> _da_ <sup>_<u>e</u>_</sup> <sup>+</sup> <sup>_λv_</sup> (8) Since the problem is considered as a free-final time, the value of Hamiltonian must be equal to zero at an extremal trajectory [33]. Substituting _λv_ in Equation (6) and considering _H_ = 0 gives the following necessary condition: _Pe (a, v)_ + _ψ_ + ( _λs_ + _ϵ_ ) _v_ + _λva_ + _λc,max (a_ - _amax_ ( _v_ ) _)_ <sup>2</sup> _h (a_ - _amax_ ( _v_ ) _)_ + _λc,min (a_ - _amin (v))_ <sup>2</sup> _h (amin (v)_ - _a)_ = 0 (12) Solving Equation (12) with respect to _λv_ yields the relation between the optimum _λv_ and _a_ . where <sup>_<u>dP</u>_</sup> _da_ <sup>_<u>e</u>_</sup> <sup>is equal to</sup> _<u>dPe</u>_ _da_ <sup>=</sup> <sup><u>2b2</u></sup> <sup>_<u>mr</u>_</sup> <sup>2</sup> <sup>_<u>(F</u>_</sup> _R_ <sup>_<u>ss</u>_</sup> <sup>2</sup> _t η_ <sup>+</sup> _t_ <sup>2k</sup> <sup>_<u>Fb</u>_</sup> <sup>+</sup> <sup>_<u>am)</u>_</sup> _Rt_ _ηt_ <sup>_k_</sup> _<u>dPe</u>_ _R_ <sup>2</sup> _t ηt_ <sup>2k</sup> + <sup>_<u>b</u>_</sup> <sup><u>1</u></sup> <sup>_<u>mrv</u>_</sup> _R_ <sup>2</sup> _t ηt_ <sup>2k</sup> _t_ + 2 _λc,max (a_ - _amax (v)) h (a_ - _amax (v))_ + 2 _λc,min (a_ - _amin (v)) h (amin (v)_ - _a)_ + _λc,max (a_ - _amax (v))_ <sup>2</sup> _δ (a_ - _amax (v))_ + _λc,min (a_ - _amin (v))_ <sup>2</sup> _δ (amin (v)_ - _a)_ (9) _λv_ = − _Pe (a, v)_ + _ψ_ + _(λs_ + _ϵ) v_ + _λc,max (a_ - _amax (v))_ <sup>2</sup> _h (a_ - _amax (v))_ + _λc,min_ _(a_ - _amin_ _(v))_ <sup>2</sup> _h (amin_ _(v)_ - _a)_ (13) _a_ The term _δ (_ - _)_ is the Dirac Delta function (which is the derivative of _h (_ - _)_ ) and _k_ ≜ _sign (Tm)_ . Noting that _xδ (x)_ = 0∀ _x_, the last two terms can be eliminated and Equation (9) can be substituted into Equation (8) to obtain the following expressions for the extremal control _a_ : If _amin_ ≤ _a_ ≤ _amax_ : Substituting _λv_ from Equation (13) into Equation (11), and re-arranging the right side of Equation (11) with respect to _a_, yields the optimal acceleration with respect to _λs_ : _amin_ _(v)_ _amin_ ≥ _a_ _D_ 0 _Fss_ <sup>2</sup> <sup>+ D1</sup> <sup>_v (Fss_</sup> <sup>+</sup> <sup>_Fb)_</sup> +D2 _ψ_ + D2 _v (λs_ + _ϵ)_ D3 _amin_ _< a < amax_    ~~�~~ <u>�</u> ±� _λv_ _a_ = − _a_ <sup>∗</sup> = _<u>b</u>_ <u>1</u> _<u>mrv</u>_ _Rt_ _ηt_ <sup>_k_</sup> _m_ <sup><u>2b2</u></sup> <sup>_<u>mr</u>_</sup> <sup>2</sup> _R_ <sup>2</sup> _t ηt_ <sup>2</sup> <sup>_k_</sup> - <sup>_<u>(Fss</u>_</sup> <sup>+</sup> <sup>_<u>Fb)</u>_</sup> (10)a _m_ _m_ <sup><u>2b2</u></sup> <sup>_<u>mr</u>_</sup> <sup>2</sup> _R_ <sup>2</sup> _t ηt_ <sup>2</sup> <sup>_k_</sup> If _a_ ≤ _amin_ : _a_ = _famin (λv)_ = A0 _λv_ + A1 + A2 _amin (v)_ (10)b If _a_ ≥ _amax_ : _a_ = _famax_ _(λv)_ = B0 _λv_ + B1 + _B_ 2 _amax (v)_ (10)c (14)a _D_ 0 = _b_ 2 _r_ <sup>2</sup> _,_ D1 = _Rt_ _b_ 1 _ηt_ <sup>_k_</sup> <sup>_r,_</sup> <sup>D2</sup> <sup>=</sup> <sup>_R_</sup> _t_ <sup>2</sup> <sup>_η_</sup> _t_ <sup>2</sup> <sup>_k_</sup> _D_ 3 = _b_ <sup>2</sup> _m_ <sup>2</sup> _r_ <sup>2</sup> (14)b The value of co-estate _λs_ is obtained by assuming a relaxed condition for the final time _a_ <sup>∗</sup> <sup>�</sup> _tf_ - = 0 with _v_ equal to the _amax (v)_ _a_ ≥ _amax_ _t_ <sup>_k_</sup> <sup>_r,_</sup> <sup>D2</sup> <sup>=</sup> <sup>_R_</sup> _t_ <sup>2</sup> _t_ <sup>2</sup> <sup>_η_</sup> _t_ <sup>2</sup> <sup>_k_</sup> _<u>R</u>_ <sup>2</sup> _<u>t</u>_ _A_ 0 = - <u>�</u> <sup>2</sup> _<u>t</u>_ <sup>_η_</sup> _<u>t</u>_ <sup>2</sup> <sup>_k_</sup> _<u>t</u>_ <sup>_η_</sup> _<u>t</u>_ <sup>2</sup> <sup>_k_</sup> <u>�2b2</u> _m_ <sup>2</sup> _r_ <sup>2</sup> + 2 _λc,minR_ <sup>2</sup> _t ηt_ <sup>2</sup> <u>�</u> _tf_ _A_ 1 = - <sup>_<u>Rt</u>_</sup> <sup>_η_</sup> <u>�</u> <sup>_<u>t</u>_</sup> <sup>_<u>b</u>_</sup> <sup><u>1</u></sup> <sup>_<u>mrv</u>_</sup> <sup>+ 2b2</sup> <sup>_<u>mr</u>_</sup> <sup>2</sup> <sup>_<u>(Fss</u>_</sup> <sup>+</sup> <sup>_<u>F</u>_</sup> <u>�</u> <sup>_<u>b)</u>_</sup> 2b2 _m_ <sup>2</sup> _r_ <sup>2</sup> + 2 _λc,minR_ <sup>2</sup> _t ηt_ <sup>2</sup> <sup>_k_</sup> condition for the final time _a_ <sup>∗</sup> <sup>�</sup> _tf_ - = 0 with _v_ equal to the steady-state velocity _vss_ (i.e. _v_ ( _tf_ ) = _vss_ ) and a constant slope angle for the upcoming horizon <sup>1</sup> : <u>�</u> _H_ - _tf_ - = 0 = _D_ 0 _P_ <sup>2</sup> _ss_ <sup>_(vss)_</sup> <sup>+</sup> <sup>_(_</sup> <sup>D1</sup> <sup>_vss) Pss (vss)_</sup> <sup>+ D2</sup> <sup>_ψ_</sup> - = 0 = _D_ 0 _P_ <sup>2</sup> _ss_ <u>2</u> _<u>R</u>_ <sup>2</sup> _<u>t</u>_ <sup>_η_</sup> _<u>t</u>_ <sup>2</sup> <sup>_k_</sup> _A_ 2 = <u>�</u> (10)d <u>�</u> _<u>t</u>_ <sup>_η_</sup> _<u>t</u>_ <sup>2</sup> <sup>_k_</sup> <u>�</u> <u>2b2</u> _<u>m</u>_ <sup>2</sup> _<u>r</u>_ <sup>2</sup> _<u>λc,min</u>_ <sup>+2</sup> <sup>_R_</sup> <sup>2</sup> <sup>_t η_</sup> _t_ <sup>2</sup> <sup>_k_</sup> + _D_ 2 _vss (λs_ + _ϵ)_ (15) _λs_ can be obtained by solving Equation (15): _t_ _<u>R</u>_ <sup>2</sup> _<u>t</u>_ _B_ 0 = - <u>�</u> <sup>2</sup> _<u>t</u>_ <sup>_η_</sup> _<u>t</u>_ <sup>2k</sup> <u>�</u> - _ϵ_ (16) _<u>r</u>_ <sup>2</sup> _<u>Fss</u>_ <sup>2</sup> <sup>_<u>(vss)</u>_</sup> + _ψ_ _R_ <sup>2</sup> _<u>t</u>_ _ηt_ <sup>2k</sup> _<u>t</u>_ <sup>_η_</sup> _<u>t</u>_ <sup>2k</sup> <u>�</u> 2b2 _m_ <sup>2</sup> _r_ <sup>2</sup> + 2 _λc,maxR_ <sup>2</sup> _t ηt_ <sup>2k</sup> _b_ 1 <sup>_<u>(rvss)Fss(vss)</u>_</sup> + _b_ 2 _Rt_ _ηt_ <sup>k</sup> _vss_ <sup>_η_</sup> <u>�</u> _<u>t</u>_ <sup>_k_</sup> <sup>_b_</sup> <u>1</u> <sup>_mrv_</sup> <sup>+ 2b2</sup> <sup>_mr_</sup> <sup>2</sup> <sup>_(Fss_</sup> <sup>+</sup> <sup>_F_</sup> <u>�</u> <sup>_<u>b)</u>_</sup> 2b2 _m_ <sup>2</sup> _r_ <sup>2</sup> + 2 _λc,maxR_ <sup>2</sup> _t ηt_ <sup>2k</sup> _λs_ = − _B_ 1 = - <sup>_Rt_</sup> <sup>_η_</sup> <u>�</u> _<u>t</u>_ <sup>_k_</sup> <u>�</u> <u>2</u> _<u>R</u>_ <sup>2</sup> _<u>t</u>_ <sup>_η_</sup> _<u>t</u>_ <sup>2k</sup> _B_ 2 = <u>�</u> <u>2b2</u> _<u>m</u>_ <sup>2</sup> _<u>r</u>_ <sup>2</sup> _<u>λc,max</u>_ <sup>+2</sup> <sup>_R_</sup> <sup>2</sup> <sup>_t η_</sup> _t_ <sup>2k</sup> <u>2</u> _<u>R</u>_ <sup>2</sup> _<u>t</u>_ <sup>_η_</sup> _<u>t</u>_ <sup>2k</sup> _B_ 2 = <u>�</u> (10)e <u>�</u> The magnitude of the right side of Equation (16) is related to the energy consumption per distance at _vss_, modified by the 1This condition enables cruising after the acceleration maneuver is terminated. time penalty _ψ_ . Since the optimum policy should minimise the Hamiltonian and co-states, the value of _ψ_ should also minimise Equation (16). Since <sup>_<u>P</u>_</sup> _v_ <sup>_<u>e</u>_</sup> <sup>is</sup> <sup>convex</sup> <sup>in</sup> <sup>_v_</sup> <sup>,</sup> <sup>the</sup> <sup>value</sup> of _ψ_ that minimises Equation (16) is as follows [32]: _∂_ <sup>_<u>Pe(a</u>_</sup> <sup><u>=0</u></sup> <sup>_<u>,v)</u>_</sup> <sup><u>+</u></sup> <sup>_<u>ψ</u>_</sup> _<u>v</u>_ _∂v_ ����� _v_ = _vss_ = 0 (17) Solving Equation (17) gives the indirect time penalty _ψ_ for a specific preference velocity. Indeed, instead of considering _tf_ to obtain the velocity profile, which is difficult to localise based on traffic conditions and hard to interpret for the driver, the upcoming traffic velocity or comfort velocity _vc_ is used to obtain a reference trajectory. If the driver intention is to drive at any desired velocity, the _ψ_ value can be obtained from Eq. (17) when _vss_ = _vc_ . Solving Eq. (17) for _ψ_ = 0 returns the optimum steady-state velocity ( _vopt_ ). Cruising at _vopt_ provides a lower energy consumption and longer range. For the EV dynamics reported in Table 1, _vopt_ is equal to 18 km/h. Equation (14) shows that the driving scenario can be divided into _a_ ≥ 0 and _a <_ 0 by considering the ± sign before the square root operator. In addition, the hydraulic brake, _Fb_ in Equation (14) needs to be determined. The subject of the next two sections is to describe how the velocity profile and the control parameters are obtained from Equation (14) under different acceleration and deceleration scenarios. _A._ _ACCELERATION MODE (a_ ≥ _0)_ In the acceleration mode ( _v_ 0 ≤ _vss_ ), the minimum acceleration is _amin_ in Equation (14) equals to zero, and _k_ = 1 _._ Since in this mode _Fb_ = 0, the optimal policy of control to reach _vss_ is given by: _amax (v)_ _a_ ≥ _amax_ ( _v_ ) 0 _<a < amax_ _a_ <sup>∗</sup> =    0 _a_ ≤ 0 ~~�~~ <u>��</u> _D_ 0 _Fss_ <sup>2</sup> <sup>+</sup> <sup>_D_</sup> <sup>1</sup> <sup>_v (Fss)_</sup> - + _D_ 2 _ψ_ + _D_ 2 _v (λs_ + _ϵ)_ - 0 _<a_ _D_ 0 _Fss_ <sup>2</sup> _D_ 0 _Fss_ <sup>2</sup> <sup>+</sup> <sup>_D_</sup> <sup>1</sup> <sup>_v (Fss)_</sup> + _D_ 2 _ψ_ + _D_ 2 _v (λs_ + _ϵ)_ (18) introduction of regenerative braking. Since _λs_ and _ψ_ are constant values in the Hamiltonian, increasing _ψ_ can increase the average speed and, consequently, increase energy consumption. Therefore only _λv_ has an influence when minimising the Hamiltonian. Unlike the acceleration case, deceleration nearly always comes with a finite distance (e.g. slowing down for a new speed limit, coming to a stop at an intersection). The final distance is handled using an indirect distance penalty _ϵ_ which needs to be calculated for a specific distance and can be obtained using a line search [32]. To find _λv_, _a_ ( _t_ ) must be identified forthe three different modes: i. If _Tm_ _>_ 0 and _a_ ≤ 0, deceleration is occurring while consuming energy from the battery. In this case, 0 _<_ _Tm_ ≤ <sup>_<u>ηt</u>_</sup> _mR_ <sup>_<u>rmF</u>_</sup> _t_ <sup>_<u>ss</u>_</sup> . This mode is not considered since it is clearly suboptimal (we know energy can be saved with regeneration braking). ii. If _Tm_ = 0, coasting is occurring and _a_ <sup>∗</sup> = − _Fss/m_ . iii. If _Tm_ _<_ 0, regenerative braking is occurring. In this mode, the electric motor is driven to charge the battery from the deceleration of the vehicle. The optimum deceleration is a combination of possible deceleration modes including regenerative braking, coasting and hydraulic braking. [7] shows that three modes of braking can be encountered: ‘Regenerative braking + hydraulic braking’ (RHB), ‘Only regenerative braking’ (RB) and ‘Coasting + regenerative braking’ (CRB). In the following subsection, we develop a heuristic Pontryagin’s Maximum Principle (PMP)-based approach for these three deceleration modes for long-term optimisation with control constraints. 1) DECELERATION WITH ONLY REGENERATIVE BRAKING This mode is similar to _a_ <sup>∗</sup> ≥ 0 when the control is acceleration and _Fb_ = 0 and _amin_ = _amin,r_ . In this mode, _Tm_ has a negative value and _sign (Tm)_ = −1. Since increasing the time penalty _ψ_ results in increasing both the average velocity and energy consumption, _ψ_ is set to zero in the deceleration mode. In addition, _amax_ = 0 and the term _h (a_ - _amax (v))_ is not an active constraint and it is given by Equation (19). _D_ 3 0 _a_ ≥ 0 Equation (18) is a simple representation of an acceleration problem with control constraints. The distance penalty _ϵ_ is included for the sake of generality and can be used for cases where the acceleration distance is limited (e.g., merging). In this article, _ϵ_ = 0 for the acceleration case without loss of generality. In the case of limited-distance acceleration, this penalty can be determined using a simple line search. This simplicity represents a key advantage of the proposed method compared to state of the art: the line search replaces multiple shooting methods [7], [12] to solve a two-point boundary value problem. _B._ _DECELERATION MODE (a_ ≤ _0)_ The deceleration problem is complicated beyond what is typically considered in eco-driving, given that it involves the (19) The deceleration scenario is defined for a specific distance to reach _vss_ . The distance penalty _ϵ_ is obtained using an exact line search (e.g., Fibonacci search) to achieve a specified final distance _se_, which is found from either 1) the desired final gap with the preceding vehicle or 2) the distance required for decelerating from a higher to a lower speed limit. If _ϵ_ = 0, the vehicle first decelerates to _vopt_ and then coasts on that _amin,r_ _(v)_ _a_ ≤ _amin,r_ ( _v_ ) _D_ 0 _Fss_ <sup>2</sup> <sup>+</sup> <sup>_D_</sup> <sup>1</sup> <sup>_vFss_</sup> + _D_ 2 _ψ_ + _D_ 2 _v (λs_ + _ϵ)_ _D_ 3 _amin_ _< a<_ 0 _a_ <sup>∗</sup> =    ~~�~~ <u>�</u> −� FIGURE 3. Deceleration scenario for 70 km/h to 0 in 60 m using DP. velocity. This is because the solution is calculated with a free final time condition and the best energy consumption per distance is attainable when a vehicle is driving at its optimum speed. 2) DECELERATION CONSIDERING HYDRAULIC BRAKING Hydraulic braking is not an ideal choice for optimum energy deceleration since it transfers the kinetic energy into heat. However, when regenerative braking is insufficient to avoid a safety constraint violation, hydraulic braking must be used to reduce velocity. Since the use of hydraulic brakes is more likely in safety critical scenarios, fast calculation is of paramount importance. To consider hydraulic braking _Fb_ and ensure fast calculation, a one-dimensional auxiliary optimisation problem is solved which seeks to approximate the optimal solution while satisfying the final distance constraint. In the following, this procedure is discussed and the solutions is compared to the true (but not implementable) optimal solution, which is found via dynamic programming. To motivate further developments, consider the following scenario where hydraulic braking is required: the deceleration from 70km/h to zero for vehicle dynamics is presented in Table 1. For this vehicle, hydraulic braking is required if _se_ _<_ 60m. Fig. 3 shows the optimum deceleration from 70 km/h to zero obtained via distance-based dynamic programming (DP) using the method from [16] with a 5 m step size. It can be seen that _Tm_ is driven to the boundary to regenerate maximum energy. However, to attain this value, _a_ <sup>∗</sup> is less than _amin,r_, which necessitates hydraulic braking. When _v_ ≈ 50 _km/h_, the deceleration may be achieved using only regenerative braking and the optimal FIGURE 4. Linear search to reach the acceleration boundary for regenerative braking. acceleration can be found using the regenerative only method from Section IV.B.1. A method to mimic this behaviour will now be discussed which can provide a close-to-optimal solution while avoiding the computationally complex DP. Firstly, a heuristic is developed to manage the deceleration with hydraulic braking into the regenerative braking only feasible zone. Once this zone is achieved the remaining deceleration with only regenerative braking may be found via the PMP solution in Equation (19). The quality of the proposed method is evaluated using a simulation for a different scenario in section VI. Motivated by the DP results in Fig. 3, it is assumed that the acceleration outside the feasible region follows a linear relationship with the vehicle velocity as illustrated in Fig. 4: - + _amin,r_ (20) _a_ ¯ _(v)_ = _ki_ - _v_ - _v_ min _,r_ where - _vmin,r_ _, amin,r_ �is a selected point on the regenerative braking–only feasible region (i.e. the red curve in Fig. 3a). Once this point is selected, the slope can be computed as where - _vmin,r_ _, amin,r_ _ki_ = <sup>_<u>a</u>_</sup> <sup><u>0</u></sup> <sup>−</sup> <sup>_<u>amin,r</u>_</sup> _v_ 0 − _vmin,r_ Plugging Eq. (20) into the vehicle dynamics yields: - + _amin,r_ (21) _v_ ˙ = _a_ ¯ _(v)_ = _ki_ - _v_ - _v_ min _,r_ which is a linear differential equation. Without loss of generality, consider the case where _t_ = 0 is the beginning of the braking event. Eq. (21) may be solved with initial condition _v (_ 0 _)_ = _v_ 0 to obtain: _v (t)_ = _α_ + _βe_ <sup>−</sup> <sup>_kt_</sup> (22) where _α_ ≜ _<u>amin,r</u>_ + _kkvmin,r_ + _kkvmin,r_ and _β_ ≜ _<u>kv</u>_ <u>0−</u> _<u>amink,</u>_ <sup>2</sup> _<u>r</u>_ - _<u>kvmin,r</u>_ where _α_ ≜ _<u>amin,r</u>_ + _kkvmin,r_ and _β_ ≜ _<u>kv</u>_ <u>0−</u> _<u>amink,</u>_ <sup>2</sup> _<u>r</u>_ - _<u>kvmin,r</u>_ . Note that because of the definition of _a_ ¯( _v_ ) in Eq. (20), the velocity will achieve _v (t_ 1 _)_ = _vmin,r_ at some future time _t_ 1. After _t_ 1, the PMP regenerative-braking-only solution becomes feasible and the method developed in Section B can be applied for _t_ ≥ _t_ 1. To find the time where the PMP solution is active, let _v (t_ 1 _)_ = _vmin,r_ in Eq. (22), which can be solved to obtain _t_ 1: (23) _t_ 1 = − <sup><u>1</u></sup> _k_ <sup>· ln</sup> _t_ 1 = − <sup><u>1</u></sup> _k_ - _<u>amin,r</u>_ _amin,r_ + _kvmin,r_ - _kv_ 0 Algorithm 1 Algorithm for Obtaining Close-to-Optimal <u>Braking (</u> _<u>a</u>_ ˆ) Input : _v_ 0 _, vc, se_ Output : _a_ ˆ( _t_ ) Let _a_ <sup>∗</sup> _PMP_ <sup>(</sup> <sup>_ν_</sup> <sup>0</sup> <sup>_, νf, s_</sup> <sup>)</sup> <sup>denote</sup> <sup>the</sup> <sup>control</sup> <sup>trajectory</sup> <sup>obtained</sup> via the PMP braking solution from Section IV.B with initial velocity _ν_ 0, final velocity _νf_ and final distance _s_ . If PMP solution is feasible with _v_ 0 _, vc, se_ : _a (t)_ ← _a_ <sup>∗</sup> _PMP_ <sup>(</sup> <sup>_v_</sup> <sup>0</sup> <sup>_, vc, se_</sup> <sup>)</sup> Else (hydraulic brakes needed ): _Energy_ ← 0 For - _vmin,r_ _,_ - _vmin,r_ _, amin,r_ _vmin,r_ _, amin,r_ - on the RB-only boundary: _a_ ¯ _(t)_ = _kiα_ + _kiβe_ <sup>−</sup> <sup>_kt_</sup> - _kiv_ min _,r_ + _amin,r_ _t_ 1 = − _k_ <sup><u>1</u></sup> <sup>· ln</sup> - _amin,r_ + _<u>akvminmin,r</u>_ _,r_ - _kv_ 0 _k_ <sup><u>1</u></sup> <sup>· ln</sup> - _<u>amin,r</u>_ _amin,r_ + _kvmin,r_ - _kv_ 0 _s (t_ 1 _)_ = _αt_ 1 + _β_ �1 − _e_ <sup>−</sup> <sup>_kt_</sup> <sup>1�</sup> - _a_ ¯ _(t)_ _t_ _< t_ 1 _a_ <sup>∗</sup> _PMP_ <sup>(</sup> <sup>_vmin,r_</sup> <sup>_, vc, se_</sup> <sup>−</sup> <sup>_s (t_</sup> <sup>1</sup> <sup>_)_</sup> <sup>)</sup> _t_ ≥ _t_ 1 _a (t)_ = _a_ <sup>∗</sup> _PMP_ <sup>(</sup> <sup>_vmin,r_</sup> <sup>_, vc, se_</sup> <sup>−</sup> <sup>_s (t_</sup> <sup>1</sup> <sup>_)_</sup> <sup>)</sup> _t_ ≥ _t_ 1 Compute energy recovered → _E_ If _E_ ≥ _Energy_ _Energy_ ← _E_ _a_ ˆ _(t)_ ← _a_ ( _t_ ) End If End For <u>End If</u> The distance where the PMP solution starts may then be obtained by integrating Eq. (22) and evaluating the resulting expression at time _t_ = _t_ 1: - _s (t_ 1 _)_ = _αt_ 1 + _β_ 1 − _e_ <sup>−</sup> <sup>_kt_</sup> <sup>1</sup> (24) The remainder of the control arc can be obtained via PMP with _v_ 0 ← _vmin,r_ and _se_ ← _se_ - _s (t_ 1 _)_ (i.e. with the final distance decreased by the amount required to reach the regenerative-braking-only feasible region). Other hard braking scenarios are similar; they can be divided into regenerative-and-hydraulic-braking and regenerativebraking-only sub arcs. The regenerative-braking-only sub arc solution can be found with the PMP solution detailed in Section IV-B.1. The remaining issue is the selection of the entry point to the regenerative-braking-only feasible region - _vmin,r_ _, amin,r_ �. the regenerative-braking-only feasible region - _vmin,r_ _, amin,r_ �. This point is selected via a grid search along points on the feasible region boundary. The solution with the maximum energy recovery is selected. The overall algorithm for determining the close-to-optimal acceleration is summarised in Algorithm I. - _vmin,r_ _, amin,r_ When _a_ ˆ is obtained with Algorithm 1, _Fb_ <sup>∗</sup> <sup>is given by:</sup> - _Tminηt_ <sup>−1</sup> 0 _amin,r_ ≤ˆ _a_ ≤ 0 _Fb_ <sup>∗</sup> <sup>=</sup>    - _ma_ ˆ − _Fss_ _amin_ ≤ˆ _a < amin,r_ _r_ _t_ <sup>−1</sup> _Rt_ (25) FIGURE 5. Optimum deceleration shape when the final terminal _se_ is large when _ve_ 1 _<_ _vopt_ (Blue line) and _ve_ 2 _>_ _vopt_ (Red line). The braking solution from Equation ((25) will later be compared with DP in section VI to evaluate how close the proposed method is to the optimum solution. 3) DECELERATION USING COASTING AND REGENERATIVE BRAKING When deceleration can be performed over a long distance, the optimal regenerative braking solution may result in a low velocity for an excessive time. While this solution maximises energy recovery, such a solution may yield trajectories with extended cruising at low velocities and may not be acceptable in terms of safety and traffic considerations. Fig. 5 shows the two general cases of deceleration profile calculated by PMP i) when final velocity _ve_ 1 _> vopt_ (red line), and ii) when final velocity _ve_ 2 _< vopt_ (blue line). The normal behaviour in deceleration is when _ve_ 1 ≥ _vopt_ where the vehicle decelerates to _ve_ 1 and maintains a constant velocity. However, when _ve_ 2 _<_ _vopt_ the vehicle decelerates to _vopt_, cruises at this velocity, and subsequently conducts a second deceleration to reach the _ve_ 2. Although both deceleration profiles recover maximum energy (i.e., it is optimal), the excessive cruising at the (low) optimal velocity is undesirable in many situations and may have safety and/or traffic consequences. Therefore, a coasting phase is proposed at the beginning of the solution to eliminate cruising at the lower velocity. In the proposed method, the vehicle first coasts and then uses regenerative braking. Let _t_ 2 be a specified coasting time at the beginning of the braking manoeuvre and denote the distance and velocity at the end of this coasting period as _se_ and _ve_ 2, respectively. The velocity and distance under coasting can be found by solving the differential equation _s_ ¨ = _v_ ˙ = − <sup>_<u>Fss (v)</u>_</sup> (26) _m_ with the initial conditions _v (_ 0 _)_ = _v_ 0 and _s (_ 0 _)_ = 0. The distance _s_ 2 and velocity can be found by evaluating these solutions at _t_ 2. After the coasting event, the PMP method is used to solve for the optimal deceleration from _ve_ 2 to _ve_ within the distance _se_ - _s_ 2.The coasting time _t_ 2 is determined via a grid search on the coasting time _t_ 2 such that no cruising occurs (i.e. | _a (t)_ | _< ε_ for some small _ε_ ). V. SHORT-TERM OPTIMISATION USING MODEL PREDICTIVE CONTROL In this section, the long-term optimisation trajectory derived in the previous section is used as the reference trajectory in an MPC framework. To localise the solution, the optimal control problem is formulated as a nonlinear spatial trajectory optimisation problem, seeking to minimise energy consumption over the distance horizon. Using the distance-based formulation, the cost for a distance step of _�s_ is given by: _ζ_ = <sup>_<u>Pe</u>_</sup> <sup>+</sup> <sup>_ψ_</sup> _�s_ (27) _v_ which yields the MPC optimum control problem: min _ak_ +1 _,ak_ +2 _,...,ak_ + _m_ −1 _i_ = _p_ −1 _i_ =0 _ζk_ + _i_ | _k_ subject to: _vk_ + _i_ +1| _k_ = _vk_ + _i_ | _k_ + _ak_ + _i_ | _k (�t)_ _Tmin_ ≤ _Tk_ + _i_ | _k_ ≤ _Tmax_ 0 ≤ _vk_ + _i_ | _k_ ≤ _vtr,k_ + _i_ | _k_ _amin_ ≤ _ak_ + _i_ | _k_ ≤ _amax_ _Gp,k_ + _i_ | _k_ ≥ _vk_ + _i_ | _k_ _TIV min_ + _ℓ_ _Gp,k_ + _i_ | _k_ ≥ - _vf_ - _vpr_ - _TTC_ _min_ - _vf_ - _vpr_ - _TTC_ _min_ | _vf >vpr_ (28) where _p�s_ is the distance horizon, _Gp_ is the gap with the preceding vehicle, _ℓ_ is the minimum gap with the preceding vehicle, _vpr_ is the preceding vehicle’s velocity, _vf_ is the following vehicle’s velocity, TIVmin and TTCmin are the minimum inter-vehicle time and minimum time to collision, respectively. _vtr_ in Equation (28) is the target velocity, and it is calculated using analytical solutions developed in section IV. _vtr_ is the upper limit of the velocity range and represents driving in free-flow conditions (i.e., _TTCmin_ and _TIVmin_ are not active constraints). Maintaining an appropriate following distance with the preceding vehicle is the main safety issue, which is quantified by both the TIV and TTC, respectively. If the safety constraints are activated, the MPC obtains the speed profile satisfying the constraints associated with the traffic changes and EV dynamics. The TTC constraint is defined when the velocity of the following vehicle is greater than that of the preceding vehicle, which makes this constraint nonlinear. To ensure the satisfaction of safety constraints related to intervehicle safety, the modified distance base dynamic programming (MDDP) from [16] is employed. In addition to _Gp_, respecting speed limits and limiting the range of acceleration / deceleration are also constraints included in the proposed approach to ensure safety. For more details on the MDDP optimiser, the interested reader is referred to [16]. FIGURE 6. a) Comparison between proposed PMP and DP for acceleration scenario 0 to 70 km/h, b) Deceleration scenario from 70 km/h to 0 with different deceleration distances for proposed PMP solution (solid line) and DP (dashed line). VI. SIMULATION RESULTS AND DISCUSSION In this section, the PMP-based solution for long-term optimisation is first compared to the benchmark (DP) for different eco-driving sub-problems, including acceleration, deceleration using regenerative braking and deceleration using hydraulic braking. Then, the benefit of the EcoSafe-MPC is tested for a scenario with different speed limits and driver preference, to evaluate the effectiveness of the proposed method. _A._ _ACCELERATION FOR LONG-TERM OPTIMISATION_ The acceleration profile based on the PMP formulation has two penalties: time _ψ_ and distance _ϵ_ . The _ψ_ value was obtained from the desired steady-state velocity and Equation (17). The value of _ϵ_ represents the distance penalty for scenarios in which the vehicle needs to reach a specific speed within a specific distance (e.g., merging) and is calculated during a braking manoeuvre. Fig. 6(a) shows the comparison between DP and the proposed PMP-based solution. It is observed that the results are very close to DP, and the difference can be attributed to the quantisation error introduced when using DP. The distance penalty increases energy consumption because of the increased acceleration to reach _se_ . _B._ _DECELERATION SCENARIOS_ The proposed PMP method is evaluated in a simple deceleration scenario. We compare the proposed PMP solution to the optimum solution calculated by DP to verify our findings. It is demonstrated that the defined constrains is always considered in the proposed method. FIGURE 7. Comparison of proposed sub-optimal solution with DP for deceleration scenario (70 km/h to 0 in 60 m). 1) DECELERATION WITH ONLY REGENERATIVE BRAKING Here, only regenerative braking is used to decelerate from _v_ 0 to _vs_ . Fig. 6(b) shows the solutions using PMP and DP. Both approaches provide similar results, showing that the proposed sub-optimal solution is quite close to the optimal solution calculated via DP. It is also observed that increasing the deceleration distance results in driving at a lower velocity (15 km/h), which increases the travel time. The minimum distance to decelerate without using regenerative braking is bounded by the minimum acceleration _ar,min_ . For example, Fig. 6(b) shows that deceleration from 70 km/h to zero within 60 m requires an acceleration less than _ar,min_ and thus hydraulic brakes are necessary to reach the final condition. The proposed blended braking method described in section IV.B.2 is evaluated in the next section. 2) DECELERATION USING REGENERATIVE AND HYDRAULIC BRAKING Fig. 7 shows the comparison of solutions using DP and the proposed method with deceleration scenario in Fig. 3. It is observed that the proposed method has comparable performance compared to the optimal solution, but has the advantage of fast calculation (0.03 seconds) with lower memory usage compared to DP, which has 23 seconds’ computation time. The proposed deceleration solution is evaluated with different initial speeds in Fig. 8. The asterisks show the minimum distance that the vehicle can stop without using the hydraulic brakes. It is observed that, when only using regenerative braking, more distance is required to stop the vehicle. Furthermore, the distance where regenerative braking achieves the maximum energy recovery is close to the boundary where hydraulic braking would be required. This result implies that when braking at the maximum energy recovery point, a slight drop in the braking distance may require the use of the hydraulic brakes (and therefore waste energy). Also, the slope of the energy recovery curve is shallow to the right of the maximum, so there is little energy recovery penalty for braking over slightly longer-than-optimum distances. Thus, it may be desirable to plan to brake over longer distances to produce decelerations that recover near-maximum energy and are robust to small changes in the distance required to brake (e.g. due to misjudgement of the driver or changes in preceding vehicle motion). Further analysis has been done to identify the optimality of the proposed heuristic in Algorithm I. Since DP suffers from FIGURE 8. Energy produced by regenerative braking obtained from decelerating from 100, 80, 70, 60, 50, 40 and 30 km/h to 0 with different final distance. Solid line: proposed PMP. Dashed line: DP. FIGURE 9. The impact of the proposed coasting strategy on speed profile and recovered energy: deceleration from 70 to 40 km/h. discretisation errors, the proposed PMP recovers more energy compared to DP when only regenerative braking is used, i.e. _Fb_ = 0. When the hydraulic brake is necessary (left side of ‘‘∗’’ in each energy curve), the trends show a comparable result with DP and the produced energy is close to the DP solution. A Monte Carlo simulation was conducted by considering several initial velocities and deceleration distances. The results show that the proposed sub-optimal solution for regenerative braking recovers 98% of the optimal energy recovery (found using DP) when _Fb_ ̸ = 0. 3) COASTING AND REGENERATING To show the impact of the proposed coasting heuristic (Section IV-B3 on regenerative braking, a scenario is considered where the speed limit changes from 70 to 40 km/h. The methodology in Section IV.B.3 is employed and the resulting velocity profiles with different coasting distances _Ds_ are shown in Fig. 9. It shows that deceleration without coasting provides higher recovery of energy (i.e. Blue line in Fig. 9. However, this solution reaches final velocity at a distance of 300m and then cruises for the next 200 meters, which is not desirable. The dotted line with _Ds_ = 300m is the shortest cruising time where no coasting occurs at the end of the trajectory, so it selected as the preferred solution according to the methodology in Section IV.B.3. It is observed that the energy recovery is about 2 kW less than the optimum solution when the cruising in low velocity no longer exists. So far, the long-term optimised trajectory has been discussed. The trajectory is calculated using an analytical solution and can be updated in real-time. The advantages of the proposed method include fast computational time and consideration of the constraints for the control variables. _C._ _SHORT-TERM Eco AND SAFE MPC OPTIMISATION_ In this section, the proposed EcoSafe-MPC for EVs is tested. A 10-minute highway-urban mix traffic driving scenario, which has a hat-shaped speed limit, was used for this study. The preceding vehicle has a velocity profile similar to Fig. 10a (yellow line), and the following vehicle is driven using EcoSafe-MPC. It is assumed that the information of the preceding vehicle is available through Radar, LIDAR or C-ITS to capture the behaviour of the leading vehicle and TIVmin = 2 and TTCmin = 6 seconds. The EcoSafeMPC requires a prediction of the preceding vehicle in the optimisation horizon. The preceding vehicle behaviour is predicted using a constant acceleration approximation. The optimum distance for regenerative braking is used to increase the efficiency of regenerative braking during deceleration phases. The blended braking Fig. 10 shows the velocity profile, in distance of travel, along with control variables. It can be seen that the range of acceleration applied is within the defined range when torque is bounded with _Tmin_ and _Tmax_, consistent with the control constraints analytically defined in Section IV. Furthermore, Fig. 10(d) shows that regenerative braking is used to decelerate, except for two instances: at 1700 m when the vehicle reacts to the deceleration of the preceding vehicle and at 10, 110 m at the end of the trip for a full stop. The proposed strategy does not extend the driving time significantly (by 7 seconds) while saving 5.2% of energy compared to the preceding vehicle when the speed limit was chosen as the comfort velocity _vc_ . In order to examine the effect of the comfort velocity, the proposed method is tested by varying the comfort velocity as: _vc_ = (1 − _τ_ ) _Vlimit_ (29) where 0 ≤ _τ_ ≤ 1 represents the intention of the driver to accept reduced velocity from the speed limit (possibly to save energy). The value of _τ_ can simply be defined by the driver. For example, _τ_ = 0 _._ 1 shows that the driver is willing to reduce speed by 10% of the speed limit to save energy. TABLE 2 shows the effect of choosing the different value of _τ_ . It is observed that by reducing the speed, more energy can be saved. TABLE 2 shows that a 10% speed reduction and an increase in travel time by half a minute can save ∼10% energy. Indeed, this ∼10% reduction is achievable by increasing 5% of travel time for the selected driving scenario. A further in-depth look at Table 2 shows that the driving behaviour of the preceding vehicle has an impact on the energy saving of the ego vehicle. When the speed FIGURE 10. Control values for the tested scenario. (a): Velocity profile of preceding vehicle (Blue line), ego-vehicle utilised with EcoSafe-MPC (Green line), and speed limit (Red line). (b): Motor torque on travel distance for ego-vehicle using EcoSafe-MPC. (c): Acceleration of ego-vehicle using EcoSafe-MPC. (d): hydraulic brake applied by EcoSafe-MPC. TABLE 2. Comparison of Driving Time and Percentage of Energy Saving for Different Intention of the Driver ( _τ_ ) FIGURE 11. Computation demand of the proposed MPC framework. decreases from the initial velocity to 95% of the speed limit (i.e. _τ_ = 0 _._ 05), the energy consumption reduction is very small compared with the other results. This is because the preceding vehicle is often driving less than the speed limit (see Fig. 10a) and the velocity of the ego vehicle is still largely limited by the preceding vehicle. The same driving scenario for ICEVs is also considered for comparison. The same ICEV dynamics from [16] are used to simulate the driving scenario in Fig. 10a. The same comfort velocity _vc_ (for a given _τ_ ) was used for the ICEV as for the EV. The results are shown in TABLE 2, where it can be seen that EVs and ICEVs have the same performance when the speed limit is chosen as comfort velocity. However, by increasing the _τ_ value, ICEVs showed a better performance until _τ_ = 0 _._ 2. For _τ_ _>_ 0 _._ 2, the EV outperforms ICEV. This performance is related to the steady-state optimum velocity of driving for a different vehicle. Indeed, the optimum speed of the ICEV is equal to 58 km/h for the selected vehicle dynamics and driving around this point has better performance. However, for the chosen EV (Table 1), the optimum speed is 18 km/h. Finally, Fig. 11 shows the computational demand of the proposed algorithm in MATLAB on a PC with Core-i7 CPU and 16 MB of RAM. The CPU time required for one calculation of the optimal controls, including the longterm optimisation and the subsequent MPC-based short term adaptation. The result shows that the proposed method required 0.0638 seconds of calculation on average with a standard deviation of 0.0238 seconds, and it is always significantly less than the driving time. VII. CONCLUSION AND FUTURE WORK In this article, an energy-efficient optimisation was developed for electric vehicles. It is based on a model predictive control, combining long-term optimisation and short-term adaptation. This model takes into account regenerative braking by reframing the analytical solution for long-term optimisation. An analytical solution was developed with low computational demand. Pontryagin’s Maximum Principle (PMP) was used to solve for the energy optimal velocity profile for EVs under control constraints. The acceleration was used as the control, and it was bounded in the safe range by augmenting the running cost with the equality constraints. The deceleration problem was then divided into two possible situations: one where only regenerative braking is used or a combination of regenerative braking and hydraulic braking is required. The proposed analytical solution recovers 98% of the optimal energy recovery and has the advantage of providing a fast computation. The proposed MPC approach for EVs was also evaluated. The simulation results for a sample scenario shows that with the proposed EcoSafe-MPC, very little hydraulic braking was used, and the deceleration occurred primarily using regenerative braking, and resulted in a 5% energy savings while the travel time did not increase significantly. The performance of EVs with ICEVs was also compared for the same driving scenario. The results highlighted that eco-driving with EVs is 10% more efficient at lower speeds compared to ICEVs. Indeed, EVs are more efficient at lower speeds, suggesting that better fuel savings can be obtained in urban scenarios rather than highways and motorways with EVs, due to lower speed limits and higher likelihood of using regenerative braking in traffic. The future work of this research is to consider more sophisticated model for the limits of regenerative braking, e.g. due to battery inefficiencies, temperature effects, etc. Moreover, different aspects of safety, including rear-end collision risk and anticipating the behaviour of the vehicle behind, can also be considered in the MPC framework. The proposed approach can consider the use of cooperative Intelligent Transportation Systems (C-ITS) to obtain more accurately steady-state velocity of upcoming traffic. C-ITS can also be used for better planning of the trajectory. REFERENCES [1] L. Pérez-Lombard, J. Ortiz, and C. Pout, ‘‘A review on buildings energy consumption information,’’ _Energy Buildings_, vol. 40, no. 3, pp. 394–398, Jan. 2008. [2] P. Hertzke, N. Müller, S. Schenk, and T. Wu, ‘‘The global electric-vehicle market is amped up and on the rise,’’ _McKinsey_ _Center_ _Future_ _Mobility_, pp. 1–8, Nov. 2018. [3] M. A. A. Abdelkareem, L. Xu, M. K. A. Ali, A. Elagouz, J. Mi, S. Guo, Y. Liu, and L. Zuo, ‘‘Vibration energy harvesting in automotive suspension system: A detailed review,’’ _Appl._ _Energy_, vol. 229, pp. 672–699, Nov. 2018. [4] A. Vahidi and A. Sciarretta, ‘‘Energy saving potentials of connected and automated vehicles,’’ _Transp._ _Res._ _C,_ _Emerg._ _Technol._, vol. 95, pp. 822–843, Oct. 2018. [5] G. S. Larue, A. Rakotonirainy, S. Demmel, and H. Malik, ‘‘Fuel consump tion and gas emissions of an automatic transmission vehicle following simple eco-driving instructions on urban roads,’’ _IET Intell. Transp. Syst._, vol. 8, no. 7, pp. 590–597, Nov. 2014. [6] H. Lim, C. C. Mi, and W. Su, ‘‘A distance-based two-stage ecological driving system using an estimation of distribution algorithm and model predictive control,’’ _IEEE Trans. Veh. Technol._, vol. 66, no. 8, pp. 6663–6675, Aug. 2017. [7] A. Sciarretta, G. D. Nunzio, and L. L. Ojeda, ‘‘Optimal ecodriving control: Energy-efficient driving of road vehicles as an optimal control problem,’’ _IEEE Control Syst._, vol. 35, no. 5, pp. 71–90, Oct. 2015. [8] L. Guo, H. Chen, Q. Liu, and B. Gao, ‘‘A computationally efficient and hierarchical control strategy for velocity optimization of on-road vehicles,’’ _IEEE Trans. Syst., Man, Cybern. Syst._, vol. 49, no. 1, pp. 31–41, Jan. 2019. [9] E. Ozatay, U. Ozguner, and D. Filev, ‘‘Velocity profile optimization of on road vehicles: Pontryagin’s maximum principle based approach,’’ _Control_ _Eng. Pract._, vol. 61, pp. 244–254, Apr. 2017. [10] W. Dib, A. Chasse, P. Moulin, A. Sciarretta, and G. Corde, ‘‘Optimal energy management for an electric vehicle in eco-driving applications,’’ _Control Eng. Pract._, vol. 29, pp. 299–307, Aug. 2014. [11] S. Xie, X. Hu, Z. Xin, and J. Brighton, ‘‘Pontryagin’s minimum principle based model predictive control of energy management for a plug-in hybrid electric bus,’’ _Appl. Energy_, vol. 236, pp. 893–905, Feb. 2019. [12] J. Han, A. Sciarretta, L. L. Ojeda, G. De Nunzio, and L. Thibault, ‘‘Safe and eco-driving control for connected and automated electric vehicles using analytical state-constrained optimal solution,’’ _IEEE_ _Trans._ _Intell._ _Vehicles_, vol. 3, no. 2, pp. 163–172, Jun. 2018. [13] Z. Wang and J. Wang, ‘‘Ultra-local model predictive control: A model free approach and its application on automated vehicle trajectory tracking,’’ _Control Eng. Pract._, vol. 101, Aug. 2020, Art. no. 104482. [14] D. Lang, T. Stanger, R. Schmied, and L. del Re, ‘‘Predictive cooperative adaptive cruise control: Fuel consumption benefits and implementability,’’ in _Optimization and Optimal Control in Automotive Systems_ . Cham, Switzerland: Springer, 2014, pp. 163–178. [15] D. Moser, R. Schmied, H. Waschl, and L. del Re, ‘‘Flexible spacing adaptive cruise control using stochastic model predictive control,’’ _IEEE_ _Trans. Control Syst. Technol._, vol. 26, no. 1, pp. 114–127, Jan. 2018. [16] S. G. Dehkordi, G. S. Larue, M. E. Cholette, A. Rakotonirainy, and H. A. Rakha, ‘‘Ecological and safe driving: A model predictive control approach considering spatial and temporal constraints,’’ _Transp._ _Res._ _D,_ _Transp. Environ._, vol. 67, pp. 208–222, Feb. 2019. [17] H. Borhan, A. Vahidi, A. M. Phillips, M. L. Kuang, I. V. Kolmanovsky, and S. Di Cairano, ‘‘MPC-based energy management of a power-split hybrid electric vehicle,’’ _IEEE Trans. Control Syst. Technol._, vol. 20, no. 3, pp. 593–603, May 2012. [18] M. A. S. Kamal, M. Mukai, J. Murata, and T. Kawabe, ‘‘On board eco driving system for varying road-traffic environments using model predictive control,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Control_ _Appl._ _(CCA)_, Sep. 2010, pp. 1636–1641. [19] H. Lim, W. Su, and C. C. Mi, ‘‘Distance-based ecological driving scheme using a two-stage hierarchy for long-term optimization and short-term adaptation,’’ _IEEE_ _Trans._ _Veh._ _Technol._, vol. 66, no. 3, pp. 1940–1949, Mar. 2017. [20] H. Lim and W. Su, ‘‘Hierarchical energy management for power-split plug-in HEVs using distance-based optimized speed and SOC profiles,’’ _IEEE_ _Trans._ _Veh._ _Technol._, vol. 67, no. 10, pp. 9312–9323, Oct. 2018. [21] M. Vajedi and N. L. Azad, ‘‘Ecological adaptive cruise controller for plug in hybrid electric vehicles using nonlinear model predictive control,’’ _IEEE_ _Trans. Intell. Transp. Syst._, vol. 17, no. 1, pp. 113–122, Jan. 2016. [22] Y. Huang, E. C. Y. Ng, J. L. Zhou, N. C. Surawski, E. F. C. Chan, and G. Hong, ‘‘Eco-driving technology for sustainable road transport: A review,’’ _Renew. Sustain. Energy Rev._, vol. 93, pp. 596–609, Oct. 2018. [23] Z. Yi and P. H. Bauer, ‘‘Energy aware driving: Optimal electric vehicle speed profiles for sustainability in transportation,’’ _IEEE_ _Trans._ _Intell._ _Transp. Syst._, vol. 20, no. 3, pp. 1137–1148, Mar. 2019. [24] S. G. Dehkordi, G. S. Larue, M. Cholette, and A. Rakotonirainy, ‘‘Benefit assesment of an ecological and safe driving strategy using naturalistic driving data,’’ in _Proc. IEEE Intell. Vehicles Symp. (IV)_, Changshu, China, Jun. 2018, pp. 1931–1936. [25] S. A. Sajadi-Alamdari, H. Voos, and M. Darouach, ‘‘Ecological advanced driver assistance system for optimal energy management in electric vehicles,’’ _IEEE_ _Intell._ _Transp._ _Syst._ _Mag._, vol. 12, no. 4, pp. 92–109, Nov. 2020. [26] S. A. Sajadi-Alamdari, H. Voos, and M. Darouach, ‘‘Nonlinear model predictive control for ecological driver assistance systems in electric vehicles,’’ _Robot. Auto. Syst._, vol. 112, pp. 291–303, Feb. 2019. [27] Y. Jia, R. Jibrin, Y. Itoh, and D. Görges, ‘‘Energy-optimal adaptive cruise control for electric vehicles in both time and space domain based on model predictive control,’’ _IFAC-PapersOnLine_, vol. 52, no. 5, pp. 13–20, 2019. [28] A. Sciarretta and A. Vahidi, _Fundamentals_ _of_ _Vehicle_ _Modeling_ . Cham, Switzerland: Springer, 2020, pp. 33–62. [29] B. Saerens, ‘‘Optimal control based eco-driving,’’ Ph.D. dissertation, Dept. Mech. Eng., Katholieke Universiteit Leuven, Leuven, Belgium, 2012. [30] S. Lekshmi and P. S. L. Priya, ‘‘Mathematical modeling of elec tric vehicles—A survey,’’ _Control_ _Eng._ _Pract._, vol. 92, Nov. 2019, Art. no. 104138. [31] P. Bonsall, R. Liu, and W. Young, ‘‘Modelling safety-related driving behaviour-impact of parameter values,’’ _Transp._ _Res._ _A,_ _Policy_ _Pract._, vol. 39, pp. 425–444, Jun. 2005. [32] B. Saerens and E. Van den Bulck, ‘‘Calculation of the minimum-fuel driving control based on Pontryagin’s maximum principle,’’ _Transp. Res._ _D, Transp. Environ._, vol. 24, pp. 89–97, Oct. 2013. [33] D. E. Kirk, _Optimal_ _Control_ _Theory:_ _An_ _Introduction_ . Chelmsford, MA, USA: Courier Corporation, 2012. [34] Y. Zhou, M. E. Cholette, A. Bhaskar, and E. Chung, ‘‘Optimal vehicle trajectory planning with control constraints and recursive implementation for automated on-ramp merging,’’ _IEEE Trans. Intell. Transp. Syst._, vol. 20, no. 9, pp. 3409–3420, Sep. 2019. [35] A. B. Schwarzkopf and R. B. Leipnik, ‘‘Control of highway vehicles for minimum fuel consumption over varying terrain,’’ _Transp._ _Res._, vol. 11, no. 4, pp. 279–286, Aug. 1977. SEPEHR G. DEHKORDI received the B.S. degree in electrical engineering from the Azad University of Najafabad, in 2011, the M.S. degree in control and automation engineering from Universiti Putra Malaysia, in 2015, and the Ph.D. degree from the Queensland University of Technology, in 2019. Since 2019, he has been a Research Associate with the Centre for Accident Research and Road Safety, QLD, Australia, researching on the Connected Automated Vehicle and Intelligence Transportation System (ITS). His research interests include instrumented and autonomous systems, artificial intelligence and automation, optimization techniques in control theory, and road safety approaches in ITS. MICHAEL E. CHOLETTE received the B.S. degree in mechanical engineering from the University of Michigan, Ann Arbor, MI, USA, in 2007, and the M.S. and Ph.D. degrees from the University of Texas at Austin, Austin, TX, USA, in 2012. Since 2012, he has been with the Queensland University of Technology (QUT), Brisbane, QLD, Australia, first as a Postdoctoral Fellow with the CRC for Infrastructure and Engineering Asset Management (CIEAM) and then as a Lecturer in 2013. He is currently a Senior Lecturer with the School of Mechanical, Medical and Process Engineering. His current research interests include engineering optimization and engineering asset management, particularly condition-based maintenance. Dr. Cholette is a member of the Engineers Australia and the International Society of Engineering Asset Management (ISEAM). GRÉGOIRE S. LARUE received the M.Sc. degree in mathematics from the University of Queensland, Australia, and the M.E. degree from the Ecole Centrale de Lyon, France. In 2006, he joined the Centre for Accident Research and Road Safety–Queensland, Queensland University of Technology. He is currently a Senior Research Fellow in road safety and intelligent transport systems. He has worked on a range of industrial and government projects focusing on evaluating how road users react to new technologies. ANDRY RAKOTONIRAINY is currently the Deputy Director of CARRS-Q and Intelligent Transport System Human factor research program within CARRS-Q. He has 20 years of research and management experience in computer science and brings advanced expertise in road safety and ITS. He has authored more than 220 internationally refereed articles in prestigious conferences and journals. His research has made extensive use of driving simulators, traffic simulators, and instrumented vehicles for developing system prototypes, assessing cost-benefits, understanding human errors, and evaluating system deployment. SÉBASTIEN GLASER received the Ph.D. degree in automatic and control (defining a driving assistance system in interaction with the driver) in 2004. He was a Researcher in the Development of Connected and Automated Vehicles (CAV). He is currently a Professor of intelligence transportation system with CARRS-Q, QUT. He is also doing research on AV interaction with road users and innovative methods to improve this relationship. He is also managing the Cooperative Highly Automated Driving Safety Study (CHAD) project with the Queensland Department of Transport and Main Roads and iMOVE-CRC.

섹션 본문 89문단 · 43,589자

(제목 없음)

1In this manuscript, a control strategy for electric vehicles is developed to optimise the energy consumption while respecting constraints associated with both inter-vehicle safety and comfort, which is a challenge in typical optimal control solution methodologies. Firstly, the long-term optimal control is developed using Pontryagin's Maximum Principle (PMP). Thereafter, the obtained PMP solution is used to bound the state space for a computationally tractable Dynamic Programming (DP) optimisation to ensure the satisfaction of the safety constraints. While the acceleration subproblem solution is similar to internal combustion engine vehicles (ICEVs), the combination of regenerative and hydraulic braking significantly alters the nature of the optimal braking profile. Since a DP solution is not tractable for realtime implementation of combined braking, a fast heuristic is developed, which achieves 98% of the optimal energy recovery calculated by the DP in the simulated cases. Simulation results demonstrate that the proposed strategy respects the acceleration and safety constraints while saving approximately 5% energy use without significantly increasing travel time. Further simulations were conducted to evaluate the effect of driver preferences on energy use. It was shown that a 9.5% reduction in energy use if the driver is willing to accept a 10% speed reduction.INDEX TERMS Electric vehicle, model predictive control, Pontryagin maximum principle, dynamic programming.

I. INTRODUCTION

2The transportation sector is responsible for 30% of global emissions across the world [1]. Electric Vehicles (EVs) have the potential to reduce the negative environmental impacts of the transport sector (particularly if these vehicles are charged using renewable energy). The market penetration of EVs has increased 57% in the past decade and it is expected grow rapidly until 2040 [2]. Yet, the main challenge with the uptake of EVs is their reduced range compared to internal combustion engine vehicles (ICEVs). While the range of EVs may be extended through new technologies (e.g. vibration energy harvesting) [3], driving style is also highly influential and can be improved by ecological driving (eco-driving).

3Eco-driving consists of guidelines and driving methods based on rules of thumb, such as smooth deceleration, The associate editor coordinating the review of this manuscript and approving it for publication was Shanying Zhu . acceleration, and maintaining momentum to improve energy efficiency [4], [5]. The main disadvantage with these guidelines is that they provide general advice and cannot rigorously address the different EV dynamics and consider traffic condition to achieve the optimal performance. This issue can be overcome by defining eco-driving as an optimal control problem (OCP) where the vehicle dynamics and traffic conditions are considered to minimise energy consumption [6]- [9].

4Model predictive control (MPC) is the most common approach to obtain energy efficient driving in dynamic traffic conditions [10]- [13]. MPC solves an optimisation of energy consumption within a short time horizon (e.g. 5 to 15 seconds) [12], [14]. In order to ensure the feasibility and safety of optimised trajectories, the optimal control subproblems in the MPC approach should consider constraints, including: i) physical constraints (e.g. range of torque, maximum braking force, maximum regenerative energy) and ii) safety constraints (e.g. feasible acceleration, speed limits, VOLUME 9, 2021 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ fixed distance [12], relative distance [15], and time to collision [16] with the preceding vehicle). Several optimisation techniques can be used to incorporate constraints when computing the optimum velocity profile such as nonlinear programming [15], dynamic programming [16], and Quadratic programming [17]. An important challenge in MPC is the consideration of constraints while ensuring a reasonable computation time/load for online deployment. Indeed, constraints are often ignored or weakened to achieve real-time solution which can produce unrealistic or unsafe results. The second challenge to implementing MPC algorithms is to design a methodology that does not contain hard-totune parameters. Most of the optimisation frameworks have weighting factors to manage the trade-off between optimisation objectives such as travel time, energy consumption, and inter-vehicle safety [6], [18]- [20]. Setting the values of these weights is typically done by trial and error, and the weights often lack an easily interpretable meaning for the driver. Such an approach makes it difficult to guarantee safety in all conditions, as all scenarios may not have been considered to tune the weights. Therefore, it is concluded that there is a need for a transparent definition of the weights so that the algorithm can adapt to driver preference and current traffic conditions, without potentially adversely affecting safety.

5The third challenge in designing MPC is selecting the horizon length, which should be as long as possible to obtain near-optimal solutions [12], [14]. However, increasing the length of the horizon increases the computational cost of the MPC optimisation solver, which has an impact on the realtime applicability of the MPC approach [21]. To increase the prediction horizon and keep the computational cost low, Han, et al. [12] proposed an MPC framework by solving PMP where safety is introduced as a fixed gap. However, their approach did not consider control bounds in the solution procedure and ignored the hydraulic brake input. While accurate long-term predictions could alleviate the need for extreme control sequences, changing traffic conditions make almost impossible to obtain an accurate prediction, necessitating the consideration of control constraints and hydraulic brakes to provide feasible solutions.

6One approach used to reduce the necessity of accurate long-term traffic predictions is the use of a two-stage technique based on long-term optimisation and short-term adaptation. This method has been used for ICEVs, plug-in, and hybrid EV [17], [22], [20]. The long-term optimisation refers to optimising a long-horizon by assuming free-flow driving to adapt the speed to the upcoming traffic and topographical information of the road. The short-term adaptation refers to the use of MPC with safety constraints [20], [23]. Most of the existing research use numerical optimisers for longterm optimisation, which typically have high computation times. As a consequence, the reference trajectory can only be computed once at the start of the journey and updated occasionally, and thus the long-term velocity profile cannot adapt to dynamic traffic conditions, which degrades the performance of the MPC. Indeed, [16] and [24] show that if the reference trajectory cannot be updated in real-time, the number of hydraulic braking events and unnecessary accelerations is increased for the two-stage optimisation approach, and its performance is degraded significantly. To update the reference trajectory when traffic changes abruptly, an analytical solution with proper constraints is required (i.e. control constraints such as constraint on the torque and braking force).

7Although there are studies addressing the analytical solution for EV longitudinal dynamics [7], [10], the vast majority of studies have ignored friction brakes [12], [25], [26]. In Jia, et al. [27], the authors include friction brake by applying numerous simplifications to the optimisation problem to provide a real-time solution, for instance by simplifying the maximum regenerative braking regions. Efficient and safe braking is achievable by considering maximum possible regenerative braking, reducing hydraulic brake, and real-time update of the long-term optimisation process.

8This article aims to design a control strategy for EVs that minimises the energy consumption while respecting typical constraints associated with safety and comfort (TIV, TTC, acceleration range and speed limit). Similar to existing work, a two-stage optimisation approach is adopted from [6], [16] However, unlike previous work, this study uses an analytical solution for long-term optimisation to obtain real-time update and satisfaction of control (i.e. acceleration and hydraulic brake), with a short-term optimisation to consider intervehicle safety. The first stage provides a real-time controlconstrained PMP solution for the long-term optimisation, and the second stage is a computationally tractable MPC framework with state-constraints to ensure the satisfaction of the inter-vehicle safety criteria. The contributions of this study are as follows:

9• The use of an analytical solution for the optimisation of the long-term reference trajectory, which enables realtime updating of the reference trajectory rather than simply using the pre-trip reference.

10• A methodology for near-optimum and real-time solution of the energy minimal control in the presence of safety and control constraints.

11• Transparent inclusion of user preferences via a ''preference velocity'', which is the speed that the driver prefers when traffic and speed limits allow. The remainder of the article is organized as follows. Section II provides an overview of the two-stage methodology, and Section III presents the EV model. Section IV describes the optimisation of the long-term reference trajectory via PMP, while Section V describes an MPC framework to adapt the long-term trajectory to respect safety constraints. Section VI presents a simulation case study and Section VII concludes the study and suggests possible avenues for future work.

II. METHODOLOGY

12In this article, a two-stage optimisation framework is used for EVs to minimise energy usage. Fig.1 shows the overall methodology of the proposed approach, which includes: the long-term optimisation to obtain the most energy-efficient velocity profile, and the short-term optimisation, to consider inter-vehicle safety along with energy-efficient driving velocity.

13The long-term optimisation uses the current state and the driver's preferred free-flow velocity to conduct the energy optimisation. The solution produces a target velocity profile which respects the control constraints and accelerates the vehicle to either the velocity of the preceding vehicle or the driver's preferred velocity. For the optimisation to be effective under dynamic traffic conditions, it is necessary to solve the long-term optimisation efficiently so that it can be updated in real-time.

14Subsequently, the short-term optimisation is a look-ahead Eco and Safe (EcoSafe) MPC approach with control and state constraints related to EV dynamics. Here, the target velocity profile from the long-term optimisation is used to narrow the search space for finding instantaneous safe and eco velocity. The safety-related constraints, such as Time to Collison (i.e. relative distance divided by the relative speed) and Inter-vehicular time (TIV, relative distance divided by the ego vehicle speed), are considered as the constraints in the MPC formulation.

15In the subsequent sections, the methodology is described in detail. In section IV, an analytical solution for EV dynamics is obtained by considering control constraints with the use of hydraulic, regenerative braking and the safe range for acceleration/deceleration. Then, this analytical solution is used in the design of a fast MPC optimiser section V.

III. ELECTRIC VEHICLE MODEL

16In this section, the model for the EV is described in detail. While the dynamics of EVs can be quite complex, this study uses a simplified control-oriented model, as is typical in control studies of EVs and ICEs [12], [28], [29]. Consider the longitudinal motion for a vehicle [29], [30]:

17The relationship between the force on the wheel and the electric motor torque (T m ) is given by Han, et al. [12]:

18where R t is the transmission ratio, η t is the transmission efficiency and r is the wheel radius. It should be noted that F w has the same sign as T m since η t , R t and r are positive values. The term sign(T m ) is used to incorporate the efficiency of driveline for positive, negative and zero torques applied to the wheel. The power consumption can be obtained from the relationship between the voltage and current of the electric motor, which is equal to [7]:

19i.e. the relationship between P e and T m is quadratic. However, the torque is limited to be within the range T m,min ≤ T m ≤ T m,max . The range of the motor torque is a common approach for considering the operational range of electric motors in EVs [7], [10]. Instead of using the motor torque as the control variable, the acceleration is considered as the control variable in this study. This choice is not too restrictive, since Eqs. (2) and (3) can be used to solve for the motor torque from the desired acceleration. Indeed, having acceleration as the control variable allows the specification of control constraints to limit unsafe and uncomfortable accelerations directly. In this study, the interval [−4, 4] m/s 2 is considered as the allowable range of acceleration, which is similar to other studies [26], [31]. Fig. 2 shows the relationship between T m , v and a (within the allowable acceleration range) when F b is zero.

20If a > 0, the maximum acceleration is bounded by the maximum torque (blue line in Fig. 2), which shows that Table 1.

21increasing the velocity reduces the maximum acceleration. If a < 0, the negative T m can provide resistive force for reducing velocity. In this mode, the motor is used as a generator and can use some of the kinetic energy from the vehicle to charge the battery. Fig. 2 shows the minimum acceleration necessary for regenerative braking (a min,r ) when the hydraulic braking F b is zero. It is obviously preferable to use only regenerative braking to save energy since hydraulic braking transfers the kinetic energy to heat. However, to maintain safe operation, the combination of regenerative and hydraulic braking may be necessary. The optimum combination of regenerative braking and hydraulic braking, which results in the highest energy savings is the subject of section IV.B. The notation and parameter values used in this study are summarised in TABLE 1. In the next section, the long-term optimisation is developed for EVs. The problem is constrained within a safe acceleration range and propose a braking strategy to increase safety and maximise regenerative braking energy that combines hydraulic and regenerative braking.

IV. CONTROL CONSTRAINED OPTIMAL CONTROL PROBLEM FOR LONG-TERM OPTIMISATION

22The long-term optimisation is used to identify the optimal speed profile with regard to the traffic conditions. As shown in Fig. 1, the purpose of the long-term optimisation is to determine the optimal control profile to reach the steadystate speed of the traffic ahead. For this study, the steadystate velocity is taken to be either the minimum of the average velocity of the preceding vehicle over a suitable time window (10s) or the driver preference velocity [24]. The optimal control statement of the long-term optimisation is given by:

23where t f is free, v 0 and v t f are initial velocity and final velocity, respectively. Since the target speed v t f is known, fixed final time formulations tend to over-constrain the solution by requiring a specific average acceleration to achieve the target v t f . Instead, an indirect time penalty (ψ) is considered here to penalise excessively large final times. Methods to set ψ based on driver preferences are discussed later in this section. The running cost is augmented with two penalty terms to (heavily) penalise violations of the control constraints. The two terms with the (large) weights λ c,max and λ c,min and the Heaviside function h(·) serve to penalise accelerations that are less than the lower acceleration bound a min or greater than the maximum acceleration a max . The Hamiltonian of this system is as follows:

24where λ s and λ v are the distance and velocity co-states and is an indirect distance penalty (which will be used later for braking with distances) [32]. The co-state differential equations for λ v and λ s are given by the well-known necessary optimality conditions [33]:

25Equation (7) forms a nonlinear two-point boundary value problem (TPBVP) whose solution usually requires numerical techniques (e.g., multiple shooting methods) [12], [34]. The long-term optimisation is customarily split into acceleration and deceleration modes with a free final time. An indirect method to solve the Pontryagin's Maximum Principle (PMP) described in previous studies will be used to solve for the optimal control [32], [35].

26The optimal control must minimise the Hamiltonian function. If the Hamiltonian is continuous and differentiable in the control, then solving ∂H ∂a = 0 with respect to a yields the optimum acceleration [29], [32], [33]. Indeed, it can be seen that the Hamiltonian in Equation (6) is a continuous function since H a − min = H a + min and H a − max = H a + max . The derivative of the Hamiltonian with respect to a is:

27where dP e da is equal to

28The term δ (·) is the Dirac Delta function (which is the derivative of h (·)) and k sign (T m ). Noting that xδ (x) = 0∀x, the last two terms can be eliminated and Equation (9) can be substituted into Equation (8) to obtain the following expressions for the extremal control a:

29If a min ≤ a ≤ a max :

30If a ≤ a min :

31If a ≥ a max :

32If λ c,max , λ c,min are large enough (ideally λ c,max = λ c,min → ∞ ), then Equation (10) can be approximated by:

33Since the problem is considered as a free-final time, the value of Hamiltonian must be equal to zero at an extremal trajectory [33]. Substituting λ v in Equation (6) and considering H = 0 gives the following necessary condition:

34Solving Equation (12) with respect to λ v yields the relation between the optimum λ v and a.

35Substituting λ v from Equation (13) into Equation (11), and re-arranging the right side of Equation (11) with respect to a, yields the optimal acceleration with respect to λ s :

36The value of co-estate λ s is obtained by assuming a relaxed condition for the final time a * t f = 0 with v equal to the steady-state velocity v ss (i.e. v(t f ) = v ss ) and a constant slope angle for the upcoming horizon 1 :

37λ s can be obtained by solving Equation (15):

38The magnitude of the right side of Equation (16) is related to the energy consumption per distance at v ss , modified by the time penalty ψ. Since the optimum policy should minimise the Hamiltonian and co-states, the value of ψ should also minimise Equation (16). Since P e v is convex in v, the value of ψ that minimises Equation (16) is as follows [32]:

39Solving Equation (17) gives the indirect time penalty ψ for a specific preference velocity. Indeed, instead of considering t f to obtain the velocity profile, which is difficult to localise based on traffic conditions and hard to interpret for the driver, the upcoming traffic velocity or comfort velocity v c is used to obtain a reference trajectory. If the driver intention is to drive at any desired velocity, the ψ value can be obtained from Eq. (17) when v ss = v c . Solving Eq. (17) for ψ = 0 returns the optimum steady-state velocity (v opt ). Cruising at v opt provides a lower energy consumption and longer range. For the EV dynamics reported in Table 1, v opt is equal to 18 km/h. Equation (14) shows that the driving scenario can be divided into a ≥ 0 and a < 0 by considering the ± sign before the square root operator. In addition, the hydraulic brake, F b in Equation (14) needs to be determined. The subject of the next two sections is to describe how the velocity profile and the control parameters are obtained from Equation (14) under different acceleration and deceleration scenarios. In the acceleration mode (v 0 ≤ v ss ), the minimum acceleration is a min in Equation (14) equals to zero, and k = 1. Since in this mode F b = 0, the optimal policy of control to reach v ss is given by:

40Equation (18) is a simple representation of an acceleration problem with control constraints. The distance penalty is included for the sake of generality and can be used for cases where the acceleration distance is limited (e.g., merging). In this article, = 0 for the acceleration case without loss of generality. In the case of limited-distance acceleration, this penalty can be determined using a simple line search. This simplicity represents a key advantage of the proposed method compared to state of the art: the line search replaces multiple shooting methods [7], [12] to solve a two-point boundary value problem.

B. DECELERATION MODE (a ≤ 0)

41The deceleration problem is complicated beyond what is typically considered in eco-driving, given that it involves the introduction of regenerative braking. Since λ s and ψ are constant values in the Hamiltonian, increasing ψ can increase the average speed and, consequently, increase energy consumption. Therefore only λ v has an influence when minimising the Hamiltonian.

42Unlike the acceleration case, deceleration nearly always comes with a finite distance (e.g. slowing down for a new speed limit, coming to a stop at an intersection). The final distance is handled using an indirect distance penalty which needs to be calculated for a specific distance and can be obtained using a line search [32].

43To find λ v , a(t) must be identified forthe three different modes:

44i. If T m > 0 and a ≤ 0, deceleration is occurring while consuming energy from the battery. In this case, 0 < T m ≤ η t rmF ss mR t . This mode is not considered since it is clearly suboptimal (we know energy can be saved with regeneration braking).

45ii. If T m = 0, coasting is occurring and a * = −F ss /m. iii. If T m < 0, regenerative braking is occurring. In this mode, the electric motor is driven to charge the battery from the deceleration of the vehicle. The optimum deceleration is a combination of possible deceleration modes including regenerative braking, coasting and hydraulic braking. [7] shows that three modes of braking can be encountered: 'Regenerative braking + hydraulic braking' (RHB), 'Only regenerative braking' (RB) and 'Coasting + regenerative braking' (CRB). In the following subsection, we develop a heuristic Pontryagin's Maximum Principle (PMP)-based approach for these three deceleration modes for long-term optimisation with control constraints.

1) DECELERATION WITH ONLY REGENERATIVE BRAKING

46This mode is similar to a * ≥ 0 when the control is acceleration and F b = 0 and a min = a min,r . In this mode, T m has a negative value and sign (T m ) = −1. Since increasing the time penalty ψ results in increasing both the average velocity and energy consumption, ψ is set to zero in the deceleration mode. In addition, a max = 0 and the term h (a − a max (v)) is not an active constraint and it is given by Equation (19).

47The deceleration scenario is defined for a specific distance to reach v ss . The distance penalty is obtained using an exact line search (e.g., Fibonacci search) to achieve a specified final distance s e , which is found from either 1) the desired final gap with the preceding vehicle or 2) the distance required for decelerating from a higher to a lower speed limit. If = 0, the vehicle first decelerates to v opt and then coasts on that velocity. This is because the solution is calculated with a free final time condition and the best energy consumption per distance is attainable when a vehicle is driving at its optimum speed.

2) DECELERATION CONSIDERING HYDRAULIC BRAKING

48Hydraulic braking is not an ideal choice for optimum energy deceleration since it transfers the kinetic energy into heat. However, when regenerative braking is insufficient to avoid a safety constraint violation, hydraulic braking must be used to reduce velocity. Since the use of hydraulic brakes is more likely in safety critical scenarios, fast calculation is of paramount importance. To consider hydraulic braking F b and ensure fast calculation, a one-dimensional auxiliary optimisation problem is solved which seeks to approximate the optimal solution while satisfying the final distance constraint. In the following, this procedure is discussed and the solutions is compared to the true (but not implementable) optimal solution, which is found via dynamic programming.

49To motivate further developments, consider the following scenario where hydraulic braking is required: the deceleration from 70km/h to zero for vehicle dynamics is presented in Table 1. For this vehicle, hydraulic braking is required if s e < 60m. Fig. 3 shows the optimum deceleration from 70 km/h to zero obtained via distance-based dynamic programming (DP) using the method from [16] with a 5 m step size. It can be seen that T m is driven to the boundary to regenerate maximum energy. However, to attain this value, a * is less than a min,r , which necessitates hydraulic braking. When v ≈ 50 km/h, the deceleration may be achieved using only regenerative braking and the optimal acceleration can be found using the regenerative only method from Section IV.B.1.

50A method to mimic this behaviour will now be discussed which can provide a close-to-optimal solution while avoiding the computationally complex DP. Firstly, a heuristic is developed to manage the deceleration with hydraulic braking into the regenerative braking only feasible zone. Once this zone is achieved the remaining deceleration with only regenerative braking may be found via the PMP solution in Equation (19). The quality of the proposed method is evaluated using a simulation for a different scenario in section VI.

51Motivated by the DP results in Fig. 3, it is assumed that the acceleration outside the feasible region follows a linear relationship with the vehicle velocity as illustrated in Fig. 4:

52where v min,r , a min,r is a selected point on the regenerativebraking-only feasible region (i.e. the red curve in Fig. 3a). Once this point is selected, the slope can be computed as

53Plugging Eq. (20) into the vehicle dynamics yields:

54which is a linear differential equation. Without loss of generality, consider the case where t = 0 is the beginning of the braking event. Eq. (21) may be solved with initial condition v (0) = v 0 to obtain: v (t) = α + βe −kt (22) where α a min,r +kv min,r k and β kv 0 −a min,r −kv min,r k 2

55. Note that because of the definition ofā(v) in Eq. (20), the velocity will achieve v (t 1 ) = v min,r at some future time t 1 . After t 1 , the PMP regenerative-braking-only solution becomes feasible and the method developed in Section B can be applied for t ≥ t 1 . To find the time where the PMP solution is active, let v (t 1 ) = v min,r in Eq. (22), which can be solved to obtain t 1 :

56a min,r a min,r + kv min,r − kv 0 (23) VOLUME 9, 2021 Algorithm 1 Algorithm for Obtaining Close-to-Optimal Braking (â) Input: v 0 , v c , s e Output:â(t) Let a * PMP (ν 0 , ν f , s) denote the control trajectory obtained via the PMP braking solution from Section IV.B with initial velocity ν 0 , final velocity ν f and final distance s.

hydraulic brakes needed):

57Energy ← 0

58For v min,r , a min,r on the RB-only boundary:

59a min,r a min,r +kv min,r −kv 0

60The distance where the PMP solution starts may then be obtained by integrating Eq. (22) and evaluating the resulting expression at time t = t 1 :

61The remainder of the control arc can be obtained via PMP with v 0 ← v min,r and s e ← s e − s (t 1 ) (i.e. with the final distance decreased by the amount required to reach the regenerative-braking-only feasible region). Other hard braking scenarios are similar; they can be divided into regenerative-and-hydraulic-braking and regenerativebraking-only sub arcs. The regenerative-braking-only sub arc solution can be found with the PMP solution detailed in Section IV-B.1.

62The remaining issue is the selection of the entry point to the regenerative-braking-only feasible region v min,r , a min,r . This point is selected via a grid search along points on the feasible region boundary. The solution with the maximum energy recovery is selected. The overall algorithm for determining the close-to-optimal acceleration is summarised in Algorithm I.

63Whenâ is obtained with Algorithm 1, F * b is given by: The braking solution from Equation ((25) will later be compared with DP in section VI to evaluate how close the proposed method is to the optimum solution.

3) DECELERATION USING COASTING AND REGENERATIVE BRAKING

64When deceleration can be performed over a long distance, the optimal regenerative braking solution may result in a low velocity for an excessive time. While this solution maximises energy recovery, such a solution may yield trajectories with extended cruising at low velocities and may not be acceptable in terms of safety and traffic considerations. Fig. 5 shows the two general cases of deceleration profile calculated by PMP i) when final velocity v e1 > v opt (red line), and ii) when final velocity v e2 < v opt (blue line).

65The normal behaviour in deceleration is when v e1 ≥ v opt where the vehicle decelerates to v e1 and maintains a constant velocity. However, when v e2 < v opt the vehicle decelerates to v opt , cruises at this velocity, and subsequently conducts a second deceleration to reach the v e2 . Although both deceleration profiles recover maximum energy (i.e., it is optimal), the excessive cruising at the (low) optimal velocity is undesirable in many situations and may have safety and/or traffic consequences. Therefore, a coasting phase is proposed at the beginning of the solution to eliminate cruising at the lower velocity.

66In the proposed method, the vehicle first coasts and then uses regenerative braking. Let t 2 be a specified coasting time at the beginning of the braking manoeuvre and denote the distance and velocity at the end of this coasting period as s e and v e2 , respectively. The velocity and distance under coasting can be found by solving the differential equation

67with the initial conditions v (0) = v 0 and s (0) = 0. The distance s 2 and velocity can be found by evaluating these solutions at t 2 . After the coasting event, the PMP method is used to solve for the optimal deceleration from v e2 to v e within the distance s e − s 2 .The coasting time t 2 is determined via a grid search on the coasting time t 2 such that no cruising occurs (i.e. |a (t)| < ε for some small ε).

V. SHORT-TERM OPTIMISATION USING MODEL PREDICTIVE CONTROL

68In this section, the long-term optimisation trajectory derived in the previous section is used as the reference trajectory in an MPC framework. To localise the solution, the optimal control problem is formulated as a nonlinear spatial trajectory optimisation problem, seeking to minimise energy consumption over the distance horizon. Using the distance-based formulation, the cost for a distance step of s is given by:

69which yields the MPC optimum control problem:

70where p s is the distance horizon, G p is the gap with the preceding vehicle, is the minimum gap with the preceding vehicle,v pr is the preceding vehicle's velocity, v f is the following vehicle's velocity, TIV min and TTC min are the minimum inter-vehicle time and minimum time to collision, respectively. v tr in Equation (28) is the target velocity, and it is calculated using analytical solutions developed in section IV. v tr is the upper limit of the velocity range and represents driving in free-flow conditions (i.e., TTC min and TIV min are not active constraints).

71Maintaining an appropriate following distance with the preceding vehicle is the main safety issue, which is quantified by both the TIV and TTC, respectively. If the safety constraints are activated, the MPC obtains the speed profile satisfying the constraints associated with the traffic changes and EV dynamics. The TTC constraint is defined when the velocity of the following vehicle is greater than that of the preceding vehicle, which makes this constraint nonlinear. To ensure the satisfaction of safety constraints related to intervehicle safety, the modified distance base dynamic programming (MDDP) from [16] is employed. In addition to G p , respecting speed limits and limiting the range of acceleration / deceleration are also constraints included in the proposed approach to ensure safety. For more details on the MDDP optimiser, the interested reader is referred to [16].

VI. SIMULATION RESULTS AND DISCUSSION

72In this section, the PMP-based solution for long-term optimisation is first compared to the benchmark (DP) for different eco-driving sub-problems, including acceleration, deceleration using regenerative braking and deceleration using hydraulic braking. Then, the benefit of the EcoSafe-MPC is tested for a scenario with different speed limits and driver preference, to evaluate the effectiveness of the proposed method.

A. ACCELERATION FOR LONG-TERM OPTIMISATION

73The acceleration profile based on the PMP formulation has two penalties: time ψ and distance . The ψ value was obtained from the desired steady-state velocity and Equation (17). The value of represents the distance penalty for scenarios in which the vehicle needs to reach a specific speed within a specific distance (e.g., merging) and is calculated during a braking manoeuvre. Fig. 6(a) shows the comparison between DP and the proposed PMP-based solution. It is observed that the results are very close to DP, and the difference can be attributed to the quantisation error introduced when using DP. The distance penalty increases energy consumption because of the increased acceleration to reach s e .

B. DECELERATION SCENARIOS

74The proposed PMP method is evaluated in a simple deceleration scenario. We compare the proposed PMP solution to the optimum solution calculated by DP to verify our findings. It is demonstrated that the defined constrains is always considered in the proposed method.

1) DECELERATION WITH ONLY REGENERATIVE BRAKING

75Here, only regenerative braking is used to decelerate from v 0 to v s . Fig. 6(b) shows the solutions using PMP and DP. Both approaches provide similar results, showing that the proposed sub-optimal solution is quite close to the optimal solution calculated via DP.

76It is also observed that increasing the deceleration distance results in driving at a lower velocity (15 km/h), which increases the travel time. The minimum distance to decelerate without using regenerative braking is bounded by the minimum acceleration a r,min . For example, Fig. 6(b) shows that deceleration from 70 km/h to zero within 60 m requires an acceleration less than a r,min and thus hydraulic brakes are necessary to reach the final condition. The proposed blended braking method described in section IV.B.2 is evaluated in the next section.

772) DECELERATION USING REGENERATIVE AND HYDRAULIC BRAKING Fig. 7 shows the comparison of solutions using DP and the proposed method with deceleration scenario in Fig. 3. It is observed that the proposed method has comparable performance compared to the optimal solution, but has the advantage of fast calculation (0.03 seconds) with lower memory usage compared to DP, which has 23 seconds' computation time. The proposed deceleration solution is evaluated with different initial speeds in Fig. 8. The asterisks show the minimum distance that the vehicle can stop without using the hydraulic brakes. It is observed that, when only using regenerative braking, more distance is required to stop the vehicle. Furthermore, the distance where regenerative braking achieves the maximum energy recovery is close to the boundary where hydraulic braking would be required. This result implies that when braking at the maximum energy recovery point, a slight drop in the braking distance may require the use of the hydraulic brakes (and therefore waste energy). Also, the slope of the energy recovery curve is shallow to the right of the maximum, so there is little energy recovery penalty for braking over slightly longer-than-optimum distances. Thus, it may be desirable to plan to brake over longer distances to produce decelerations that recover near-maximum energy and are robust to small changes in the distance required to brake (e.g. due to misjudgement of the driver or changes in preceding vehicle motion).

78Further analysis has been done to identify the optimality of the proposed heuristic in Algorithm I. Since DP suffers from discretisation errors, the proposed PMP recovers more energy compared to DP when only regenerative braking is used, i.e. F b = 0. When the hydraulic brake is necessary (left side of '' * '' in each energy curve), the trends show a comparable result with DP and the produced energy is close to the DP solution. A Monte Carlo simulation was conducted by considering several initial velocities and deceleration distances. The results show that the proposed sub-optimal solution for regenerative braking recovers 98% of the optimal energy recovery (found using DP) when F b = 0.

3) COASTING AND REGENERATING

79To show the impact of the proposed coasting heuristic (Section IV-B3 on regenerative braking, a scenario is considered where the speed limit changes from 70 to 40 km/h. The methodology in Section IV.B.3 is employed and the resulting velocity profiles with different coasting distances D s are shown in Fig. 9. It shows that deceleration without coasting provides higher recovery of energy (i.e. Blue line in Fig. 9. However, this solution reaches final velocity at a distance of 300m and then cruises for the next 200 meters, which is not desirable.

80The dotted line with D s = 300m is the shortest cruising time where no coasting occurs at the end of the trajectory, so it selected as the preferred solution according to the methodology in Section IV.B.3. It is observed that the energy recovery is about 2 kW less than the optimum solution when the cruising in low velocity no longer exists.

81So far, the long-term optimised trajectory has been discussed. The trajectory is calculated using an analytical solution and can be updated in real-time. The advantages of the proposed method include fast computational time and consideration of the constraints for the control variables.

C. SHORT-TERM Eco AND SAFE MPC OPTIMISATION

82In this section, the proposed EcoSafe-MPC for EVs is tested. A 10-minute highway-urban mix traffic driving scenario, which has a hat-shaped speed limit, was used for this study. The preceding vehicle has a velocity profile similar to Fig. 10a (yellow line), and the following vehicle is driven using EcoSafe-MPC. It is assumed that the information of the preceding vehicle is available through Radar, LIDAR or C-ITS to capture the behaviour of the leading vehicle and TIV min = 2 and TTC min = 6 seconds. The EcoSafe-MPC requires a prediction of the preceding vehicle in the optimisation horizon. The preceding vehicle behaviour is predicted using a constant acceleration approximation. The optimum distance for regenerative braking is used to increase the efficiency of regenerative braking during deceleration phases. The blended braking Fig. 10 shows the velocity profile, in distance of travel, along with control variables. It can be seen that the range of acceleration applied is within the defined range when torque is bounded with T min and T max , consistent with the control constraints analytically defined in Section IV. Furthermore, Fig. 10(d) shows that regenerative braking is used to decelerate, except for two instances: at 1700 m when the vehicle reacts to the deceleration of the preceding vehicle and at 10, 110 m at the end of the trip for a full stop. The proposed strategy does not extend the driving time significantly (by 7 seconds) while saving 5.2% of energy compared to the preceding vehicle when the speed limit was chosen as the comfort velocity v c .

83In order to examine the effect of the comfort velocity, the proposed method is tested by varying the comfort velocity as:

84where 0 ≤ τ ≤ 1 represents the intention of the driver to accept reduced velocity from the speed limit (possibly to save energy). The value of τ can simply be defined by the driver. For example, τ = 0.1 shows that the driver is willing to reduce speed by 10% of the speed limit to save energy. decreases from the initial velocity to 95% of the speed limit (i.e. τ = 0.05), the energy consumption reduction is very small compared with the other results. This is because the preceding vehicle is often driving less than the speed limit (see Fig. 10a) and the velocity of the ego vehicle is still largely limited by the preceding vehicle.

85The same driving scenario for ICEVs is also considered for comparison. The same ICEV dynamics from [16] are used to simulate the driving scenario in Fig. 10a. The same comfort velocity v c (for a given τ ) was used for the ICEV as for the EV. The results are shown in TABLE 2, where it can be seen that EVs and ICEVs have the same performance when the speed limit is chosen as comfort velocity. However, by increasing the τ value, ICEVs showed a better performance until τ = 0.2. For τ > 0.2, the EV outperforms ICEV.

86This performance is related to the steady-state optimum velocity of driving for a different vehicle. Indeed, the optimum speed of the ICEV is equal to 58 km/h for the selected vehicle dynamics and driving around this point has better performance. However, for the chosen EV (Table 1), the optimum speed is 18 km/h.

87Finally, Fig. 11 shows the computational demand of the proposed algorithm in MATLAB on a PC with Core-i7 CPU and 16 MB of RAM. The CPU time required for one calculation of the optimal controls, including the longterm optimisation and the subsequent MPC-based short term adaptation. The result shows that the proposed method required 0.0638 seconds of calculation on average with a standard deviation of 0.0238 seconds, and it is always significantly less than the driving time.

VII. CONCLUSION AND FUTURE WORK

88In this article, an energy-efficient optimisation was developed for electric vehicles. It is based on a model predictive control, combining long-term optimisation and short-term adaptation. This model takes into account regenerative braking by reframing the analytical solution for long-term optimisation. An analytical solution was developed with low computational demand. Pontryagin's Maximum Principle (PMP) was used to solve for the energy optimal velocity profile for EVs under control constraints. The acceleration was used as the control, and it was bounded in the safe range by augmenting the running cost with the equality constraints. The deceleration problem was then divided into two possible situations: one where only regenerative braking is used or a combination of regenerative braking and hydraulic braking is required. The proposed analytical solution recovers 98% of the optimal energy recovery and has the advantage of providing a fast computation. The proposed MPC approach for EVs was also evaluated. The simulation results for a sample scenario shows that with the proposed EcoSafe-MPC, very little hydraulic braking was used, and the deceleration occurred primarily using regenerative braking, and resulted in a 5% energy savings while the travel time did not increase significantly. The performance of EVs with ICEVs was also compared for the same driving scenario. The results highlighted that eco-driving with EVs is 10% more efficient at lower speeds compared to ICEVs. Indeed, EVs are more efficient at lower speeds, suggesting that better fuel savings can be obtained in urban scenarios rather than highways and motorways with EVs, due to lower speed limits and higher likelihood of using regenerative braking in traffic.

89The future work of this research is to consider more sophisticated model for the limits of regenerative braking, e.g. due to battery inefficiencies, temperature effects, etc. Moreover, different aspects of safety, including rear-end collision risk and anticipating the behaviour of the vehicle behind, can also be considered in the MPC framework. The proposed approach can consider the use of cooperative Intelligent Transportation Systems (C-ITS) to obtain more accurately steady-state velocity of upcoming traffic. C-ITS can also be used for better planning of the trajectory.

참고문헌 34건

  1. Optimal Ecodriving Control: Energy-Efficient Driving of Road Vehicles as an Optimal Control Problem IEEE Control Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/mcs.2015.2449688
  2. Optimal control theory : an introduction Dover Publications eBooks · Dover Publications · 1970
  3. Predictive Cooperative Adaptive Cruise Control: Fuel Consumption Benefits and Implementability Lecture notes in control and information sciences · Springer Science+Business Media · 2014 10.1007/978-3-319-05371-4_10
  4. Fuel consumption and gas emissions of an automatic transmission vehicle following simple eco‐driving instructions on urban roads IET Intelligent Transport Systems · Institution of Engineering and Technology · 2014 10.1049/iet-its.2013.0076
  5. Modelling safety-related driving behaviour—impact of parameter values Transportation Research Part A Policy and Practice · Elsevier BV · 2005 10.1016/j.tra.2005.02.002
  6. Optimal energy management for an electric vehicle in eco-driving applications Control Engineering Practice · Elsevier BV · 2014 10.1016/j.conengprac.2014.01.005
  7. Control of highway vehicles for minimum fuel consumption over varying terrain Transportation Research · Elsevier BV · 1977 10.1016/0041-1647(77)90093-4
  8. On board eco-driving system for varying road-traffic environments using model predictive control 2006 IEEE International Conference on Control Applications · 2010 10.1109/cca.2010.5611196
  9. Calculation of the minimum-fuel driving control based on Pontryagin’s maximum principle Transportation Research Part D Transport and Environment · Elsevier BV · 2013 10.1016/j.trd.2013.05.004
  10. Optimal control theory: An introduction IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 1972 10.1109/tac.1972.1100008
  11. MPC-Based Energy Management of a Power-Split Hybrid Electric Vehicle IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2011 10.1109/tcst.2011.2134852
  12. A review on buildings energy consumption information Energy and Buildings · Elsevier BV · 2007 10.1016/j.enbuild.2007.03.007
  13. Ecological Adaptive Cruise Controller for Plug-In Hybrid Electric Vehicles Using Nonlinear Model Predictive Control IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tits.2015.2462843
  14. Distance-Based Ecological Driving Scheme Using a Two-Stage Hierarchy for Long-Term Optimization and Short-Term Adaptation IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2016 10.1109/tvt.2016.2574643
  15. Velocity profile optimization of on road vehicles: Pontryagin's Maximum Principle based approach Control Engineering Practice · Elsevier BV · 2016 10.1016/j.conengprac.2016.09.006
  16. A Distance-Based Two-Stage Ecological Driving System Using an Estimation of Distribution Algorithm and Model Predictive Control IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2017 10.1109/tvt.2017.2667723
  17. Flexible Spacing Adaptive Cruise Control Using Stochastic Model Predictive Control IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcst.2017.2658193
  18. Optimal Control Based Eco-Driving 2012 10.13140/rg.2.2.14398.79681
  19. Safe- and Eco-Driving Control for Connected and Automated Electric Vehicles Using Analytical State-Constrained Optimal Solution IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2018 10.1109/tiv.2018.2804162
  20. A Computationally Efficient and Hierarchical Control Strategy for Velocity Optimization of On-Road Vehicles IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tsmc.2018.2826005
  21. Energy Aware Driving: Optimal Electric Vehicle Speed Profiles for Sustainability in Transportation IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tits.2018.2839102
  22. Eco-driving technology for sustainable road transport: A review Renewable and Sustainable Energy Reviews · Elsevier BV · 2018 10.1016/j.rser.2018.05.030
  23. Vibration energy harvesting in automotive suspension system: A detailed review Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.08.030
  24. Energy saving potentials of connected and automated vehicles Transportation Research Part C Emerging Technologies · Elsevier BV · 2018 10.1016/j.trc.2018.09.001
  25. Hierarchical Energy Management for Power-Split Plug-In HEVs Using Distance-Based Optimized Speed and SOC Profiles IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2018 10.1109/tvt.2018.2862945
  26. Optimal Vehicle Trajectory Planning With Control Constraints and Recursive Implementation for Automated On-Ramp Merging IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tits.2018.2874234
  27. Ecological Advanced Driver Assistance System for Optimal Energy Management in Electric Vehicles IEEE Intelligent Transportation Systems Magazine · Institute of Electrical and Electronics Engineers · 2018 10.1109/mits.2018.2880261
  28. Ecological and safe driving: A model predictive control approach considering spatial and temporal constraints Transportation Research Part D Transport and Environment · Elsevier BV · 2018 10.1016/j.trd.2018.11.010
  29. Pontryagin’s Minimum Principle based model predictive control of energy management for a plug-in hybrid electric bus Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.12.032
  30. Nonlinear Model Predictive Control for Ecological Driver Assistance Systems in Electric Vehicles Robotics and Autonomous Systems · Elsevier BV · 2018 10.1016/j.robot.2018.12.001
  31. Fundamentals of Vehicle Modeling Lecture notes in intelligent transportation and infrastructure · Springer International Publishing · 2019 10.1007/978-3-030-24127-8_2
  32. Mathematical modeling of Electric vehicles - A survey Control Engineering Practice · Elsevier BV · 2019 10.1016/j.conengprac.2019.104138
  33. Energy-Optimal Adaptive Cruise Control for Electric Vehicles in Both Time and Space Domain based on Model Predictive Control IFAC-PapersOnLine · Elsevier BV · 2019 10.1016/j.ifacol.2019.09.003
  34. Ultra-local model predictive control: A model-free approach and its application on automated vehicle trajectory tracking Control Engineering Practice · Elsevier BV · 2020 10.1016/j.conengprac.2020.104482