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

Two-Level MPC Speed Profile Optimization of Autonomous Electric Vehicles Considering Detailed Internal and External Losses

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

기본 정보

저자
  1. Ata Meshginqalam — Electrical and Computer Engineering Department, McMaster University, Hamilton, ON, Canada
  2. Jennifer Bauman — Electrical and Computer Engineering Department, McMaster University, Hamilton, ON, Canada
DOI
10.1109/access.2020.3038050
저널
IEEE Access
발행년도
2020
발행기관
Institute of Electrical and Electronics Engineers
피인용수
9
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2020.3038050
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W3106421991

평가 내용

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

초록

This paper proposes a novel two-level model predictive control (MPC) speed control algorithm for autonomous vehicles as a successive convex optimization problem focused on both energy use and arrival time. Internal losses such as detailed motor/inverter efficiency and battery loss, as well as external losses, such as wind and grade, are considered. The effect of the higher accessory energy usage of autonomous vehicles on the energy-optimal speed profile is considered in the algorithm and investigated in the paper. The proposed successive convex approach produces a highly accurate optimal speed profile while also being solvable in real-time with the vehicle on-board computing resources. An electric vehicle model is created in MATLAB/Simulink and validated to real-world logged driving data. This vehicle model is used to perform a variety of simulated test cases, which show an energy savings potential of about 1% to 20% for different driving conditions, compared to a non-energy-optimal driving profile.

본문 51,943자

