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

Implementation of real-time energy management strategy based on reinforcement learning for hybrid electric vehicles and simulation validation

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Zehui Kong — National Engineering Laboratory for Electric Vehicles, School of Mechanical Engineering, Institute of Technology, Beijing, China
  2. Yuan Zou — National Engineering Laboratory for Electric Vehicles, School of Mechanical Engineering, Institute of Technology, Beijing, China
  3. Teng Liu — National Engineering Laboratory for Electric Vehicles, School of Mechanical Engineering, Institute of Technology, Beijing, China
DOI
10.1371/journal.pone.0180491
저널
PLoS ONE
발행년도
2017
발행기관
Public Library of Science
피인용수
22
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pone.0180491
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W2733126270

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

To further improve the fuel economy of series hybrid electric tracked vehicles, a reinforcement learning (RL)-based real-time energy management strategy is developed in this paper. In order to utilize the statistical characteristics of online driving schedule effectively, a recursive algorithm for the transition probability matrix (TPM) of power-request is derived. The reinforcement learning (RL) is applied to calculate and update the control policy at regular time, adapting to the varying driving conditions. A facing-forward powertrain model is built in detail, including the engine-generator model, battery model and vehicle dynamical model. The robustness and adaptability of real-time energy management strategy are validated through the comparison with the stationary control strategy based on initial transition probability matrix (TPM) generated from a long naturalistic driving cycle in the simulation. Results indicate that proposed method has better fuel economy than stationary one and is more effective in real-time control.

본문 43,001자

