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

Model-Based Reinforcement Learning for Eco-Driving Control of Electric Vehicles

간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)

기본 정보

저자
  1. Heeyun Lee — Department of Mechanical Engineering, Seoul National University, Seoul, South Korea
  2. Namwook Kim — Department of Mechanical Engineering, Hanyang University, Ansan, South Korea
  3. Suk Won — Department of Mechanical Engineering, Seoul National University, Seoul, South Korea|||Institute of Advanced Machines and Design, Seoul National University, Seoul, South Korea
DOI
10.1109/access.2020.3036719
저널
IEEE Access
발행년도
2020
발행기관
Institute of Electrical and Electronics Engineers
피인용수
72
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2020.3036719
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W3105511950

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
R&D 측면
부품·응용 설계
확신도
0.70
근거 용어
eco-driving, electric vehicles, energy consumption, reinforcement learning, powertrain system
판단 근거
본 논문은 전기차(EV) 및 연료전지 전기차(FCEV)의 에너지 효율을 극대화하기 위한 에코 드라이빙 제어 알고리즘을 다루고 있습니다. 이는 코오롱인더스트리의 수소연료전지(PEMFC) 시스템 및 관련 파워트레인 응용 분야의 에너지 관리 전략 연구에 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
연료전지 전기차(FCEV)의 에너지 관리 시스템(EMS) 최적화 및 주행 효율 향상을 위한 제어 로직 개발에 응용 가능함.
평가 입력
본문 49,236자 중 30,032자 발췌

초록

With the development of autonomous vehicles, research on energy-efficient eco-driving is becoming increasingly important. The optimal control problem of determining the speed profile of the vehicle for minimizing energy consumption is a challenging problem that necessitates the consideration of various aspects, such as the vehicle energy consumption, slope of the road, and driving environment, e.g., the traffic and other vehicles on the road. In this study, an approach using reinforcement learning was applied to the eco-driving problem for electric vehicles considering road slopes. A novel model-based reinforcement learning algorithm for eco-driving was developed, which separates the vehicle's energy consumption approximation model and driving environment model. Thus, the domain knowledge of vehicle dynamics and the powertrain system is utilized for the reinforcement learning process, while model-free characteristics are maintained by updating the approximation model using experience replay. The proposed algorithm was tested via a vehicle simulation and compared with a solution obtained using dynamic programming (DP), and as well as conventional cruise control driving with constant speed. The simulation results indicated that the speed profile optimized using model-based reinforcement learning had similar behavior to the global solution obtained via DP and energy saving performance compared with cruise control.

본문 49,236자