본문 펼치기
Received October 27, 2020, accepted November 9, 2020, date of publication November 16, 2020, date of current version November 25, 2020. _Digital Object Identifier 10.1109/ACCESS.2020.3038050_ # Two-Level MPC Speed Profile Optimization of Autonomous Electric Vehicles Considering Detailed Internal and External Losses ATA MESHGINQALAM, (Graduate Student Member, IEEE), AND JENNIFER BAUMAN, (Member, IEEE) Electrical and Computer Engineering Department, McMaster University, Hamilton, ON L8S 4K1, Canada Corresponding author: Jennifer Bauman (jennifer.bauman@mcmaster.ca) ABSTRACT This paper proposes a novel two-level model predictive control (MPC) speed control algorithm for autonomous vehicles as a successive convex optimization problem focused on both energy use and arrival time. Internal losses such as detailed motor/inverter efficiency and battery loss, as well as external losses, such as wind and grade, are considered. The effect of the higher accessory energy usage of autonomous vehicles on the energy-optimal speed profile is considered in the algorithm and investigated in the paper. The proposed successive convex approach produces a highly accurate optimal speed profile while also being solvable in real-time with the vehicle on-board computing resources. An electric vehicle model is created in MATLAB/Simulink and validated to real-world logged driving data. This vehicle model is used to perform a variety of simulated test cases, which show an energy savings potential of about 1% to 20% for different driving conditions, compared to a non-energy-optimal driving profile. INDEX TERMS Electric vehicles, optimization, autonomous agents, modeling, model predictive control. I. INTRODUCTION The transportation industry is currently undergoing two radical transformations: electrification, to reduce the harmful environmental effects of internal combustion engines, and autonomous driving, to reduce traffic fatalities and transform the way society moves. Unfortunately, the addition of large amounts of sensors and computing resources on board autonomous vehicles increases the continuous vehicle load by at least a few kilowatts [1]. This increase in energy use is in clear opposition to the environmental goals of transportation electrification. Thus, it is imperative to use every opportunity available to reduce the energy use of autonomous electric vehicles, since by their very nature, they consume more energy than baseline electric vehicles. Fortunately, autonomous vehicles provide a new degree of freedom in this quest to minimize losses: energy-optimal determination of second-by-second vehicle speed. Much autonomous vehicle research focuses on the sensors, signal processing, algorithms, and computations required to assure the safe operation of a fully driverless vehicle. Once safety is assured, algorithms to minimize energy consumption The associate editor coordinating the review of this manuscript and approving it for publication was Chao Yang . while driving can be implemented. Some prior research has focused on reducing energy consumption though optimal route selection [2], path planning [3], smoothing the driving speed profile [4], [5] and optimizing energy management in hybrid vehicles [6], [7]. Furthermore, [8] seeks to determine both the optimal hybrid energy management and the energyoptimal local speed profile, but to make the problem tractable it uses a simple vehicle model considering only vehicle external losses (aerodynamic, rolling resistance, and grade). Some prior work focuses specifically on vehicle energy reduction by optimizing the speed profile. Reference [9] reduces energy use by dividing the trip into road segments of constant grade and generating an optimal speed for each segment, but considers only vehicle external losses and does not consider losses within the vehicle. Similarly, [10] and [11] do not consider inverter loss, motor mechanical loss, battery loss, or accessory loss, and seek to find the local optimum speed rather than the global optimum for a trip segment. Reference [12] has developed a simple and fast framework for determining the energy-optimal cruising speed while considering all vehicle internal and external losses, but as this algorithm is focused on cruising, it is not suitable for urban stop-and-go driving patterns. However, [12] does uniquely show the importance of considering vehicle internal losses, especially accessory losses, in the determination of energy-optimal speed. A common approach to finding a globally optimal speed profile, which is critical to truly minimize energy use over a trip, is to use dynamic programming (DP) [13]–[16]. However, this approach is computationally expensive and does not align well with the fast real-time needs of a driving vehicle. For example, [14] has implemented the DP algorithm in the cloud as the computational requirement was too high for on-board implementation, and although fuel consumption was improved on the highway, much less improvement was obtained for urban driving due to rapid changes in the driving conditions. Reference [17] uses an off-line evolutionary optimization approach to solve the speed optimization problem, but it is not applicable for real-time implementation. Reference [16] seeks to replace the offline-calculated DP results with approximated look-up tables for use on board the vehicle, but does not consider detailed internal vehicle losses. Model predictive control (MPC) has also been used to solve various formulations of the energy-optimal speed selection problem. The idea of eco-driving with consideration of safety is studied in [18] for connected autonomous vehicles. It uses MPC to solve the optimization problem with the objective of minimizing energy consumption while avoiding collision with nearby connected vehicles. However, in order to get real-time results, motor losses are approximated with a simple expression and other internal vehicle losses are ignored. Similarly, MPC is used to optimize the speed trajectory for heavy-duty urban vehicles in [19], but a simplified vehicle model is used which ignores the vehicle internal losses. In general, MPC will only produce the optimal speed profile for the prediction horizon length considered. Using a convex formulation is an attractive alternative for energy-optimal speed determination because it can generally find the globally optimal solution in a computationally efficient way, which is well suited to the quickly-changing driving conditions in urban settings. However, to make the problem convex, many simplifications are often made, which can alter the accuracy of the results. For example, [20] and [21] use a convex formulation in a MPC platform to solve the speed optimization problem, but only simple external vehicle losses are considered, and internal losses such as the motor losses and accessories are ignored. An innovative approach for the real-time calculation of the optimal speed trajectory for a commuter train is proposed in [22]. The second-order cone programing method is used to formulate the optimization problem in a convex way. However, simplifications have again been made to create the convex formulation: the motor efficiency is assumed constant for the trip and other internal losses are not considered. The contribution of this paper is the development of a new convex formulation of the energy-optimal speed problem in a two-level MPC platform which considers detailed internal and external losses of an electric vehicle (EV), in order to generate a highly accurate result. The proposed algorithm uses the successive convex approach to obtain a real-time means of solving the optimization problem with a mixed objective of time and energy. Successive convex optimization is an iterative method: at each iteration, it uses the efficiency data calculated from the last iteration. By repeating the algorithm, the speed profile starts to converge, resulting in the final answer. The optimal solution can be updated periodically by using new data so it can re-evaluate and adjust to new conditions. Using a convex formulation ensures a fast run-time, making it suitable for on-board implementation on autonomous vehicles. The rest of the paper is organized as follows: Section II presents the convex problem formulation and the associated equations, Section III explains the vehicle modeling, Section IV presents the simulation results, and Section V presents the conclusions of this work. II. CONVEX PROBLEM FORMULATION By definition, a convex optimization problem is an optimization problem where the objective function is a convex function and its constraints are convex as well [23]. Convex optimization problems have desirable features such as globally optimal solutions and fast convergence times with linear programming. Although non-convex problems can have more complex and precise modeling, there is no assurance of convergence to a feasible globally optimal solution [24]. Non-linear convex problems can be solved using interiorpoint method. MOSEK is a software package capable of solving large-scale optimization problems using the interiorpoint method which is used in this work [25]. The proposed model formulation consists of four parts: (A) vehicle dynamics, (B) losses, (C) physical limitations and essential constraints, and (D) optimization objective. _A._ _VEHICLE DYNAMICS_ As shown in [22], formulating vehicle dynamics in the position domain regardless of its more complicated formulation will result in less non-linearity, which is an essential characteristic when it comes to convex optimization. The vehicle dynamics are modeled as a discrete position point-mass system. In this system, the dynamics are modeled using the basic kinematic rule in (1)-(2), _�xi_ = _vi�ti_ (1) _�ti_ = _�xi/vi_ (2) where _�xi_ is the traveled distance (m) in the i <sup>th</sup> segment, _�ti_ is the amount of time (s) required to travel _�xi_, and _vi_ is the velocity (m/s) in that segment, where each segment is assumed to have a constant velocity. From (1) and (2), the time at each segment can be calculated using (3), _ti_ +1 = _ti_ + _�xi/vi_ (3) where _ti_ represents the time at the end of the i <sup>th</sup> segment. Acceleration is the result of net applied force, as shown in (4) where _�F_ is the net applied force (N), _m_ is the vehicle mass (kg), and _a_ is the acceleration (m/s <sup>2</sup> ). It is reasonable FIGURE 1. EV block diagram. to assume a constant acceleration in each segment if the segments are small enough. The acceleration in segment _i_ ( _ai_ ) will affect the speed of the next segment ( _vi_ +1). With constant segment acceleration assumed, the relationship between velocity, time, and acceleration is shown in (5). To calculate the speed of each segment, acceleration in position domain is defined as _γi_, which is the change of speed over the change of position as shown in (6), and thus the velocity in each segment can be calculated by (7). Using (6) and (7), the velocity calculation during each segment can be expressed as (8). _F_ = _ma_ (4) _�v_ = _a�t_ (5) _γi_ = <sup>_∂_</sup> _∂_ <sup>_<u>v</u>_</sup> _x_ <sup>_<u>i</u>_</sup> _vi_ <sup>_∂_</sup> _∂_ <sup>_<u>v</u>_</sup> _x_ <sup>_<u>i</u>_</sup> <sup>=</sup> <sup>_<u>a</u>_</sup> _vi_ <sup>_<u>i</u>_</sup> _Fnet,i_ <sup>�</sup> _<u>m</u>_ _vi_ (6) = _vi_ +1 = _vi_ + _γi�x_ (7) _vi_ +1 = _vi_ + <sup><u>(�</u></sup> <sup>_<u>Fi/m</u>_</sup> <sup><u>)</u></sup> <sup>_�xi_</sup> _vi_ (8) FIGURE 2. Wind in an arbitrary direction. (API). For example, the National Weather Service in the U.S.A provides the current and forecasted wind speed and direction, in addition to other data [26]. The vehicle direction of motion is known using GPS, thus the effective wind speed can be calculated using (11) as shown in Fig. 2. _V_ w,tangential = _Vw_ cos( _�_ ) (11) Equation (12) shows the rolling resistance where _m_ is vehicle mass, _g_ is the gravitational constant, _θ_ is the road grade in radians, and _µ_ 1 and _µ_ 2 are rolling coefficients. The resisting force of grade is shown in (13). _Froll_ = _mg_ cos _θ_ ( _µ_ 1 + _µ_ 2 _v_ ) (12) _Fgrade_ = _mg_ sin _θ_ (13) The force at the output of the final drive is represented by _Fdriveshaft_ which is the motor output torque applied through the final drive to the wheels, as calculated in (14), _B._ _LOSSES FORMULATION_ A basic block diagram of an EV powertrain is shown in Fig. 1. The inverter-motor block generates the torque required and applies it to the wheels through the final drive. The torque at the wheels is applied to the chassis, considering the external losses such as aerodynamic losses, grade losses, and rolling resistance losses. The vehicle speed is calculated based on the net force applied to the chassis. The battery supplies power to both the inverter and the electrical accessories, which includes controllers, lights, steering, etc., as well as heating, ventilation, and air conditioning (HVAC). As shown in (8), in order to calculate velocity at each segment, the net force in that segment is calculated first. The net force equals the driveshaft output force minus the external resisting forces, as shown in (9). _τmot_ _>_ 0 _τmot_ _<_ 0    _Fdriveshaft_ = <sup>_τmot_</sup> <sup>_fd_</sup> <sup>_ηfd_</sup> _rwhηfd_ _rwh_ (14) _Fdriveshaft_ = <sup>_τmot_</sup> <sup>_<u>fd</u>_</sup> where _fd_ is the final drive ratio, _ηfd_ is the final drive efficiency, _rwh_ is the wheel radius, and _τmot_ is the motor output torque. The force required to accelerate the vehicle is not strictly considered a loss because this energy is converted to kinetic energy as the vehicle drives at a higher speed. The actual loss associated with acceleration stems from the fact that the motor and inverter operate at different operating points than during cruising, where the high torque and low speed operating points during acceleration are generally less efficient than cruising operating points. Thus, because this work uniquely considers a detailed motor/inverter efficiency map, it is better able to capture these acceleration losses. During regenerative braking, the vehicle’s kinetic energy is converted back to mechanical then electrical energy for storage in the battery, and the loss formulations also account for these losses when the torque is negative. Thus, the internal vehicle losses are formulated in (15)-(18) based on prior work of the authors _Fnet,i_ = _Fi_ = _Fdriveshaft_ - _Froll_ - _Faero_ - _Fgrade_ (9) Equation (10) shows the aerodynamic drag where _ρ_ is the air density, _A_ is the vehicle effective frontal area, _Cd_ is the drag coefficient, _v_ is the vehicle speed (in m/s), and _vw,tangential_ is the tangential wind speed (defined as being in the same direction as the vehicle is driving in). _Faero_ = <sup><u>1</u></sup> (10) 2 <sup>_ρACd_</sup> <sup>(</sup> <sup>_v_</sup> <sup>−</sup> <sup>_v_</sup> <sup>w,tangential)2</sup> The real-time wind data can be estimated from weather service providers using an application programming interface FIGURE 3. 2010 Prius combined motor-inverter efficiency contours at 650 Vdc [27]. in [12]. These losses are formatted in Joules per meter so that they become suitable to use in a distance domain formulation. _LossFinalDrive_ ( _J_ _/m_ ) = <sup>_τmot_</sup> <sup>_fd_</sup> <sup>(1 −</sup> <sup>_ηfd_</sup> <sup>)</sup> _rwh_ _LossMotorInverter_ ( _J_ _/m_ ) = <sup>_τmot_</sup> <sup>_<u>fd</u>_</sup> <sup><u>(1 −</u></sup> <sup>_ηmotinv_</sup> <sup><u>)</u></sup> _rwh_ (15) (16) it is critical to consider the accessory losses, as in some cases, driving faster may be more energy optimal despite the higher aerodynamic losses. This usage is usually presented in the form of power; thus, the energy consumption is as shown in (19) where _Paccessory,i_ is the constant accessory power in segment _i_ : _AccessoryLossi_ ( _J_ ) = _Paccessory,i_ × _�ti_ (19) _C._ _PHYSICAL LIMITATIONS_ One main physical limitation of the vehicle is that the maximum output torque of the electric motor depends on the motor’s rotational speed. The yellow line on the top of the efficiency map (upper boundary) in Fig. 3 shows the maximum torque curve. This curve can be broken into two sections: in the low speed region, the motor can supply a high constant torque, and in the higher speed region, the motor operates in constant power mode and the maximum output torque decreases as the motor speed increases. It is suggested in [22] to model this maximum torque curve as a minimum of a maximum constant torque portion (first part) and a second order polynomial (second part), as shown in (20), _τmot_ = min( _τ_ maximum _, r_ 0 + _r_ 1 _vi_ + _r_ 2 _v_ <sup>2</sup> _i_ <sup>)</sup> (20) where _r_ 0, _r_ 1, and _r_ 2 are polynomial coefficients which can be curve-fitted to match the experimental or manufacturer data [23], and _τmaximum_ is the maximum torque the motor can provide. The second physical limitation to consider is driver comfort. To maintain the comfort of the passengers during the trip, the vehicle velocity trajectory should have a smooth shape, without hard acceleration or deceleration events (unless it is necessary for safety). It is suggested in [28] to keep acceleration and deceleration rates below 4.5 m/s <sup>2</sup> for this purpose. _D._ _OPTIMIZATION FORMULATION_ The optimization problem in this work is a mixed-objective optimization problem considering both vehicle energy use and travel time. Thus, the proposed objective function seeks to minimize energy consumed ( _Econsumption_ ) and trip time ( _Ttrip_ ), as shown in (21), min( _α_ × _Econsumption_ + _β_ × _Ttrip_ ) (21) where _α_ and _β_ are weighting coefficients for the energy consumption and trip duration. The _Econsumption_ is determined by external and internal vehicle losses as described in (12) – (19), which are dependent on the specific vehicle speed profile of the trip. The optimization occurs for a driving segment consisting of a start increasing from zero speed and an end point where speed again returns to zero. Thus, a full trip may consist of many driving segments, where each driving segment is optimized. This concept is shown in Fig. 4, where the trip is broken down into two driving segments, where the _LossBattery_ ( _J_ _/m_ ) = <sup>_I_</sup> _<u>b</u>_ <sup>2</sup> _<u>b</u>_ <sup>2</sup> <sup>_Rb_</sup> (17) _v_ _Ib_ _rwh_ <sup>_<u>v</u>_</sup> <sup>_τmot_</sup> <sup>+</sup> <sup>_Paccessory_</sup> <u>�</u> _Voc_ ~~�~~ _Voc_ <sup>2</sup> - 4 _Rb_ <u>�</u> _fd_ _r_ <sup>_<u>v</u>_</sup> = (18) 2 _Rb_ _ηmotinv_ is the motor-inverter efficiency at the given speedtorque operating point, _Rb_ is the internal battery resistance, _Ib_ is the battery current, _Voc_ is the open circuit voltage, and _Paccessory_ is the power consumption of the accessories in the vehicle. One of the crucial aspects to consider in EV modeling is the electrical motor and inverter’s efficiency. In most prior work on speed profile optimization, motor/inverter efficiency is not considered or is assumed to be a constant value, but it can actually vary dramatically at different operating points. As shown in Fig. 3, the combined motorinverter efficiency for the Toyota Prius can change from 65% to 96%. The accessory power draw has a significant effect on the resulting optimal speed profile, and yet it is ignored in all prior work on this subject. Large accessory loads can result from the autonomous sensors and computations in autonomous vehicles and HVAC loads in any electric vehicle. Smaller loads include controllers, battery management systems, lights, windshield wipers, power steering, etc. Since these loads manifest as a constant or near-constant power consumption, the longer the vehicle drives, the more accessory energy will be used on a trip. Thus, although aerodynamic losses increase with increased vehicle speed, total trip accessory losses decrease with increased vehicle speed. Due to this opposing effect on optimal speed of these significant losses, FIGURE 4. Illustration of proposed method for optimization. stop point (which could be, for example, a stop sign) is the division between the two driving segments. One main difficulty in modeling the vehicle internal losses accurately is dealing with the motor and inverter efficiency, _ηmotinv_, which can vary greatly across different operating points (Fig. 3). For example, [29] shows that in order to have a high accuracy motor loss approximation, the constant torque region must be modeled independently from the constant power region, where the first part requires 11 terms of torque and speed, up to _τ_ <sup>4</sup> and _ω_ <sup>4</sup>, and the second part needs 15 terms of the combinations of _τ_ and _ω_, which becomes very complex. For a more tractable approach, the following options exist: ignore motor/inverter losses, approximate a constant efficiency, approximate efficiency using a simple polynomial, or use the detailed two-dimensional lookup table obtained experimentally. Using the actual look-up table gives the highest accuracy by far, but is not possible in a convex problem formulation. For example, Fig. 5 shows the Bolt EV motor efficiency data fitted to a second order polynomial approximation using MATLAB’s curve fitting toolbox and Fig. 6 shows the corresponding error across the map. A convex problem formulation is desired, as these are generally fast and easy to solve, and assure global optimality suitable for real-time implementation [10]. However, this formulation is incompatible with the most accurate representation of motor/inverter efficiency, an experimentally-derived look-up table. Thus, this work proposes the use of successive convex programming, as illustrated in Fig. 7. At the beginning of the algorithm, an initial guess is generated for the velocity and torque of all the segments ( _va_, _τa_ ). The optimization is then performed in successive loops using more and more precise motor/inverter efficiency data from the look-up table until the velocity profile converges. In order to address the challenge of generating the initial values for _va_ and _τa_, a two-level MPC structure is proposed, FIGURE 5. Efficiency data vs fitted second order approximation from Chevy Bolt EV [12]. FIGURE 6. Error between efficiency data and fitted polynomial from Chevy Bolt EV [12]. consisting of high-level MPC and low-level MPC. The highlevel controller generates the overall speed trajectory over the trip using a constant motor/inverter efficiency for the whole driving segment. Then, the low-level controller uses the data coming from the high-level controller as the initial values (first guess) and then tries to generate better results for the smaller portion of the road ahead using the mentioned successive approach. For the high-level MPC, the tunable parameter is the number of segments, and the length of each segment changes as the vehicle proceeds, but for the lowlevel MPC, there are two parameters to choose: length of the window ahead and number of segments. Fig. 8 illustrates this control platform, where the trip requirements and road data are used as input for the high-level MPC. _Vd_ _ _high_ and _τd_ _ _high_ are the desired speed and torque generated by the high-level MPC, which are used as inputs for the low-level MPC. Then _Vd_ _ _low_ and _τd_ _ _low_ are produced by the low-level MPC and are sent to the autonomous vehicle as the desired trajectory. The actual measured values for time, velocity, and distance are used as feedback for the high-level MPC ( _tmes_, _vmes_, _Xmes_ ). FIGURE 7. Flowchart of the successive convex optimization approach. FIGURE 8. Proposed two-level control platform. The optimization problem in (22) is once solved in the high-level MPC for the whole trip using the constant motor/inverter efficiency, then the velocity and torque data for the next portion of the road (e.g. 100m ahead) is extracted from the results of the high-level MPC and is fed to the lowlevel MPC as the initial value. The low-level MPC solves (22) for that portion of the road using the detailed motor/inverter efficiency map in a successive manner. The new values for velocity and torque are compared to the values from the last iteration; if the data is converged the process is done, if not, the next iteration is started. The optimization problem is shown in (22), where the objective function represents the energy consumption over the whole planned horizon. _�x_ <sup>_T_</sup> is the transposed vector of distance of segments. Trip time is shown by _tN_, and a term is added to penalize fluctuation in the speed profile with the weight of _ξ_ . It is shown in (22) that the time constraint is added to the objective function in terms of energy using accessory usage described in (19). Velocity at each segment is limited between small nonzero value _ε_ (to prevent singularity), and _Vlim_ which is the upper boundary velocity (22a). Initial and ending velocity ( _Vstart_ and _Vend_ ) for each horizon of planning is pre-defined (22b). Time at the start of planning is shown with _t_ 1 and it is set to be equal to _Tstart_ (22c). Arrival time is set to be in an acceptable interval of duration illustrated as _Tend_ _ _min_, and _Tend_ _ _max_ (22d). Time at the end of each segment is calculated as shown in (3), but the formulation is not generally convex (dividing a convex function by another convex function is not necessarily convex) so an arbitrary variable, _ρv_, is added to maintain the convex format of the optimization. The concept of using _ρv_ in a second order cone format is proposed in [22] and it is shown that it is effectively a relaxed version of _ρv_ = _1/v_ (22e, 22f). The ‘‘second-order cone’’ arises from the constraint, which is equivalent to requiring the Euclidian norm to lie in the affine function [23]. The motor torque is divided into positive torque and original torque (22g). The reason for this classification is that only positive torque actually uses energy to overcome losses or accelerate. The more detailed format of velocity calculation which was shown in (7) is shown in (22i). These losses are also considered in the objective function. The regenerative braking energy is considered, as the _τ_ variable can have negative values, which representing the reverse flow of energy during regenerative braking. The main differences between the formulations used in this work compared to [22] are: the addition of the constraint for limiting to comfortable acceleration and deceleration rates, the low-level/high-level MPC to allow for the successive use of the detailed motor/inverter efficiency map, the consideration of accessory power losses, and that the objective function in this paper accounts for the actual energy usage instead of an energy-like objective. The entire formulation of (22) is a convex SOCP (Secondorder cone programming) form. Thus, solvers with the capability of working with conic optimization problems can be used to find the solution. The CVX solver is one of these capable solvers which can be integrated into both MATLAB and C [30], [31]. (22) _s.t. ε_ ≤ _vi_ ≤ _V_ lim (22 _a_ ) _v_ 1 = _Vstart_ _vN_ = _Vend_ (22 _b_ ) _t_ 1 = _Tstart_ (22 _c_ ) _Tend_ _ min ≤ _tN_ ≤ _Tend_ _ max (22 _d_ ) _ti_ +1 = _ti_ + _�xiρv,i_ (22 _e_ ) 2 (22f) ���� _vi_ - _ρv,i_ ���� ≤ _vi_ + _ρv,i_ min   _α_   �� _lossfinal_ _drive_ �� + | _lossMotorInverter_ | _Faero_ + _Froll_ + _Fgrade_ + _lossBattery_ + | _vi_ +1 − _vi_ | × _ζ_     + _�t_ <sup>_T_</sup> × _Paccessory_    _�x_ <sup>_T_</sup> ×    + _βtN_ FIGURE 9. Block diagram of vehicle model. 0 ≤ _τposτmot_ ≤ _τpos_ (22g) _τ_ min ≤ _τmot_ ≤ _τ_ max (22 _h_ ) _�xi/_ m _vi_ (22 _i_ ) _vi_ +1 = _vi_ + - _Fdriveshaft_ −[ _Faero_ + Froll+ Fgrade] To preserve the real-time performance of the suggested algorithm, two conditions should be considered: 1) if the velocity profile is converged, and 2) if the allocated acceptable time of the algorithm is spent. Whichever of these conditions holds, the algorithm will stop going through the next loop and will generate the current result for the speed trajectory as the final result. If the convergence doesn’t happen in the specified time, a sub-optimal solution would be chosen that is feasible and maintains the controllability of the vehicle. III. VEHICLE MODELING The dynamic model for the Tesla Models S with 85kWh battery was created in MATLAB/Simulink using logged driving data in the Toronto, Canada area, as shown in Fig. 9. In this model, a PI feedback loop represents the driver behavior; the logged speed data from the drive cycle feeds into the loop as the reference speed, and the driver requests a motor/brake torque considering the current simulated speed to follow the speed profile as closely as possible. In the controller block, the controller generates the motor torque demand subject to limitations of the vehicle components. In the plant model, the next simulated vehicle speed, _vchas(t_ + _1)_, is calculated using the force applied to the wheels and resisting forces, as shown in (23). _vchas_ ( _t_ + 1) = _vchas_ ( _t_ ) FIGURE 10. Logged vs simulated drive cycle data of a Tesla Model S. lated using (24). <u>1</u> _SOC_ ( _t_ + 1) = _SOC_ ( _t_ ) + _Cbatt_ _t_ +1 - _Ibdt_ (24) _t_ <sup><u>1</u></sup> 2 <sup>_ρACd_</sup> <sup>_v_</sup> _chas_ <sup>2</sup> <sup>(</sup> <sup>_t_</sup> <sup>)</sup> <sup>_dt_</sup> _t_ +1 The vehicle parameters are shown in Table 1. Three logged drive cycles for the Model S are used to validate the accuracy of the model. The objective of creating this model is to compare energy use between the optimal speed trajectory (results of the proposed algorithm) and the real-world speed profile using this model. Logged speed data and simulated speed data for three drive cycles (T1, T2, T3) for the Model S are shown in Fig. 10. The comparison between the simulated vehicle energy consumption to the logged energy consumption for the shown cycles are illustrated in Table 2. Less than 3.3% difference between the simulated and the logged energy consumption shows an acceptable accuracy considering there are some unknowns in the logged data. There are 4 main potential sources of error. Firstly, mass was not logged during the drive cycles. The simulated vehicle uses curb mass + driver, but if the real vehicle had multiple passengers and/or cargo during the drive, this would change the energy use slightly. Accessory power usage is also not specifically logged in the dataset. Estimates are made using battery current during times that the vehicle is stopped, but these may be erroneous during driving times, especially long driving times like in T1. Thirdly, wind is unknown during the logged driving, though wind speed is set to zero in the vehicle model for validation. Fourthly, logged GPS altitude is used to estimate grade, but there is some inherent noise and error in this data. The GPS altitude data has been filtered and fed into the model to approximate road grade. Despite these unknowns from the logged data, - <sup></sup>  (23) +   <sup><u>1</u></sup> _m_ - _Fout_ _ _wh_ - <sup><u>1</u></sup> 2 _t_ In (23), _m_ is the vehicle mass in kg, _ρ_ is the air density, _A_ is the vehicle frontal area in m <sup>2</sup>, and _Cd_ is the coefficient of drag. The force out of the wheel, _Fout_ _ _wh_, is calculated backward considering rolling losses, final drive losses, and motor/inverter losses to generate the battery current. Then the corresponding next battery _SOC_ value, _SOC(t_ + _1)_ is calcu TABLE 1. Baseline values of Telsa model S vehicle parameters. TABLE 2. Vehicle model energy usage validation. FIGURE 11. a) Time-speed profile b) Distance-speed profile c) Time-SOC d) Energy consumption of the Tesla model S with constant efficiency. the model is still able to have very accurate energy use across three unique drive cycles of significant driving time. IV. SIMULATION RESULTS The proposed convex optimization problems are solved using CVX software inside MATLAB using the Mosek solver. To show the effect of considering a detailed efficiency map, a comparison between optimization results of two cases, one with constant motor inverter efficiency (90%) and one with a detailed efficiency map, is conducted. Fig. 11 shows the results of this study. The selected route’s distance is 300m, where the control horizon of the high-level MPC and lowlevel MPC are both 50 segments, where the size of each segment, _�_ X, is 4 m for the low-level MPC. This is the number of the segments that the route ahead is discretized into. Using a detailed efficiency map for this study case will result in 0.88% energy saving comparing to constant efficiency over the 300m trip. The fact that efficiency changes in different speed and torque levels can be used by the solver to generate a more detailed answer which results in a better performance in terms of the energy for the vehicle. FIGURE 12. a) Time-speed profile b) Distance-speed profile for five different cases. _A._ _ENERGY FOCUSED OPTIMIZATION_ In order to show how the optimal speed profile changes for different conditions, a study of five different cases for the Tesla Model S is conducted: three different accessory power levels (3kW, 8kW, and 11kW), and two different wind speeds (+20 km/h, and −20 km/h). Fig. 12 illustrates the resulting speed profiles versus time and distance respectively. The maximum allowed speed is set to 70 km/h over a 1600 m route. In order to focus on energy consumption, _β_ is set to 0 in these simulations. As shown in Fig. 12, when the driving condition changes, the optimal speed profile changes as well. The optimal speed profile tries to go faster when there is high accessory usage. For the cases with different wind speeds, when the speed blows in the same direction as the vehicle drives (+20km/h), the algorithm chooses a higher optimal speed compared to when the wind is resisting (−20 km/h). To show the effectiveness of the optimal profiles, a non-optimal arbitrary speed profile is added to Fig. 12 (shown using dashed black line) for comparison, consisting of constant acceleration from 0 to 55 km/h in 10 seconds, deceleration from 55 to 0 km/h in 10 seconds, and a 55 km/h cruising speed. The comparison between the energy usages of the optimal and non-optimal driving profiles for the different cases is shown Table 3. For all the cases, the optimal speed trajectories calculated using the proposed algorithm result in less energy usage compared to the non-optimal arbitrary speed profile. It is clear that the accessory power use makes FIGURE 13. a) Time-speed profile b) Distance-speed profile c) Time-SOC d) Energy consumption of the Tesla model S at 3 kW accessory usage. TABLE 3. Study cases for different cases. a significant impact on the energy-optimal speed profile; in this case, an 8 kW accessory load gives an optimal speed profile coincidentally close to the arbitrary speed, so only about 1% of energy is saved. However, if accessory load is 3 kW or 11 kW, the optimal speed profile changes significantly, and 3-4% of energy can be saved. A study on a real-world logged drive cycle of the Tesla Model S is also conducted. In this case, the traveled distance is 585 meters in 74 seconds. Three different accessory usage 3kW, 8kW, and 11kW are studied. For the goal of the simulations, some default values are selected for different parameters. The wind speed is set to 0 km/h, the road grade is equal to 0%, and the vehicle curb mass used. In Fig. 13, Fig. 14, and Fig. 15, the simulation results for the resulting optimal speed trajectory and the real-world speed profile at the 3 kW, 8 kW and 11 kW accessory usage in the time domain and spatial domain is shown. These figures also contain the corresponding used energy as well as the simulated battery SOC. The results show that 9.66%, 16.09%, and 17.83% energy savings result from the vehicle following the optimal speed trajectory compared to the logged real world drive cycle, for the 3 kW, 8 kW, and 11 kW accessory power levels, respectively. For these specific cases, the optimal speed profiles are almost identical, but this is because a speed limit of 45 FIGURE 14. a) Time-speed profile b) Distance-speed profile c) Time-SOC d) Energy consumption of the Tesla model S at 8 kW accessory usage. FIGURE 15. a) Time-speed profile b) Distance-speed profile c) Time-SOC d) Energy consumption of the Tesla model S at 11 kW accessory usage. km/h has been applied to stay close to the real-world driving constraints. If this upper limit were raised higher, the results would be more different, and specifically, the 11 kW case would choose an even higher optimal speed to make the trip have a shorter travel time. Considering the studied cases, it is shown that optimal speed is not always the lowest or the highest allowed speed, and it can change significantly with the given condition. Further, it is shown that a more gradual acceleration is not always best, as for high accessory power usage, optimal energy use is obtained by minimizing trip time. The results for 17 different cases are summarized in Table 4, where the accessory power is set to 3 kW unless otherwise noted. These cases are selected to demonstrate different external and internal conditions (e.g. windy weather or a ramp). These results show that the amount of saved energy can change dramatically in different cases. The real-world energy usage shown in Table 4 is obtained TABLE 4. Simulated energy use of cases over 585m trip. from running the Simulink Tesla Model S vehicle model on the real-world drive cycle, so that simulation-based energy values are used for both cases (real speed profile and optimal speed profile) for a fair comparison. _B._ _TIME AND MIXED TIME-ENERGY OPTIMIZATION_ The proposed algorithm can also be used to generate a purely time-optimal drive cycle or a mixed time-energy optimal drive cycle. Two cases are simulated for investigation: 3kW and 8kW accessory usage over a 1500m route, where other parameters such as wind speed and grade are set to zero. For each scenario, three different optimization objectives are considered: energy-focused ( _α_ = 1, _β_ = 0), time-focused ( _α_ = 0, _β_ = 1), and mixed time-energy ( _α_ = 1, _β_ = 1000). The maximum allowed speed is set to 70 km/h. Fig. 16 summarizes the energy use and trip duration for these scenarios, and Fig. 17 shows the resulting optimal velocity profiles with respect to time and distance. For the 3kW accessory load, the energy-focused case uses the lowest energy at 942 kJ and has the longest trip duration at 124 seconds. The timefocused result has the same velocity profile for both accessory power levels since it will maximize speed wherever possible, and uses 21.5% more energy than the energy-focused result for the 3kW case. However, for the 3kW accessory load, the mixed time-energy result is very favorable as it has only increased energy use by 1.1% (compared to the energyfocused result) but has shortened the trip duration to 99 seconds. The 8kW results follow a similar pattern, where the mixed time-energy result strikes a balance between time and energy as expected. However, the energy and time differences between the 3 results for 8kW are much smaller than for the 3kW results, because with higher accessory load, energy FIGURE 16. Energy consumption vs. trip duration for two different cases with three different optimization objectives (Energy optimal, Time optimal, Mixed time-energy). FIGURE 17. Speed profiles for two different cases with three different optimization objectives (Energy focused, Time focused, Mixed Time-Energy) a) speed vs time b) speed vs distance. use and time and not ‘‘competing’’ as much, meaning higher speed is better for both energy and time. For example, at 8kW, the energy- focused result gives 1511 kJ energy usage for a 92 second trip, and the time-focused result increases energy use by 3.8% and reduces the trip duration to 85 seconds. Overall, the optimization of energy use and trip duration is highly dependent on the instantaneous values of vehicle parameters considered in the proposed algorithm, such as accessory power usage, wind, and grade. _C._ _COMPUTATIONAL EFFORT_ Fig. 18 shows a comparison between the execution time and optimal energy usage for different segmentation sizes for a drive of 585m with 3kW accessory power. The MPC algorithm is run with different segment choices to create various optimal velocity profiles. Then the Simulink vehicle FIGURE 18. Execution time vs. vehicle energy usage for different horizon length. model is run on each velocity profile to calculate the energy usage (y-axis in Fig. 18). The presented simulation results are performed using a Dell laptop computer with Windows 10 environment, core i7 1.8 GHz CPU and 16 GB RAM. The time values on the x-axis are the times for each iteration of the low-level MPC. The segment size in the high-level MPC changes as the vehicle proceeds, so is not a constant number, but it discretizes the remainder of the trip into the selected number of segments. _�_ X is the length of the low-level MPC segments. By increasing the number of segments (smaller distance segments), the accuracy of the model excels, but the execution time will also get larger. Also, the results show that the segment size of the low-level MPC is the most important to minimize, as it has a large effect on the vehicle energy consumption, whereas the choice of number of high-level segments has little effect on the energy consumption results. Considering the results in Fig. 18, the trade-off between optimal energy and execution time is noticeable, and should be weighed carefully based on the availability of vehicle onboard computing resources. V. CONCLUSION This paper presents a novel two-level MPC trajectory planning framework to solve the energy-optimal speed profile planning problem. A convex formulation is developed which performs successive optimizations to allow for the use of detailed motor/inverter efficiency maps. A comparison between using detailed efficiency maps versus using constant efficiency shows an energy savings of 0.88% over a 300m driving segment. A Tesla Model S vehicle is modeled and validated to real world data. The model is used to drive optimal and non-optimal speed profiles to quantify energy savings. Compared to an arbitrary constant-speed profile, the optimal profile saves between 0.95% and 4.63% of energy over a 1.6km driving segment. It is found that considering the high accessory losses of autonomous vehicles is critical for finding the optimal speed trajectory. Compared to a more variable real-world logged drive cycle, the optimal profile saves between 3.26% and 28.86% of energy. The trade-off between execution time and optimality of results is also investigated. ACKNOWLEDGMENT The authors would like to thank Dr. Tim Davidson for his helpful advice. REFERENCES [1] J. A. Baxter, D. A. Merced, D. J. Costinett, L. M. Tolbert, and B. Ozpineci, ‘‘Review of electrical architectures and power requirements for automated vehicles,’’ in _Proc._ _IEEE_ _Transp._ _Electrific._ _Conf._ _Expo_ _(ITEC)_, Long Beach, CA, USA, Jun. 2018, pp. 944–949. [2] T. Jurik, A. Cela, R. Hamouche, R. Natowicz, A. Reama, S.-I. Niculescu, and J. Julien, ‘‘Energy optimal real-time navigation system,’’ _IEEE Intell._ _Transp. Syst. Mag._, vol. 6, no. 3, pp. 66–79, Fall 2014. [3] M. Wang, L. Zhang, Z. Wang, Y. Sai, and Y. Chu, ‘‘A real-time dynamic trajectory planning for autonomous driving vehicles,’’ in _Proc._ _3rd_ _Conf._ _Vehicle Control Intell. (CVCI)_, Hefei, China, Sep. 2019, pp. 1–6. [4] K. P. Divakarla, A. Emadi, and S. Razavi, ‘‘A cognitive advanced driver assistance systems architecture for autonomous-capable electrified vehicles,’’ _IEEE Trans. Transp. Electrific._, vol. 5, no. 1, pp. 48–58, Mar. 2019. [5] P. Michel, D. Karbowski, and A. Rousseau, ‘‘Impact of connectivity and automation on vehicle energy use,’’ SAE Tech. Paper Series, No. 2016-010152, May 2016. [6] V. Larsson, L. Johannesson Mardh, B. Egardt, and S. Karlsson, ‘‘Com muter route optimized energy management of hybrid electric vehicles,’’ _IEEE Trans. Intell. Transp. Syst._, vol. 15, no. 3, pp. 1145–1154, Jun. 2014. [7] G. Ma, M. Ghasemi, and X. Song, ‘‘Integrated powertrain energy manage ment and vehicle coordination for multiple connected hybrid electric vehicles,’’ _IEEE Trans. Veh. Technol._, vol. 67, no. 4, pp. 2893–2899, Apr. 2018. [8] L. Guo, B. Gao, Y. Gao, and H. Chen, ‘‘Optimal energy management for HEVs in eco-driving applications using bi-level MPC,’’ _IEEE Trans. Intell._ _Transp. Syst._, vol. 18, no. 8, pp. 2153–2162, Aug. 2017. [9] C. Flores, V. Milanes, J. Perez, D. Gonzalez, and F. Nashashibi, ‘‘Opti mal energy consumption algorithm based on speed reference generation for urban electric vehicles,’’ in _Proc._ _IEEE_ _Intell._ _Vehicles_ _Symp._ _(IV)_, Jun. 2015, pp. 730–735. [10] Y. Ikezawa, H. Fujimoto, D. Kawano, Y. Goto, and M. Tsuchimoto, ‘‘Bench test of minimum time autonomous driving for electric vehicle based on optimization of velocity profile considering energy constraint,’’ in _Proc. 41st Annu. Conf. IEEE Ind. Electron. Soc._ _(IECON)_, Nov. 2015, pp. 004609–004614. [11] H. Yoshida, H. Fujimoto, D. Kawano, Y. Goto, and M. Tsuchimoto, ‘‘Range extension autonomous driving for electric vehicles based on optimal velocity trajectory and driving braking force distribution considering road gradient information,’’ in _Proc. 41st Annu. Conf. IEEE Ind. Electron._ _Soc. (IECON)_, Nov. 2015, pp. 004754–004759. [12] A. Meshginqalam and J. Bauman, ‘‘An onboard Real-TimeImplementable framework for calculating the optimal cruising speed of electric autonomous vehicles,’’ in _Proc._ _IEEE_ _Transp._ _Electrific._ _Conf._ _Expo_ _(ITEC)_, Detroit, MI, USA, Jun. 2019, pp. 1–6, [doi: 10.1109/ITEC.2019.8790538.](http://dx.doi.org/10.1109/ITEC.2019.8790538) [13] K. Kim, H. Lee, C. Song, C. Kang, and S. W. Cha, ‘‘Optimization of speed trajectory for eco-driving considering road characteristics,’’ in _Proc._ _IEEE Vehicle Power Propuls. Conf. (VPPC)_, Chicago, IL, USA, Aug. 2018, pp. 1–5. [14] E. Ozatay, S. Onori, J. Wollaeger, U. Ozguner, G. Rizzoni, D. Filev, J. Michelini, and S. Di Cairano, ‘‘Cloud-based velocity profile optimization for everyday driving: A Dynamic-Programming-Based solution,’’ _IEEE Trans. Intell. Transp. Syst._, vol. 15, no. 6, pp. 2491–2505, Dec. 2014. [15] S. Akhegaonkar, L. Nouveliere, S. Glaser, and F. Holzmann, ‘‘Smart and green ACC: Energy and safety optimization strategies for EVs,’’ _IEEE_ _Trans._ _Syst.,_ _Man,_ _Cybern._ _Syst._, vol. 48, no. 1, pp. 142–153, Jan. 2018, [doi: 10.1109/TSMC.2016.2600273.](http://dx.doi.org/10.1109/TSMC.2016.2600273) [16] P. Themann, L. Eckstein, and J. Bock, ‘‘Optimisation of energy efficiency based on average driving behaviour and driver’s preferences for automated driving,’’ _IET Intell. Transp. Syst._, vol. 9, no. 1, pp. 50–58, Feb. 2015. [17] W. ShangGuan, X.-H. Yan, B.-G. Cai, and J. Wang, ‘‘Multiobjective optimization for train speed trajectory in CTCS high-speed railway with hybrid evolutionary algorithm,’’ _IEEE Trans. Intell. Transp. Syst._, vol. 16, no. 4, pp. 2215–2225, Aug. 2015. [18] 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. [19] M. Held, O. Flardh, and J. Martensson, ‘‘Optimal speed control of a heavy duty vehicle in urban driving,’’ _IEEE Trans. Intell. Transp. Syst._, vol. 20, no. 4, pp. 1562–1573, Apr. 2019. [20] Y. Shao and Z. Sun, ‘‘Eco-approach with traffic prediction and experimental validation for connected and autonomous vehicles,’’ _IEEE_ _Trans._ _Intell._ _Transp._ _Syst._, early access, Feb. 13, 2020, [doi: 10.1109/TITS.2020.2972198.](http://dx.doi.org/10.1109/TITS.2020.2972198) [21] M. A. S. Kamal, M. Mukai, J. Murata, and T. Kawabe, ‘‘Model predictive control of vehicles on urban roads for improved fuel economy,’’ _IEEE_ _Trans. Control Syst. Technol._, vol. 21, no. 3, pp. 831–841, May 2013. [22] D. Yazhemsky, M. Rashid, and S. Sirouspour, ‘‘An on-line optimal con troller for a commuter train,’’ _IEEE_ _Trans._ _Intell._ _Transp._ _Syst._, vol. 20, no. 3, pp. 1112–1125, Mar. 2019. [23] S. Boyd and L. Vandenberghe, _Convex_ _Optimization_ . Cambridge, U.K.: Cambridge Univ. Press, 2004. [24] J.-B. Hiriart-Urruty and C. Lemaréchal, _Convex_ _Analysis_ _and_ _Minimiza-_ _tionAlgorithms_ _I:_ _Fundamentals_, vol. 305. Berlin, Germany: Springer, 2013. [25] MOSEK ApS. (2019). _The_ _MOSEK_ _Optimization_ _Toolbox_ _for_ _MAT-_ _LAB Manual. Version 8.0_ . [Online]. Available: http://docs.mosek.com/7.0/ pythonapi/index.html [26] _National_ _Weather_ _Service,_ _Oceanic_ _and_ _Atmospheric_ _Adminis-_ _tration_ . Accessed: Sep. 2020. [Online]. Available: https://www. weather.gov/documentation/services-web-api [27] T. A. C. Burress, S. L. Coomer, C. Ayers, C. W. Wereszczak, A. A. Cunningham, J. P. Marlino, L. D. Seiber, L. Eugene, and L. Hua-Tay, _Evaluation_ _of_ _the_ _2010_ _Toyota_ _Prius_ _Hybrid_ _Synergy_ _Drive_ _System_ . Washington, DC, USA: U.S. Department of Energy, 2011, doi: [10.2172/1007833.](http://dx.doi.org/10.2172/1007833) [28] A. A. Malikopoulos, S. Hong, B. B. Park, J. Lee, and S. Ryu, ‘‘Optimal control for speed harmonization of automated vehicles,’’ _IEEE_ _Trans._ _Intell. Transp. Syst._, vol. 20, no. 7, pp. 2405–2417, Jul. 2019. [29] A. Mahmoudi, W. L. Soong, G. Pellegrino, and E. Armando, ‘‘Loss func tion modeling of efficiency maps of electrical machines,’’ _IEEE Trans. Ind._ _Appl._, vol. 53, no. 5, pp. 4221–4231, Sep. 2017. [30] Michael Grant and Stephen Boyd. (Sep. 2013). _CVX:_ _MATLAB_ _Software_ _for_ _Disciplined_ _Convex_ _Programming,_ _Version_ _2.0_ _Beta_ . [Online]. Available: http://cvxr.com/cvx [31] M. Grant and S. Boyd, _Graph_ _Implementations_ _for_ _Nonsmooth_ _Convex_ _Programs,_ _Recent_ _Advances_ _in_ _Learning_ _and_ _Control_ (Lecture Notes in Control and Information Sciences), M. Vidyasagar, V. Blondel, S. Boyd, and H. Kimura, Eds. Stanford, CA, USA: Springer, 2008, pp. 95–110. [Online]. Available: http://stanford.edu/~boyd/graph_dcp.html ATA MESHGINQALAM (Graduate Student Member, IEEE) received the B.Sc. degree in electrical engineering from the Sharif University of Technology, Tehran, Iran, in 2015, and the M.Sc. degree in electrical engineering from the Iran University of Technology and Science, Tehran, Iran, in 2017. He is currently pursuing the Ph.D. degree in electrical engineering with McMaster University, Hamilton, Canada. His main area of interest is the modeling, analysis, and optimization of autonomous vehicles. JENNIFER BAUMAN (Member, IEEE) received the B.Sc. and Ph.D. degrees in electrical engineering from the University of Waterloo, Waterloo, Canada, in 2004 and 2008, respectively. From 2009 to 2016, she was the Director of Research at CrossChasm Technologies, where she led the modeling team on a wide variety of automotive projects. She is currently an Assistant Professor of Electrical Engineering at McMaster University, Hamilton, Canada. Her current research interests include power electronic converters for electrified powertrains (including wide bandgap devices), vehicle design, modeling, and control, autonomous vehicle control, and EV interactions with the smart grid. She is a registered Professional Engineer and an Associate Editor for the IEEE OPEN JOURNAL OF POWER ELECTRONICS.