본문 펼치기
~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0180491&domain=pdf&date_stamp=2017-07-03)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0180491&domain=pdf&date_stamp=2017-07-03)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0180491&domain=pdf&date_stamp=2017-07-03)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0180491&domain=pdf&date_stamp=2017-07-03)</u>~~ ~~<u>[a1111111111](http://crossmark.crossref.org/dialog/?doi=10.1371/journal.pone.0180491&domain=pdf&date_stamp=2017-07-03)</u>~~ OPEN ACCESS Citation: Kong Z, Zou Y, Liu T (2017) Implementation of real-time energy management strategy based on reinforcement learning for hybrid electric vehicles and simulation validation. PLoS [ONE 12(7): e0180491. https://doi.org/10.1371/](https://doi.org/10.1371/journal.pone.0180491) [journal.pone.0180491](https://doi.org/10.1371/journal.pone.0180491) Editor: Xiaosong Hu, Chongqing University, CHINA Received: April 6, 2017 Accepted: June 15, 2017 Published: July 3, 2017 Copyright: © 2017 Kong et al. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which](http://creativecommons.org/licenses/by/4.0/) permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data Availability Statement: All relevant data are within the paper and its Supporting Information files. Funding: This work was supported by the National Nature Science Foundation of China (Grant 51375044), University Science Introduction 111 Project (B12022), and Defense Basic Research Project (B20132010). Competing interests: The authors have declared that no competing interests exist. RESEARCH ARTICLE # Implementation of real-time energy management strategy based on reinforcement learning for hybrid electric vehicles and simulation validation Zehui Kong, Yuan Zou*, Teng Liu National Engineering Laboratory for Electric Vehicles, School of Mechanical Engineering, Institute of Technology, Beijing, China - zouyuan@bit.edu.cn ## Abstract To further improve the fuel economy of series hybrid electric tracked vehicles, a reinforce ment learning (RL)-based real-time energy management strategy is developed in this paper. In order to utilize the statistical characteristics of online driving schedule effectively, a recursive algorithm for the transition probability matrix (TPM) of power-request is derived. The reinforcement learning (RL) is applied to calculate and update the control policy at regu lar time, adapting to the varying driving conditions. A facing-forward powertrain model is built in detail, including the engine-generator model, battery model and vehicle dynamical model. The robustness and adaptability of real-time energy management strategy are vali dated through the comparison with the stationary control strategy based on initial transition probability matrix (TPM) generated from a long naturalistic driving cycle in the simulation. Results indicate that proposed method has better fuel economy than stationary one and is more effective in real-time control. 1. Introduction The hybrid electric vehicles (HEVs) are booming rapidly as a solution to the depletion of fossil fuel and severe pollution of air condition. Due to the cooperation of a battery pack and the internal combustion engine, the vehicle powertrain allows the engine to avoid operating at low load with poor efficiency, and the fuel economy and emission can be improved significantly. However, the flexibility of power split also makes energy management problem more challenging. Energy management strategy (EMS) plays a crucial role in trade-off among performance, fuel economy and emission of HEVs. Numerous studies have been conducted in the energy management of HEVs [1]. Generally, energy management strategies of HEVs are classified into rule-based and optimization-based control strategy [2,3]. The rule-based strategy is widely used in practice due to the straightforward implementation and high computation efficiency. Jalil proposed a rule-based energy management strategy to determine the power split between the engine and battery by setting thresholds [4]. Trovão presented a new rule-based energy [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 1 / 16 Implementation of real-time energy management for HEVs management strategy integrating meta-heuristic optimization for a mutilevel EMS in a electric vehicle [5]. To further improve the performance of energy management system, an adaptive fussy logic controller was used to calibrate the operating points and key parameters to minize the fuel consumption according to the driving cycles [6]. However, the performance of any ruel-based strategy is highly dependent on the proper design of the control rules, which usually depends on the enginenering experience. Therefore, many researchers make more efforts to optimization-based energy strategy. With a prior knowledge of the driving cycles, dynamic programming (DP) receives a optimal result and determines the best fuel economy. However, the real-time and robust performance of this strategy cannot be guaranteed [7]. Instead, DP is implemented offline and served as a benchmark to explore the potential of fuel economy [8]. To make on-line optimization possible, equivalent consumption minimization strategy (ECMS) and model predictive control (MPC) have been adopted to develop energy management [9,10]. ECMS is calculated based on the assumption that the variation of _SOC_ (state of charge of the batttery) is neligible due to the slow dynamics compared to other dynamics in HEV [11]. The equivalence factor of ECMS has an important effect on the control performance. However, the optimal value should be determined offline according to a specific cycle [12]. MPC is a promising method for dynamic model due to the prediction ability in a finite future time-horizon. A MPC-based strategy is developed by predicting the road slope. The results show that the method not only maintains the battery _SOC_ within its boundary, but also achieves better fuel economy [13]. A Pontryagain’s minimum principle (PMP) is used to find the optimal energy management strategy through combining the power prediction based on the traffic information, such as the maximum acceleration, average velocity and maximum velocity [14]. However, the performance of MPC depends on the prediction accuracy heavily, and varying weather conditions and drving styles make it difficult to guarantee the accuracy. The exsiting mehods mostly considered a single objective to optimize, such as fuel consuption, while disregarding many onther concerns. The convex multicriteria optimization approach was recently harnessed to optimize mutiple objectives of plug-in hybride electric vehicles, including the battery sizing, charging and on-road power management [15]. Ref. [16] studied the optimal tradeoff between the fuel-cell durability and hydrogen economy for a fuelcell hybrid bus. Ref. [17] investgates the interactions among three control tasks, such as charging, on-road power management and battery degradation mitigation in samrt grid environment, aiming to minimize the daily operational expense of a PHEV. A high-efficiency convex programming framework is harnessed to minimize daily CO2 emissions throgh integrating renewable energy and system-level hybrid powertrain optimization [18]. Several novel algorithms for energy management of HEVs have been developed to realize online optimization for multiple types of HEVs, such as the game theory [19], stochastic dynamic programming (SDP) [20], and reinforcement learning (RL) [21]. Wang optimized the power management problem for a hybrid electric vehicle based on SDP algorithm. However, heavy computation burden makes it difficult to implement online [22]. In numerous areas, RL is a heuristic learning method. Ref. [23] applied RL in the energy management strategy for an electric hybrid tracked vehicle, and compared the performance of RL and SDP. The results indicate that RL algorithm has a better performance and a shorter computation time. However, the RL doesn’t update online and fails to maintain the optimal performance when the driving cycles vary. This paper proposes a real-time energy management strategy for a small series hybrid electric tracked vehicle. A recursive algorithm is developed to compute the transition probability matrix (TPM) of power-request when the new statistical characteristics of online driving cycle are considerd. RL algorithm is applied to obtain the optimal control policy based on updating TPM of power-request at the regular intervals. A facing-forward simulation model is [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 2 / 16 Implementation of real-time energy management for HEVs estabalised to evaluate RL-based real-time energy management strategy through the comparison with RL-stationary control strategy. Simulation results show that the proposed method achieves better fuel economy than RL-stationary one and is feasible for real-time control. 2. Modelling of hybrid electric tracked vehicle 2.1 Vehicle configuration and parameters The structure of the hybrid electric tracked vehicle is illustrated in Fig 1. An engine-generatorrectifier set (EGS) and a battery pack supply the electricity to dual motors, propelling the sprocket independently. The engine gives 50 kW maximum power and 93 Nm maximum torque within the speed range from 1200 r/min to 6200 r/min. The generator offers 107 Nm maximum torque within the speed range from 0 r/min to 6400 r/min and 40 kW maximum power. The 37.6 Ah lithium-ion phosphate battery pack gives 307 rated voltage. The essential parameters of the major sub-systems are listed in Table 1. 2.2 Vehicle and powertrain modelling The vehicle is taken as a concentrated mass. The dynamical equation of the vehicle is expressed as _ma_ ¼ _FTR_ �ð _mg_ siny þ _mgf_ cosy þ _CDAvave_ 2 _=_ 21 _:_ 15Þ ð1Þ where _FTR_ means the tractive force; _m_ is the curb weight, and _a_ is the vehicle acceleration; _g_ represents the gravity acceleration; _θ_ means the road slope angle; _f_ is the rolling resistance coefficient; _CD_ is the aerodynamic drag coefficient; _A_ represents the front area of the vehicle; _vave_ means the average speed of the two tracks and is determined by _vave_ = ( _v_ 1+ _v_ 2)/2; _v_ 1, _v_ 2 are the speed of the two tracks, respectively. The demand power to propel the vehicle, denoted by _Pdem_, is calculated by 8 >>>>>>>>>>>>< >>>>>>>>>>>>: - ¼ <sup>_<u>v</u>_</sup> <sup><u>1 �</u></sup> <sup>_<u>v</u>_</sup> <sup><u>2</u></sup> _B_ _Pdem_ ¼ _FTR_ - _vave_ þ _M_ - _M_ ¼ <sup>1</sup> 4 <sup>_utmgL_</sup> _ut_ ¼ _u_ max �ð0 _:_ 925 þ 0 _:_ 15 _R=B_ Þ� 1 ð2Þ _R_ ¼ <sup>_<u>vave</u>_</sup> joj where _Pdem_ consists of two parts, straight power and steering power. _M_ is the resisting yaw moment; _ω_ represents the rotational speed; _ut_ is the lateral resistance coefficient; _R_ is the turning radius; _L_ is behalf of the contacting track width, and _B_ means the tread of the vehicle; _umax_ is the maximum steering resistance coefficient with the radius of braking steering, _R_ = _B_ /2. To analyze and evaluate the EGS’s fuel economy, the equivalent electric circuit is established in Fig 2, which consists of the diesel engine, permanent magnet generator, and rectifier. The output voltage and electromagnetic torque, _Ug_ and _Tg_ of the generator are determined as [24] ( _Ug_ ¼ _Ke_ - _g_ - _Kx_ - _gIg_ _Tg_ ¼ _KeIg_ - _KxIg_ <sup>2</sup> ð3Þ where _ωg_ is the angular velocity; _Keωg_ represents the electromotive force; _Kx_ is the equivalent resistance coefficient and _Kx_ = 3 _PL_ <sup>_g_</sup> / _π_ ; _L_ <sup>_g_</sup> is the synchronous inductance of the armature, and _P_ is the number of poles; _Ig_ and _Ug_ are the current and output voltage of the generator. [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 3 / 16 Implementation of real-time energy management for HEVs <u>Fig 1.</u> <u>The powertrain structure.</u> [https://doi.org/10.1371/journal.pone.0180491.g001](https://doi.org/10.1371/journal.pone.0180491.g001) The fuel consumption of the vehicle is determined by the engine torque _Teng_ and speed _neng_ . The speed of the engine is determined as follows. 8 < : <sup><u>p</u></sup> _<u>dn</u>_ <u>g</u> 30 _dt_ ð _J_ eng þ _J_ gÞ <sup><u>p</u></sup> ð4Þ ð _J_ eng þ _J_ gÞ <sup><u>p</u></sup> 30 _dt_ <sup>¼</sup> <sup>_T_</sup> <sup>eng �</sup> <sup>_T_</sup> <sup>g</sup> _neng_ ¼ _ng_ where _ng_, _neng_ denote the rotational speed of the generator and engine, respectively; _J_ eng and _J_ g are the moments of inertia for the engine and generator; _Teng_ is the torque of engine and _Tg_ is the electromagnetic torque of the generator. An internal-resistance model is used to reflect _SOC_ dynamics as [25] 8 >< >: _<u>d</u>_ <u>SOC</u> _<u>Ib</u>_ ¼ � _dt_ _Cb_ _SOC_ min - _SOC_ ð _t_ Þ � _SOC_ max _<u>d</u>_ <u>SOC</u> where _Cb_ is the battery capacity; _Ib_ means the battery current which is calculated by ð5Þ ð6Þ 8 >< >: _Ib_ ¼ <sup>ð</sup> <sup>_<u>VOC</u>_</sup> <sup>�</sup> pf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f _<u>VOC</u>_ 2 - 4 _<u>RintPb</u>_ f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f _<u>VOC</u>_ 2 - 4 _<u>RintPb</u>_ f f f f f f f f f f f f f f _Ib_ ¼ <sup>ð</sup> <sup>_<u>VOC</u>_</sup> <sup>�</sup> _<u>VOC</u>_ 2 - 4 _<u>RintPb</u>_ Þ 2 _Rint_ _Ib;_ min - _Ib_ ð _t_ Þ � _Ib;_ max Table 1. Parameters of the major sub-systems. <u>Symbol</u> <u>Parameter</u> <u>Value</u> _<u>m</u>_ <u>Curb Weight</u> <u>2500kg</u> _<u>r</u>_ <u>Sprocket radius</u> <u>0.15m</u> _<u>f</u>_ <u>Rolling coefficient</u> <u>0.05</u> _<u>A</u>_ <u>Front area</u> <u>0.7m</u> <sup>2</sup> _<u>CD</u>_ <u>Air drag coefficient</u> <u>0.6</u> _<u>i</u>_ <u>0</u> <u>Ratio from motors to sprockets</u> <u>41/6</u> _<u>B</u>_ <u>Tread of the vehicle</u> <u>1.1m</u> _<u>Ke</u>_ <u>Electromotive force parameter</u> <u>0.887Vsard-2</u> _<u>Kx</u>_ <u>Equivalent resistance coefficient</u> <u>0.00105NmA</u> <sup>-2</sup> [https://doi.org/10.1371/journal.pone.0180491.t001](https://doi.org/10.1371/journal.pone.0180491.t001) [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 4 / 16 Implementation of real-time energy management for HEVs <u>Fig 2.</u> <u>Equivalent electric circuit of the EGS.</u> [https://doi.org/10.1371/journal.pone.0180491.g002](https://doi.org/10.1371/journal.pone.0180491.g002) where _VOC_ is the open circuit voltage; _Rint_ means the internal resistance of battery and _Pb_ is the output power of the battery. 2.3 Optimal energy management problem formulation Cost function is the trade-off of the fuel consumption and _SOC_ variation, ensuring that the final _SOC_ of battery stays at the same level of the initial value, expressed as follows _J_ ¼ Z _tf_ _t_ 0 ð _fuel_ ð _t_ Þ þ bð _SOC_ ð _t_ Þ � _SOCref_ Þ 2Þ _dt_ ð7Þ where _β_ represents the penalty factor, which is a positive weighting factor; _fuel_ is the fuel con sumption at time _t_ . The rate of flowing fuel mass _fuel_ <sup>�</sup> ð _t_ Þ is determined by engine torque _Teng_ and rotational speed _neng_ based on BSFC (braked specific fuel consumption) map, typically obtained through a bench test. The engine’s torque is used to regulate the power split between the EGS and battery to minimize the total fuel consumption. 3. Real-time energy management strategy 3.1 Online updating transition probability matrix (TPM) The power-request of the vehicle is calculated according to the Eq (2). Using the maximum likelihood estimation and nearest method, the transition probability matrix of the powerrequest is described as _pij_ ¼ <sup>_<u>Nij</u>_</sup> _Noi_ ¼ _N_ <sup>_<u>N</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>Þ</sup> Þ <sup>_=_</sup> _=_ <sup>_<u>k</u>_</sup> _k_ _N_ <sup>_<u>N</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>Þ</sup> Þ <sup>_=_</sup> _=_ <sup>_<u>k</u>_</sup> _k_ <sup>¼</sup> _F_ <sup>_<u>F</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>Þ</sup> Þ ð8Þ _F_ <sup>_<u>F</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>Þ</sup> Þ where _Nij_ denotes the transition numbers from state _xi_ to state _xj_, and _Noi_ is the total transition numbers initiated from state _xi_ ; _k_ means the number of transition; _Fij_ is the total frequency rate of transition event _fij_ from state _xi_ to state _xj_ and _Foi_ is the frequency rate of transition event _fi_ [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 5 / 16 Implementation of real-time energy management for HEVs initiated from state _xi_ . _fij_ ( _t_ ) = 1 if a transition is occurred from _xi_ to _xj_ at time instant _t_ ; _fi_ ( _t_ ) = 1 if there occurs a transition initiated from _xi_ at time instant _t_, otherwise, these take zero values. X _k_ _t_ ¼1 _fi_ ð _t_ Þ = _Ni_ ( _k_ ). The frequency rate _Fij_ and _Fi_ are calculated as fol Then lows: X _k_ _t_ ¼1 _fij_ ð _t_ Þ = _Nij_ ( _k_ ) and 8 >>>>< >>>>: _Foi_ ð _k_ Þ ¼ <sup>_<u>Noi</u>_</sup> <sup>ð</sup> <sup>_<u>k</u>_</sup> <sup>Þ</sup> <sup>_<u>oi</u>_</sup> <sup>ð</sup> <sup>_<u>k</u>_</sup> <sup>Þ</sup> ¼ <sup>1</sup> _k_ _k_ _Fij_ ð _k_ Þ ¼ <sup>_<u>Nij</u>_</sup> <sup>ð</sup> <sup>_<u>k</u>_</sup> <sup>Þ</sup> _k_ <sup>ð</sup> <sup>_<u>k</u>_</sup> <sup>Þ</sup> ¼ <sup><u>1</u></sup> _k_ _k_ _k_ X _k_ _fij_ ð _t_ Þ _t_ ¼1 X _k_ _fi_ ð _t_ Þ _t_ ¼1 and the recursive expressions are deduced [26]. 8 >>>>>>>>>>>>>< >>>>>>>>>>>>>: ¼ _Foi_ ð _k_ - 1Þ þ <sup><u>1</u></sup> _k_ <sup>½</sup> <sup>_fi_</sup> <sup>ð</sup> <sup>_k_</sup> <sup>Þ �</sup> <sup>_Foi_</sup> <sup>ð</sup> <sup>_k_</sup> <sup>�</sup> <sup>1Þ�</sup> _Fij_ ð _k_ Þ ¼ <sup><u>1</u></sup> _k_ X _k_ _t_ ¼1 _fij_ ð _t_ Þ ¼ <sup><u>1</u></sup> _k_ <sup>½ð</sup> <sup>_k_</sup> <sup>�</sup> <sup>1Þ</sup> <sup>_Fij_</sup> <sup>ð</sup> <sup>_k_</sup> <sup>�</sup> <sup>1Þ þ</sup> <sup>_fij_</sup> <sup>ð</sup> <sup>_k_</sup> <sup>Þ�</sup> _fij_ ð _t_ Þ ¼ <sup><u>1</u></sup> _k_ ð9Þ ð10Þ ¼ _Fij_ ð _k_ - 1Þ þ <sup>1</sup> _k_ <sup>½</sup> <sup>_fij_</sup> <sup>ð</sup> <sup>_k_</sup> <sup>Þ �</sup> <sup>_Fij_</sup> <sup>ð</sup> <sup>_k_</sup> <sup>�</sup> <sup>1Þ�</sup> _Foi_ ð _k_ Þ ¼ <sup><u>1</u></sup> _k_ X _k_ _t_ ¼1 _fi_ ð _t_ Þ ¼ <sup><u>1</u></sup> _k_ <sup>½ð</sup> <sup>_k_</sup> <sup>�</sup> <sup>1Þ</sup> <sup>_Foi_</sup> <sup>ð</sup> <sup>_k_</sup> <sup>�</sup> <sup>1Þ þ</sup> <sup>_fi_</sup> <sup>ð</sup> <sup>_k_</sup> <sup>Þ�</sup> _fi_ ð _t_ Þ ¼ <sup><u>1</u></sup> _k_ where 1/ _k_ is replaced by a constant _ψ_ ranging from 0 to 1, namely forgetting factor to determine the effective memory depth of historic driving cycle, and the forgetting factor _ψ_ is set to be 0.01 in this paper. By substituting the expression (10) into (8), the recursive algorithm of TPM is derived for online learning as follows: _pij_ ¼ _F_ <sup>_<u>F</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>Þ</sup> Þ _F_ <sup>_<u>F</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>Þ</sup> Þ <sup>¼</sup> _F_ <sup>_<u>F</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>�</sup> - <sup>1</sup> 1 <sup>Þ þ</sup> Þ þ <sup>c</sup> c <sup>½</sup> ½ <sup>_<u>f</u>_</sup> _f_ <sup>_<u>ij</u>_</sup> _i_ ð <sup>ð</sup> _k_ <sup>_<u>k</u>_</sup> Þ � <sup>Þ �</sup> _F_ <sup>_<u>F</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>�</sup> - <sup>1</sup> 1 <sup>Þ�</sup> Þ� ð11Þ _F_ <sup>_<u>F</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>�</sup> - <sup>1</sup> 1 <sup>Þ þ</sup> Þ þ <sup>c</sup> c <sup>½</sup> ½ <sup>_<u>f</u>_</sup> _f_ <sup>_<u>ij</u>_</sup> _i_ ð <sup>ð</sup> _k_ <sup>_<u>k</u>_</sup> Þ � <sup>Þ �</sup> _F_ <sup>_<u>F</u>_</sup> _oi_ <sup>_<u>ij</u>_</sup> <sup>ð</sup> ð <sup>_<u>k</u>_</sup> _k_ <sup>�</sup> - <sup>1</sup> 1 <sup>Þ�</sup> Þ� 3.2 RL-based real-time energy management strategy The driving schedule is considered as a finite Markov decision process, which comprises a set of state variables _st_ 2 _S_ = { _SOC_ ( _t_ ), _ng_ ( _t_ )|0.6� _SOC_ ( _t_ )�0.9, 0� _ng_ ( _t_ )�6400}, a set of actions _at_ 2 _A_ = { _Teng_ ( _t_ )|0� _Teng_ ( _t_ )�93}, a reward function _rt_ 2 _Reward_ = { _fuel_ ( _st_, _at_ )}. Corresponding to the state _s_ and action _a_, the optimal value of the state _st_ is defined as the expected finite discounted sum of the rewards, as follows [27]: _V_ <sup>�</sup> ð _st_ Þ ¼ minp _E_ ð X _t_ ¼ _tf_ g <sup>_t_</sup> _rt_ Þ _t_ ¼ _t_ 0 X ¼ min _at_ <sup>ð</sup> <sup>_rt_</sup> <sup>ð</sup> <sup>_st; at_</sup> <sup>Þ þ g</sup> ¼ min _at_ _t_ <sup>0ÞÞ</sup> <sup>8</sup> <sup>_s_</sup> _t_ <sup>2</sup> <sup>_S_</sup> ð12Þ _s_ <sup>0</sup> _t_ <sup>2</sup> <sup>_S_</sup> _s_ <sup>0</sup> _t_ _pst_ _at_ _;s_ 0 _t_ 0 _t_ <sup>_V_</sup> <sup>�ð</sup> <sup>_s_</sup> _t_ <sup>0</sup> where _π_ is a control policy, _γ_ 2[0, 1] is a discount factor; _p_ means the probability of the occurrence of a transition from state _st_ to _st’_ under action _at_ . And the optimal control policy can be [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 6 / 16 Implementation of real-time energy management for HEVs decided by the function X p <sup>�</sup> ð _st_ Þ ¼ arg min _at_ ¼ arg minð _at_ _s_ <sup>0</sup> _t_ <sup>2</sup> <sup>_S_</sup> _E_ ð X _t_ ¼ _tf_ g <sup>_t_</sup> _rt_ Þ _t_ ¼ _t_ 0 ð13Þ ð _rt_ ð _st; at_ Þ þ g _t_ <sup>0ÞÞ</sup> _pst_ _at_ _;s_ 0 _t_ _s_ 0 _t_ <sup>_V_</sup> <sup>�ð</sup> <sup>_s_</sup> _t_ <sup>0</sup> In addition, the _Q_ value _Q_ ( _st_, _at_ ) and optimal value _Q_ - corresponding to state _st_ and action _at_ are defined as follows _s_ 0 _t_ <sup>_Q_</sup> <sup>ð</sup> <sup>_s_</sup> _t_ <sup>0</sup> 8 >>>< >>>: X _s_ <sup>0</sup> _t_ <sup>2</sup> <sup>_S_</sup> <sup>0</sup> _t_ <sup>Þð</sup> <sup>_s_</sup> <sup>0</sup> <sup>_; a_</sup> <sup>0</sup> _t_ <sup>0</sup> _t_ <sup>Þ</sup> _Q_ ð _st; at_ Þ ¼ _rt_ ð _st; at_ Þ þ g _t_ <sup>0</sup> <sup>_; a_</sup> <sup>0</sup> _t_ _s_ <sup>0</sup> _t_ _pst_ _at_ _;s_ 0 _t_ <sup>0</sup> _t_ <sup>2</sup> <sup>_S_</sup> X ð14Þ _Q_ <sup>�</sup> ð _st; at_ Þ ¼ _rt_ ð _st; at_ Þ þ g <sup>0</sup> _t_ <sup>Þ</sup> <sup>min</sup> _a_ <sup>0</sup> <sup>_Q_</sup> <sup>�ð</sup> <sup>_s_</sup> _t_ <sup>0</sup> _t_ <sup>0</sup> <sup>_; a_</sup> <sup>0</sup> _t_ _pst_ _at_ _;s_ 0 _t_ 0 _t_ <sup>min</sup> _a_ <sup>0</sup> Finally, the updating rule of _Q_ -learning and optimal control strategy are defined as [28, 29]: 8 < : min _a_ <sup>0</sup> <sup>_Q_</sup> <sup>ð</sup> <sup>_s_</sup> _t_ <sup>0</sup> _Q_ ð _st; at_ Þ≔ _Q_ ð _st; at_ Þ þ að _rt_ þ g min _a_ <sup>0</sup> <sup>_s_</sup> _t_ <sup>0</sup> <sup>þ</sup> <sup>_a_</sup> _t_ <sup>0</sup> _t_ <sup>0Þ �</sup> <sup>_Q_</sup> <sup>ð</sup> <sup>_s_</sup> _t_ <sup>_; a_</sup> _t_ <sup>ÞÞ</sup> p <sup>�</sup> ð _st_ Þ ¼ arg min _at_ p <sup>�</sup> ð _st_ Þ ¼ arg min ð15Þ _Q_ <sup>�</sup> ð _st; at_ Þ where _γ_ 2[0, 1], _α_ 2[0, 1] are respectively discount factor and decayed factor in _Q_ -learning. The computational flowchart of RL is listed in the pseud code format as shown in Fig 3. Through adopting _Q_ -learning algorithm above, the stationary control policy is derived based on initial TPM generated from a long naturalistic driving cycle as shown in Fig 4. This paper proposes a real-time energy management strategy, aiming at improving the adaptability to change of power-request characteristics. Firstly, the updating TPM of power-request is acquired according to Eq (11) in real-time. Then at set intervals, the control policy is <u>Fig 3.</u> <u>The pseud code of</u> _<u>Q</u>_ <u>-learning.</u> [https://doi.org/10.1371/journal.pone.0180491.g003](https://doi.org/10.1371/journal.pone.0180491.g003) [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 7 / 16 Implementation of real-time energy management for HEVs <u>Fig 4.</u> <u>A long naturalistic driving cycle.</u> [https://doi.org/10.1371/journal.pone.0180491.g004](https://doi.org/10.1371/journal.pone.0180491.g004) recalculated by using _Q_ -learning algorithm, adapting the controller to the varying driving schedules. Table 2 lists the fuel consumption and calculation time in cases of choosing different time interval. The results show that the fuel consumptions have no big difference, with 50 s, 100 s, 200 s and 300 s selected as the time interval. When fuel consumptions are similar, the case of longer time interval can reduce the updating number of control policy and calculation time. Therefore, the time interval of updating control policy is set to be 300 s in this paper. And the design process of the real-time energy management strategy is depicted in Fig 5. 4. Simulation and validation The simplified electric coupling model of powertrain for hybrid electric tracked vehicle is given in Fig 6, where the power provided from EGS and battery should keep balance with the power-request of two driving motors. Based on the electric coupling model and powertrain model in Section 2, a facing-forward detailed model for the hybrid electric tracked vehicle is established in the Simulink environment, consisting of the engine-generator model, power battery pack, two motors, vehicle dynamic model and controller as shown in Fig 7. The proportional-integral driver model is adopted to adjust the toques of both motors to follow the target driving cycles. The controller determines the throttle according to the control map obtained through RL algorithm when the states of vehicle feedbacks to the controller. The RLbased real-time energy management strategy and stationary energy management strategy are applied into the facing-forward simulation model for the same driving cycle, respectively. The control map remains unchanged in the case of stationary strategy while the control map is updated every 300s in the case of real-time strategy. The initial values of the state variables _ng_ and _SOC_ are taken as 1200 rpm and 0.75, respectively. Fig 8 shows the experimental driving schedule used in the simulation to validate the proposed method. The _SOC_ trajectories and power split between EGS and battery for the experimental driving schedule are illustrated in Fig 9 and Fig 10. Final _SOC_ of two methods were Table 2. Fuel consumption. <u>Time interval (s)</u> <u>Fuel consumption(g)</u> <u>Relative increase</u> <u>Calculation time (h)</u> <u>Updating number</u> <u>50</u> <u>430.2</u> <u>—</u> <u>9.5</u> <u>19</u> <u>100</u> <u>430.8</u> <u>0.1%</u> <u>4.5</u> <u>9</u> <u>200</u> <u>432.0</u> <u>0.4%</u> <u>2</u> <u>4</u> <u>300</u> <u>432.5</u> <u>0.5%</u> <u>1.5</u> <u>3</u> <u>400</u> <u>445.8</u> <u>3.6%</u> <u>1</u> <u>2</u> [https://doi.org/10.1371/journal.pone.0180491.t002](https://doi.org/10.1371/journal.pone.0180491.t002) [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 8 / 16 Implementation of real-time energy management for HEVs <u>Fig 5.</u> <u>Process of real-time energy management strategy design.</u> [https://doi.org/10.1371/journal.pone.0180491.g005](https://doi.org/10.1371/journal.pone.0180491.g005) close to initial _SOC_ value due to the final constraints for _SOC_ value. During the first 300 seconds, two control strategies are based on the same TPM, so _SOC_ trajectories change almost in the same way. However, when the driving condition changes, the control policy is recalculated at 300 s for real-time control strategy. And the same process is triggered at 600 s and 900 s. Similarly, the power split changes correspondingly as shown in Fig 10. For the sake of eliminating the influence of the deviation between the final _SOC_ on fuel consumption, an _SOC_ -correction method [30] is utilized to compensate for the fuel consumption. Table 3 shows the fuel consumption of two methods after _SOC_ correction. The fuel consumption of RL-based realtime strategy is 6% lower than that of stationary strategy. Fig 11 depicts the working points of <u>Fig 6.</u> <u>The simplified electric coupling model.</u> [https://doi.org/10.1371/journal.pone.0180491.g006](https://doi.org/10.1371/journal.pone.0180491.g006) [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 9 / 16 Implementation of real-time energy management for HEVs <u>Fig 7.</u> <u>The facing-forward simulation model.</u> [https://doi.org/10.1371/journal.pone.0180491.g007](https://doi.org/10.1371/journal.pone.0180491.g007) the engine for the experimental driving schedule. There are more points in the optimal fuel consumption area in the real-time strategy than that of stationary one. To further explore the adaptability and robustness of RL-based real-time strategy, the same procedure is performed for the validation driving schedule in the field test (shown in Fig 12). The _SOC_ trajectories and working points of engine are shown in Fig 13 and Fig 14. Because of the constraint for _SOC_ value, the final _SOC_ values are close to the initial _SOC_ value. Table 4 lists the fuel consumption after _SOC_ correction. Due to utilizing the newest characteristics of driving schedule, the RL-based real-time control strategy can reduce about 8% fuel consumption than stationary one. The reason why the fuel improvement is bigger in the later simulation <u>Fig 8.</u> <u>The experimental driving schedule.</u> [https://doi.org/10.1371/journal.pone.0180491.g008](https://doi.org/10.1371/journal.pone.0180491.g008) [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 10 / 16 Implementation of real-time energy management for HEVs <u>Fig 9.</u> _<u>SOC</u>_ <u>trajectory in different strategies.</u> [https://doi.org/10.1371/journal.pone.0180491.g009](https://doi.org/10.1371/journal.pone.0180491.g009) than the former is that the driving condition during the whole validation driving schedule is similar, as presented in Fig 12, and the control policy based on updating TPM at 600 s has already included the statistical information of whole driving schedule. The results suggest that the real-time control strategy has a good performance of robustness and enable to adapt to different driving cycles better. The three different driving schedules were adopted to validate the robustness of the RLbased real-time energy management strategy again, as shown in Fig 15. Table 5 lists the fuel consumption after _SOC_ -correction. The real-time method, which utilizes the newest driving characteristics, gives superior fuel economy to the stationary one. 5. Conclusion This paper proposes a real-time energy management strategy based on reinforcement learning for a hybrid electric tracked vehicle. A recursive algorithm for the transition probability matrix <u>Fig 10.</u> <u>Power split.</u> <u>a1 is power of the engine, and a2 is the power of the battery.</u> [https://doi.org/10.1371/journal.pone.0180491.g010](https://doi.org/10.1371/journal.pone.0180491.g010) [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 11 / 16 Implementation of real-time energy management for HEVs Table 3. Fuel consumption for the experimental driving schedule. <u>Algorithms</u> <u>Fuel consumption(g)</u> <u>Relative increase</u> <u>Final SOC</u> <u>RL online</u> <u>430.856</u> <u>—</u> <u>0.7497</u> <u>Stationary</u> <u>456.707</u> <u>6%</u> <u>0.7522</u> [https://doi.org/10.1371/journal.pone.0180491.t003](https://doi.org/10.1371/journal.pone.0180491.t003) <u>Fig 11.</u> <u>Working points of the engine.</u> [https://doi.org/10.1371/journal.pone.0180491.g011](https://doi.org/10.1371/journal.pone.0180491.g011) <u>Fig 12.</u> <u>The validation driving schedule.</u> [https://doi.org/10.1371/journal.pone.0180491.g012](https://doi.org/10.1371/journal.pone.0180491.g012) (TPM) is developed to make use of new statistical characteristics of online driving schedule. Based on the updating transition probability matrix (TPM), the control policy is calculated and updated at regular intervals to adapt to different driving conditions. A detailed facing-forward simulation model including the engine-generator model, battery model and vehicle [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 12 / 16 Implementation of real-time energy management for HEVs <u>Fig 13.</u> <u>SOC trajectories for the validation driving schedule.</u> [https://doi.org/10.1371/journal.pone.0180491.g013](https://doi.org/10.1371/journal.pone.0180491.g013) <u>Fig 14.</u> <u>Working points of the engine.</u> [https://doi.org/10.1371/journal.pone.0180491.g014](https://doi.org/10.1371/journal.pone.0180491.g014) Table 4. Fuel consumption for the validation driving schedule. <u>Algorithms</u> <u>Fuel consumption(g)</u> <u>Relative increase</u> <u>Final SOC</u> <u>RL online</u> <u>584.275</u> <u>—</u> <u>0.7526</u> <u>Stationary</u> <u>635.865</u> <u>8%</u> <u>0.7493</u> [https://doi.org/10.1371/journal.pone.0180491.t004](https://doi.org/10.1371/journal.pone.0180491.t004) [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 13 / 16 Implementation of real-time energy management for HEVs <u>Fig 15.</u> <u>The three different driving schedules.</u> [https://doi.org/10.1371/journal.pone.0180491.g015](https://doi.org/10.1371/journal.pone.0180491.g015) Table 5. Fuel consumption for three different driving schedules. <u>Cycle</u> <u>Algorithms</u> <u>Fuel consumption(g)</u> <u>Relative increase</u> <u>Final SOC</u> Cycle1 <u>RL online</u> <u>903.6</u> <u>—</u> <u>0.6958</u> <u>Stationary</u> <u>960.4</u> <u>6.3%</u> <u>0.7012</u> Cycle2 <u>RL online</u> <u>1097.3</u> <u>—</u> <u>0.6923</u> <u>Stationary</u> <u>1176.1</u> <u>7.2%</u> <u>0.6915</u> Cycle <u>RL online</u> <u>1245.5</u> <u>—</u> <u>0.7021</u> <u>Stationary</u> <u>1320.8</u> <u>6.0%</u> <u>0.6902</u> [https://doi.org/10.1371/journal.pone.0180491.t005](https://doi.org/10.1371/journal.pone.0180491.t005) dynamical model is built. In order to validate the effectiveness and adaptability of real-time control policy, the simulation for two driving schedules are operated. The results indicate that real-time energy management strategy has a superior fuel economy than stationary one, and is more effective in real-time control requirement. Supporting information [S1 Dataset. The data for long naturalistic driving schedule.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0180491.s001) (MAT) [S2 Dataset. The data for experimental driving schedule.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0180491.s002) (MAT) [S3 Dataset. The data for validation driving schedule.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0180491.s003) (MAT) [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 14 / 16 Implementation of real-time energy management for HEVs [S4 Dataset. The data for another three driving schedules.](http://www.plosone.org/article/fetchSingleRepresentation.action?uri=info:doi/10.1371/journal.pone.0180491.s004) (RAR) Acknowledgments This work was supported by the National Nature Science Foundation of China (Grant 51375044), University Talent Introduction 111 Project (B12022), and Defense Basic Research Project (B20132010). Author Contributions Conceptualization: ZHK YZ TL. Funding acquisition: YZ. Methodology: ZHK YZ TL. Project administration: ZHK YZ. Software: ZHK YZ TL. Supervision: ZHK YZ. Validation: ZHK YZ TL. Visualization: ZHK YZ. Writing – original draft: ZHK YZ. Writing – review & editing: ZHK YZ. References 1. Castaings A, Lhomme W, Trigui R, Bouscayrol A. Comparison of energy management strategies of a battery/supercapacitors system for electric vehicle under real-time constraints. Appl Energy. 2016; 163:190–200. 2. Panday A, Bansal HO. A Review of Optimal Energy Management Strategies for Hybrid Electric Vehicle. Int J Vehicular Technol. 2014; 2014:1–19. 3. Hou C, Ouyang M, Xu L, Wang H. Approximate Pontryagin’s minimum principle applied to the energy management of plug-in hybrid electric vehicles. Appl Energy. 2014; 115:174–189 4. Jalil N, Kheir NA, Salman M. A rule-based energy management strategy for a series hybrid vehicle. In: Proceedings of the 1997 American Control Conference (Cat. No.97CH36041); 1997; 1:689–693. 5. Trovão JP, Pereirinha PG, Jorge HM, Antunes CH. A multi-level energy management system for multisource electric vehicles–An integrated rule-based meta-heuristic approach. Appl Energy. 2013; 105:304–318. 6. John R. I., Hissel D. A survey-based type-2 fuzzy logic system for energy management in hybrid electrical vehicles. Inf Sci. 2012; 190(3):192–207. 7. Lin CC, Peng H, Grizzle JW, Kang JM. Power management strategy for a parallel hybrid electric truck. IEEE Trans Control Syst Technol. 2003; 11(6):839–849. 8. Delprat S, Lauber J, Guerra TM, Rimaux J. Control of a parallel hybrid powertrain: Optimal control. IEEE Trans Vehicular Technol. 2004; 53(3):872–881. 9. Bassam A., Phillips A., Turnock S., Wilson P. An improved energy management strategy for a hybrid [fuel cell/battery passenger vessel. Int J Hydrogen Energy, 2016 Aug. https://doi.org/10.1016/j.ijhydene.](https://doi.org/10.1016/j.ijhydene.2016.08.049) [2016.08.049](https://doi.org/10.1016/j.ijhydene.2016.08.049) 10. Xiang C. L., Feng D., Wang W. D., He W., Qi Y. L. MPC-based energy management with adaptive Markov-chain prediction for a dual-mode hybrid electric vehicle. Sci China Technol Sci, 2017:1–12. [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 15 / 16 Implementation of real-time energy management for HEVs 11. Hemi H, Ghouili J, Cheriti A. A real time energy management for electrical vehicle using combination of rule-based and ECMS. IEEE Electrical Power Energy Conf (EPEC) 2014; p. 1–6; 12. Zhang P, Yan F, Du C. A comprehensive analysis of energy management strategies for hybrid electric vehicles based on bibliometrics. Renewable Sustainable Energy Rev. 2015; 48:88–104. 13. Zeng X, Wang J. A Parallel Hybrid Electric Vehicle Energy Management Strategy Using Stochastic Model Predictive Control With Road Grade Preview. IEEE Trans Control Syst Technol. 2015; 23 (6):2416–2423. 14. Feng T, Yang L, Gu Q, Hu Y, Yan T, Yan B. A Supervisory Control Strategy for Plug-In Hybrid Electric Vehicles Based on Energy Demand Prediction and Route Preview. IEEE Trans Vehicular Technol.2015; 64(5):1691–1700. 15. Hu X., Moura S. J., Murgovski N., Bo E., Cao D. Integrated Optimization of Battery Sizing, Charging, and Power Management in Plug-In Hybrid Electric Vehicles. IEEE Trans Control Syst Technol. 2016; 24(3):1036–1043. 16. Hu X., Jiang J., Bo E., Cao D. Advanced Power-Source Integration in Hybrid Electric Vehicles: Multicriteria Optimization Approach. IEEE Trans Ind Electron. 2015; 62(12):7847–7858. 17. Hu X, Martinez C M, Yang Y. Charging, power management, and battery degradation mitigation in plugin hybrid electric vehicles: A unified cost-optimal approach. Mech Syst Signal Process. 2017; 87:4–16. 18. Hu X, Zou Y, Yang Y. Greener plug-in hybrid electric vehicles incorporating renewable energy and rapid system optimization. Energy. 2016; 111:971–980. 19. Yin H, Zhao C, Li M, Ma C, Chow M. A Game Theory Approach to Energy Management of An EngineGenerator/Battery/Ultracapacitor Hybrid Energy System. IEEE Trans Industr Inform. 2016; 63(7):4266– 4277. 20. Li L, Yan B, Yang C, Zhang Y, Chen Z, Jiang G. Application-Oriented Stochastic Energy Management for Plug-in Hybrid Electric Bus With AMT. IEEE Trans Vehicular Technol.2016; 65(6):4459–4470. 21. Lin X, Wang Y, Bogdan P, Chang N, Pedram M. Reinforcement Learning Based Power Management for Hybrid Electric Vehicles. I CCAD IEEE ACM Int Conf Comput Aided Des. 2014; p. 32–38. 22. Wang Y, Sun Z. SDP-based Extremum Seeking Energy Management Strategy for a Power-Split Hybrid Electric Vehicle. In: Proc Am Control Conf. 2012; p. 553–558. 23. Liu T, Zou Y, Liu D, Sun F. Reinforcement Learning of Adaptive Energy Management With Transition Probability for a Hybrid Electric Tracked Vehicle. IEEE Trans Ind Electron. 2015; 62(12):7837–7846. 24. Ryan MJ, Lorenz RD. A "power-mapping" variable-speed control technique for a constant-frequency conversion system powered by a IC engine and PM generator. IEEE Ind Appl Soc. 2002; 4: 2376– 2382. 25. Plett GL. Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs —Part 2. Modeling and identification. J Power Sources. 2004; 134(2):262–276. 26. Filev DP, Kolmanovsky I. Generalized Markov Models for Real-Time Modeling of Continuous Systems. IEEE Trans Fuzzy Syst. 2014; 22(4):983–998 27. Liu C, Murphey Y L. Power management for Plug-in Hybrid Electric Vehicles using Reinforcement Learning with trip information. IEEE Trans Electrification Conf Expo. 2014:1–6. 28. Fang, Y., Song, C., Xia, B., Song, Q. An energy management strategy for hybrid electric bus based on reinforcement learning. IEEE Conf Decis Contro 2015:4973–4977. 29. Qi X, Wu G, Boriboonsomsin K, Barth MJ. A Novel Blended Real-time Energy Management Strategy for Plugin Hybrid Electric Vehicle Commute Trips. IEEE Int Conf Intell Trans Syst; 2015. p. 1002–1007. 30. Barillas J. K., Li J., Gu¨nther C., Danzer M. A. A comparative study and validation of state estimation algorithms for Li-ion batteries in battery management systems. Appl Energy 2015; 155:455–462. [PLOS ONE | https://doi org/10 1371/journal pone 0180491](https://doi.org/10.1371/journal.pone.0180491) July 3 2017 16 / 16

섹션 본문 37문단 · 17,829자

(제목 없음)

1To further improve the fuel economy of series hybrid electric tracked vehicles, a reinforcement learning (RL)-based real-time energy management strategy is developed in this paper. In order to utilize the statistical characteristics of online driving schedule effectively, a recursive algorithm for the transition probability matrix (TPM) of power-request is derived. The reinforcement learning (RL) is applied to calculate and update the control policy at regular time, adapting to the varying driving conditions. A facing-forward powertrain model is built in detail, including the engine-generator model, battery model and vehicle dynamical model. The robustness and adaptability of real-time energy management strategy are validated through the comparison with the stationary control strategy based on initial transition probability matrix (TPM) generated from a long naturalistic driving cycle in the simulation. Results indicate that proposed method has better fuel economy than stationary one and is more effective in real-time control. Implementation of real-time energy management strategy based on reinforcement learning for hybrid electric vehicles and simulation validation. PLoS ONE 12(7): e0180491. https://doi.org/10.

Introduction

2The hybrid electric vehicles (HEVs) are booming rapidly as a solution to the depletion of fossil fuel and severe pollution of air condition. Due to the cooperation of a battery pack and the internal combustion engine, the vehicle powertrain allows the engine to avoid operating at low load with poor efficiency, and the fuel economy and emission can be improved significantly. However, the flexibility of power split also makes energy management problem more challenging.

3Energy management strategy (EMS) plays a crucial role in trade-off among performance, fuel economy and emission of HEVs. Numerous studies have been conducted in the energy management of HEVs [1]. Generally, energy management strategies of HEVs are classified into rule-based and optimization-based control strategy [2,3]. The rule-based strategy is widely used in practice due to the straightforward implementation and high computation efficiency. Jalil proposed a rule-based energy management strategy to determine the power split between the engine and battery by setting thresholds [4]. Trovão presented a new rule-based energy a1111111111 a1111111111 a1111111111 a1111111111 a1111111111 management strategy integrating meta-heuristic optimization for a mutilevel EMS in a electric vehicle [5]. To further improve the performance of energy management system, an adaptive fussy logic controller was used to calibrate the operating points and key parameters to minize the fuel consumption according to the driving cycles [6]. However, the performance of any ruel-based strategy is highly dependent on the proper design of the control rules, which usually depends on the enginenering experience. Therefore, many researchers make more efforts to optimization-based energy strategy.

4With a prior knowledge of the driving cycles, dynamic programming (DP) receives a optimal result and determines the best fuel economy. However, the real-time and robust performance of this strategy cannot be guaranteed [7]. Instead, DP is implemented offline and served as a benchmark to explore the potential of fuel economy [8]. To make on-line optimization possible, equivalent consumption minimization strategy (ECMS) and model predictive control (MPC) have been adopted to develop energy management [9,10]. ECMS is calculated based on the assumption that the variation of SOC (state of charge of the batttery) is neligible due to the slow dynamics compared to other dynamics in HEV [11]. The equivalence factor of ECMS has an important effect on the control performance. However, the optimal value should be determined offline according to a specific cycle [12]. MPC is a promising method for dynamic model due to the prediction ability in a finite future time-horizon. A MPC-based strategy is developed by predicting the road slope. The results show that the method not only maintains the battery SOC within its boundary, but also achieves better fuel economy [13]. A Pontryagain's minimum principle (PMP) is used to find the optimal energy management strategy through combining the power prediction based on the traffic information, such as the maximum acceleration, average velocity and maximum velocity [14]. However, the performance of MPC depends on the prediction accuracy heavily, and varying weather conditions and drving styles make it difficult to guarantee the accuracy.

5The exsiting mehods mostly considered a single objective to optimize, such as fuel consuption, while disregarding many onther concerns. The convex multicriteria optimization approach was recently harnessed to optimize mutiple objectives of plug-in hybride electric vehicles, including the battery sizing, charging and on-road power management [15]. Ref. [16] studied the optimal tradeoff between the fuel-cell durability and hydrogen economy for a fuelcell hybrid bus. Ref. [17] investgates the interactions among three control tasks, such as charging, on-road power management and battery degradation mitigation in samrt grid environment, aiming to minimize the daily operational expense of a PHEV. A high-efficiency convex programming framework is harnessed to minimize daily CO 2 emissions throgh integrating renewable energy and system-level hybrid powertrain optimization [18].

6Several novel algorithms for energy management of HEVs have been developed to realize online optimization for multiple types of HEVs, such as the game theory [19], stochastic dynamic programming (SDP) [20], and reinforcement learning (RL) [21]. Wang optimized the power management problem for a hybrid electric vehicle based on SDP algorithm. However, heavy computation burden makes it difficult to implement online [22]. In numerous areas, RL is a heuristic learning method. Ref. [23] applied RL in the energy management strategy for an electric hybrid tracked vehicle, and compared the performance of RL and SDP. The results indicate that RL algorithm has a better performance and a shorter computation time. However, the RL doesn't update online and fails to maintain the optimal performance when the driving cycles vary.

7This paper proposes a real-time energy management strategy for a small series hybrid electric tracked vehicle. A recursive algorithm is developed to compute the transition probability matrix (TPM) of power-request when the new statistical characteristics of online driving cycle are considerd. RL algorithm is applied to obtain the optimal control policy based on updating TPM of power-request at the regular intervals. A facing-forward simulation model is estabalised to evaluate RL-based real-time energy management strategy through the comparison with RL-stationary control strategy. Simulation results show that the proposed method achieves better fuel economy than RL-stationary one and is feasible for real-time control.

Modelling of hybrid electric tracked vehicle 2.1 Vehicle configuration and parameters

8The structure of the hybrid electric tracked vehicle is illustrated in Fig 1. An engine-generatorrectifier set (EGS) and a battery pack supply the electricity to dual motors, propelling the sprocket independently. The engine gives 50 kW maximum power and 93 Nm maximum torque within the speed range from 1200 r/min to 6200 r/min. The generator offers 107 Nm maximum torque within the speed range from 0 r/min to 6400 r/min and 40 kW maximum power. The 37.6 Ah lithium-ion phosphate battery pack gives 307 rated voltage. The essential parameters of the major sub-systems are listed in Table 1.

Vehicle and powertrain modelling

9The vehicle is taken as a concentrated mass. The dynamical equation of the vehicle is expressed as

10where F TR means the tractive force; m is the curb weight, and a is the vehicle acceleration; g represents the gravity acceleration; θ means the road slope angle; f is the rolling resistance coefficient; C D is the aerodynamic drag coefficient; A represents the front area of the vehicle; v ave means the average speed of the two tracks and is determined by v ave = (v 1 +v 2 )/2; v 1 , v 2 are the speed of the two tracks, respectively. The demand power to propel the vehicle, denoted by P dem , is calculated by

11where P dem consists of two parts, straight power and steering power. M is the resisting yaw moment; ω represents the rotational speed; u t is the lateral resistance coefficient; R is the turning radius; L is behalf of the contacting track width, and B means the tread of the vehicle; u max is the maximum steering resistance coefficient with the radius of braking steering, R = B/2. To analyze and evaluate the EGS's fuel economy, the equivalent electric circuit is established in Fig 2, which consists of the diesel engine, permanent magnet generator, and rectifier. The output voltage and electromagnetic torque, U g and T g of the generator are determined as [24]

12where ω g is the angular velocity; K e ω g represents the electromotive force; K x is the equivalent resistance coefficient and K x = 3PL g /π; L g is the synchronous inductance of the armature, and P is the number of poles; I g and U g are the current and output voltage of the generator.

13The fuel consumption of the vehicle is determined by the engine torque T eng and speed n eng . The speed of the engine is determined as follows.

14:

15where n g , n eng denote the rotational speed of the generator and engine, respectively; J eng and J g are the moments of inertia for the engine and generator; T eng is the torque of engine and T g is the electromagnetic torque of the generator.

16An internal-resistance model is used to reflect SOC dynamics as [25] dSOC dt

17where C b is the battery capacity; I b means the battery current which is calculated by where V OC is the open circuit voltage; R int means the internal resistance of battery and P b is the output power of the battery.

Optimal energy management problem formulation

18Cost function is the trade-off of the fuel consumption and SOC variation, ensuring that the final SOC of battery stays at the same level of the initial value, expressed as follows

19where β represents the penalty factor, which is a positive weighting factor; fuel is the fuel consumption at time t. The rate of flowing fuel mass fuel Á ðtÞ is determined by engine torque T eng and rotational speed n eng based on BSFC (braked specific fuel consumption) map, typically obtained through a bench test. The engine's torque is used to regulate the power split between the EGS and battery to minimize the total fuel consumption.

Online updating transition probability matrix (TPM)

20The power-request of the vehicle is calculated according to the Eq (2). Using the maximum likelihood estimation and nearest method, the transition probability matrix of the powerrequest is described as

21where N ij denotes the transition numbers from state x i to state x j , and N oi is the total transition numbers initiated from state x i ; k means the number of transition; F ij is the total frequency rate of transition event f ij from state x i to state x j and F oi is the frequency rate of transition event f i Then X k t¼1 f ij ðtÞ = N ij (k) and

22X k t¼1 f i ðtÞ = N i (k). The frequency rate F ij and F i are calculated as follows:

238 > > > > < > > > > :

24and the recursive expressions are deduced [26].

25where 1/k is replaced by a constant ψ ranging from 0 to 1, namely forgetting factor to determine the effective memory depth of historic driving cycle, and the forgetting factor ψ is set to be 0.01 in this paper. By substituting the expression (10) into (8), the recursive algorithm of TPM is derived for online learning as follows:

RL-based real-time energy management strategy

26The driving schedule is considered as a finite Markov decision process, which comprises a set of state variables s t 2S = {SOC(t),n g (t)|0.6 SOC(t) 0.9, 0 n g (t) 6400}, a set of actions a t 2A = {T eng (t)|0 T eng (t) 93}, a reward function r t 2Reward = {fuel(s t , a t )}.

27Corresponding to the state s and action a, the optimal value of the state s t is defined as the expected finite discounted sum of the rewards, as follows [27]:

28where π is a control policy, γ2[0, 1] is a discount factor; p means the probability of the occurrence of a transition from state s t to s t ' under action a t . And the optimal control policy can be decided by the function

29In addition, the Q value Q(s t , a t ) and optimal value Q Ã corresponding to state s t and action a t are defined as follows

30Finally, the updating rule of Q-learning and optimal control strategy are defined as [28,29]:

318 <

32:

33where γ2[0, 1], α2[0, 1] are respectively discount factor and decayed factor in Q-learning. The computational flowchart of RL is listed in the pseud code format as shown in Fig 3. Through adopting Q-learning algorithm above, the stationary control policy is derived based on initial TPM generated from a long naturalistic driving cycle as shown in Fig 4. This paper proposes a real-time energy management strategy, aiming at improving the adaptability to change of power-request characteristics. Firstly, the updating TPM of power-request is acquired according to Eq (11) in real-time. Then at set intervals, the control policy is

Simulation and validation

34The simplified electric coupling model of powertrain for hybrid electric tracked vehicle is given in Fig 6, where the power provided from EGS and battery should keep balance with the power-request of two driving motors. Based on the electric coupling model and powertrain model in Section 2, a facing-forward detailed model for the hybrid electric tracked vehicle is established in the Simulink environment, consisting of the engine-generator model, power battery pack, two motors, vehicle dynamic model and controller as shown in Fig 7. The proportional-integral driver model is adopted to adjust the toques of both motors to follow the target driving cycles. The controller determines the throttle according to the control map obtained through RL algorithm when the states of vehicle feedbacks to the controller. The RLbased real-time energy management strategy and stationary energy management strategy are applied into the facing-forward simulation model for the same driving cycle, respectively. The control map remains unchanged in the case of stationary strategy while the control map is updated every 300s in the case of real-time strategy. The initial values of the state variables n g and SOC are taken as 1200 rpm and 0.75, respectively. close to initial SOC value due to the final constraints for SOC value. During the first 300 seconds, two control strategies are based on the same TPM, so SOC trajectories change almost in the same way. However, when the driving condition changes, the control policy is recalculated at 300 s for real-time control strategy. And the same process is triggered at 600 s and 900 s. Similarly, the power split changes correspondingly as shown in Fig 10. For the sake of eliminating the influence of the deviation between the final SOC on fuel consumption, an SOC-correction method [30] is utilized to compensate for the fuel consumption. Table 3 shows the fuel consumption of two methods after SOC correction. The fuel consumption of RL-based realtime strategy is 6% lower than that of stationary strategy. Fig 11 depicts the working points of Implementation of real-time energy management for HEVs the engine for the experimental driving schedule. There are more points in the optimal fuel consumption area in the real-time strategy than that of stationary one.

35To further explore the adaptability and robustness of RL-based real-time strategy, the same procedure is performed for the validation driving schedule in the field test (shown in Fig 12). The SOC trajectories and working points of engine are shown in Fig 13 and Fig 14. Because of the constraint for SOC value, the final SOC values are close to the initial SOC value. Table 4 lists the fuel consumption after SOC correction. Due to utilizing the newest characteristics of driving schedule, the RL-based real-time control strategy can reduce about 8% fuel consumption than stationary one. The reason why the fuel improvement is bigger in the later simulation Implementation of real-time energy management for HEVs than the former is that the driving condition during the whole validation driving schedule is similar, as presented in Fig 12, and the control policy based on updating TPM at 600 s has already included the statistical information of whole driving schedule. The results suggest that the real-time control strategy has a good performance of robustness and enable to adapt to different driving cycles better.

36The three different driving schedules were adopted to validate the robustness of the RLbased real-time energy management strategy again, as shown in Fig 15. Table 5 lists the fuel consumption after SOC-correction. The real-time method, which utilizes the newest driving characteristics, gives superior fuel economy to the stationary one.

Conclusion

37This paper proposes a real-time energy management strategy based on reinforcement learning for a hybrid electric tracked vehicle. A recursive algorithm for the transition probability matrix Implementation of real-time energy management for HEVs (TPM) is developed to make use of new statistical characteristics of online driving schedule. Based on the updating transition probability matrix (TPM), the control policy is calculated and updated at regular intervals to adapt to different driving conditions. A detailed facing-forward simulation model including the engine-generator model, battery model and vehicle Implementation of real-time energy management for HEVs Implementation of real-time energy management for HEVs dynamical model is built. In order to validate the effectiveness and adaptability of real-time control policy, the simulation for two driving schedules are operated. The results indicate that real-time energy management strategy has a superior fuel economy than stationary one, and is more effective in real-time control requirement.

참고문헌 31건

  1. A comparative study and validation of state estimation algorithms for Li-ion batteries in battery management systems Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.05.102
  2. An energy management strategy for hybrid electric bus based on reinforcement learning 2022 34th Chinese Control and Decision Conference (CCDC) · 2015 10.1109/ccdc.2015.7162814
  3. A "power-mapping" variable-speed control technique for a constant-frequency conversion system powered by a IC engine and PM generator 2002 10.1109/ias.2000.883156
  4. A Supervisory Control Strategy for Plug-In Hybrid Electric Vehicles Based on Energy Demand Prediction and Route Preview IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2014 10.1109/tvt.2014.2336378
  5. A Novel Blended Real-Time Energy Management Strategy for Plug-in Hybrid Electric Vehicle Commute Trips 2015 10.1109/itsc.2015.167
  6. A Review of Optimal Energy Management Strategies for Hybrid Electric Vehicle International Journal of Vehicular Technology · Hindawi Publishing Corporation · 2014 10.1155/2014/160510
  7. Approximate Pontryagin’s minimum principle applied to the energy management of plug-in hybrid electric vehicles Applied Energy · Elsevier BV · 2013 10.1016/j.apenergy.2013.11.002
  8. A multi-level energy management system for multi-source electric vehicles – An integrated rule-based meta-heuristic approach Applied Energy · Elsevier BV · 2013 10.1016/j.apenergy.2012.12.081
  9. SDP-based extremum seeking energy management strategy for a power-split hybrid electric vehicle 2022 American Control Conference (ACC) · 2012 10.1109/acc.2012.6315664
  10. A survey-based type-2 fuzzy logic system for energy management in hybrid electrical vehicles Information Sciences · Elsevier BV · 2011 10.1016/j.ins.2011.12.013
  11. Reinforcement Learning of Adaptive Energy Management With Transition Probability for a Hybrid Electric Tracked Vehicle IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tie.2015.2475419
  12. Generalized Markov Models for Real-Time Modeling of Continuous Systems IEEE Transactions on Fuzzy Systems · Institute of Electrical and Electronics Engineers · 2013 10.1109/tfuzz.2013.2279535
  13. A comprehensive analysis of energy management strategies for hybrid electric vehicles based on bibliometrics Renewable and Sustainable Energy Reviews · Elsevier BV · 2015 10.1016/j.rser.2015.03.093
  14. Power management for Plug-in Hybrid Electric Vehicles using Reinforcement Learning with trip information 2014 10.1109/itec.2014.6861862
  15. A Parallel Hybrid Electric Vehicle Energy Management Strategy Using Stochastic Model Predictive Control With Road Grade Preview IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2015 10.1109/tcst.2015.2409235
  16. Power management strategy for a parallel hybrid electric truck IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2003 10.1109/tcst.2003.815606
  17. A real time energy management for electrical vehicle using combination of rule-based and ECMS 2013 10.1109/epec.2013.6802927
  18. Reinforcement learning based power management for hybrid electric vehicles International Conference on Computer Aided Design · 2014 10.5555/2691365.2691372
  19. Advanced Power-Source Integration in Hybrid Electric Vehicles: Multicriteria Optimization Approach IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tie.2015.2463770
  20. Control of a Parallel Hybrid Powertrain: Optimal Control IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2004 10.1109/tvt.2004.827161
  21. Extended Kalman filtering for battery management systems of LiPB-based HEV battery packs Journal of Power Sources · Elsevier BV · 2004 10.1016/j.jpowsour.2004.02.032
  22. A rule-based energy management strategy for a series hybrid vehicle 1997 10.1109/acc.1997.611889
  23. Comparison of energy management strategies of a battery/supercapacitors system for electric vehicle under real-time constraints Applied Energy · Elsevier BV · 2015 10.1016/j.apenergy.2015.11.020
  24. Charging, power management, and battery degradation mitigation in plug-in hybrid electric vehicles: A unified cost-optimal approach Mechanical Systems and Signal Processing · Elsevier BV · 2016 10.1016/j.ymssp.2016.03.004
  25. A Game Theory Approach to Energy Management of An Engine–Generator/Battery/Ultracapacitor Hybrid Energy System IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2016 10.1109/tie.2016.2539245
  26. Integrated Optimization of Battery Sizing, Charging, and Power Management in Plug-In Hybrid Electric Vehicles IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2015 10.1109/tcst.2015.2476799
  27. Application-Oriented Stochastic Energy Management for Plug-in Hybrid Electric Bus With AMT IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2015 10.1109/tvt.2015.2496975
  28. Greener plug-in hybrid electric vehicles incorporating renewable energy and rapid system optimization Energy · Elsevier BV · 2016 10.1016/j.energy.2016.06.037
  29. An improved energy management strategy for a hybrid fuel cell/battery passenger vessel International Journal of Hydrogen Energy · Elsevier BV · 2016 10.1016/j.ijhydene.2016.08.049
  30. MPC-based energy management with adaptive Markov-chain prediction for a dual-mode hybrid electric vehicle Science China Technological Sciences · Springer Science+Business Media · 2017 10.1007/s11431-016-0640-2
  31. Reinforcement learning based power management for hybrid electric vehicles 2015 IEEE/ACM International Conference on Computer-Aided Design (ICCAD) · 2014 10.1109/iccad.2014.7001326