본문 펼치기
Received September 20, 2020, accepted November 4, 2020, date of publication November 9, 2020, date of current version November 18, 2020. _Digital Object Identifier 10.1109/ACCESS.2020.3036719_ # Model-Based Reinforcement Learning for Eco-Driving Control of Electric Vehicles HEEYUN LEE 1, (Member, IEEE), NAMWOOK KIM 2, AND SUK WON CHA 1,3, (Member, IEEE) 1Department of Mechanical Engineering, Seoul National University, Seoul 08826, South Korea 2Department of Mechanical Engineering, Hanyang University, Ansan 15588, South Korea 3Institute of Advanced Machines and Design, Seoul National University, Seoul 08826, South Korea Corresponding authors: Namwook Kim (nwkim21@gmail.com) and Suk Won Cha (swcha@snu.ac.kr) This work was supported in part by the National Research Foundation of Korea (NRF) Grant funded by the Korea Government (MSIT) under Grant NRF-2019R1A4A1025848, and in part by the Technology Innovation Program (Development of Application Technologies For Heavy Duty Fuel Cell Electric Trucks Using Multi-Input Motor-Based 400kW Class Multi Speed Electrified Powertrain System) funded by the Ministry of Trade, Industry and Energy (MOTIE, South Korea) under Grant 20011834. ABSTRACT With the development of autonomous vehicles, research on energy-efficient eco-driving is becoming increasingly important. The optimal control problem of determining the speed profile of the vehicle for minimizing energy consumption is a challenging problem that necessitates the consideration of various aspects, such as the vehicle energy consumption, slope of the road, and driving environment, e.g., the traffic and other vehicles on the road. In this study, an approach using reinforcement learning was applied to the eco-driving problem for electric vehicles considering road slopes. A novel model-based reinforcement learning algorithm for eco-driving was developed, which separates the vehicle’s energy consumption approximation model and driving environment model. Thus, the domain knowledge of vehicle dynamics and the powertrain system is utilized for the reinforcement learning process, while model-free characteristics are maintained by updating the approximation model using experience replay. The proposed algorithm was tested via a vehicle simulation and compared with a solution obtained using dynamic programming (DP), and as well as conventional cruise control driving with constant speed. The simulation results indicated that the speed profile optimized using model-based reinforcement learning had similar behavior to the global solution obtained via DP and energy saving performance compared with cruise control. INDEX TERMS Eco-driving control, electric vehicles, model-based reinforcement learning, optimal control, Q-learning, reinforcement learning. I. INTRODUCTION Recently, diverse technologies for autonomous vehicles have been developing rapidly, which has led to advancements in autonomous driving. In the future, vehicles can be operated with less intervention by human drivers. Without manipulation by the human driver, the vehicle becomes safer; additionally, vehicles will be able to move quickly with the aid of computational intelligence based on autonomous vehicle technologies in the near future. Another issue concerning future vehicles is the environmental aspect; diverse vehicles, such as hybrid electric vehicles (HEVs), electric vehicles (EVs), and fuel-cell EVs (FCEVs), are being developed to reduce emissions and increase the vehicular efficiency. The The associate editor coordinating the review of this manuscript and approving it for publication was Francisco Perez-Pinal . use of autonomous vehicles can also contribute to increasing the vehicular fuel efficiency. In an autonomous vehicle, when the level of driving automation increases, the intervention of the human driver can be minimized. The efficiency of these vehicles can be maximized while satisfying the desired travel time. This optimization of the vehicle speed profile can be very useful, as the vehicle efficiency can be increased without changes in the vehicle hardware, and this technology can be used in any type of vehicle. Additionally, considering that in the near future, many vehicles can be operated without a human driver, optimization of the vehicle speed profile, which is called an eco-driving strategy, is a very important problem. Various studies have been conducted on eco-driving strategies. First, approaches based on an analytical solution derived from the optimal control problem have been proposed. In [1], a closed-form solution of the optimal problem was found for eco-driving of EVs. Here, the optimization problem was defined to minimize the fuel consumption, and the target traveling time for a given distance was given as the constraint of the problem. Then, the optimization problem was solved to obtain an explicit solution. In [2], an analytical state-constrained solution was derived considering vehicle safety constraints for EVs. Here, the minimum inter-vehicle distance and maximum road speed limit were defined as state constraints, and an analytical state constrained solution was derived for connected and automated vehicles. Additionally, in many studies, approaches based on dynamic programming (DP) or Pontryagin’s minimum principle (PMP) were utilized. In [3], look-ahead control was used to optimize the speed profile. Here, based on a global positioning system, the road geometry ahead of the vehicle was extracted, and DP was used in a predictive scheme to optimize the velocity trajectory for a heavy diesel truck. In [4], stochastic approaches based on the DP were employed. Here, a time-independent fuel-efficient control strategy based on stochastic DP was developed, which does not require preview information of the route or the road slope. Additionally, constraints on the vehicle-following distance are applied to develop a fuel-efficient vehicle-following control policy. In [5], PMP was applied to a passenger car with an internal combustion engine vehicle. Here, optimal periodic control was derived for cruise control, which is a hybrid system that includes gear shift and idle operation of the engine. In [6], the minimum fuel driving control was studied according to PMP. Here, the vehicle model was expressed as a point-mass vehicle with a quasi-static polynomial fuelconsumption model, and gear shifting, clutch disengagement, and brake control were modeled as simple on–off switches. More recently, in [7], PMP and DP were used together for the eco-driving of all-EVs. Here, PMP was first utilized to find the possible operating mode satisfying the necessary condition, and then, DP was used to solve the optimal control problem again in the distance domain, which reduced the computational burden of the DP calculation. In [8], the traffic signal was included in the eco-driving control framework. Here, with the assumption of vehicle-toinfrastructure communication capabilities, an optimal speed profile was obtained to minimize the total fuel consumption while safely crossing an intersection. Additionally, combined with the energy management of HEVs, the speed profile control problem was defined in an all-inclusive manner in [9]. Here, a bi-level methodology was used for the predictive energy management of parallel HEVs, where the optimal velocity was calculated first in the outer loop using a Krylov subspace method, and in the inner loop, the optimal torque split and gear shift were determined using PMP based on the model predictive control (MPC) framework. However, applying these eco-driving strategies to real-world driving situations is not easy and has many limitations. First, the environment changes frequently and has many disturbances. Thus, the deterministic algorithm has limitations in that it must predict future driving conditions precisely, or there are driving environments that are difficult to model, such as the driving behavior of the car ahead or a traffic jam. Additionally, implementing DP or PMP for an online eco-driving strategy is challenging because of the computational burden of DP or the co-state sensitive characteristics of PMP. The more practical method of MPC was used in [10], and [11]. Here, adaptive nonlinear MPC was utilized, and it was implemented in a vehicle with a standard production powertrain control module. To increase the prediction accuracy, a recursive least-squares algorithm was used for parameter adaptation, which was combined with MPC to obtain more reliable results under real-world driving conditions. In [12], the vehicle-following scenario was studied. In the automated car-following scenario, the pulseand-gliding strategy was implemented based on the switching logic in a servo-loop controller to minimize the fuel consumption. However, these approaches also have limitations in that MPC and periodic control are focused on finding the local optimal for the near future, rather than the global optimal solution with entire travel distances. Thus, the fuel-economy improvement is limited, and consideration of complex driving environments is challenging, requiring an additional parameter calibration process. Therefore, in this study, we conducted an eco-driving strategy based on reinforcement learning. Reinforcement learning is an algorithm that can learn the optimal control policy according to the interaction between the agent and the environment [13]. Reinforcement learning is very similar approach to the DP-based approach in that they can optimize the cost-to-go value function based on the Bellman equation, and it is possible to replace this DP-based approach with reinforcement learning-based approach. On the other hand, unlike DP, reinforcement learning can be used as a real time controller through learning in a stochastic manner, and it has a model-free feature by learning the optimal control policy through the interaction between the agent and the environment with adaptation. Accordingly, reinforcement learning approach is well suited to the eco-driving control problem in which an optimization solution must be found through a probabilistic point of view in various and complex road driving environments. Reinforcement learning has been used for eco-driving in several studies. In [14], multi-objective deep Q-learning was utilized for the eco-routing problem to identify the best route for minimizing the traveling time and fuel consumption. In [15], and [16], a reinforcement learning algorithm was studied for minimizing the fuel consumption in the vicinity of an isolated signal intersection. In [17], eco-driving control considering the car-following scenario using an actor–gear–critic network architecture was studied for a conventional vehicle equipped with an internal combustion engine and automated manual transmission. Here, a fuel economy with safe inter-vehicle distance constraints was considered as an objective function, but the road slope was not considered as a state variable and was set to zero. In the present study, general speed profile optimization for an eco-driving strategy for longitudinal driving considering the road slope using model-based reinforcement learning (MBRL) was investigated. MBRL is a methodology that approximates the environment, including the system dynamics; thus, learning can be conducted with guaranteed stability [18], or few interactions [19]. In the case of vehicle control, MBRL was successfully applied to the optimal control problem of energy management of HEVs in our previous studies [20], [21]. The contribution of the present study is as follows: We developed a new algorithm for the eco-driving control problem using the reinforcement learning approach, and through this, we confirmed that the reinforcement learning method can be well applied to the eco-driving problem. In particular, in the eco-driving problem through optimization of the vehicle’s speed profile reflecting the road slope, the reinforcement learning method was compared with the optimal solution using the existing DP method and the cruise control case with constant vehicle speed, demonstrating the excellence and feasibility of the reinforcement learning based approach. Especially, we developed an eco-driving strategy with model-based Q-learning and confirmed its effectiveness via a vehicle simulation. To the best of our knowledge, this was the first study in which the MBRL approach was applied to the eco-driving control problem. Even though only the road slope is considered among diverse driving environments for the eco-driving strategy, considering that the proposed approaches can be extended to diverse driving environment conditions, e.g., traffic signals and other vehicles on the road, thanks to the model-free characteristic of the algorithm, the approaches using the reinforcement learning technique can be powerful. Additionally, the trained optimal control policy can be used for real-time vehicle controllers. The remainder of this article is organized as follows. In Section II, the EV model used in this study is presented. In Section III, the optimization problem for the eco-driving strategy is presented, and the MBRL algorithm for eco-driving is explained. In Section IV, the vehicle simulation is presented, and in Section V, the conclusions are presented. II. VEHICLE MODELING In this study, a vehicle simulation was performed for training and testing the proposed algorithm. For the simulation, an EV was used. Compared with conventional internal combustion engine-based vehicles, EVs can recover energy from regenerative braking, making them more suitable for energy-efficient driving. However, the algorithm proposed in this article is not limited to EVs but is applicable to all vehicles. For the EV modeling, a backward-looking vehicle simulation was performed via a quasi-static modeling technique, and only longitudinal vehicle dynamics are considered. The vehicle configuration is shown in Fig. 1, and the vehicle parameters used in the simulation are presented in Table 1. The efficiency of the motor including the efficiency of the converter _ηelec_ ( _Tmot_ _, ωmot_ ), was calculated using a predetermined map, as shown in Fig. 2, and the electric power where _Voc_ ( _SOC_ ) represents the open-circuit voltage, _Rbat_ ( _SOC_ ) represents the internal resistance of the battery, and _Qbat_ represents the battery capacitance. The powertrain dynamic is given as follows: _Twh_ = ( _Tmot_ - _Tfd,loss_ ) · _γfd_ (3) where _Twh_ represents the wheel torque, _γfd_ represents the gear ratio of the final drive, _Tfd,loss_ ( _Tfd_ _, ωfd_ ) represents the torque loss in the final drive, _Tfd_ represents the input torque in the FIGURE 1. Simulation model of EVs. FIGURE 2. Efficiency of the motor, including the converter efficiency. TABLE 1. Vehicle model parameters. consumed by the motor _pbat_, was calculated using the following equation: _pbat_ = _ηelec_ <sup>−</sup> <sup>_sgn_</sup> <sup>(</sup> <sup>_Tmot_</sup> <sup>)</sup> - _Tmot_ _ωmot_ (1) where _Tmot_ represents the motor torque, and _ωmot_ represents the motor speed. The battery state of charge (SOC) dynamics can be expressed as follows: _V_ <sup>2</sup> (2) 2 _Rbat_ _Qbat_ _OC_ <sup>2</sup> <sup>−</sup> <sup>4</sup> <sup>_Rbat_</sup> <sup>_Pbat_</sup> _SOC_ ˙ = − _VOC_ final drive, and _ωfd_ represents the input speed in the final drive, which can be expressed as follows: usage and the traveling time according to the distance, as follows: _ωfd_ = _ωmot_ = <sup>_v_</sup> <sup>·</sup> <sup>_γfd_</sup> _Rtire_ �� _D_ 0 <u>1</u> _v_ ( _d_ ) <sup>_dd_</sup> <sup>−</sup> <sup>_T_</sup> �� (4) min �� _D_ 0 _<u>SOC</u>_ ˙ _v_ ( _d_ ) <sup>_dd_</sup> <sup>+</sup> <sup>_ω_</sup> where _Rtire_ represents the tire radius, and _v_ represents vehicle’s longitudinal speed. The vehicle dynamic is given as follows: _v_ ˙ = <sup>_<u>Twh/Rtire</u>_</sup> <sup>−</sup> <sup>_<u>Fbrake</u>_</sup> <sup>−</sup> <sup>_<u>Fload</u>_</sup> _Mveh_ + _Meq_ (5) _subj.to_ _v_ ˙ = _f_ ( _v_ ( _d_ ) _, u_ ( _d_ )) _v_ ( _d_ ) ∈ [ _vmin_ ( _d_ ) _, vmax_ ( _d_ )] _u_ ( _d_ ) ∈ [ _Tmot,min_ ( _ωmot_ ( _d_ )) _, Tmot,max_ ( _ωmot_ ( _d_ ))] _v_ (0) = _v_ 0 _v_ ( _D_ ) = _vf_ (8) where _ω_ represents the weighting factor to be tuned for satisfying the total driving time. By transferring the optimal control problem from (7) to (8), the problem is defined according to the traveling distance _d_, while the vehicle’s initial and final speed constraints remain the same. As mentioned in the section I, the traffic-signal and car-following situations are not considered. _B._ _DETERMINISTIC DP_ First, deterministic DP is used to solve the optimal control problem. The foregoing optimal control problem can be presented in discrete form as follows: where _Fbrake_ represents the brake force, _Mveh_ represents the vehicle mass, _Meq_ represents the equivalent mass of the rotating inertia in the vehicle component, and _Fload_ represents the road load force, including the grading resistance, which can be expressed as follows: _Fload_ = _f_ 0 + _f_ 1 · _v_ + _f_ 2 · _v_ <sup>2</sup> + _Mvehg_ sin _θ_ (6) where _f_ 0, _f_ 1, and _f_ 2 are the road load coefficients, which have the units of _N_, _N_ _/km_, and _N_ _/km_ <sup>2</sup>, respectively, and _θ_ represents the road slope. Using this vehicle model, a vehicle simulation was conducted to train and test the proposed algorithm, as explained in the following section. III. MODEL-BASED REINFORCEMENT LEARNING FOR ECO-DRIVING STRATEGY _A._ _OPTIMAL CONTROL PROBLEM FORMULATION_ The optimal control problem for an eco-driving strategy can be defined to minimize the battery electric energy consumption for state vector consists of the vehicle speed and the traveling distance _x_ = { _v, d_ }, while driving a given distance _D_ for a given time _T_ as follows: min - _N_ −1 _k_ =0 _L (v_ ( _k_ ) _, u_ ( _k_ ) _)_ min �� _T_ _SOC_ ˙ _(v_ ( _t_ ) _, u_ ( _t_ ) _) dt_ 0 _subj.to_ _v_ ˙ = _f_ ( _v_ ( _t_ ) _, u_ ( _t_ )) _d_ ˙ = _v_ _v_ ( _t_ ) ∈ [ _vmin_ ( _t_ ) _, vmax_ ( _t_ )] _u_ ( _t_ ) ∈ [ _Tmot,min_ ( _ωmot_ ( _t_ )) _, Tmot,max_ ( _ωmot_ ( _t_ ))] _d_ (0) = 0 _,_ _d_ ( _T_ ) = _D_ _v_ (0) = _v_ 0 _,_ _v_ ( _T_ ) = _vf_ (7) where _f_ represents the nonlinear vehicle dynamics explained in the previous section, _u_ represents the control variable, which is motor torque with the maximum torque _Tmot,max_ and the minimum torque _Tmot,min_ . _v_ 0 and _vf_ represent the vehicle initial speed, and the vehicle final speed at _D_ respectively, which have the minimum and maximum speed of _vmin_, and _vmax_ . To simplify the optimal control problem, it can be expressed as one state formulation using _dt_ = _dd/v_ as in [22], which is the weighted sum of the battery SOC _subj.to_ _v_ ˙ = _f_ ( _v_ ( _k_ ) _, u_ ( _k_ )) _v_ ( _k_ ) ∈ [ _vmin_ ( _k_ ) _, vmax_ ( _k_ )] _u_ ( _k_ ) ∈ [ _Tmot,min_ ( _ωmot_ ( _k_ )) _, Tmot,max_ ( _ωmot_ ( _k_ ))] _v_ (0) = _v_ 0 _v_ ( _N_ ) = _vf_ (9) where the index _k_ represents the discretization step for _N_ segments, which is equally divided with unit distance _�s_, and _L_ ( _v_ ( _k_ ) _, u_ ( _k_ )) represents the instantaneous cost incurred, which can be expressed as follows: _L (v_ ( _k_ ) _, u_ ( _k_ )) _)_ = _�SOC_ ( _k_ ) + _ω_ - _�time_ ( _k_ ) (10) <u>2</u> _�s_ _�SOC_ ( _k_ ) = _SOC_ ˙ ( _k_ ) · (11) _v_ ( _k_ ) + _v_ ( _k_ + 1) <u>2</u> _�s_ _�time_ ( _k_ ) = (12) _v_ ( _k_ ) + _v_ ( _k_ + 1) Then, the optimal solution can be obtained using the Bellman equation [23], as follows. Here, _Jk,N_ represents the cost function for traveling from step _k_ to _N_, which can be expressed in the recursive form using the instantaneous cost _L_ ( _v_ ( _k_ ) _, u_ ( _k_ )), and the cost function for traveling from step _k_ +1 to _N_, _Jk_ +1 _,N_ . Using (13), an optimal speed profile based on the travel distance can be obtained, but deterministic DP is computationally inefficient and difficult to adapt under driving-condition changes. Thus, it has many limitations when used in real-time vehicle controllers. _Jk_ <sup>∗</sup> _,N_ <sup>(</sup> <sup>_v_</sup> <sup>(</sup> <sup>_k_</sup> <sup>)) = min</sup> - _L_ ( _v_ ( _k_ ) _, u_ ( _k_ )) + _Jk_ <sup>∗</sup> _k_ <sup>∗</sup> +1 _,N_ <sup>(</sup> <sup>_v_</sup> <sup>(</sup> <sup>_k_</sup> <sup>+ 1))</sup> - (13) _C._ _MODEL-BASED REINFORCEMENT LEARNING_ First, the optimal control problem can be expressed to minimize the expected total cost over an infinite horizon, as follows: - _N_ −1 _k_ =0 �� _γ_ <sup>_k_</sup> _g_ ( _xk_ _, π_ ( _xk_ )) min _Jπ_ ( _x_ 0) = _N_ lim→∞ <sup>_E_</sup> (14) it is possible to better represent the value of the cost-to-go function in Q function and a probabilistic driving situation than when the road slope is considered only. Based on Q-learning [24], The optimal cost _J_ <sup>∗</sup> ( _xk_ ) and optimal control policy _π_ <sup>∗</sup> ( _xk_ ) can be expressed as follows: _J_ <sup>∗</sup> ( _xk_ ) = min _u_ <sup>(</sup> <sup>_Q_</sup> <sup>∗(</sup> <sup>_xk_</sup> <sup>_, u_</sup> <sup>))</sup> (22) _π_ <sup>∗</sup> ( _xk_ ) = arg min _u_ <sup>(</sup> <sup>_Q_</sup> <sup>∗(</sup> <sup>_xk_</sup> <sup>_, u_</sup> <sup>))</sup> (23) Then, the Q function can be updated as follows: _Q_ ( _xk_ _, uk_ ) where _Jπ_ ( _x_ 0) represents the cost with initial condition and control policy _π_, _γ_ represents the discount factor, and _g_ represents the instantaneous cost, which can be expressed as follows: _gk_ = _�SOC_ ( _k_ ) + _ω_ - _�time_ ( _k_ ) + _η_ ( _vk_ ) (15) Here, _η_ ( _vk_ ) represents the penalty cost that is applied when the vehicle speed is higher than _vmax_ or lower than _vmin_, as follows: ← _Q_ ( _xk_ _, uk_ )+ _α_ - _gk_ + _γ_ min _u_ <sup>_Q_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>+1</sup> <sup>_, u_</sup> <sup>)−</sup> <sup>_Q_</sup> <sup>(</sup> <sup>_xk_</sup> <sup>_, uk_</sup> <sup>)</sup> (24) In this study, to solve the optimal control problem, a novel eco-driving strategy utilizing MBRL was developed on the basis of a previous study on MBRL for the HEV control case study in [21]. In (17), the state variable _xk_ = [ _vk_ _, hk_ _, θk_ ] is partially stochastic (the driving environment _hk_ and _θk_ can be considered stochastic without preview terrain information), but it is possible to expect _vk_, and _gk_ deterministically based on the vehicle powertrain dynamics equations of (1)–(6), and the cost equation (15) for the given driving conditions of _hk_, and _θk_ and the given control input _u_ . Thus, the domain knowledge of the known vehicle dynamic model and powertrain system can be used in reinforcement learning, while the remaining model uncertainty due to modeling error or other driving environments that are difficult to model can be learning via model-free still. On the basis of this observation, we developed a new MBRL algorithm for the eco-driving strategy. The overall algorithm is presented in Fig. 3 and Algorithm 1. In the new algorithm, the agent’s learning takes place based on approximation model using the deterministic variable, while stochastic variables are reflected in the agent’s learning through the experience replay. Usually, in the Q-learning, the agent derives the action _uk_ using methods such as _ϵ_ greedy (exploitation and exploration) according to the Q function value and the current state _xk_, and conducts learning by updating Q function value using the observation of the reward _gk_ and the next state _xk_ +1. Alternatively, in the new FIGURE 3. Model-based reinforcement learning algorithm for eco-driving. _η_ ( _vk_ ) = 0 _if_ _vmin_ ( _k_ ) ≤ _vk_ ≤ _vmax_ ( _k_ ) (16) _costpenalty_ _else_ Here, _costpenalty_ is a positive constant. The optimal control problem is defined in an infinite horizon; thus, the generated control policy is time-invariant, which can be easily implemented on a real-time vehicle controller. The state variable _x_ is defined as follows: _x_ = { _v, h, θ_ } (17) where _h_ represents the height, and _θ_ represents the road slope. _x_ is discretized as follows: _v_ ∈{ _v_ <sup>1</sup> _, v_ <sup>2</sup> _, v_ <sup>3</sup> _, . . ., v_ <sup>_Nv_</sup> } (18) _h_ ∈{ _h_ <sup>1</sup> _, h_ <sup>2</sup> _, h_ <sup>3</sup> _, . . ., h_ <sup>_Nh_</sup> } (19) _θ_ ∈{ _θ_ <sup>1</sup> _, θ_ <sup>2</sup> _, θ_ <sup>3</sup> _, . . ., θ_ <sup>_Nθ_</sup> } (20) where _Nv_, _Nh_, and _Nθ_ represent the number of the discretized speed, height and road slope respectively, and the control variable is also discretized as follows: _u_ ∈{ _u_ <sup>1</sup> _, u_ <sup>2</sup> _, u_ <sup>3</sup> _, . . ., u_ <sup>_Nu_</sup> } (21) where _Nu_ represent the number of the discretized control input. Therefore, in this study, the eco-driving control policy was determined according to the current vehicle speed, height, and road slope. Among them, vehicle speed or road slope directly affect the cost values. However, in the case of height, it does not directly affect the cost value instantly, but it reflects the future cost concerning the road driving environment. Combined with the road slope, height can be expressed as a state of the Q function indicating the expected total cost of future energy use. That is, even in the same uphill situation, the optimal driving speed of the vehicle may vary according to the current height, and this is obvious when considering the relationship between the kinetic energy of the vehicle and the potential energy, and the energy consumption of driving the vehicle accordingly. Therefore, by considering the height as a state variable with the vehicle speed and the road slope, Algorithm 1 Model-Based Reinforcement Learning <u>Algorithm for Eco-Driving</u> Input: data _xk_, size _N_ repeat Observe _xk_ = [ _vk_ _, hk_ _, θk_ ] Choose the greedy action _uk_ = arg min _u Q_ <sup>∗</sup> ( _xk_ _, u_ ) Observe reward _gk_, and state _xk_ +1 Update approximation model _g_ ˆ( _x_ | _u_ ) ←ˆ _g_ ( _x_ | _u_ ) + _αg_ ( _gk_ ( _xk_ | _uk_ ) −ˆ _g_ ( _x_ | _u_ )) _v_ ˆ( _x_ | _u_ ) ←ˆ _v_ ( _x_ | _u_ ) + _αv_ ( _vk_ +1( _xk_ | _uk_ ) −ˆ _v_ ( _x_ | _u_ )) Update Q using approximation model for _m_ = 1 to _Nv_ do for _l_ = 1 to _Nu_ do _Q_ ← (1 − _α_ ) _Q_ ( _xk_ = [ _v_ <sup>_m_</sup> _, hk_ _, θk_ ] _, u_ <sup>_l_</sup> ) _u_ was defined as the relative offset of the vehicle speed instead of the motor torque, as follows: _u_ ∈{−10 _δ,_ −9 _δ,_ −8 _δ, . . .,_ 0 _, . . .,_ +8 _δ,_ +9 _δ,_ +10 _δ_ } (28) Here, _δ_ represents the unit speed for discretization in (18). Then, the estimation of ˆ _vk_ +1 is not required, as ˆ _vk_ +1 is determined _u_ directly, and the control policy can be expressed in a more intuitive form in the direction of reducing or increasing the speed of the vehicle in several steps. The feature of this algorithm is to separate the model-based insight of the vehicle powertrain, which can be estimated relatively well, from various driving situations that are difficult to estimate, so that the control policy is extracted more effectively using reinforcement learning. Additionally, the proposed algorithm has the advantage of experience replay, which accelerates the convergence and enhances the stability. Furthermore, the control _u_ can be tested in the nested ‘‘for’’ loop of the experience replay process before it is used in the real greedy action; thus, irrelevant control inputs can be excluded to prevent fatal system errors or optimize the controller performance. Additionally, to reduce the computational burden, the ‘‘for’’ loop in the algorithm can be alternated via prioritized sweeping without searching all the _v_ and _u_ values. IV. VEHICLE SIMULATION A simulation based on the vehicle model described in Section II was performed. For the vehicle simulation and development of the reinforcement learning algorithm, MATLAB was used. Information regarding the driving environment, i.e., _hk_ and _θk_, was recorded during real-world driving and used in the simulation. The height and road slope profiles are shown in Fig. 4. The distance of the diving cycle was 10 _km_, and it was divided into equal intervals of 10 _m_ . FIGURE 4. Driving environment: (a) driving cycle A; (b) driving cycle B; (c) driving cycle C. + _α_ - _g_ ˆ _k_ + _γ_ min _u_ <sup>_Q_</sup> <sup>(</sup> <sup>_x_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>+1</sup> <sup>= [</sup> <sup>_v_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>+1</sup> <sup>_, hk_</sup> <sup>+1</sup> <sup>_, θk_</sup> <sup>+1]</sup> <sup>_, u_</sup> <sup>)</sup> end for end for _k_ ← _k_ + 1 until Simulation stop algorithm, the agent derives the greedy control input using the Q function and observes the reward and the next variable (exploitation), but observed information is used to make an approximation model, and by using it, various control inputs are tested for a given stochastic state transition (exploration). In other words, according to the experience of the driving environment of _hk_ and _θk_, learning with experience replay is conducted to optimize the Q function value as shown in ‘‘for’’ loop in the Algorithm 1. With estimation of _v_ ˆ _k_ +1 and estimation of the reward _g_ ˆ _k_, the Q function value can be updated for different vehicle speeds _v_ ∈{ _v_ <sup>1</sup> _, v_ <sup>2</sup> _, v_ <sup>3</sup> _, . . ., v_ <sup>_Nv_</sup> } and control inputs _u_ ∈{ _u_ <sup>1</sup> _, u_ <sup>2</sup> _, u_ <sup>3</sup> _, . . ., u_ <sup>_Nu_</sup> }, as follows: _Q_ ← (1 − _α_ ) _Q_ ( _xk_ = [ _v, hk_ _, θk_ ] _, u_ ) + _α_ - _g_ ˆ _k_ + _γ_ min _u_ <sup>_Q_</sup> <sup>(</sup> <sup>_x_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>+1 =</sup> <sup>[</sup> <sup>_v_</sup> <sup>ˆ</sup> <sup>_k_</sup> <sup>+1</sup> <sup>_, hk_</sup> <sup>+1</sup> <sup>_, θk_</sup> <sup>+1]</sup> <sup>_, u_</sup> <sup>)</sup> (25) where _g_ ˆ _k_, and _v_ ˆ _k_ +1 can be determined based on the vehicle powertrain model. Alternatively, _g_ ˆ _k_, and _v_ ˆ _k_ +1 can be determined based on approximation model for keeping model-free characteristic of reinforcement learning (see [21]), that approximation could be done based on the experience as shown in following equation: _g_ ˆ( _x_ | _u_ ) ←ˆ _g_ ( _x_ | _u_ ) + _αg_ ( _gk_ ( _xk_ | _uk_ ) −ˆ _g_ ( _x_ | _u_ )) (26) _v_ ˆ( _x_ | _u_ ) ←ˆ _v_ ( _x_ | _u_ ) + _αv_ ( _vk_ +1( _xk_ | _uk_ ) −ˆ _v_ ( _x_ | _u_ )) (27) where _αg_ and _αv_ represent the learning rates. According to the experience of the stochastic state transition from ( _hk_, _θk_ ) to ( _hk_ +1, _θk_ +1), the deterministic state transition from _vk_ to ˆ _vk_ +1 and reward _g_ ˆ _k_ can be estimated to optimize the Q function value. In this study, to simplify the problem, the control input The slope was assumed to be a piecewise constant. The parameters used in the reinforcement learning algorithm are presented in Table 2. For discretization, the nearest-neighbor method was used. The vehicle speed was discretized by 1 _km/h_ from 0 to 100 _km/h_, and height was discretized by 5 _m_ . The road slope was discretized by 1%. For the weighting factor, _ω_, which should be defined to satisfy the desired traveling time for a given driving environment, was assumed to be 0.004. For the battery SOC, the initial value was defined as 70% and the initial vehicle speed was defined as 60 _km/h_ . The initial value of the approximation model was defined roughly using (1)–(6) and was updated during the learning process. TABLE 2. Parameters for learning. _A._ _LEARNING CURVE AND CONTROL POLICY_ Using the proposed algorithm, a learning process was conducted to determine the energy-efficient speed trajectory using driving cycles A, B, and C, separately. With an initial speed of 60 _km/h_, the vehicle speed was generated for each driving cycle, and learning was performed 500 times. The learning curve resulting from the learning process utilizing driving cycle A is presented in Fig. 5. As shown, the sum of the instantaneous cost in (15) rapidly decreased and converged as the learning was repeated, indicating that the learning process was successful. The resulting speed trajectories and height with respect to the traveling distance, as well as the motor torque profiles for all the driving cycles, are presented in Fig. 6. Generally, the vehicle speed decreased when the vehicle traveled uphill and increased when the vehicle traveled downhill. Using the proposed algorithm, the optimal velocity profile utilizing the slope and height information of the terrain was learned. As an example, the control policy extracted from the Q function using driving cycle A is presented in Fig. 7, where the optimal speed command for either an increasing or decreasing speed is shown according to vehicle’s current speed, and slope. Here, the trend of the control according to the current speed and slope value was confirmed: for a low speed, the control policy increased the speed actively, and higher slope values tended to reduce the FIGURE 5. Learning curve for driving cycle A. FIGURE 6. Optimized speed trajectory and height with respect to the traveling distance, as well as the motor torque. Results are presented for different driving cycles: (a) A; (b) B; (c) C. speed. In all three cycles, the vehicle’s speed was maintained between approximately 60 and 80 _km/h_ . This is because the same weighting coefficient _ω_ was used, and in the same way, the tendency to control with the target speed section can be confirmed in the extracted control policy. _B._ _COMPARISON WITH DETERMINISTIC DP RESULT AND_ _CRUISE CONTROL RESULT_ The energy saving performance of the given speed trajectory was evaluated by comparing it with the result of DP, as well as general cruise control in which the vehicle is driven at a FIGURE 7. Control policy extracted from driving cycle A for a height of 50 _m_ . constant speed. As mentioned in Section III, DP can present the global optimal solution; thus, the solution of DP can be used as a benchmark. However, in contrast to DP, in which the initial and final condition of the state can be defined, in the proposed MBRL algorithm, the final speed cannot be determined in advance. Thus, according to the MBRL result, the initial and final speed results ( _v_ 0 and _vf_, respectively) were set as constraints in DP, to compare the energy saving performance fairly by making the remaining kinetic energy of the vehicle identical between the two cases. For cruise control, the vehicle is driven at an average speed equal to the MBRL result _vave_, and the initial and final speed constraints are applied. The simulation results are presented in Table 3, and Fig. 8. Table 3 presents the traveling time, SOC usage, and percent energy saving of SOC usage with respect to the cruise control result. The traveling time was an important factor, as driving the same distance slower tended to use less battery SOC. In the simulation, the traveling time results for DP, MBRL, and cruise control were close, with a maximum difference of 0.6%, which is negligible. With regard to the battery SOC use, DP was the most efficient of the three approaches, TABLE 3. Simulation result for DP, MBRL, and cruise control. FIGURE 8. Optimized speed trajectory and battery SOC for cruise control, DP, and MBRL: (a) driving cycle A; (b) driving cycle B; (c) driving cycle C. followed by MBRL. Compared with cruise control, DP and MBRL exhibited average energy saving of 3.4% and 2.0%, respectively. Fig. 8 shows the speed profiles and battery SOC trajectories. The speed profiles obtained from MBRL were similar to those obtained from DP, as expected from the energy saving performance results. However, there was a difference between the DP and MBRL results, even though training was successfully conducted using the entire driving cycle information in MBRL. This can be explained by the problem definition: in MBRL, the optimal control problem is defined as minimizing the expected total cost in an infinite horizon, whereas in DP, it is defined in a finite horizon. This results in a higher energy saving for DP, while the control policy of MBRL can be used as an offline real-time controller in a stochastic manner. However, for various driving environment scenarios, MBRL shows good performance, because MBRL has learned the optimal behavior well using the transition probability of the vehicle’s driving environment { _hk_, _θk_ } to { _hk_ +1, _θk_ +1} through the learning process. Unlike deterministic DP in which entire driving environment information should be given in advance, or stochastic DP in which a model for the transition probability matrix of a driving environment should be given in advance [25], in reinforcement learning, the agent brings the transition probability distribution of the driving environment to the optimization problem through the interaction with the driving environment. Therefore, it is possible to derive optimal control through learning based on model-free characteristics. _C._ _PERFORMANCE FOR LEARNING WITH COMBINED_ _DRIVING CYCLES_ The performance of the algorithm when the learning process was conducted with various driving cycles was evaluated. Here, all the driving cycles (A, B, and C) were utilized for the training process, and the resulting Q function was employed as an offline control policy for simulation using each driving cycle. Thus, by testing the control policy obtained from the learning process using combined driving cycles, we checked whether the algorithm could show the performance when it visited an area previously learned. The simulation results are presented in Fig. 9 and Table 4. In Fig. 9, speed trajectories TABLE 4. Simulation results for learning with all driving cycles and cruise control. FIGURE 9. Optimized speed trajectory and battery SOC obtained from learning with a specific driving cycle only and leaning with all driving cycles: (a) driving cycle A; (b) driving cycle B; (c) driving cycle C. obtained from learning with a specific driving cycle only and leaning with all driving cycles are compared, both using MBRL. As shown, the vehicle speed profiles were similar for all the driving cycles, indicating that the driving-cycle information (once learned in MBRL) could be stored in the Q function value and that improved performance could be repeated when the vehicle revisited a driving environment; however, there was a small performance reduction in energy saving. In Table 4, the energy saving performance of the speed profile based on learning with all driving cycles was compared with that of cruise control. Similar to the previous comparison, the final speed and traveling time were applied as constraints for generating a cruise control speed profile. The results indicated that there was still meaningful energy saving, even though the percentage improvement was reduced compared with learning using a single driving cycle in Table 3. Therefore, the offline control policy (represented as the optimized Q function) can be utilized as a real-time controller for the eco-driving strategy. V. CONCLUSION A reinforcement learning algorithm was developed for the eco-driving of an EV, and through this, we confirmed that the reinforcement learning method can be well applied to the eco-driving problem. Especially, we showed that using MBRL, an energy saving optimal speed trajectory utilizing the road slope of the driving cycle can be acquired, and it was compared with the optimal solution using the existing DP method and the cruise control case, demonstrating the excellence and feasibility of the reinforcement learning based approach. The proposed MBRL algorithm separates the vehicle energy-consumption model from the driving environment; thus, learning can be conducted efficiently with the domain knowledge of vehicle dynamics and the powertrain model, while model-free characteristics are maintained by updating the approximation model with experience replay. The proposed algorithm exhibited an energy saving performance of 1.2% - 3.0% compared with cruise control and similar behavior to DP. Additionally, we showed that by training the control policy with combined driving cycles and testing for separated specific driving cycles, the control policy can be used as an offline real-time controller. The limitation of this study is that we only used road slope information to generate an optimal speed profile among diverse driving environments; other constraints associated with traffic signals or other vehicles on the road were not included in the learning process. However, the approaches based on reinforcement learning have advantages for dealing with model uncertainty using the interaction between the agent and the environment; thus, we expect that these constraints with disturbance can be modeled and an optimal control policy can be learned successfully in a stochastic manner. This should be investigated in a future study. REFERENCES [1] W. Dib, A. Chasse, P. Moulin, A. Sciarretta, and G. Corde, ‘‘Optimal energy management for an electric vehicle in eco-driving applications,’’ _Control Eng. Pract._, vol. 29, pp. 299–307, Aug. 2014. [Online]. Available: http://www.sciencedirect.com/science/article/pii/S0967066114000355 [2] 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. [3] E. Hellström, M. Ivarsson, J. Åslund, and L. Nielsen, ‘‘Look-ahead control for heavy trucks to minimize trip time and fuel consumption,’’ _Control_ _Eng._ _Pract._, vol. 17, no. 2, pp. 245–254, Feb. 2009. [Online]. Available: http://www.sciencedirect.com/science/article/pii/S0967066108001251 [4] K. McDonough, I. Kolmanovsky, D. Filev, D. Yanakiev, S. Szwabowski, and J. Michelini, ‘‘Stochastic dynamic programming control policies for fuel efficient vehicle following,’’ in _Proc. Amer. Control Conf._, Jun. 2013, pp. 1350–1355. [5] D. Shen, D. Karbowski, and A. Rousseau, ‘‘Fuel-optimal periodic control of passenger cars in cruise based on Pontryagin’s minimum principle,’’ _IFAC-PapersOnLine_, vol. 51, no. 31, pp. 813–820, 2018. [Online]. Available: http://www.sciencedirect.com/science/article/pii/ S2405896318325874 [6] B. Saerens and E. Van den Bulck, ‘‘Calculation of the minimum-fuel driving control based on Pontryagin’s maximum principle,’’ _Transp. Res._ _D,_ _Transp._ _Environ._, vol. 24, pp. 89–97, Oct. 2013. [Online]. Available: http://www.sciencedirect.com/science/article/pii/S1361920913000837 [7] H. Abbas, Y. Kim, J. B. Siegel, and D. M. Rizzo, ‘‘Synthesis of Pontryagin’s maximum principle analysis for speed profile optimization of all-electric vehicles,’’ _J._ _Dyn._ _Syst.,_ _Meas.,_ _Control_, vol. 141, no. 7, [Jul. 2019, Art. no. 071004, doi: 10.1115/1.4043117.](http://dx.doi.org/10.1115/1.4043117) [8] H. Rakha and R. K. Kamalanathsharma, ‘‘Eco-driving at signalized inter sections using V2I communication,’’ in _Proc. 14th Int. IEEE Conf. Intell._ _Transp. Syst. (ITSC)_, Oct. 2011, pp. 341–346. [9] 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. [10] O. Santin, J. Pekar, J. Beran, A. D’Amato, E. Ozatay, J. Michelini, S. Szwabowski, and D. Filev, ‘‘Cruise controller with fuel optimization based on adaptive nonlinear predictive control,’’ _SAE_ _Int._ _J._ _Passenger_ _Cars-Electron._ _Electr._ _Syst._, vol. 9, no. 2, pp. 262–274, Apr. 2016, doi: [10.4271/2016-01-0155.](http://dx.doi.org/10.4271/2016-01-0155) [11] O. Santin, J. Beran, J. Pekar, J. Michelini, J. Jing, S. Szwabowski, and D. Filev, ‘‘Adaptive nonlinear model predictive cruise controller: Trailer tow use case,’’ SAE International, SAE Tech. Paper 2017-01-0090, [Mar. 2017, doi: 10.4271/2017-01-0090.](http://dx.doi.org/10.4271/2017-01-0090) [12] S. E. Li, H. Peng, K. Li, and J. Wang, ‘‘Minimum fuel control strategy in automated car-following scenarios,’’ _IEEE_ _Trans._ _Veh._ _Technol._, vol. 61, no. 3, pp. 998–1007, Mar. 2012. [13] F. L. Lewis and D. Vrabie, ‘‘Reinforcement learning and adaptive dynamic programming for feedback control,’’ _IEEE Circuits Syst. Mag._, vol. 9, no. 3, pp. 32–50, Aug. 2009. [14] X. Ma, Y. Xie, and C. Chigan, ‘‘Meta-deep Q-learning for eco-routing,’’ in _Proc. IEEE 2nd Connected Automated Vehicles Symp. (CAVS)_, Sep. 2019, pp. 1–5. [15] J. Shi, F. Qiao, Q. Li, L. Yu, and Y. Hu, ‘‘Application and evalua tion of the reinforcement learning approach to eco-driving at intersections under Infrastructure-to-Vehicle communications,’’ _Transp. Res. Rec.,_ _J._ _Transp._ _Res._ _Board_, vol. 2672, no. 25, pp. 89–98, Dec. 2018, doi: [10.1177/0361198118796939.](http://dx.doi.org/10.1177/0361198118796939) [16] A. Phan and H.-S. Yoon, ‘‘A study of using a reinforcement learning method to improve fuel consumption of a connected vehicle with signal phase and timing data,’’ SAE International, SAE Tech. Paper 2020-01[0888, Apr. 2020, doi: 10.4271/2020-01-0888.](http://dx.doi.org/10.4271/2020-01-0888) [17] G. Li and D. Görges, ‘‘Ecological adaptive cruise control for vehicles with step-gear transmission based on reinforcement learning,’’ _IEEE Trans._ _Intell. Transp. Syst._, vol. 21, no. 11, pp. 4895–4905, Nov. 2019. [18] F. Berkenkamp, M. Turchetta, A. Schoellig, and A. Krause, ‘‘Safe model-based reinforcement learning with stability guarantees,’’ in _Advances_ _in_ _Neural_ _Information_ _Processing_ _Systems_, I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, Eds. Red Hook, NY, USA: Curran Associates, 2017, pp. 908–918. [Online]. Available: http://papers.nips.cc/paper/6692-safemodel-based-reinforcement-learning-with-stability-guarantees.pdf [19] L. Kaiser, M. Babaeizadeh, P. Milos, B. Osinski, R. H. Campbell, K. Czechowski, D. Erhan, C. Finn, P. Kozakowski, S. Levine, A. Mohiuddin, R. Sepassi, G. Tucker, and H. Michalewski, ‘‘Modelbased reinforcement learning for Atari,’’ 2019, _arXiv:1903.00374_ . [Online]. Available: https://arxiv.org/abs/1903.00374 [20] H. Lee, ‘‘Stochastic optimal energy management based on q-learning for hybrid electric vehicles,’’ Ph.D. dissertation, Dept. Mech. Aerosp. Eng., Seoul Nat. Univ., Seoul, South Korea, 2018. [21] H. Lee, C. Kang, Y.-I. Park, N. Kim, and S. W. Cha, ‘‘Online data-driven energy management of a hybrid electric vehicle using model-based QLearning,’’ _IEEE Access_, vol. 8, pp. 84444–84454, 2020. [22] W. Dib, L. Serrao, and A. Sciarretta, ‘‘Optimal control to minimize trip time and energy consumption in electric vehicles,’’ in _Proc. IEEE Vehicle_ _Power Propuls. Conf._, Sep. 2011, pp. 1–8. [23] R. Bellman, R. Bellman, and R. Kalaba, _Dynamic_ _Programming_ _and_ _Modern_ _Control_ _Theory_ (Academic Paperbacks). Amsterdam, The Netherlands: Elsevier Science, 1965. [Online]. Available: https://books.google.co.kr/books?id=O_9QAAAAMAAJ [24] C. J. C. H. Watkins and P. Dayan, ‘‘Q-learning,’’ _Mach._ _Learn._, vol. 8, [nos. 3–4, pp. 279–292, May 1992, doi: 10.1007/BF00992698.](http://dx.doi.org/10.1007/BF00992698) [25] H. Lee, C. Song, N. Kim, and S. W. Cha, ‘‘Comparative analysis of energy management strategies for HEV: Dynamic programming and reinforcement learning,’’ _IEEE Access_, vol. 8, pp. 67112–67123, 2020. HEEYUN LEE (Member, IEEE) received the B.S. degree in mechanical engineering from Sungkyunkwan University, South Korea, in 2013, and the Ph.D. degree in mechanical and aerospace engineering from Seoul National University, South Korea, in 2018. He is currently affiliated with the Research and Development Division of Hyundai Motor Company, South Korea. His research interests include optimal control, reinforcement learning, modeling, and simulation of electrified vehicles. NAMWOOK KIM received the B.S. and Ph.D. degrees from Seoul National University, South Korea, in 2003 and 2009, respectively. He joined the Transportation Research Center, Argonne National Laboratory, in 2009, as a Postdoctoral Researcher and from 2012 to 2015 as a Research Engineer. He is currently working as an Associate Professor with Hanyang University. His research interests include modeling and control for advanced vehicles. He is also pursuing studies related large network behaviours of a transportation system. SUK WON CHA (Member, IEEE) received the B.S. degree in naval architecture and ocean engineering from Seoul National University, in 1994, and the M.S. and Ph.D. degrees in mechanical engineering from Stanford University, in 1999 and 2004, respectively. He is currently a Professor with the Department of Mechanical Engineering, Seoul National University. His current research interests include modeling of electric vehicle modules and performance analysis of powertrain. He is a Senior Editor of the _International_ _Journal_ _of_ _Precision_ _Engineering_ _and_ _Manufacturing –_ _Green_ _Technology_ . He also serves as an Editor of the _International Journal of Automotive Technology_ .