섹션 본문 47문단 · 37,125자

(제목 없음)

1This paper proposes a novel two-level model predictive control (MPC) speed control algorithm for autonomous vehicles as a successive convex optimization problem focused on both energy use and arrival time. Internal losses such as detailed motor/inverter efficiency and battery loss, as well as external losses, such as wind and grade, are considered. The effect of the higher accessory energy usage of autonomous vehicles on the energy-optimal speed profile is considered in the algorithm and investigated in the paper. The proposed successive convex approach produces a highly accurate optimal speed profile while also being solvable in real-time with the vehicle on-board computing resources. An electric vehicle model is created in MATLAB/Simulink and validated to real-world logged driving data. This vehicle model is used to perform a variety of simulated test cases, which show an energy savings potential of about 1% to 20% for different driving conditions, compared to a non-energy-optimal driving profile.

I. INTRODUCTION

2The transportation industry is currently undergoing two radical transformations: electrification, to reduce the harmful environmental effects of internal combustion engines, and autonomous driving, to reduce traffic fatalities and transform the way society moves. Unfortunately, the addition of large amounts of sensors and computing resources on board autonomous vehicles increases the continuous vehicle load by at least a few kilowatts [1]. This increase in energy use is in clear opposition to the environmental goals of transportation electrification. Thus, it is imperative to use every opportunity available to reduce the energy use of autonomous electric vehicles, since by their very nature, they consume more energy than baseline electric vehicles. Fortunately, autonomous vehicles provide a new degree of freedom in this quest to minimize losses: energy-optimal determination of second-by-second vehicle speed.

3Much autonomous vehicle research focuses on the sensors, signal processing, algorithms, and computations required to assure the safe operation of a fully driverless vehicle. Once safety is assured, algorithms to minimize energy consumption The associate editor coordinating the review of this manuscript and approving it for publication was Chao Yang . while driving can be implemented. Some prior research has focused on reducing energy consumption though optimal route selection [2], path planning [3], smoothing the driving speed profile [4], [5] and optimizing energy management in hybrid vehicles [6], [7]. Furthermore, [8] seeks to determine both the optimal hybrid energy management and the energyoptimal local speed profile, but to make the problem tractable it uses a simple vehicle model considering only vehicle external losses (aerodynamic, rolling resistance, and grade).

4Some prior work focuses specifically on vehicle energy reduction by optimizing the speed profile. Reference [9] reduces energy use by dividing the trip into road segments of constant grade and generating an optimal speed for each segment, but considers only vehicle external losses and does not consider losses within the vehicle. Similarly, [10] and [11] do not consider inverter loss, motor mechanical loss, battery loss, or accessory loss, and seek to find the local optimum speed rather than the global optimum for a trip segment. Reference [12] has developed a simple and fast framework for determining the energy-optimal cruising speed while considering all vehicle internal and external losses, but as this algorithm is focused on cruising, it is not suitable for urban stop-and-go driving patterns. However, [12] does uniquely show the importance of considering vehicle internal VOLUME 8, 2020 This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ losses, especially accessory losses, in the determination of energy-optimal speed. A common approach to finding a globally optimal speed profile, which is critical to truly minimize energy use over a trip, is to use dynamic programming (DP) [13]- [16]. However, this approach is computationally expensive and does not align well with the fast real-time needs of a driving vehicle. For example, [14] has implemented the DP algorithm in the cloud as the computational requirement was too high for on-board implementation, and although fuel consumption was improved on the highway, much less improvement was obtained for urban driving due to rapid changes in the driving conditions. Reference [17] uses an off-line evolutionary optimization approach to solve the speed optimization problem, but it is not applicable for real-time implementation. Reference [16] seeks to replace the offline-calculated DP results with approximated look-up tables for use on board the vehicle, but does not consider detailed internal vehicle losses.