섹션 본문 50문단 · 33,203자

(제목 없음)

1With the development of autonomous vehicles, research on energy-efficient eco-driving is becoming increasingly important. The optimal control problem of determining the speed profile of the vehicle for minimizing energy consumption is a challenging problem that necessitates the consideration of various aspects, such as the vehicle energy consumption, slope of the road, and driving environment, e.g., the traffic and other vehicles on the road. In this study, an approach using reinforcement learning was applied to the eco-driving problem for electric vehicles considering road slopes. A novel model-based reinforcement learning algorithm for eco-driving was developed, which separates the vehicle's energy consumption approximation model and driving environment model. Thus, the domain knowledge of vehicle dynamics and the powertrain system is utilized for the reinforcement learning process, while model-free characteristics are maintained by updating the approximation model using experience replay. The proposed algorithm was tested via a vehicle simulation and compared with a solution obtained using dynamic programming (DP), and as well as conventional cruise control driving with constant speed. The simulation results indicated that the speed profile optimized using model-based reinforcement learning had similar behavior to the global solution obtained via DP and energy saving performance compared with cruise control.INDEX TERMS Eco-driving control, electric vehicles, model-based reinforcement learning, optimal control, Q-learning, reinforcement learning.202886This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ VOLUME 8, 2020

I. INTRODUCTION