5Model predictive control (MPC) has also been used to solve various formulations of the energy-optimal speed selection problem. The idea of eco-driving with consideration of safety is studied in [18] for connected autonomous vehicles. It uses MPC to solve the optimization problem with the objective of minimizing energy consumption while avoiding collision with nearby connected vehicles. However, in order to get real-time results, motor losses are approximated with a simple expression and other internal vehicle losses are ignored. Similarly, MPC is used to optimize the speed trajectory for heavy-duty urban vehicles in [19], but a simplified vehicle model is used which ignores the vehicle internal losses. In general, MPC will only produce the optimal speed profile for the prediction horizon length considered.

6Using a convex formulation is an attractive alternative for energy-optimal speed determination because it can generally find the globally optimal solution in a computationally efficient way, which is well suited to the quickly-changing driving conditions in urban settings. However, to make the problem convex, many simplifications are often made, which can alter the accuracy of the results. For example, [20] and [21] use a convex formulation in a MPC platform to solve the speed optimization problem, but only simple external vehicle losses are considered, and internal losses such as the motor losses and accessories are ignored. An innovative approach for the real-time calculation of the optimal speed trajectory for a commuter train is proposed in [22]. The second-order cone programing method is used to formulate the optimization problem in a convex way. However, simplifications have again been made to create the convex formulation: the motor efficiency is assumed constant for the trip and other internal losses are not considered.

7The contribution of this paper is the development of a new convex formulation of the energy-optimal speed problem in a two-level MPC platform which considers detailed internal and external losses of an electric vehicle (EV), in order to generate a highly accurate result. The proposed algorithm uses the successive convex approach to obtain a real-time means of solving the optimization problem with a mixed objective of time and energy. Successive convex optimization is an iterative method: at each iteration, it uses the efficiency data calculated from the last iteration. By repeating the algorithm, the speed profile starts to converge, resulting in the final answer. The optimal solution can be updated periodically by using new data so it can re-evaluate and adjust to new conditions. Using a convex formulation ensures a fast run-time, making it suitable for on-board implementation on autonomous vehicles.

8The rest of the paper is organized as follows: Section II presents the convex problem formulation and the associated equations, Section III explains the vehicle modeling, Section IV presents the simulation results, and Section V presents the conclusions of this work.

II. CONVEX PROBLEM FORMULATION

9By definition, a convex optimization problem is an optimization problem where the objective function is a convex function and its constraints are convex as well [23]. Convex optimization problems have desirable features such as globally optimal solutions and fast convergence times with linear programming. Although non-convex problems can have more complex and precise modeling, there is no assurance of convergence to a feasible globally optimal solution [24]. Non-linear convex problems can be solved using interiorpoint method. MOSEK is a software package capable of solving large-scale optimization problems using the interiorpoint method which is used in this work [25].

10The proposed model formulation consists of four parts: (A) vehicle dynamics, (B) losses, (C) physical limitations and essential constraints, and (D) optimization objective.

A. VEHICLE DYNAMICS

11As shown in [22], formulating vehicle dynamics in the position domain regardless of its more complicated formulation will result in less non-linearity, which is an essential characteristic when it comes to convex optimization. The vehicle dynamics are modeled as a discrete position point-mass system. In this system, the dynamics are modeled using the basic kinematic rule in (1)-(2),

12where x i is the traveled distance (m) in the i th segment, t i is the amount of time (s) required to travel x i , and v i is the velocity (m/s) in that segment, where each segment is assumed to have a constant velocity. From (1) and (2), the time at each segment can be calculated using (3),

13where t i represents the time at the end of the i th segment. Acceleration is the result of net applied force, as shown in (4) where F is the net applied force (N), m is the vehicle mass (kg), and a is the acceleration (m/s 2 ). It is reasonable to assume a constant acceleration in each segment if the segments are small enough. The acceleration in segment i (a i ) will affect the speed of the next segment (v i+1 ). With constant segment acceleration assumed, the relationship between velocity, time, and acceleration is shown in (5). To calculate the speed of each segment, acceleration in position domain is defined as γ i , which is the change of speed over the change of position as shown in (6), and thus the velocity in each segment can be calculated by (7). Using (6) and (7), the velocity calculation during each segment can be expressed as (8).

B. LOSSES FORMULATION

14A basic block diagram of an EV powertrain is shown in Fig. 1.

15The inverter-motor block generates the torque required and applies it to the wheels through the final drive. The torque at the wheels is applied to the chassis, considering the external losses such as aerodynamic losses, grade losses, and rolling resistance losses. The vehicle speed is calculated based on the net force applied to the chassis. The battery supplies power to both the inverter and the electrical accessories, which includes controllers, lights, steering, etc., as well as heating, ventilation, and air conditioning (HVAC). As shown in (8), in order to calculate velocity at each segment, the net force in that segment is calculated first. The net force equals the driveshaft output force minus the external resisting forces, as shown in (9).

16Equation (10) shows the aerodynamic drag where ρ is the air density, A is the vehicle effective frontal area, C d is the drag coefficient, v is the vehicle speed (in m/s), and v w,tangential is the tangential wind speed (defined as being in the same direction as the vehicle is driving in).

17The real-time wind data can be estimated from weather service providers using an application programming interface (API). For example, the National Weather Service in the U.S.A provides the current and forecasted wind speed and direction, in addition to other data [26]. The vehicle direction of motion is known using GPS, thus the effective wind speed can be calculated using (11) as shown in Fig. 2.

18Equation (12) shows the rolling resistance where m is vehicle mass, g is the gravitational constant, θ is the road grade in radians, and µ 1 and µ 2 are rolling coefficients. The resisting force of grade is shown in (13).

19The force at the output of the final drive is represented by F driveshaft which is the motor output torque applied through the final drive to the wheels, as calculated in (14),

20where f d is the final drive ratio, η fd is the final drive efficiency, r wh is the wheel radius, and τ mot is the motor output torque. The force required to accelerate the vehicle is not strictly considered a loss because this energy is converted to kinetic energy as the vehicle drives at a higher speed. The actual loss associated with acceleration stems from the fact that the motor and inverter operate at different operating points than during cruising, where the high torque and low speed operating points during acceleration are generally less efficient than cruising operating points. Thus, because this work uniquely considers a detailed motor/inverter efficiency map, it is better able to capture these acceleration losses. During regenerative braking, the vehicle's kinetic energy is converted back to mechanical then electrical energy for storage in the battery, and the loss formulations also account for these losses when the torque is negative. Thus, the internal vehicle losses are formulated in (15)-(18) based on prior work of the authors in [12]. These losses are formatted in Joules per meter so that they become suitable to use in a distance domain formulation.

21η motinv is the motor-inverter efficiency at the given speedtorque operating point, R b is the internal battery resistance, I b is the battery current, V oc is the open circuit voltage, and P accessory is the power consumption of the accessories in the vehicle.

22One of the crucial aspects to consider in EV modeling is the electrical motor and inverter's efficiency. In most prior work on speed profile optimization, motor/inverter efficiency is not considered or is assumed to be a constant value, but it can actually vary dramatically at different operating points. As shown in Fig. 3, the combined motorinverter efficiency for the Toyota Prius can change from 65% to 96%.

23The accessory power draw has a significant effect on the resulting optimal speed profile, and yet it is ignored in all prior work on this subject. Large accessory loads can result from the autonomous sensors and computations in autonomous vehicles and HVAC loads in any electric vehicle. Smaller loads include controllers, battery management systems, lights, windshield wipers, power steering, etc. Since these loads manifest as a constant or near-constant power consumption, the longer the vehicle drives, the more accessory energy will be used on a trip. Thus, although aerodynamic losses increase with increased vehicle speed, total trip accessory losses decrease with increased vehicle speed. Due to this opposing effect on optimal speed of these significant losses, it is critical to consider the accessory losses, as in some cases, driving faster may be more energy optimal despite the higher aerodynamic losses. This usage is usually presented in the form of power; thus, the energy consumption is as shown in (19) where P accessory,i is the constant accessory power in segment i:

24C. PHYSICAL LIMITATIONS One main physical limitation of the vehicle is that the maximum output torque of the electric motor depends on the motor's rotational speed. The yellow line on the top of the efficiency map (upper boundary) in Fig. 3 shows the maximum torque curve. This curve can be broken into two sections: in the low speed region, the motor can supply a high constant torque, and in the higher speed region, the motor operates in constant power mode and the maximum output torque decreases as the motor speed increases. It is suggested in [22] to model this maximum torque curve as a minimum of a maximum constant torque portion (first part) and a second order polynomial (second part), as shown in (20),

25where r 0 , r 1 , and r 2 are polynomial coefficients which can be curve-fitted to match the experimental or manufacturer data [23], and τ maximum is the maximum torque the motor can provide.