2Recently, diverse technologies for autonomous vehicles have been developing rapidly, which has led to advancements in autonomous driving. In the future, vehicles can be operated with less intervention by human drivers. Without manipulation by the human driver, the vehicle becomes safer; additionally, vehicles will be able to move quickly with the aid of computational intelligence based on autonomous vehicle technologies in the near future. Another issue concerning future vehicles is the environmental aspect; diverse vehicles, such as hybrid electric vehicles (HEVs), electric vehicles (EVs), and fuel-cell EVs (FCEVs), are being developed to reduce emissions and increase the vehicular efficiency. The

3The associate editor coordinating the review of this manuscript and approving it for publication was Francisco Perez-Pinal . use of autonomous vehicles can also contribute to increasing the vehicular fuel efficiency. In an autonomous vehicle, when the level of driving automation increases, the intervention of the human driver can be minimized. The efficiency of these vehicles can be maximized while satisfying the desired travel time. This optimization of the vehicle speed profile can be very useful, as the vehicle efficiency can be increased without changes in the vehicle hardware, and this technology can be used in any type of vehicle. Additionally, considering that in the near future, many vehicles can be operated without a human driver, optimization of the vehicle speed profile, which is called an eco-driving strategy, is a very important problem.

4Various studies have been conducted on eco-driving strategies. First, approaches based on an analytical solution derived from the optimal control problem have been proposed. In [1], a closed-form solution of the optimal problem was found for eco-driving of EVs. Here, the optimization problem was defined to minimize the fuel consumption, and the target traveling time for a given distance was given as the constraint of the problem. Then, the optimization problem was solved to obtain an explicit solution. In [2], an analytical state-constrained solution was derived considering vehicle safety constraints for EVs. Here, the minimum inter-vehicle distance and maximum road speed limit were defined as state constraints, and an analytical state constrained solution was derived for connected and automated vehicles.