26The second physical limitation to consider is driver comfort. To maintain the comfort of the passengers during the trip, the vehicle velocity trajectory should have a smooth shape, without hard acceleration or deceleration events (unless it is necessary for safety). It is suggested in [28] to keep acceleration and deceleration rates below 4.5 m/s 2 for this purpose.

D. OPTIMIZATION FORMULATION

27The optimization problem in this work is a mixed-objective optimization problem considering both vehicle energy use and travel time. Thus, the proposed objective function seeks to minimize energy consumed (E consumption ) and trip time (T trip ), as shown in (21),

28where α and β are weighting coefficients for the energy consumption and trip duration. The E consumption is determined by external and internal vehicle losses as described in (12) - (19), which are dependent on the specific vehicle speed profile of the trip. The optimization occurs for a driving segment consisting of a start increasing from zero speed and an end point where speed again returns to zero. Thus, a full trip may consist of many driving segments, where each driving segment is optimized. This concept is shown in Fig. 4, where the trip is broken down into two driving segments, where the 206562 VOLUME 8, 2020 stop point (which could be, for example, a stop sign) is the division between the two driving segments. One main difficulty in modeling the vehicle internal losses accurately is dealing with the motor and inverter efficiency, η motinv , which can vary greatly across different operating points (Fig. 3). For example, [29] shows that in order to have a high accuracy motor loss approximation, the constant torque region must be modeled independently from the constant power region, where the first part requires 11 terms of torque and speed, up to τ 4 and ω 4 , and the second part needs 15 terms of the combinations of τ and ω, which becomes very complex. For a more tractable approach, the following options exist: ignore motor/inverter losses, approximate a constant efficiency, approximate efficiency using a simple polynomial, or use the detailed two-dimensional lookup table obtained experimentally. Using the actual look-up table gives the highest accuracy by far, but is not possible in a convex problem formulation. For example, Fig. 5 shows the Bolt EV motor efficiency data fitted to a second order polynomial approximation using MATLAB's curve fitting toolbox and Fig. 6 shows the corresponding error across the map.

29A convex problem formulation is desired, as these are generally fast and easy to solve, and assure global optimality suitable for real-time implementation [10]. However, this formulation is incompatible with the most accurate representation of motor/inverter efficiency, an experimentally-derived look-up table. Thus, this work proposes the use of successive convex programming, as illustrated in Fig. 7. At the beginning of the algorithm, an initial guess is generated for the velocity and torque of all the segments (v a , τ a ). The optimization is then performed in successive loops using more and more precise motor/inverter efficiency data from the look-up table until the velocity profile converges.

30In order to address the challenge of generating the initial values for v a and τ a , a two-level MPC structure is proposed, consisting of high-level MPC and low-level MPC. The highlevel controller generates the overall speed trajectory over the trip using a constant motor/inverter efficiency for the whole driving segment. Then, the low-level controller uses the data coming from the high-level controller as the initial values (first guess) and then tries to generate better results for the smaller portion of the road ahead using the mentioned successive approach. For the high-level MPC, the tunable parameter is the number of segments, and the length of each segment changes as the vehicle proceeds, but for the lowlevel MPC, there are two parameters to choose: length of the window ahead and number of segments. Fig. 8 illustrates this control platform, where the trip requirements and road data are used as input for the high-level MPC. V d_high and τ d_high are the desired speed and torque generated by the high-level MPC, which are used as inputs for the low-level MPC. Then V d_low and τ d_low are produced by the low-level MPC and are sent to the autonomous vehicle as the desired trajectory. The actual measured values for time, velocity, and distance are used as feedback for the high-level MPC (t mes , v mes , X mes ). The optimization problem in (22) is once solved in the high-level MPC for the whole trip using the constant motor/inverter efficiency, then the velocity and torque data for the next portion of the road (e.g. 100m ahead) is extracted from the results of the high-level MPC and is fed to the lowlevel MPC as the initial value. The low-level MPC solves (22) for that portion of the road using the detailed motor/inverter efficiency map in a successive manner. The new values for velocity and torque are compared to the values from the last iteration; if the data is converged the process is done, if not, the next iteration is started.

31The optimization problem is shown in (22), where the objective function represents the energy consumption over the whole planned horizon. x T is the transposed vector of distance of segments. Trip time is shown by t N , and a term is added to penalize fluctuation in the speed profile with the weight of ξ . It is shown in (22) that the time constraint is added to the objective function in terms of energy using accessory usage described in (19).

32Velocity at each segment is limited between small nonzero value ε (to prevent singularity), and V lim which is the upper boundary velocity (22a). Initial and ending velocity (V start and V end ) for each horizon of planning is pre-defined (22b). Time at the start of planning is shown with t 1 and it is set to be equal to T start (22c). Arrival time is set to be in an acceptable interval of duration illustrated as T end_min , and T end_max (22d). Time at the end of each segment is calculated as shown in (3), but the formulation is not generally convex (dividing a convex function by another convex function is not necessarily convex) so an arbitrary variable, ρ v , is added to maintain the convex format of the optimization. The concept of using ρ v in a second order cone format is proposed in [22] and it is shown that it is effectively a relaxed version of ρ v = 1/v (22e, 22f). The ''second-order cone'' arises from the constraint, which is equivalent to requiring the Euclidian norm to lie in the affine function [23]. The motor torque is divided into positive torque and original torque (22g). The reason for this classification is that only positive torque actually uses energy to overcome losses or accelerate. The more detailed format of velocity calculation which was shown in (7) is shown in (22i). These losses are also considered in the objective function. The regenerative braking energy is considered, as the τ variable can have negative values, which representing the reverse flow of energy during regenerative braking.

33The main differences between the formulations used in this work compared to [22] are: the addition of the constraint for limiting to comfortable acceleration and deceleration rates, the low-level/high-level MPC to allow for the successive use of the detailed motor/inverter efficiency map, the consideration of accessory power losses, and that the objective function in this paper accounts for the actual energy usage instead of an energy-like objective.

34The entire formulation of (22) is a convex SOCP (Secondorder cone programming) form. Thus, solvers with the capability of working with conic optimization problems can be used to find the solution. The CVX solver is one of these capable solvers which can be integrated into both MATLAB and C [30], [31].

35206564 VOLUME 8, 2020

36To preserve the real-time performance of the suggested algorithm, two conditions should be considered: 1) if the velocity profile is converged, and 2) if the allocated acceptable time of the algorithm is spent. Whichever of these conditions holds, the algorithm will stop going through the next loop and will generate the current result for the speed trajectory as the final result. If the convergence doesn't happen in the specified time, a sub-optimal solution would be chosen that is feasible and maintains the controllability of the vehicle.

III. VEHICLE MODELING

37The dynamic model for the Tesla Models S with 85kWh battery was created in MATLAB/Simulink using logged driving data in the Toronto, Canada area, as shown in Fig. 9. In this model, a PI feedback loop represents the driver behavior; the logged speed data from the drive cycle feeds into the loop as the reference speed, and the driver requests a motor/brake torque considering the current simulated speed to follow the speed profile as closely as possible. In the controller block, the controller generates the motor torque demand subject to limitations of the vehicle components. In the plant model, the next simulated vehicle speed, v chas (t+1), is calculated using the force applied to the wheels and resisting forces, as shown in (23).

38In (23), m is the vehicle mass in kg, ρ is the air density, A is the vehicle frontal area in m 2 , and C d is the coefficient of drag. The force out of the wheel, F out_wh , is calculated backward considering rolling losses, final drive losses, and motor/inverter losses to generate the battery current. Then the corresponding next battery SOC value, SOC(t+1) is calcu- lated using (24).

39The vehicle parameters are shown in Table 1. Three logged drive cycles for the Model S are used to validate the accuracy of the model. The objective of creating this model is to compare energy use between the optimal speed trajectory (results of the proposed algorithm) and the real-world speed profile using this model. Logged speed data and simulated speed data for three drive cycles (T1, T2, T3) for the Model S are shown in Fig. 10. The comparison between the simulated vehicle energy consumption to the logged energy consumption for the shown cycles are illustrated in Table 2. Less than 3.3% difference between the simulated and the logged energy consumption shows an acceptable accuracy considering there are some unknowns in the logged data. There are 4 main potential sources of error. Firstly, mass was not logged during the drive cycles. The simulated vehicle uses curb mass + driver, but if the real vehicle had multiple passengers and/or cargo during the drive, this would change the energy use slightly. Accessory power usage is also not specifically logged in the dataset. Estimates are made using battery current during times that the vehicle is stopped, but these may be erroneous during driving times, especially long driving times like in T1. Thirdly, wind is unknown during the logged driving, though wind speed is set to zero in the vehicle model for validation. Fourthly, logged GPS altitude is used to estimate grade, but there is some inherent noise and error in this data. The GPS altitude data has been filtered and fed into the model to approximate road grade. Despite these unknowns from the logged data, the model is still able to have very accurate energy use across three unique drive cycles of significant driving time.

IV. SIMULATION RESULTS

40The proposed convex optimization problems are solved using CVX software inside MATLAB using the Mosek solver. To show the effect of considering a detailed efficiency map, a comparison between optimization results of two cases, one with constant motor inverter efficiency (90%) and one with a detailed efficiency map, is conducted. Fig. 11 shows the results of this study. The selected route's distance is 300m, where the control horizon of the high-level MPC and lowlevel MPC are both 50 segments, where the size of each segment, X, is 4 m for the low-level MPC. This is the number of the segments that the route ahead is discretized into.

41Using a detailed efficiency map for this study case will result in 0.88% energy saving comparing to constant efficiency over the 300m trip. The fact that efficiency changes in different speed and torque levels can be used by the solver to generate a more detailed answer which results in a better performance in terms of the energy for the vehicle.

A. ENERGY FOCUSED OPTIMIZATION