5Additionally, in many studies, approaches based on dynamic programming (DP) or Pontryagin's minimum principle (PMP) were utilized. In [3], look-ahead control was used to optimize the speed profile. Here, based on a global positioning system, the road geometry ahead of the vehicle was extracted, and DP was used in a predictive scheme to optimize the velocity trajectory for a heavy diesel truck. In [4], stochastic approaches based on the DP were employed. Here, a time-independent fuel-efficient control strategy based on stochastic DP was developed, which does not require preview information of the route or the road slope. Additionally, constraints on the vehicle-following distance are applied to develop a fuel-efficient vehicle-following control policy. In [5], PMP was applied to a passenger car with an internal combustion engine vehicle. Here, optimal periodic control was derived for cruise control, which is a hybrid system that includes gear shift and idle operation of the engine. In [6], the minimum fuel driving control was studied according to PMP. Here, the vehicle model was expressed as a point-mass vehicle with a quasi-static polynomial fuelconsumption model, and gear shifting, clutch disengagement, and brake control were modeled as simple on-off switches. More recently, in [7], PMP and DP were used together for the eco-driving of all-EVs. Here, PMP was first utilized to find the possible operating mode satisfying the necessary condition, and then, DP was used to solve the optimal control problem again in the distance domain, which reduced the computational burden of the DP calculation.