42In order to show how the optimal speed profile changes for different conditions, a study of five different cases for the Tesla Model S is conducted: three different accessory power levels (3kW, 8kW, and 11kW), and two different wind speeds (+20 km/h, and −20 km/h). Fig. 12 illustrates the resulting speed profiles versus time and distance respectively. The maximum allowed speed is set to 70 km/h over a 1600 m route. In order to focus on energy consumption, β is set to 0 in these simulations. As shown in Fig. 12, when the driving condition changes, the optimal speed profile changes as well. The optimal speed profile tries to go faster when there is high accessory usage. For the cases with different wind speeds, when the speed blows in the same direction as the vehicle drives (+20km/h), the algorithm chooses a higher optimal speed compared to when the wind is resisting (−20 km/h). To show the effectiveness of the optimal profiles, a non-optimal arbitrary speed profile is added to Fig. 12 (shown using dashed black line) for comparison, consisting of constant acceleration from 0 to 55 km/h in 10 seconds, deceleration from 55 to 0 km/h in 10 seconds, and a 55 km/h cruising speed. The comparison between the energy usages of the optimal and non-optimal driving profiles for the different cases is shown Table 3. For all the cases, the optimal speed trajectories calculated using the proposed algorithm result in less energy usage compared to the non-optimal arbitrary speed profile. It is clear that the accessory power use makes a significant impact on the energy-optimal speed profile; in this case, an 8 kW accessory load gives an optimal speed profile coincidentally close to the arbitrary speed, so only about 1% of energy is saved. However, if accessory load is 3 kW or 11 kW, the optimal speed profile changes significantly, and 3-4% of energy can be saved.

43A study on a real-world logged drive cycle of the Tesla Model S is also conducted. In this case, the traveled distance is 585 meters in 74 seconds. Three different accessory usage 3kW, 8kW, and 11kW are studied. For the goal of the simulations, some default values are selected for different parameters. The wind speed is set to 0 km/h, the road grade is equal to 0%, and the vehicle curb mass used. In Fig. 13, Fig. 14, and Fig. 15, the simulation results for the resulting optimal speed trajectory and the real-world speed profile at the 3 kW, 8 kW and 11 kW accessory usage in the time domain and spatial domain is shown. These figures also contain the corresponding used energy as well as the simulated battery SOC.

44The results show that 9.66%, 16.09%, and 17.83% energy savings result from the vehicle following the optimal speed trajectory compared to the logged real world drive cycle, for the 3 kW, 8 kW, and 11 kW accessory power levels, respectively. For these specific cases, the optimal speed profiles are almost identical, but this is because a speed limit of 45 km/h has been applied to stay close to the real-world driving constraints. If this upper limit were raised higher, the results would be more different, and specifically, the 11 kW case would choose an even higher optimal speed to make the trip have a shorter travel time.

45Considering the studied cases, it is shown that optimal speed is not always the lowest or the highest allowed speed, and it can change significantly with the given condition. Further, it is shown that a more gradual acceleration is not always best, as for high accessory power usage, optimal energy use is obtained by minimizing trip time. The results for 17 different cases are summarized in Table 4, where the accessory power is set to 3 kW unless otherwise noted. These cases are selected to demonstrate different external and internal conditions (e.g. windy weather or a ramp). These results show that the amount of saved energy can change dramatically in different cases. The real-world energy usage shown in Table 4 is obtained from running the Simulink Tesla Model S vehicle model on the real-world drive cycle, so that simulation-based energy values are used for both cases (real speed profile and optimal speed profile) for a fair comparison.

B. TIME AND MIXED TIME-ENERGY OPTIMIZATION

46The proposed algorithm can also be used to generate a purely time-optimal drive cycle or a mixed time-energy optimal drive cycle. Two cases are simulated for investigation: 3kW and 8kW accessory usage over a 1500m route, where other parameters such as wind speed and grade are set to zero. For each scenario, three different optimization objectives are considered: energy-focused (α = 1, β = 0), time-focused (α = 0, β = 1), and mixed time-energy (α = 1, β = 1000). The maximum allowed speed is set to 70 km/h. Fig. 16 summarizes the energy use and trip duration for these scenarios, and Fig. 17 shows the resulting optimal velocity profiles with respect to time and distance. For the 3kW accessory load, the energy-focused case uses the lowest energy at 942 kJ and has the longest trip duration at 124 seconds. The timefocused result has the same velocity profile for both accessory power levels since it will maximize speed wherever possible, and uses 21.5% more energy than the energy-focused result for the 3kW case. However, for the 3kW accessory load, the mixed time-energy result is very favorable as it has only increased energy use by 1.1% (compared to the energyfocused result) but has shortened the trip duration to 99 seconds. The 8kW results follow a similar pattern, where the mixed time-energy result strikes a balance between time and energy as expected. However, the energy and time differences between the 3 results for 8kW are much smaller than for the 3kW results, because with higher accessory load, energy use and time and not ''competing'' as much, meaning higher speed is better for both energy and time. For example, at 8kW, the energy-focused result gives 1511 kJ energy usage for a 92 second trip, and the time-focused result increases energy use by 3.8% and reduces the trip duration to 85 seconds. Overall, the optimization of energy use and trip duration is highly dependent on the instantaneous values of vehicle parameters considered in the proposed algorithm, such as accessory power usage, wind, and grade. Fig. 18 shows a comparison between the execution time and optimal energy usage for different segmentation sizes for a drive of 585m with 3kW accessory power. The MPC algorithm is run with different segment choices to create various optimal velocity profiles. Then the Simulink vehicle model is run on each velocity profile to calculate the energy usage (y-axis in Fig. 18). The presented simulation results are performed using a Dell laptop computer with Windows 10 environment, core i7 1.8 GHz CPU and 16 GB RAM. The time values on the x-axis are the times for each iteration of the low-level MPC. The segment size in the high-level MPC changes as the vehicle proceeds, so is not a constant number, but it discretizes the remainder of the trip into the selected number of segments. X is the length of the low-level MPC segments. By increasing the number of segments (smaller distance segments), the accuracy of the model excels, but the execution time will also get larger. Also, the results show that the segment size of the low-level MPC is the most important to minimize, as it has a large effect on the vehicle energy consumption, whereas the choice of number of high-level segments has little effect on the energy consumption results. Considering the results in Fig. 18, the trade-off between optimal energy and execution time is noticeable, and should be weighed carefully based on the availability of vehicle onboard computing resources.

V. CONCLUSION

47This paper presents a novel two-level MPC trajectory planning framework to solve the energy-optimal speed profile planning problem. A convex formulation is developed which performs successive optimizations to allow for the use of detailed motor/inverter efficiency maps. A comparison between using detailed efficiency maps versus using constant efficiency shows an energy savings of 0.88% over a 300m driving segment. A Tesla Model S vehicle is modeled and validated to real world data. The model is used to drive optimal and non-optimal speed profiles to quantify energy savings. Compared to an arbitrary constant-speed profile, the optimal profile saves between 0.95% and 4.63% of energy over a 1.6km driving segment. It is found that considering the high accessory losses of autonomous vehicles is critical for finding the optimal speed trajectory. Compared to a more variable real-world logged drive cycle, the optimal profile saves between 3.26% and 28.86% of energy. The trade-off between execution time and optimality of results is also investigated.

참고문헌 27건

  1. Evaluation of the 2010 Toyota Prius Hybrid Synergy Drive System 2011 10.2172/1007833
  2. Optimal energy consumption algorithm based on speed reference generation for urban electric vehicles 2022 IEEE Intelligent Vehicles Symposium (IV) · 2015 10.1109/ivs.2015.7225771
  3. Commuter Route Optimized Energy Management of Hybrid Electric Vehicles IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tits.2013.2294723
  4. Optimisation of energy efficiency based on average driving behaviour and driver's preferences for automated driving IET Intelligent Transport Systems · Institution of Engineering and Technology · 2014 10.1049/iet-its.2013.0121
  5. Multiobjective Optimization for Train Speed Trajectory in CTCS High-Speed Railway With Hybrid Evolutionary Algorithm IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tits.2015.2402160
  6. Cloud-Based Velocity Profile Optimization for Everyday Driving: A Dynamic-Programming-Based Solution IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tits.2014.2319812
  7. Graph Implementations for Nonsmooth Convex Programs Lecture notes in control and information sciences · Springer Science+Business Media · 2007 10.1007/978-1-84800-155-8_7
  8. Model Predictive Control of Vehicles on Urban Roads for Improved Fuel Economy IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2012 10.1109/tcst.2012.2198478
  9. Energy Optimal Real-Time Navigation System IEEE Intelligent Transportation Systems Magazine · Institute of Electrical and Electronics Engineers · 2014 10.1109/mits.2014.2324000
  10. Bench test of minimum time autonomous driving for electric vehicle based on optimization of velocity profile considering energy constraint 2015 10.1109/iecon.2015.7392818
  11. Impact of Connectivity and Automation on Vehicle Energy Use SAE technical papers on CD-ROM/SAE technical paper series · 2016 10.4271/2016-01-0152
  12. Smart and Green ACC: Energy and Safety Optimization Strategies for EVs IEEE Transactions on Systems Man and Cybernetics Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tsmc.2016.2600273
  13. Range extension autonomous driving for electric vehicles based on optimal velocity trajectory and driving braking force distribution considering road gradient information 2015 10.1109/iecon.2015.7392843
  14. Optimal Energy Management for HEVs in Eco-Driving Applications Using Bi-Level MPC IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tits.2016.2634019
  15. Loss Function Modeling of Efficiency Maps of Electrical Machines IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2017 10.1109/tia.2017.2695443
  16. Integrated Powertrain Energy Management and Vehicle Coordination for Multiple Connected Hybrid Electric Vehicles IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2017 10.1109/tvt.2017.2780268
  17. 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
  18. Review of Electrical Architectures and Power Requirements for Automated Vehicles 2018 10.1109/itec.2018.8449961
  19. A Cognitive Advanced Driver Assistance Systems Architecture for Autonomous-Capable Electrified Vehicles IEEE Transactions on Transportation Electrification · Institute of Electrical and Electronics Engineers · 2018 10.1109/tte.2018.2870819
  20. Optimization of Speed Trajectory for Eco-Driving Considering Road Characteristics 2021 IEEE Vehicle Power and Propulsion Conference (VPPC) · 2018 10.1109/vppc.2018.8605038
  21. An On-Line Optimal Controller for a Commuter Train IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tits.2018.2846480
  22. Optimal Speed Control of a Heavy-Duty Vehicle in Urban Driving IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tits.2018.2853264
  23. Optimal Control for Speed Harmonization of Automated Vehicles IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tits.2018.2865561
  24. An Onboard Real-Time-Implementable Framework for Calculating the Optimal Cruising Speed of Electric Autonomous Vehicles 2019 10.1109/itec.2019.8790538
  25. A Real-Time Dynamic Trajectory Planning for Autonomous Driving Vehicles 2019 10.1109/cvci47823.2019.8951735
  26. Eco-Approach With Traffic Prediction and Experimental Validation for Connected and Autonomous Vehicles IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2020 10.1109/tits.2020.2972198
  27. Convex Optimization 2004 10.1017/cbo9780511804441