6In [8], the traffic signal was included in the eco-driving control framework. Here, with the assumption of vehicle-toinfrastructure communication capabilities, an optimal speed profile was obtained to minimize the total fuel consumption while safely crossing an intersection. Additionally, combined with the energy management of HEVs, the speed profile control problem was defined in an all-inclusive manner in [9]. Here, a bi-level methodology was used for the predictive energy management of parallel HEVs, where the optimal velocity was calculated first in the outer loop using a Krylov subspace method, and in the inner loop, the optimal torque split and gear shift were determined using PMP based on the model predictive control (MPC) framework.

7However, applying these eco-driving strategies to real-world driving situations is not easy and has many limitations. First, the environment changes frequently and has many disturbances. Thus, the deterministic algorithm has limitations in that it must predict future driving conditions precisely, or there are driving environments that are difficult to model, such as the driving behavior of the car ahead or a traffic jam. Additionally, implementing DP or PMP for an online eco-driving strategy is challenging because of the computational burden of DP or the co-state sensitive characteristics of PMP. The more practical method of MPC was used in [10], and [11]. Here, adaptive nonlinear MPC was utilized, and it was implemented in a vehicle with a standard production powertrain control module. To increase the prediction accuracy, a recursive least-squares algorithm was used for parameter adaptation, which was combined with MPC to obtain more reliable results under real-world driving conditions. In [12], the vehicle-following scenario was studied. In the automated car-following scenario, the pulseand-gliding strategy was implemented based on the switching logic in a servo-loop controller to minimize the fuel consumption. However, these approaches also have limitations in that MPC and periodic control are focused on finding the local optimal for the near future, rather than the global optimal solution with entire travel distances. Thus, the fuel-economy improvement is limited, and consideration of complex driving environments is challenging, requiring an additional parameter calibration process.

8Therefore, in this study, we conducted an eco-driving strategy based on reinforcement learning. Reinforcement learning is an algorithm that can learn the optimal control policy according to the interaction between the agent and the environment [13]. Reinforcement learning is very similar approach to the DP-based approach in that they can optimize the cost-to-go value function based on the Bellman equation, and it is possible to replace this DP-based approach with reinforcement learning-based approach. On the other hand, unlike DP, reinforcement learning can be used as a real time controller through learning in a stochastic manner, and it has a model-free feature by learning the optimal control policy through the interaction between the agent and the environment with adaptation. Accordingly, reinforcement learning approach is well suited to the eco-driving control problem in which an optimization solution must be found through a probabilistic point of view in various and complex road driving environments. Reinforcement learning has been used for eco-driving in several studies. In [14], multi-objective deep Q-learning was utilized for the eco-routing problem to identify the best route for minimizing the traveling time and fuel consumption. In [15], and [16], a reinforcement learning algorithm was studied for minimizing the fuel consumption in the vicinity of an isolated signal intersection. In [17], eco-driving control considering the car-following scenario using an actor-gear-critic network architecture was studied for a conventional vehicle equipped with an internal combustion engine and automated manual transmission. Here, a fuel economy with safe inter-vehicle distance constraints was considered as an objective function, but the road slope was not considered as a state variable and was set to zero.

9In the present study, general speed profile optimization for an eco-driving strategy for longitudinal driving considering the road slope using model-based reinforcement learning (MBRL) was investigated. MBRL is a methodology that approximates the environment, including the system dynamics; thus, learning can be conducted with guaranteed stability [18], or few interactions [19]. In the case of vehicle control, MBRL was successfully applied to the optimal control problem of energy management of HEVs in our previous studies [20], [21]. The contribution of the present study is as follows: We developed a new algorithm for the eco-driving control problem using the reinforcement learning approach, and through this, we confirmed that the reinforcement learning method can be well applied to the eco-driving problem. In particular, in the eco-driving problem through optimization of the vehicle's speed profile reflecting the road slope, the reinforcement learning method was compared with the optimal solution using the existing DP method and the cruise control case with constant vehicle speed, demonstrating the excellence and feasibility of the reinforcement learning based approach. Especially, we developed an eco-driving strategy with model-based Q-learning and confirmed its effectiveness via a vehicle simulation. To the best of our knowledge, this was the first study in which the MBRL approach was applied to the eco-driving control problem. Even though only the road slope is considered among diverse driving environments for the eco-driving strategy, considering that the proposed approaches can be extended to diverse driving environment conditions, e.g., traffic signals and other vehicles on the road, thanks to the model-free characteristic of the algorithm, the approaches using the reinforcement learning technique can be powerful. Additionally, the trained optimal control policy can be used for real-time vehicle controllers. The remainder of this article is organized as follows. In Section II, the EV model used in this study is presented. In Section III, the optimization problem for the eco-driving strategy is presented, and the MBRL algorithm for eco-driving is explained. In Section IV, the vehicle simulation is presented, and in Section V, the conclusions are presented.

II. VEHICLE MODELING

10In this study, a vehicle simulation was performed for training and testing the proposed algorithm. For the simulation, an EV was used. Compared with conventional internal combustion engine-based vehicles, EVs can recover energy from regenerative braking, making them more suitable for energy-efficient driving. However, the algorithm proposed in this article is not limited to EVs but is applicable to all vehicles.

11For the EV modeling, a backward-looking vehicle simulation was performed via a quasi-static modeling technique, and only longitudinal vehicle dynamics are considered. The vehicle configuration is shown in Fig. 1, and the vehicle parameters used in the simulation are presented in Table 1. The efficiency of the motor including the efficiency of the converter η elec (T mot , ω mot ), was calculated using a predetermined map, as shown in Fig. 2, and the electric power consumed by the motor p bat , was calculated using the following equation:

12where T mot represents the motor torque, and ω mot represents the motor speed. The battery state of charge (SOC) dynamics can be expressed as follows:

13where V oc (SOC) represents the open-circuit voltage, R bat (SOC) represents the internal resistance of the battery, and Q bat represents the battery capacitance. The powertrain dynamic is given as follows:

14where T wh represents the wheel torque, γ fd represents the gear ratio of the final drive, T fd,loss (T fd , ω fd ) represents the torque loss in the final drive, T fd represents the input torque in the final drive, and ω fd represents the input speed in the final drive, which can be expressed as follows:

15where R tire represents the tire radius, and v represents vehicle's longitudinal speed. The vehicle dynamic is given as follows

16where F brake represents the brake force, M veh represents the vehicle mass, M eq represents the equivalent mass of the rotating inertia in the vehicle component, and F load represents the road load force, including the grading resistance, which can be expressed as follows:

17where f 0 , f 1 , and f 2 are the road load coefficients, which have the units of N , N /km, and N /km 2 , respectively, and θ represents the road slope. Using this vehicle model, a vehicle simulation was conducted to train and test the proposed algorithm, as explained in the following section.

III. MODEL-BASED REINFORCEMENT LEARNING FOR ECO-DRIVING STRATEGY A. OPTIMAL CONTROL PROBLEM FORMULATION

18The optimal control problem for an eco-driving strategy can be defined to minimize the battery electric energy consumption for state vector consists of the vehicle speed and the traveling distance x = {v, d}, while driving a given distance D for a given time T as follows:

19where f represents the nonlinear vehicle dynamics explained in the previous section, u represents the control variable, which is motor torque with the maximum torque T mot,max and the minimum torque T mot,min . v 0 and v f represent the vehicle initial speed, and the vehicle final speed at D respectively, which have the minimum and maximum speed of v min , and v max .

20To simplify the optimal control problem, it can be expressed as one state formulation using dt = dd/v as in [22], which is the weighted sum of the battery SOC usage and the traveling time according to the distance, as follows:

21where ω represents the weighting factor to be tuned for satisfying the total driving time. By transferring the optimal control problem from (7) to (8), the problem is defined according to the traveling distance d, while the vehicle's initial and final speed constraints remain the same. As mentioned in the section I, the traffic-signal and car-following situations are not considered.

B. DETERMINISTIC DP

22First, deterministic DP is used to solve the optimal control problem. The foregoing optimal control problem can be presented in discrete form as follows:

23where the index k represents the discretization step for N segments, which is equally divided with unit distance s, and L(v(k), u(k)) represents the instantaneous cost incurred, which can be expressed as follows:

24Then, the optimal solution can be obtained using the Bellman equation [23], as follows.

25Here, J k,N represents the cost function for traveling from step k to N , which can be expressed in the recursive form using the instantaneous cost L(v(k), u(k)), and the cost function for traveling from step k +1 to N , J k+1,N . Using (13), an optimal speed profile based on the travel distance can be obtained, but deterministic DP is computationally inefficient and difficult to adapt under driving-condition changes. Thus, it has many limitations when used in real-time vehicle controllers.

C. MODEL-BASED REINFORCEMENT LEARNING

26First, the optimal control problem can be expressed to minimize the expected total cost over an infinite horizon, as follows:

27where J π (x 0 ) represents the cost with initial condition and control policy π , γ represents the discount factor, and g represents the instantaneous cost, which can be expressed as follows:

28Here, η(v k ) represents the penalty cost that is applied when the vehicle speed is higher than v max or lower than v min , as follows:

29Here, cost penalty is a positive constant. The optimal control problem is defined in an infinite horizon; thus, the generated control policy is time-invariant, which can be easily implemented on a real-time vehicle controller. The state variable x is defined as follows:

30where h represents the height, and θ represents the road slope.

31x is discretized as follows:

32where N v , N h , and N θ represent the number of the discretized speed, height and road slope respectively, and the control variable is also discretized as follows:

33where N u represent the number of the discretized control input. Therefore, in this study, the eco-driving control policy was determined according to the current vehicle speed, height, and road slope. Among them, vehicle speed or road slope directly affect the cost values. However, in the case of height, it does not directly affect the cost value instantly, but it reflects the future cost concerning the road driving environment. Combined with the road slope, height can be expressed as a state of the Q function indicating the expected total cost of future energy use. That is, even in the same uphill situation, the optimal driving speed of the vehicle may vary according to the current height, and this is obvious when considering the relationship between the kinetic energy of the vehicle and the potential energy, and the energy consumption of driving the vehicle accordingly. Therefore, by considering the height as a state variable with the vehicle speed and the road slope, it is possible to better represent the value of the cost-to-go function in Q function and a probabilistic driving situation than when the road slope is considered only.

34Based on Q-learning [24], The optimal cost J * (x k ) and optimal control policy π * (x k ) can be expressed as follows:

35Then, the Q function can be updated as follows:

36In this study, to solve the optimal control problem, a novel eco-driving strategy utilizing MBRL was developed on the basis of a previous study on MBRL for the HEV control case study in [21]. In (17), the state variable x k = [v k , h k , θ k ] is partially stochastic (the driving environment h k and θ k can be considered stochastic without preview terrain information), but it is possible to expect v k , and g k deterministically based on the vehicle powertrain dynamics equations of (1)-(6), and the cost equation (15) for the given driving conditions of h k , and θ k and the given control input u. Thus, the domain knowledge of the known vehicle dynamic model and powertrain system can be used in reinforcement learning, while the remaining model uncertainty due to modeling error or other driving environments that are difficult to model can be learning via model-free still.

37On the basis of this observation, we developed a new MBRL algorithm for the eco-driving strategy. The overall algorithm is presented in Fig. 3 and Algorithm 1. In the new algorithm, the agent's learning takes place based on approximation model using the deterministic variable, while stochastic variables are reflected in the agent's learning through the experience replay. Usually, in the Q-learning, the agent derives the action u k using methods such asgreedy (exploitation and exploration) according to the Q function value and the current state x k , and conducts learning by updating Q function value using the observation of the reward g k and the next state x k+1 . Alternatively, in the new

Algorithm 1 Model-Based Reinforcement Learning Algorithm for Eco-Driving

38Input: data x k , size N repeat

39Choose the greedy action u k = arg min u Q * (x k , u) Observe reward g k , and state x k+1 Update approximation model

40Update Q using approximation model

41end for end for k ← k + 1 until Simulation stop algorithm, the agent derives the greedy control input using the Q function and observes the reward and the next variable (exploitation), but observed information is used to make an approximation model, and by using it, various control inputs are tested for a given stochastic state transition (exploration). In other words, according to the experience of the driving environment of h k and θ k , learning with experience replay is conducted to optimize the Q function value as shown in ''for'' loop in the Algorithm 1. With estimation ofv k+1 and estimation of the rewardĝ k , the Q function value can be updated for different vehicle speeds v ∈ {v 1 , v 2 , v 3 , . . . , v N v } and control inputs u ∈ {u 1 , u 2 , u 3 , . . . , u N u }, as follows: (25) whereĝ k , andv k+1 can be determined based on the vehicle powertrain model. Alternatively,ĝ k , andv k+1 can be determined based on approximation model for keeping model-free characteristic of reinforcement learning (see [21]), that approximation could be done based on the experience as shown in following equation:

42where α g and α v represent the learning rates. According to the experience of the stochastic state transition from (h k , θ k ) to (h k+1 , θ k+1 ), the deterministic state transition from v k tov k+1 and rewardĝ k can be estimated to optimize the Q function value. In this study, to simplify the problem, the control input u was defined as the relative offset of the vehicle speed instead of the motor torque, as follows:

43u ∈ {−10δ, −9δ, −8δ, . . . , 0, . . . , +8δ, +9δ, +10δ} (28)

44Here, δ represents the unit speed for discretization in (18). Then, the estimation ofv k+1 is not required, asv k+1 is determined u directly, and the control policy can be expressed in a more intuitive form in the direction of reducing or increasing the speed of the vehicle in several steps. The feature of this algorithm is to separate the model-based insight of the vehicle powertrain, which can be estimated relatively well, from various driving situations that are difficult to estimate, so that the control policy is extracted more effectively using reinforcement learning. Additionally, the proposed algorithm has the advantage of experience replay, which accelerates the convergence and enhances the stability. Furthermore, the control u can be tested in the nested ''for'' loop of the experience replay process before it is used in the real greedy action; thus, irrelevant control inputs can be excluded to prevent fatal system errors or optimize the controller performance. Additionally, to reduce the computational burden, the ''for'' loop in the algorithm can be alternated via prioritized sweeping without searching all the v and u values.

IV. VEHICLE SIMULATION

45A simulation based on the vehicle model described in Section II was performed. For the vehicle simulation and development of the reinforcement learning algorithm, MATLAB was used. Information regarding the driving environment, i.e.,h k and θ k , was recorded during real-world driving and used in the simulation. The height and road slope profiles are shown in Fig. 4. The distance of the diving cycle was 10 km, and it was divided into equal intervals of 10 m. (c) driving cycle C. VOLUME 8, 2020 The slope was assumed to be a piecewise constant. The parameters used in the reinforcement learning algorithm are presented in Table 2. For discretization, the nearest-neighbor method was used. The vehicle speed was discretized by 1 km/h from 0 to 100 km/h, and height was discretized by 5 m. The road slope was discretized by 1%. For the weighting factor, ω, which should be defined to satisfy the desired traveling time for a given driving environment, was assumed to be 0.004. For the battery SOC, the initial value was defined as 70% and the initial vehicle speed was defined as 60 km/h. The initial value of the approximation model was defined roughly using (1)- (6) and was updated during the learning process.

A. LEARNING CURVE AND CONTROL POLICY

46Using the proposed algorithm, a learning process was conducted to determine the energy-efficient speed trajectory using driving cycles A, B, and C, separately. With an initial speed of 60 km/h, the vehicle speed was generated for each driving cycle, and learning was performed 500 times. The learning curve resulting from the learning process utilizing driving cycle A is presented in Fig. 5. As shown, the sum of the instantaneous cost in (15) rapidly decreased and converged as the learning was repeated, indicating that the learning process was successful. The resulting speed trajectories and height with respect to the traveling distance, as well as the motor torque profiles for all the driving cycles, are presented in Fig. 6. Generally, the vehicle speed decreased when the vehicle traveled uphill and increased when the vehicle traveled downhill. Using the proposed algorithm, the optimal velocity profile utilizing the slope and height information of the terrain was learned. As an example, the control policy extracted from the Q function using driving cycle A is presented in Fig. 7, where the optimal speed command for either an increasing or decreasing speed is shown according to vehicle's current speed, and slope. Here, the trend of the control according to the current speed and slope value was confirmed: for a low speed, the control policy increased the speed actively, and higher slope values tended to reduce the speed. In all three cycles, the vehicle's speed was maintained between approximately 60 and 80 km/h. This is because the same weighting coefficient ω was used, and in the same way, the tendency to control with the target speed section can be confirmed in the extracted control policy.

B. COMPARISON WITH DETERMINISTIC DP RESULT AND CRUISE CONTROL RESULT

47The energy saving performance of the given speed trajectory was evaluated by comparing it with the result of DP, as well as general cruise control in which the vehicle is driven at a 202892 VOLUME 8, 2020 constant speed. As mentioned in Section III, DP can present the global optimal solution; thus, the solution of DP can be used as a benchmark. However, in contrast to DP, in which the initial and final condition of the state can be defined, in the proposed MBRL algorithm, the final speed cannot be determined in advance. Thus, according to the MBRL result, the initial and final speed results (v 0 and v f , respectively) were set as constraints in DP, to compare the energy saving performance fairly by making the remaining kinetic energy of the vehicle identical between the two cases. For cruise control, the vehicle is driven at an average speed equal to the MBRL result v ave , and the initial and final speed constraints are applied.

48The simulation results are presented in Table 3, and Fig. 8. Table 3 presents the traveling time, SOC usage, and percent energy saving of SOC usage with respect to the cruise control result. The traveling time was an important factor, as driving the same distance slower tended to use less battery SOC. In the simulation, the traveling time results for DP, MBRL, and cruise control were close, with a maximum difference of 0.6%, which is negligible. With regard to the battery SOC use, DP was the most efficient of the three approaches, followed by MBRL. Compared with cruise control, DP and MBRL exhibited average energy saving of 3.4% and 2.0%, respectively. Fig. 8 shows the speed profiles and battery SOC trajectories. The speed profiles obtained from MBRL were similar to those obtained from DP, as expected from the energy saving performance results. However, there was a difference between the DP and MBRL results, even though training was successfully conducted using the entire driving cycle information in MBRL. This can be explained by the problem definition: in MBRL, the optimal control problem is defined as minimizing the expected total cost in an infinite horizon, whereas in DP, it is defined in a finite horizon. This results in a higher energy saving for DP, while the control policy of MBRL can be used as an offline real-time controller in a stochastic manner. However, for various driving environment scenarios, MBRL shows good performance, because MBRL has learned the optimal behavior well using the transition probability of the vehicle's driving environment {h k , θ k } to {h k+1 , θ k+1 } through the learning process. Unlike deterministic DP in which entire driving environment information should be given in advance, or stochastic DP in which a model for the transition probability matrix of a driving environment should be given in advance [25], in reinforcement learning, the agent brings the transition probability distribution of the driving environment to the optimization problem through the interaction with the driving environment. Therefore, it is possible to derive optimal control through learning based on model-free characteristics.

C. PERFORMANCE FOR LEARNING WITH COMBINED DRIVING CYCLES

49The performance of the algorithm when the learning process was conducted with various driving cycles was evaluated. Here, all the driving cycles (A, B, and C) were utilized for the training process, and the resulting Q function was employed as an offline control policy for simulation using each driving cycle. Thus, by testing the control policy obtained from the learning process using combined driving cycles, we checked whether the algorithm could show the performance when it visited an area previously learned. The simulation results are presented in Fig. 9 and Table 4. In Fig. 9, speed trajectories obtained from learning with a specific driving cycle only and leaning with all driving cycles are compared, both using MBRL. As shown, the vehicle speed profiles were similar for all the driving cycles, indicating that the driving-cycle information (once learned in MBRL) could be stored in the Q function value and that improved performance could be 202894 VOLUME 8, 2020 repeated when the vehicle revisited a driving environment; however, there was a small performance reduction in energy saving. In Table 4, the energy saving performance of the speed profile based on learning with all driving cycles was compared with that of cruise control. Similar to the previous comparison, the final speed and traveling time were applied as constraints for generating a cruise control speed profile. The results indicated that there was still meaningful energy saving, even though the percentage improvement was reduced compared with learning using a single driving cycle in Table 3. Therefore, the offline control policy (represented as the optimized Q function) can be utilized as a real-time controller for the eco-driving strategy.

V. CONCLUSION

50A reinforcement learning algorithm was developed for the eco-driving of an EV, and through this, we confirmed that the reinforcement learning method can be well applied to the eco-driving problem. Especially, we showed that using MBRL, an energy saving optimal speed trajectory utilizing the road slope of the driving cycle can be acquired, and it was compared with the optimal solution using the existing DP method and the cruise control case, demonstrating the excellence and feasibility of the reinforcement learning based approach. The proposed MBRL algorithm separates the vehicle energy-consumption model from the driving environment; thus, learning can be conducted efficiently with the domain knowledge of vehicle dynamics and the powertrain model, while model-free characteristics are maintained by updating the approximation model with experience replay. The proposed algorithm exhibited an energy saving performance of 1.2% -3.0% compared with cruise control and similar behavior to DP. Additionally, we showed that by training the control policy with combined driving cycles and testing for separated specific driving cycles, the control policy can be used as an offline real-time controller. The limitation of this study is that we only used road slope information to generate an optimal speed profile among diverse driving environments; other constraints associated with traffic signals or other vehicles on the road were not included in the learning process. However, the approaches based on reinforcement learning have advantages for dealing with model uncertainty using the interaction between the agent and the environment; thus, we expect that these constraints with disturbance can be modeled and an optimal control policy can be learned successfully in a stochastic manner. This should be investigated in a future study.

참고문헌 26건

  1. Q-learning Machine Learning · Springer Science+Business Media · 1992 10.1007/bf00992698
  2. Dynamic Programming and Modern Control Theory 1966
  3. Optimal energy management for an electric vehicle in eco-driving applications Control Engineering Practice · Elsevier BV · 2014 10.1016/j.conengprac.2014.01.005
  4. Stochastic dynamic programming control policies for fuel efficient vehicle following American Control Conference · 2013 10.1109/acc.2013.6580024
  5. Minimum Fuel Control Strategy in Automated Car-Following Scenarios IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2012 10.1109/tvt.2012.2183401
  6. Eco-driving at signalized intersections using V2I communication 2011 10.1109/itsc.2011.6083084
  7. Calculation of the minimum-fuel driving control based on Pontryagin’s maximum principle Transportation Research Part D Transport and Environment · Elsevier BV · 2013 10.1016/j.trd.2013.05.004
  8. Look-ahead control for heavy trucks to minimize trip time and fuel consumption Control Engineering Practice · Elsevier BV · 2008 10.1016/j.conengprac.2008.07.005
  9. Reinforcement learning and adaptive dynamic programming for feedback control IEEE Circuits and Systems Magazine · Institute of Electrical and Electronics Engineers · 2009 10.1109/mcas.2009.933854
  10. Optimal control to minimize trip time and energy consumption in electric vehicles 2011 10.1109/vppc.2011.6043133
  11. Cruise Controller with Fuel Optimization Based on Adaptive Nonlinear Predictive Control SAE International journal of passenger cars. Electronic and electrical systems · SAE International · 2016 10.4271/2016-01-0155
  12. 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
  13. Adaptive Nonlinear Model Predictive Cruise Controller: Trailer Tow Use Case SAE technical papers on CD-ROM/SAE technical paper series · 2017 10.4271/2017-01-0090
  14. Safe Model-based Reinforcement Learning with Stability Guarantees Neural Information Processing Systems · 2017
  15. 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
  16. Application and Evaluation of the Reinforcement Learning Approach to Eco-Driving at Intersections under Infrastructure-to-Vehicle Communications Transportation Research Record Journal of the Transportation Research Board · SAGE Publishing · 2018 10.1177/0361198118796939
  17. Fuel-Optimal Periodic Control of Passenger Cars in Cruise Based on Pontryagin’s Minimum Principle IFAC-PapersOnLine · Elsevier BV · 2018 10.1016/j.ifacol.2018.10.123
  18. Stochastic Optimal Energy Management based on Q-Learning for Hybrid Electric Vehicles 2018
  19. Model-Based Reinforcement Learning for Atari arXiv (Cornell University) · Cornell University · 2019 10.48550/arxiv.1903.00374
  20. Synthesis of Pontryagin's Maximum Principle Analysis for Speed Profile Optimization of All-Electric Vehicles Journal of Dynamic Systems Measurement and Control · ASM International · 2019 10.1115/1.4043117
  21. Ecological Adaptive Cruise Control for Vehicles With Step-Gear Transmission Based on Reinforcement Learning IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2019 10.1109/tits.2019.2947756
  22. Meta-Deep Q-Learning for Eco-Routing 2019 10.1109/cavs.2019.8887764
  23. A Study of Using a Reinforcement Learning Method to Improve Fuel Consumption of a Connected Vehicle with Signal Phase and Timing Data SAE technical papers on CD-ROM/SAE technical paper series · 2020 10.4271/2020-01-0888
  24. Comparative Analysis of Energy Management Strategies for HEV: Dynamic Programming and Reinforcement Learning IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2986373
  25. Online Data-Driven Energy Management of a Hybrid Electric Vehicle Using Model-Based Q-Learning IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2992062
  26. Safe Model-based Reinforcement Learning with Stability Guarantees arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1705.08551