선정목록으로
Real-Time Energy Management Based on Proximal Policy Optimization With Mask Layer for Hybrid Electric Mining Trucks
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.1109/ojvt.2025.3620014
- 저널
- IEEE Open Journal of Vehicular Technology
- 발행년도
- 2025
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/ojvt.2025.3620014
- 토픽
- Electric and Hybrid Vehicle Technologies
- OpenAlex ID
- W4415003064
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
An effective energy management strategy (EMS) is crucial to improve the energy efficiency of hybrid vehicles, especially for heavy-duty mining trucks. An energy management strategy based on a proximal policy optimization algorithm with mask layer and novel reward functions (PPO-MASK-NR) is proposed for hybrid electric mining trucks (HEMTs) with multi-planetary systems. This algorithm fundamentally avoids irrational exploration by an intelligent agent by incorporating a real-time mask layer, and it accelerates learning efficiency by suppressing the backward propagation of gradients for irrational actions. A universally designed reward function is applied to ensure the achievement of the correct final state of charge (SOC) value and the expansion of the SOC's exploration range. Finally, the generalization performance of the proposed algorithm is validated through new driving cycles, and its authenticity is confirmed through hardware-in-the-loop (HiL) testing. The simulation results show that within the selected training cycles, the proposed algorithm achieves 98% compared with the dynamic programming algorithm (DP). The proposed algorithm has an improvement of 11% and 5% in online applications for a new driving cycle compared to a rule-based technique (RB) and the equivalent fuel consumption minimization approach (ECMS), respectively.
본문 57,781자
본문 펼치기
Received 24 September 2025; accepted 4 October 2025. Date of publication 9 October 2025;
date of current version 18 November 2025. The review of this article was coordinated by Editor Lucia Gauchia.
_Digital Object Identifier 10.1109/OJVT.2025.3620014_
# Real-Time Energy Management Based on Proximal Policy Optimization With Mask Layer for Hybrid Electric Mining Trucks
XINXIN ZHAO 1,2, MENGLEI LIU1, JIAQI LI 1, NASSER LASHGARIAN AZAD 2 (Member, IEEE),
AND MILAD FARSI <sup>2</sup>
1University of Science and Technology Beijing, Beijing 100083, China
2University of Waterloo, Waterloo, ON N2L 3G1, Canada
[CORRESPONDING AUTHOR: XINXIN ZHAO (e-mail: xinxinzhao@ustb.edu.cn).](mailto:xinxinzhao@ustb.edu.cn)
This work was supported in part by the Natural Science Foundation of China under Grant 52275082 and in part by the State Key Laboratory of Mechanical
Transmission for Advanced Equipment, Chongqing University, under Grant SKLMT-MSKFKT-202332.
ABSTRACT An effective energy management strategy (EMS) is crucial to improve the energy efficiency
of hybrid vehicles, especially for heavy-duty mining trucks. An energy management strategy based on a
proximal policy optimization algorithm with mask layer and novel reward functions (PPO-MASK-NR) is
proposed for hybrid electric mining trucks (HEMTs) with multi-planetary systems. This algorithm fundamentally avoids irrational exploration by an intelligent agent by incorporating a real-time mask layer,
and it accelerates learning efficiency by suppressing the backward propagation of gradients for irrational
actions. A universally designed reward function is applied to ensure the achievement of the correct final
state of charge (SOC) value and the expansion of the SOC’s exploration range. Finally, the generalization
performance of the proposed algorithm is validated through new driving cycles, and its authenticity is
confirmed through hardware-in-the-loop (HiL) testing. The simulation results show that within the selected
training cycles, the proposed algorithm achieves 98% compared with the dynamic programming algorithm
(DP). The proposed algorithm has an improvement of 11% and 5% in online applications for a new driving
cycle compared to a rule-based technique (RB) and the equivalent fuel consumption minimization approach
(ECMS), respectively.
INDEX TERMS Hybrid electric mining truck (HEMT), multi-planetary system, energy management, proximal policy optimization.
I. INTRODUCTION
The advent and evolution of vehicles have significantly enhanced convenience across the globe. However, this progress
has also given rise to pressing global challenges, including
climate change, energy scarcity, and environmental pollution,
with heavy-duty vehicles substantially exacerbating these issues [1], [2]. Consequently, transitioning heavy-duty vehicles
to clean energy sources has become an urgent priority. Hybrid
Electric Mining Trucks (HEMTs) present distinct energysaving benefits in mining operations by effectively converting
mechanical energy into electrical energy and maintaining battery balance across diverse terrain conditions [3]. To meet
the demanding power requirements of mining activities, the
HEMTs examined in this study feature a sophisticated mul
timodal hybrid powertrain system, incorporating three power
devices, three planetary gear sets, and multiple clutches. The
motor adjusts the engine’s operating point through the coupling and decoupling capabilities of the planetary gear sets,
ensuring the diesel engine operates within an optimal economic range [4], [5]. This study focuses on improving the
fuel efficiency for HEMTs with multi-planetary systems using
Reinforcement Learning (RL) techniques.
Hybrid powertrain systems, characterized by multiple
power devices and intricate coupling mechanisms, are significantly influenced by the power distribution among these
sources, directly impacting fuel economy [6], [7]. Energy
management strategy (EMS) leverages mathematical optimization to control and optimize the allocation across
© Th A h Thi k i li d d C i C A ib i Li F i f i h // i /li /b / /
different sources in hybrid vehicles, ensuring the engine operates within an efficient range to minimize fuel consumption
and enhance fuel economy [8]. Currently, EMS for HEMTs
can be classified into three main categories: rule-based (RB)
EMS, optimization-based EMS [9], [10], and learning-based
EMS [11], [12].
Optimization-based EMS, grounded in mathematical optimization theories, generally outperforms RB-EMS in fuel
economy. This category is subdivided into global optimization
and instantaneous approaches. Global optimization methods
include dynamic programming (DP) [13] and Pontryagin’s
minimum principle (PMP) [14], which require comprehensive prior knowledge of driving cycles and entail lengthy
computation times, rendering them impractical for real-time
applications. Therefore, they are typically used as benchmarks to evaluate other algorithms or to provide training
data for alternative methods. Instantaneous optimization techniques, such as the Equivalent Consumption Minimization
Strategy (ECMS) and Model Predictive Control (MPC) [15],
[16], [17], offer more practical solutions [18], [19], [20],
[21]. Sun et al. introduced an improved MPC algorithm
based on Long Short-Term Memory (LSTM-IMPC), validated
across the Worldwide Harmonized Light Vehicle Test Cycle
(WLTC), the New European Driving Cycle (NEDC), and the
Real Driving Cycle, and demonstrated excellent fuel economy
performance [22]. EMS based on instantaneous optimization
typically achieves good fuel economy and offers potential
for real-time applications [23]. While instantaneous optimization EMS offers strong fuel economy and real-time potential,
challenges such as limited prediction accuracy, generalization capability, and complex algorithm design hinder broader
adoption.
To overcome these limitations, RL-EMS methods have
gained significant attention [24], [25]. RL, an interactive
training algorithm rooted in the Bellman equation, adapts
strategies through environmental interactions, making it ideal
for sequential decision-making. Q-learning, a foundational
RL algorithm, was widely adopted in early studies. Liu
et al. applied Q-learning to hybrid electric tracked vehicles,
demonstrating its robustness, optimality, and computational
efficiency [26], [27]. Advances in computational power have
spurred the development of new algorithms. Wu et al. introduced deep Q-learning to address EMS challenges, mitigating
the dimensionality issues of traditional Q-learning and achieving better fuel efficiency [28]. Qi and Han et al. enhanced
convergence efficiency with Double Q-learning, reducing
instability from action value overestimation [29], [30]. However, Q-learning is limited to discrete recent action spaces
and short-term memory tasks. The Deep Deterministic Policy
Gradient (DDPG) algorithm, an actor-critic framework, addresses these limitations by handling continuous control [31].
Wu et al. improved DDPG with prioritized experience replay, achieving near-DP performance [32]. To tackle DDPG’s
overestimation issues, the Twin Delayed DDPG (TD3) algorithm was developed, incorporating double Q-learning
principles [33]. Zhou et al. applied TD3 to hybrid electric
vehicles, achieving faster convergence, higher robustness, and
94% of DP’s fuel savings.Despite the maturity of RL-EMS
research, an admissible solution remains a critical concern
in practical applications. Liu et al. introduced a Deep Reinforcement Learning (DRL) framework with Reward-Directed
Policy Optimization (RDPO), External Point Method (EPM),
and Curriculum Learning (CL) to guide agents in avoiding
irrational actions, optimizing fuel economy online [34]. Additionally, current RL-EMS struggles to maintain state of charge
(SOC) consistency across diverse driving cycles, warranting
further investigation.
Proximal Policy Optimization (PPO), a policy gradientbased optimization method, combines training stability and
efficiency, demonstrating exceptional performance in continuous control problems. In hybrid powertrain systems, PPO is
employed to learn optimal energy allocation strategies under
dynamic operating conditions, exhibiting strong generalization and robustness. Considering the above problems, the
main contributions of this paper are as follows:
_PPO_ _reinforcement_ _learning_ _framework_ _for_ _masking_ _irra-_
_tional_ _behavior:_ A novel PPO algorithm with mask layer,
termed PPO-MASK-EMS, has been proposed, which provides a hard-constrained solution to address safety issues in
the training process of energy management strategies for complex multi-mode hybrid mining trucks.
_Generalized reward functions:_ An innovative parameter of
a novel reward function for PPO-MASK-EMS (PPO-MASKNR-EMS), defined as the ratio of completed working cycles
to total working cycles, is introduced to enhance the energy
management strategy for HEMTs.
_Hardware_ _in_ _the_ _loop_ _validation:_ An experimental
hardware-in-the-loop (HiL) platform has been established to
test the proposed algorithm. The experimental results derived
from this platform provide compelling evidence of the feasibility of the algorithm, demonstrating its successful execution
within real vehicle controllers.
The remaining sections of this paper are organized as follows: Section II introduces a dynamic model for a HEMT with
multi-mode. Section III presents the design procedure of the
PPO-EMS combined with the mask layer and two kinds of
reward functions. In Section IV, the performances of the mask
layer and the novel designed reward function are validated
separately under the selected training cycle. In Section V,
the designed PPO-MASK-NR-EMS is comprehensively compared with DP and ECMS, and the practicality of the proposed
algorithm is verified through HiL testing. The key findings are
summarized in Section VI.
II. POWERTRAIN MODELING
The primary focus of this study is to address EMS design
for complex multi-planetary systems for HEMTs through RL,
along with the concerns of selecting admissible actions and
maintaining SOC at the initial values for non-plug-in hybrid systems. The powertrain configuration of the HEMTs, as
shown in Fig. 1. The driving mode classification is shown in
the following Table 1.
where _ψ_ denotes the acceleration or braking command, where
_ψ_ _>_ 0 corresponds to an acceleration command and _ψ_ _<_ 0
corresponds to a deceleration command. The terms _Kp_ and
_Ki_ represent the gain coefficients for the proportional and
integral control components, respectively. The variable _ev_ is
the difference between the actual and desired vehicle speeds
_vre f_ .
The output torque of the powertrain system for HEMTs and
velocity is related to the states of modes, as shown below
FIGURE 1. HEMTs powertrain configuration.
TABLE 1. Driving Mode Classification.
_Assumption_ _1:_ In this study, the subject vehicle is considered a quasi-static model and a backward simulation approach
is adopted.
Accordingly, for a given working cycle, the demanded traction force _Ft_, the demanded power _Pt_, and the demanded
torque _Tt_ could be obtained based on its longitudinal dynamic
model, as shown below.
_Tt_ =
⎧
⎪⎪⎪⎪⎪⎨
⎪⎪⎪⎪⎪⎩
( <sup><u>(1+</u></sup> 1+ <sup>_<u>K</u>_</sup> _K_ <sup><u>2</u></sup> <sup><u>)</u></sup> 1 <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> _Te_ + _TMot_ 2) _ig,_ _mode_ = 4 _,_
( 1 <sup><u>−</u></sup> + <sup>_<u>K</u>_</sup> _K_ <sup><u>1</u></sup> 1 <sup>_Te_</sup> <sup>+</sup> <sup>_TMot_</sup> <sup>2)</sup> <sup>_ig,_</sup> _mode_ = 5 _,_
1 <sup><u>−</u></sup> + <sup>_<u>K</u>_</sup> _K_ <sup><u>1</u></sup> 1 <sup>_Te_</sup> <sup>+</sup> <sup>_TMot_</sup> <sup>2)</sup> <sup>_ig,_</sup> _mode_ = 5 _,_
_TMot_ 2 _ig,_ _mode_ = 1 _,_
−(1 + _K_ 3) _TMot_ 2 _ig,_ _mode_ = 2 _,_
( <sup><u>(1+</u></sup> 1+ <sup>_<u>K</u>_</sup> _K_ <sup><u>2</u></sup> <sup><u>)</u></sup> 1 <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> _Te_ - (1 + _K_ 3) _TMot_ 2) _ig,_ _mode_ = 3 _,_
( <sup><u>(1+</u></sup> 1+ <sup>_<u>K</u>_</sup> _K_ <sup><u>2</u></sup> <sup><u>)</u></sup> 1 <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> _Te_ - (1 + _K_ 3) _TMot_ 2) _ig,_ _mode_ = 3 _,_
( <sup><u>(1+</u></sup> 1+ <sup>_<u>K</u>_</sup> _K_ <sup><u>2</u></sup> <sup><u>)</u></sup> 1 <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> _Te_ + _TMot_ 2) _ig,_ _mode_ = 4 _,_
(4a)
(4b)
_v_ ( _t_ ) =
⎧
⎪⎪⎪⎪⎪⎪⎪⎨
⎪⎪⎪⎪⎪⎪⎪⎩
<u>2</u> _<u>Rw</u>_ = <sup><u>((1+</u></sup> <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>ωe</u>_</sup> <sup><u>−</u></sup> <sup>_<u>ωMot</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup>
_ig_ _K_ 1( _K_ 2+1) _ig_
<u>2</u> _<u>Rw</u>_ = <sup><u>((1+</u></sup> <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>ωe</u>_</sup> <sup><u>−</u></sup> <sup>_<u>ωMot</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup>
_ig_ _K_ 1 _ig_
<sup>_<u>e</u>_</sup> <sup><u>−</u></sup> <sup>_<u>ωMot</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup> _,_ _mode_ = 5 _,_
_K_ 1 _ig_
_<u>ωMot</u>_ <u>2</u> _<u>Rw</u>_
_<u>ωMotig</u>_ <u>2</u> _<u>Rw</u>_ _, ωe_ = _ωMot_ 1 = 0 _,_ _mode_ = 1 _,_
(1 _<u>ωMot</u>_ + _K_ <u>23</u> _<u>R</u>_ ) _<u>wig</u>_ <sup>_, ωe_</sup> <sup>=</sup> <sup>_ωMot_</sup> <sup>1</sup> <sup>= 0</sup> <sup>_,_</sup> _mode_ = 2 _,_
_<u>ωMot</u>_ <u>2</u> _<u>Rw</u>_ _,_ _mode_ = 3 _,_
(1+ _K_ 3 ) _ig_ <sup>=</sup> <sup><u>((1+</u></sup> <sup>_<u>K</u>_</sup> _K_ <sup><u>1</u></sup> 1 <sup><u>)</u></sup> ( <sup>_<u>ω</u>_</sup> _K_ <sup>_<u>e</u>_</sup> 2 <sup><u>−</u></sup> + <sup>_<u>w</u>_</sup> 1) <sup>_<u>Mot</u>_</sup> _ig_ <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup>
_<u>ωMot</u>_ <u>2</u> _<u>Rw</u>_ _,_ _mode_ = 3 _,_
(1+ _K_ 3 ) _ig_ <sup>=</sup> <sup><u>((1+</u></sup> <sup>_<u>K</u>_</sup> _K_ <sup><u>1</u></sup> 1 <sup><u>)</u></sup> ( <sup>_<u>ω</u>_</sup> _K_ <sup>_<u>e</u>_</sup> 2 <sup><u>−</u></sup> + <sup>_<u>w</u>_</sup> 1) <sup>_<u>Mot</u>_</sup> _ig_ <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup>
_<u>ωMot</u>_ <u>2</u> _<u>Rw</u>_ = <sup><u>((1+</u></sup> <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>ωe</u>_</sup> <sup><u>−</u></sup> <sup>_<u>ωMot</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup> _,_ _mode_ = 4 _,_
_ig_ _K_ 1( _K_ 2+1) _ig_
_<u>ωMot</u>_ <u>2</u> _<u>Rw</u>_ = <sup><u>((1+</u></sup> <sup>_<u>K</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>ωe</u>_</sup> <sup><u>−</u></sup> <sup>_<u>ωMot</u>_</sup> <sup><u>1</u></sup> <sup><u>)</u></sup> <sup>_<u>Rw</u>_</sup> _,_ _mode_ = 5 _,_
⎧
⎨
⎩
_Ft_ = _δma_ + _mgsinθr_ + _mgf_ cos _θr_ + 2 <sup><u>1</u></sup> <sup>_CDA_</sup> <sup>0</sup> <sup>_ρv_</sup> <sup>(</sup> <sup>_t_</sup> <sup>)2</sup> <sup>_,_</sup>
_Pt_ = _Ft_ _v_ ( _t_ ) _,_
_Tt_ = <sup>_<u>P</u>_</sup> _v_ <sup>_<u>t</u>_</sup> ( <sup>_<u>R</u>_</sup> _t_ <sup>_<u>w</u>_</sup> ) <sup>_,_</sup>
_v_ <sup>_<u>t</u>_</sup> ( <sup>_<u>R</u>_</sup> _t_ <sup>_<u>w</u>_</sup> ) <sup>_,_</sup>
_Ft_ = _δma_ + _mgsinθr_ + _mgf_ cos _θr_ + 2 <sup><u>1</u></sup>
(1)
where _Te_, _TMot_ 2 represent the torque of the engine and Motor2
(Mot2), _ig_ models the final gear ratio, _ωe_, _ωMot_ 1 and _ωMot_ 2
present the angular velocity of engine, Motor1 (Mot1) and
Mot2, respectively. _K_ 1, _K_ 2 and _K_ 3 are the characteristic parameters, the ratio of the number of teeth of the ring to the
number of teeth of the sun gear. During the operation of the
transmission system, different drive modes can be formed by
different combinations of the two brakes and the two clutches.
The configuration and parameters of the driveline are shown
in Table 2.
Therefore, (5) can be used to determine the instantaneous
fuel consumption of the engine,
_m_ ˙ _f_ = <sup>_<u>beTeωe</u>_</sup> (5)
9549 <sup>_,_</sup>
where _be_ represents the specific fuel consumption.
When the torque and speed of the motor are known, the
power of the battery _Pb_ can be calculated by the following
equation.
where the rotational mass coefficient of the HEMTs is shown
by _δ_, the curb weight of the HEMTs is given by _m_, _a_ refers
to its driving acceleration, _f_ defines the rolling resistance
coefficient, while _g_ represents the gravitational acceleration.
The road gradient is expressed as _θr_, and the driving speed is
indicated by _v_ ( _t_ ). Additionally, _ρ_ refers to the density of air,
_A_ 0 corresponds to the frontal surface area of the HEMTs, _CD_
characterizes the air resistance coefficient, and the dynamic
radius of the wheel is symbolized by _Rw_ .
The HEMT is an automatic transmission vehicle, eliminating the need for the driver to shift the gear manually.
Consequently, the driver model is primarily designed to simulate the human driver’s behavior in adjusting the accelerator
or brake pedal to track the intended vehicle speed. The model
takes the deviation between the actual driving speed and
the desired speed as the input signal, and through a control
algorithm, it calculates and generates the corresponding accelerator or brake pedal position. The mathematical expression is
as follows:
- _t_
_Pb_ =
- _<u>TMot</u>_ _<u>ωMot</u>_
_ηMot_ _,_ _TMot_ _>_ 0 _,_ (6)
_TMot_ _ωMot_ _ηMot_ _,_ _TMot_ ≤ 0 _,_
_ψ_ = _Kpev_ + _Ki_
_ev_ ( _t_ ) _dt,_ (2)
0
where _ηMot_ indicates motor efficiency in different operation
states.
In addition, the effect of battery aging was neglected, and
an equivalent circuit model was used to model the battery.
The SOC of the battery was estimated using the ampere-hour
_ev_ ( _t_ ) = _vre f_ ( _t_ ) − _v_ ( _t_ ) _,_ (3)
TABLE 2. Parameters of HEMTs Components.
counting method as below,
⎧
⎪⎨
⎪⎩
_<u>Uoc</u>_ <sup>2</sup> <u>−4</u> _<u>Rint</u>_ _<u>Pb</u>_
_Ib_ = <sup>_<u>Uoc</u>_</sup> <sup><u>−√</u></sup> 2 _Rint_ - _,_
_SOC_ = _SOCint_ - _QIbb_
_Pb_ = _UocIb_ <u>−</u> _<u>Rint</u>_ _<u>Ib</u>_ <sup>2</sup>
_Pb_ = _UocIb_
_Ib_ = <sup>_<u>Uoc</u>_</sup> <sup><u>−√</u></sup>
_<u>b</u>_ <sup>2</sup> <sup>_<u>,</u>_</sup>
_QIbb_ <sup>_dt,_</sup>
where _U_ is the set of admissible controls, and the subscripts
indicate the minimum and maximum values of the corresponding variables.
III. EMS DESIGN-BASED ON PPO-MASK
_A._ _OVERVIEW OF PPO ALGORITHM_
As a well-established DRL method, the PPO algorithm is
extensively employed to address EMS challenges in hybrid
vehicles, owing to its notable insensitivity to parameter tuning
and robust convergence characteristics. RL refines execution
strategies through iterative interactions between an agent and
its environment, a process elegantly encapsulated by the quintuple { _S, A, γ, R, π_ }. Within this framework, _S_ denotes the
state variables, _A_ indicates the action variables, _R_ represents
the reward function, _γ_ indicates the reward discount factor,
and _π_ embodies the policy governing the agent’s decisions. In
contrast to traditional RL techniques, DRL leverages neural
networks to derive an optimal policy, effectively mitigating
the curse of dimensionality that plagues high-dimensional
action and state spaces. Depending on the algorithmic design, RL methodologies can be categorized into value-based,
policy-based, and actor-critical methods. The PPO algorithm,
rooted in the actor-critic paradigm, builds upon the foundational Policy Gradient (PG) algorithm [35].
The learning mechanism of RL entails a systematic optimization process. Specifically, the PG algorithm formulates
its objective function as delineated in (9). Through the optimization of key parameters, this algorithm enhances the
probability of achieving higher rewards for a specified policy.
The primary objective of the PG algorithm is to maximize this function, thereby facilitating the development of a
progressively more optimal policy. This iterative refinement
underscores the efficacy of PPO within the actor-critic framework, positioning it as a powerful tool for tackling complex
EMS problems in hybrid vehicle systems.
(7)
where _Uoc_ represents the open-circuit voltage of the battery,
_Rint_ denotes the internal resistance of the battery, _SOCint_ is
the initial SOC value, _Ib_ represents the current at the terminal
of the battery, _Qb_ is the battery capacity, calculated by (7).
_Problem_ _1:_ The optimization objective of this paper is to
optimize fuel consumption based on the driving cycle by minimizing
- _T_
max _J_ ( _θ_ ) = max _Eτ_ ∼ _πθ R_ ( _τ_ ) = max
_τ_
_P_ ( _τ_ ; _θ_ ) _R_ ( _τ_ ) _,_ (9)
where _J_ ( _θ_ ) is the objective function, _θ_ denotes the parameters
to be optimized, _τ_ denotes the trajectory of state-action pairs
generated by the interaction between the agent and the environment, _τ_ = ( _S_ 0 _, a_ 0 _, S_ 1 _, a_ 1 _, Sn, an_ ), _R_ ( _τ_ ) indicates the total
sum of rewards along the trajectory _τ_, _πθ_ embodies the policy
parameterized by _θ_, and _P_ ( _τ_ ; _θ_ ) represents the probability
of the trajectory _τ_ occurring under the policy _πθ_ . It can be
described as:
_J_ =
_G_ ( _s, u_ ) _dt_ (8a)
0
while keeping the SOC in a reasonable range and maintaining
states _S_ safety and drivability. Given also the power limitations
and performance requirements of the HEMTs, these translate
to the following constrained optimization problem
_u_ ∈min _U,s_ ∈ _S_ <sup>_J,_</sup>
s.t. (4) − (7) and
⎧
_ωe_ _min ≤ _ωe_ ≤ _ωe_ _max _,_
_ωMot_ 1_min ≤ _ωMot_ 1 ≤ _ωMot_ 1_max _,_
⎪⎪⎪⎪⎪⎪⎪⎪⎨ _ωMot_ 2_min ≤ _ωMot_ 2 ≤ _ωMot_ 2_max _,_
_Te_ _min ≤ _Te_ ≤ _Te_ _max _,_
_TMot_ 1_min ≤ _TMot_ 1 ≤ _TMot_ 1_max _,_
_TMot_ 2_min ≤ _TMot_ 2 ≤ _TMot_ 2_max _,_
⎪⎪⎪⎪⎪⎪⎪⎪⎩
_SOC_ min ≤ _SOC_ ≤ _SOC_ max _,_
(8b)
The objective function is optimized using the gradient descent method. The derivative of the objective function _J_ ( _θ_ ) is
given by:
∇ _θ_ _J_ ( _θ_ ) = _Eτ_ ∼ _πθ_ ∇ _θ_ log _P_ ( _τ_ ; _θ_ ) _R_ ( _τ_ ) _._ (11)
_P_ ( _τ_ ; _θ_ ) =
�� _T_
_t_ =0
_P_ ( _St_ +1| _St_ _, at_ ) _πθ_ ( _at_ )| _St_
_._ (10)
Therefore, the parameter update process for the policy _pi_
with parameters _θ_ is given by:
_θ_ ← _θ_ + _α_ ∇ _θ_ _J_ ( _θ_ ) _,_ (12)
where _α_ is the learning rate, a hyperparameter controls the
step size of parameter updates during training. Finding the
right balance for the learning rate is essential for successful
training.
The PG algorithm is an on-policy algorithm that suffers
from low learning efficiency and instability. The PPO algorithm addresses these issues by introducing importance
sampling, where a new policy _πθ_ <sup>′</sup> <sup>interacts</sup> <sup>with</sup> <sup>the</sup> <sup>environ-</sup>
ment to improve efficiency through multiple sampled data.
Additionally, to more accurately capture the goodness or badness of rewards at the current step, the PPO algorithm defines
an advantage function _A_ <sup>′</sup> _π_ <sup>(</sup> <sup>_s, a_</sup> <sup>) =</sup> <sup>_Q_</sup> _π_ <sup>′</sup> <sup>(</sup> <sup>_s, a_</sup> <sup>) −</sup> <sup>_V_</sup> _π_ <sup>′</sup> <sup>(</sup> <sup>_s_</sup> <sup>),</sup> <sup>where</sup>
_Qπ_ <sup>′</sup> <sup>(</sup> <sup>_s, a_</sup> <sup>)</sup> <sup>represents</sup> <sup>the</sup> <sup>action-value</sup> <sup>function,</sup> <sup>indicating</sup> <sup>the</sup>
<sup>′</sup> _π_ <sup>(</sup> <sup>_s, a_</sup> <sup>) =</sup> <sup>_Q_</sup> <sup>′</sup>
_π_ <sup>′</sup> <sup>(</sup> <sup>_s, a_</sup> <sup>) −</sup> <sup>_V_</sup> _π_ <sup>′</sup>
_Qπ_ <sup>′</sup> <sup>(</sup> <sup>_s, a_</sup> <sup>)</sup> <sup>represents</sup> <sup>the</sup> <sup>action-value</sup> <sup>function,</sup> <sup>indicating</sup> <sup>the</sup>
value of taking action a in state s, and _Vπ_ <sup>′</sup> <sup>(</sup> <sup>_s_</sup> <sup>)</sup> <sup>represents</sup> <sup>the</sup>
state-value function, indicating the value of the state _s_ . The
objective function of the PPO algorithm is as follows
_J_ <sup>′</sup> ( _θ_ ) =
min
( _st_ _,at_ )
- _πθ_
_πθ_ <sup>′</sup>
_,_
TABLE 3. Pseudocode of the PPO Algorithm.
where _SOCint_ is 0.55 in this case, _β_ 1 _, β_ 2 are weighting coefficients, and it is designed to ensure the SOC remains
consistently maintained throughout operation.
However, a notable limitation of these traditional approaches is their inability to strategically deplete or augment
SOC at optimal intervals, leading to excessively conservative reward values that may compromise overall efficiency.
This study innovatively integrates operating conditions data to
address this shortcoming, enabling a macroscopic evaluation
of SOC variations. Furthermore, it introduces non-parametric
reward mechanisms to enhance the generality and adaptability
of the approach [36].
_Remark_ _2._ _(Reward_ _function_ _of_ _PPO-MASK-NR-EMS):_ As
articulated in (16), the resulting modified reward function
reflects these advancements, offering a more nuanced and
effective framework for energy management in HEMTs,
_A_ <sup>′</sup> _π_ <sup>(</sup> <sup>_s, a_</sup> <sup>)</sup> <sup>_,_</sup> <sup>clip</sup>
- _πθ_
_πθ_ <sup>′</sup>
_,_ 1 − _ϵ,_ 1 + _ϵ_
_A_ <sup>′</sup> _π_ <sup>(</sup> <sup>_s, a_</sup> <sup>)</sup>
(13)
where _J_ <sup>′</sup> ( _θ_ ) represents the objective function of the PPO algorithm, <sup>_<u>πθ</u>_</sup>
_π_ <sup><u>′</u></sup>
_θ_ <sup>denotes the ratio of the new policy to the old policy.</sup>
It ensures the similarity between policies at different times by
taking the minimum value before and after epsilon clipping,
thereby improving training stability. The update method of the
PPO algorithm remains gradient-based.
Due to the difficulty of achieving accurate, continuous control in actual vehicle control processes, this study adopts the
discrete PPO algorithm. The discrete PPO algorithm utilizes
the Softmax policy, which can be described as follows,
_<u>e</u>_ <sup>_φ_</sup> <sup>(</sup> <sup>_s,a_</sup> <sup>)</sup> <sup>_T θ_</sup>
_πθ_ ( _s, a_ ) = ~~�~~ _a_ <sup>′</sup> ∈ _A_ <sup>_eφ_</sup> <sup>(</sup> <sup>_s,a_</sup> <sup>′</sup> <sup>)</sup> <sup>_T_</sup> <sup>_θ_</sup> <sup>_,_</sup> (14)
where _πθ_ ( _s, a_ ) represents the output probability of action a
in the entire action space. The learning process of the PPO
algorithm involves learning _θ_ to make the RL agent output
actions in different states, leading to higher overall rewards.
The pseudocode of the PPO algorithm is shown in Table 3.
_B._ _PRINCIPLE OF PPO-MASK-EMS_
In HEMTs, all power is derived exclusively from fuel and
battery sources, as the system lacks an external power supply.
Consequently, energy-saving strategies must prioritize fuel
efficiency and maintaining stable battery levels.
_Remark_ _1._ _(Reward_ _function_ _of_ _PPO-MASK-EMS):_ In the
case of an RL-EMS, energy-saving solutions are reflected in
the reward function’s design. Traditional formulations, such
as (15),
_π_ <sup><u>′</u></sup>
_,_
(16)
_Reward_ = −
_m_ ˙ _f SOC_ + _e_
_ni_ <sup>−1</sup> | _SOC_ - _SOCint_ | _�SOC_
where _ni_ <sup>represents</sup> <sup>the</sup> <sup>proportion</sup> <sup>of</sup> <sup>the</sup> <sup>already</sup> <sup>operated</sup>
working cycle to the total working cycle, _�SOC_ indicates the
_,_ (15)
_Reward_ = −
_β_ 1 _m_ ˙ _f_ + _β_ 2| _SOC_ - _SOCint_ |
difference in SOC between the previous and current steps. To
reflect the increasing importance of the proportion of SOC and
the impact of choices over time, _e_ _ni_ <sup>−1</sup> is used instead of _n_ <sup>_<u>i</u>_</sup> <sup>.</sup>
Viewing the EMS of the HEMTs through the lens of
a Markov decision process, the current-mode selection and
power distribution at any given moment are determined exclusively by the immediately preceding state, independent of
earlier states. This Markovian property requires that the selected state variables comprehensively encapsulate the current
operational state of the HEMTs without introducing redundancy. Accordingly, the state variables adopted in this study
encompass vehicle speed, _SOC_, demand torque, mode selection, and the step length of the ongoing working cycle. The
state vector and control vector show as { _v, SOC, Tt_ _, gear,_ _n_ <sup>_<u>i</u>_</sup> <sup>}</sup>
_ni_ <sup>−1</sup> is used instead of _n_ <sup>_<u>i</u>_</sup>
state vector and control vector show as { _v, SOC, Tt_ _, gear,_ _n_ <sup>_<u>i</u>_</sup> <sup>}</sup>
{ _TMot_ 2 _, ωMot_ 1 _, mode_ }, respectively. These variables collectively provide a robust representation of the system’s status,
and the state space is formally expressed as follows
_,_
_State_ :
_v, SOC, Tt_ _, gear,_ <sup>_<u>i</u>_</sup>
_n_
_Action_ : ( _TMot_ 2 _, ωMot_ 1 _, mode_ ) _,_
s.t
⎧
⎪⎪⎪⎪⎨
⎪⎪⎪⎪⎩
0 ≤ _v_ ≤ 50 _, km/h_
_Tt_ _min ≤ _Tt_ ≤ _Tt_ _max _, Nm_
_SOC_ min ≤ _SOC_ ≤ _SOC_ max _,_
_gear_ ∈{1 _,_ 2 _,_ 3} _,_
0 ≤ _n_ <sup>_<u>i</u>_</sup> <sup>≤</sup> <sup>1</sup> <sup>_._</sup>
(17)
TABLE 4. Hyperparameter Settings.
their corresponding probabilities. For the Critic network, the
input comprises the 5-dimensional state variable augmented
by a 1-dimensional action variable. After processing through a
fully connected layer of 256 and 128 neurons, the output is the
value function _Q_ ( _s, a_ ), represented as a single-dimensional
scalar. The algorithm’s parameters are detailed in Table 4.
However, in practical online EMS operations, not all 1889
actions are suitable for every working cycle. This mismatch
introduces safety risks and prompts the neural network to
undertake unreasonable explorations during training, consequently prolonging the duration of the training.
To address this limitation, the authors propose integrating
a masking mechanism to filter out unsuitable actions at appropriate intervals, akin to applying a mask that restricts the
neural network to output only viable actions. This is accomplished by inserting a mask layer, matching the size of the
action space, immediately preceding the Softmax layer in the
actor network, followed by an element-wise multiplication
operation. The mask layer is formulated as a vector _lm_ .
Given the extensive array of variables requiring control
within the EMS, many researchers have sought to streamline
the number of action variables by leveraging Brake Specific
Fuel Consumption (BSFC) curves. While this simplification
reduces computational complexity, it often compromises the
energy-saving potential of EMS. In contrast, this study embraces a more comprehensive approach, identifying seven
distinct categories of controlled variables: the torque and
speed of Mot1 and Mot2 ( _TMot_ 1 _, TMot_ 2 _, ωMot_ 1 _, ωMot_ 2), the
torque and speed of the engine ( _Te, ωe_ ), and the mode selection. The authors devise a method to simplify the controlled
variables by back-calculating from the wheel end to manage
this complexity within a known working cycle and specified
demand torque. By designating _TMot_ 2 _, ωMot_ 1, and the operation modes as action variables and discretizing their values,
a total of 1889 unique action combinations are derived. The
action space is represented as follows:
_A_ = { _N_ | _N_ = 1 _,_ 2 _,_ 3 _. . .,_ 1889} _._ (18)
This study employs a two-layer neural network architecture. For the actor network, the input consists of a 5dimensional state variable, which is processed through fully
connected layers comprising 256 neurons and 128 neurons,
respectively. The output layer yields an 1889-dimensional
vector, which aligns with the dimensionality of the action
space. This output is subsequently passed through a Softmax
layer, generating probability values for the 1889 possible actions. During the training phase, actions are selected based on
_lm_ =
�−∞ _,_ _s_ ∈ _/_ _S,_
(19)
1 _,_ _s_ ∈ _S._
Additionally, during backpropagation, gradients corresponding to inappropriate action positions are excluded from
consideration [37]. The improved neural network architecture
is illustrated in Fig. 2, with the parameters consistent with
those outlined in Table 4.
At each time step, the environment model first transmits the
current vehicle speed and demand torque to the mask calculation algorithm, which computes the mask vector tailored to
the current state of the HEMTs. This mask vector and the state
variables are then relayed to the agent. The agent executes actions based on a probability distribution restricted to feasible
actions, subsequently receiving the corresponding rewards.
The proposed PPO-MASK algorithm, which incorporates a
novel reward function (named PPO-MASK-NR), forms the
basis of the enhanced EMS framework, as illustrated in Fig. 2.
This approach significantly improves the safety and efficiency
of the EMS by ensuring that only contextually appropriate
actions are considered during operation.
IV. ALGORITHMS TRAINING AND COMPARISONS
To better illustrate the performance of the mask layer and
the novel reward function proposed in this study, a dedicated
FIGURE 2. Overall framework of the proposed PPO-MASK-EMS and PPO-MASK-NR-EMS.
FIGURE 3. Speed curves.
FIGURE 4. Training experiments comparison.
comparative analysis was performed based on three driving
cycles (Cycle 1, Cycle 2 and Cycle 3), shown in Fig. 3. To
thoroughly evaluate the effectiveness of the reward function
proposed in this study, we compared the EMS performance
using the reward function given by (15) (PPO-MASK-EMS)
and the reward function represented by (16) (PPO-MASKNR-EMS).
_A._ _MASK LAYER EFFECTS ON EMS PERFORMANCE_
First, this subsection provides a comprehensive comparison
of the performance of PPO, PPO-MASK, and PPO-MASKNR under identical driving cycles, effectively showcasing the
capabilities and advantages of the proposed algorithms.
Fig. 4 illustrates the training processes under different
frameworks. All algorithms achieve convergence, with reward
values stabilizing after 1,000 iterations. At the beginning of
training, the reward for the PPO algorithm begins at a lower
value than PPO-MASK. This is primarily due to the traditional PPO’s reliance on negative rewards to discourage the
selection of inappropriate actions. Consequently, during the
initial phase, the agent explores a broader range of suboptimal
actions, leading to a faster training pace for PPO relative
to PPO-MASK. The final reward value of PPO-MASK typically surpasses that of the PPO algorithm, as the latter
is more susceptible to the influence of random, unreasonable actions. Furthermore, using negative rewards to suppress
unreasonable action selections tends to deviate from the algorithm’s intended training trajectory, introducing a degree of
dispersion.
_Remark_ _3:_ The limitation above arises because the
punishment-based learning strategy in PPO corresponds to
a soft-constraint approach, which can only partially mitigate these occurrences rather than eliminate them entirely.
In contrast, practical vehicle operation demands a rational
and precise energy allocation to the power sources. This
improvement stems from our approach of fundamentally eliminating the execution and training of unreasonable actions,
ensuring a more robust and reliable energy management
strategy.
_B._ _IMPACT OF REWARD FUNCTION ON EMS_
_PERFORMANCE_
Following the methodology outlined, a comparative analysis
of PPO-MASK and PPO-MASK-NR was conducted under
identical driving cycles. The comparative reward trajectories
in Fig. 4 clearly show that (16) yields more consistent and
FIGURE 5. SOC curves of PPO-MASK-EMS and PPO-MASK-NR-EMS.
structured reward signals during training, which explains the
faster convergence and marginally higher cumulative reward
observed for PPO-MASK compared to PPO-MASK-NR.
As illustrated in Fig. 4, PPO-MASK and PPO-MASK-NR
converged, indicating stable training outcomes. However, it
cannot reflect the training effectiveness of the two algorithms, given that PPO-MASK and PPO-MASK-NR employ
fundamentally distinct reward functions. Further insights are
provided in Fig. 5, which presents the SOC curves for EMS
based on PPO-MASK and PPO-MASK-NR. Both approaches
successfully maintain the SOC within the designated range of
0.4 to 1, demonstrating their capability to meet operational
constraints. Overall, the SOC trajectory under PPO-MASKNR reflects superior global exploration performance, with its
terminal SOC aligning more closely with the initial value than
that of PPO-MASK.
While the terminal SOC of PPO-MASK can be refined
by tuning the parameters _β_ 1 and _β_ 2 in (15), such adjustments often lead to increased fuel consumption. Consequently, these modifications were guided by holistic considerations rather than being tailored solely to the current driving cycle. In contrast, the EMS policy based on
PPO-MASK-NR demonstrated remarkable adaptability, effectively consuming more SOC during the first half of the
cycle and restoring it to the initial level at appropriate
intervals in the second half. This balanced and adaptive
behavior underscores the enhanced performance of PPOMASK-NR in managing energy across diverse operational
phases.
V. GENERALIZATION PERFORMANCE OF PROPOSED EMS
TECHNIQUE
_A._ _OFF-LINE TRAINING WITH PPO-MASK-NR-EMS_
The efficacy of the proposed mask layer and the innovative reward function in this study has been rigorously substantiated.
To showcase the performance of the PPO-MASK-NR-EMS,
this section offers an in-depth comparative analysis of the
training outcomes for PPO-MASK, DP, RB, and ECMS under
Cycle 1. DP, RB, and ECMS formulations align with those
established in our previous work [38].
The gear selection distributions under various algorithms,
highlighting the predominance of third-gear usage in PPOMASK-NR, were analyzed, their similarity to DP, and the
consistent patterns in ECMS and RB were highlighted, as
FIGURE 6. Gear selection distribution for different algorithms in Cycle 1.
FIGURE 7. Distribution of fuel consumption rates in Cycle 1.
depicted in Fig. 6. Under PPO-MASK-NR, gear selection
predominantly favors the third gear, closely resembling the
pattern observed with DP, though both algorithms utilize the
second gear less often than the other two methods. Furthermore, since both the ECMS and the RB employ rule-based
gear selection mechanisms, their gear selection distributions
exhibit a high degree of consistency.
This section evaluates the fuel consumption performance
of the considered algorithms, demonstrating the superior
efficiency of PPO-MASK-NR, as illustrated in Fig. 7. Specifically, it presents the distribution of fuel consumption rates
across the evaluated algorithms, revealing that the PPOMASK-NR approach enables the engine to operate more
frequently in the high-efficiency zone, effectively reducing
fuel consumption.
Provides a comprehensive analysis of the SOC maintenance
and fuel consumption performance across the evaluated algorithms, underscoring the balanced efficiency of PPO-MASK,
as depicted in Fig. 8. As shown in Table 5, PPO-MASKNR achieves a fuel consumption of 7.71 _L_, markedly lower
than RB and ECMS at 9.49 _L_ and 9.11 _L_, respectively, thereby
maintaining a clear advantage over these methods. However,
FIGURE 8. SOC variation curves for different EMS techniques in Cycle 1.
TABLE 5. Fuel Consumptions for Different EMS Methods in Cycle 1.
with a final SOC 0.03 lower than DP’s 0.55, the fuel consumption of PPO-MASK-NR is marginally better than DP’s 7.92 _L_ .
The fuel equivalence conversion is calculated as:
Fuelequivalence (g) = <sup>|</sup> <sup>_�_</sup> <sup><u>SOC| ×</u></sup> <sup>_<u>Q</u>_</sup> <sup><u>batt</u></sup> <sup>×</sup> <sup>_ρ_</sup> <sup><u>fuel</u></sup>
_η_ avg × LHVfuel
(20)
where, _�_ SOC is the deviation between the initial and final
State of Charge, _Q_ batt is the total usable capacity of the battery
(in Ah), _ρ_ fuel is the density of the fuel (in g/L), _η_ avg is the
average engine efficiency (dimensionless) and LHVfuel is the
Lower Heating Value of the fuel (in MJ/kg).
To account for varying final SOC levels, Table 5 provides
DP benchmarks by converting SOC differences into equivalent petroleum costs, using an electricity price of 0 _._ 6 _RMB_ per
_kW h_ and a petroleum price of 8 _RMB_ per liter based on (20).
Relative to RB and ECMS, PPO-MASK-NR delivers fuel consumption improvements of 25.9% and 20.75%, respectively,
highlighting its superior efficiency and cost-effectiveness.
_B._ _HIL EXPERIMENTS WITH PPO-MASK-NR_
This study outlines the online verification and generalization assessment of the PPO-MASK-NR, demonstrating its
practical applicability and robustness across new conditions.
Firstly, for the new Cycle 2, the actor network trained by
the PPO-MASK-NR algorithm is validated online and compared with the real-time algorithm (RB, ECMS) commonly
employed in HEMTs. A validation process was conducted
through Software-in-the-Loop (SiL) and HiL experiments under entirely new predetermined conditions, evaluating the
generalization performance and effectiveness of the proposed
PPO-MASK-NR for real-world applications.
A detailed comparison of the operating efficiency and
coordination of power sources under real-time algorithms
is provided, highlighting the superior performance of PPOMASK-NR, as illustrated in Fig. 9. The operating point
distributions of motors and engines under different real-time
FIGURE 9. Operation points in Cycle 2 in different strategies. (a) Mot1. (b)
Mot2. (c) Engine.
algorithms were presented. As observed in Fig. 9(a) and
9(b), the motor operating ranges under the RB and ECMS
algorithms are relatively concentrated, whereas the motor under the PPO-MASK-NR algorithm not only operates more
frequently in the high-efficiency interval but also spans a
broader range of operating conditions. This broader distribution fosters improved coordination between the motors and
the engine. A similar trend is evident in Fig. 9(c), where
the engine operating points under RB and ECMS are confined to local optima, overemphasizing the high-efficiency
interval at the expense of necessary trade-offs. In contrast,
PPO-MASK-NR achieves a more balanced operation. Fig. 10
illustrates the gear selection distributions for RB, ECMS,
FIGURE 10. Gear selection distribution for different algorithms in Cycle 2.
FIGURE 11. Distribution of fuel consumption rates in Cycle 2.
TABLE 6. Fuel Consumptions for Different EMS Methods in Cycle 2
and PPO-MASK-NR, revealing that the frequency of second gear selections is comparable across all three, whereas
PPO-MASK-NR demonstrates the highest utilization of the
third gear compared to RB and ECMS. Furthermore, as depicted in Fig. 11 and Table 6, PPO-MASK-NR exhibits the
highest number of low fuel consumption operating points for
the engine among the three algorithms while also effectively
covering the medium-low fuel consumption region, enhancing
the overall optimality of the transmission system.
Comparing to the ECMS strategy, the PPO-MASK strategy successfully concentrated more engine operating points
within the high-efficiency and low-fuel-consumption region,
while significantly reducing the engine’s operating time in
high-fuel-consumption intervals under Cycle 3 conditions
(Fig. 12). Compared to both RB and ECMS, the SOC under
the PPO-MASK algorithm showed a slight increase to 0.4980.
Under similar terminal SOC conditions, the fuel consumption
FIGURE 12. Engine operation points in Cycle 3 in different strategies.
FIGURE 13. HiL experimental platform.
achieved by the PPO-MASK strategy was 11.231 L, representing an improvement of approximately 4.1% compared to
RB and about 0.8% compared to the ECMS algorithm.
Our experiments utilized a HiL cabinet equipped with
essential PXI hardware, signal conditioning modules, BOB
breakout boxes, and power supplies. The HiL experimental
platform integrates a dSPACE MicroAutoBox module for vehicle ECUs and a National Instruments test cabinet, forming
a robust testing solution. The setup for the HiL experiment is
depicted in Fig. 13.
The PPO policy network, derived from the pre-trained actor
network, was meticulously reconstructed in Simulink. Leveraging Simulink’s automatic C code generation technology, the
policy network was compiled into binary code and deployed
onto the controller. The environment model was implemented
on the PXI controller using Simulink’s automatic C code generation technology. NI VeriStand software is used for system
configuration and the same code generation approach. System
configuration was facilitated by NI VeriStand software, which
also enabled the importation and signal mapping of the environment model. HiL testing was subsequently conducted,
with test results captured using the data logging functionality
within the workspace. Besides, the average computation time
per control cycle was measured at 0.78 ms and the worst-case
execution time (WCET) remained below 1.2 ms. These results confirm that our method occupies only 15–20% of the
available 5 ms control interval, providing substantial margin
FIGURE 14. SOC curves under SiL and HiL experiments.
TABLE 7. Fuel Consumptions for Different EMS Methods in Cycle 3
for additional processing tasks and demonstrating unequivocal
compliance with real-time requirements.
The SOC curves derived from our SiL and HiL experiments were presented in Fig. 14. While minor discrepancies
between the two curves may arise due to data precision
limitations, their close alignment underscores the practical
viability of the EMS technique based on PPO-MASK-NR.
Table 7 compares the RB, ECMS, and PPO-MASK-NR
methods under a new cycle, assessing their generalization
performance. Relative to the RB and ECMS algorithms,
the PPO-MASK algorithm demonstrates lower fuel consumption while achieving a higher final SOC. Employing
the same SOC-to-fuel conversion methodology as previously applied, PPO-MASK-NR achieves an 11% improvement in fuel consumption over RB, whereas ECMS yields a
more modest 5% improvement compared to RB, highlighting the superior efficiency and adaptability of the proposed
approach.
VI. CONCLUSION
This study developed an advanced EMS method based on the
PPO algorithm specifically for HEMTs deployed in mining
operations. This research introduces two significant enhancements to the EMS design tailored for vehicles with intricate
hybrid powertrain systems, addressing both safety and efficiency challenges in real-world applications:
1) Integration of the mask Layer into the PPO Algorithm: A
novel mask layer was incorporated into the PPO framework,
effectively filtering out the execution and training of irrational
or unsafe actions. This enhancement ensures the safety of
online training by preventing the algorithm from exploring
hazardous operational states while enabling robust adaptation
to novel and unforeseen operating conditions and driving scenarios. By shielding the system from impractical decisions,
the mask layer enhances the reliability of the PPO algorithm
in dynamic and unpredictable mining environments.
2) Development of an Optimized DRL Reward Function for
HEMTs: A sophisticated DRL reward function was designed
to improve the EMS performance for HEMTs. By balancing
these objectives, the reward function ensures efficient energy
utilization while preserving battery operating in a reasonable range over extended operational cycles. Subsequently,
offline training of the proposed PPO-MASK algorithm was
carried out, revealing that it attains 98% of the performance
of the DP algorithm, a recognized benchmark for optimality,
during the training phase. This near-optimal performance underscores the algorithm’s capability to deliver high-efficiency
energy management without the computational overhead
of DP.
3) SiL simulations and HiL experiments verification: It is
employed further to validate the real-world applicability of
the proposed EMS. These tests assessed the algorithm’s performance under realistic conditions, bridging the gap between
theoretical development and practical deployment. The experimental results demonstrated that, under Cycle 2, the proposed
PPO-MASK-NR algorithm achieves an 11% reduction in fuel
consumption compared to the RB while maintaining superior
SOC management and operational reliability. These findings
affirm the proposed EMS’s effectiveness, robustness, and
practical utility for HEMTs in demanding mining applications.
Future research will focus on refining the neural network
training process to enhance efficiency and reduce computational demands. In addition, it will incorporate electrothermal
and aging models to quantitatively assess the impact of our
energy management strategy on battery health and longevity.
This includes exploring smaller, more streamlined neural network architectures to achieve comparable or superior results
in less time, thereby improving scalability for real-time applications.
REFERENCES
[1] S. Martikainen et al., “Reducing particle emissions of heavy-duty diesel
vehicles in India: Combined effects of diesel, biodiesel and lubricating
oil,” _Atmospheric Environment, X_, vol. 17, 2023, Art. no. 100202.
[2] Q. Han, J. Ma, X. Zhao, S. Wang, H. Chai, and Z. Zheng, “Hierarchical
coordinated optimization and energy management control for plug-in
hybrid electric heavy-duty truck platoon in coal mine transportation system,” _IEEE Trans. Veh. Technol._, vol. 74, no. 1, pp. 229–245, Jan. 2025.
[3] D. Zhao, R. Stobart, G. Dong, and E. Winward, “Real-time energy man
agement for diesel heavy duty hybrid electric vehicles,” _IEEE_ _Trans._
_Control Syst. Technol._, vol. 23, no. 3, pp. 829–841, May 2015.
[4] J. Ruan et al., “The application of machine learning-based energy man
agement strategy in a multi-mode plug-in hybrid electric vehicle, part II:
Deep deterministic policy gradient algorithm design for electric mode,”
_Energy_, vol. 269, 2023, Art. no. 126792.
[5] Y. Zhang, L. Diao, H. Pei, and C. Xu, “A multi-mode coordinated
control framework of vehicular hybrid power system based on energy
storage system,” _IEEE_ _Trans._ _Veh._ _Technol._, vol. 74, no. 4,
pp. 5784–5798, Apr. 2025.
[6] G. Pozzato, S. Formentin, G. Panzani, and S. M. Savaresi, “Least costly
energy management for extended-range electric vehicles: An economic
optimization framework,” _Eur. J. Control_, vol. 56, pp. 218–230, 2020.
[7] G. Liu et al., “Energy-saving control of intelligent connected plug-in
hybrid electric vehicle via fusing driving intention of front vehicle,”
_Green Energy Intell Transp_, 2025, Art. no. 100330, In Press.
[8] Z. Chen, R. Xiong, K. Wang, and B. Jiao, “Optimal energy management
strategy of a plug-in hybrid electric vehicle based on a particle swarm
optimization algorithm,” _Energies_, vol. 8, no. 5, pp. 3661–3678, 2015.
[9] X. Yang, C. Jiang, M. Zhou, and H. Hu, “Bi-level energy management
strategy for power-split plug-in hybrid electric vehicles: A reinforcement learning approach for prediction and control,” _Front. Energy Res._,
vol. 11, 2023, Art. no. 1153390.
[10] C. Zhang et al., “Real-time optimization of energy management strat
egy for fuel cell vehicles using inflated 3D inception long short-term
memory network-based speed prediction,” _IEEE_ _Trans._ _Veh._ _Technol._,
vol. 70, no. 2, pp. 1190–1199, Feb. 2021.
[11] A. H. Ganesh and B. Xu, “A review of reinforcement learning based
energy management systems for electrified powertrains: Progress,
challenge, and potential solution,” _Renewable_ _Sustain._ _Energy_ _Rev._,
vol. 154, 2022, Art. no. 111833.
[12] N. Yang, L. Han, C. Xiang, H. Liu, T. Ma, and S. Ruan, “Real-time
energy management for a hybrid electric vehicle based on heuristic
search,” _IEEE_ _Trans._ _Veh._ _Technol._, vol. 71, no. 12, pp. 12635–12647,
Dec. 2022.
[13] C. Wang, F. Liu, A. Tang, and R. Liu, “A dynamic programming
optimized two-layer adaptive energy management strategy for electric
vehicles considering driving pattern recognition,” _J._ _Energy_ _Storage_,
vol. 70, 2023, Art. no. 107924.
[14] Y. Huangfu et al., “An improved energy management strategy for fuel
cell hybrid vehicles based on pontryagin’s minimum principle,” _IEEE_
_Trans. Ind. Appl._, vol. 58, no. 3, pp. 4086–4097, May/Jun. 2022.
[15] N. Guo et al., “Universal bounds estimation and efficient tuning for
equivalent factor in real-time cost-optimal predictive ECMs of PHEVs,”
_IEEE_ _Trans._ _Transport._ _Electrific._, vol. 11, no. 1, pp. 2796–2813,
Feb. 2025.
[16] C. Zhu, Z. Cheng, D. Ye, F. K. Hussain, T. Zhu, and W. Zhou, “Time
driven and privacy-preserving navigation model for vehicle-to-vehicle
communication systems,” _IEEE_ _Trans._ _Veh._ _Technol._, vol. 72, no. 7,
pp. 8459–8470, Jul. 2023.
[17] N. Guo, W. Zhang, J. Li, Z. Chen, J. Li, and C. Sun, “Predictive
energy management of fuel cell plug-in hybrid electric vehicles: A
co-state boundaries-oriented PMP optimization approach,” _Appl._ _En-_
_ergy_ [, vol. 362, 2024, Art. no. 122882. [Online]. Available: https://www.](https://www.sciencedirect.com/science/article/pii/S0306261924002654)
[sciencedirect.com/science/article/pii/S0306261924002654](https://www.sciencedirect.com/science/article/pii/S0306261924002654)
[18] G. Paganelli, T. Guerra, S. Delprat, J.-J. Santin, M. Delhom, and E.
Combes, “Simulation and assessment of power control strategies for a
parallel hybrid car,” _Proc. Inst. Mech. Eng., Part D, J. Automobile Eng._,
vol. 214, no. 7, pp. 705–717, 2000.
[19] S. Pu, L. Chu, J. Hu, S. Li, and Z. Hou, “An equivalent consump
tion minimization strategy for a parallel plug-in hybrid electric vehicle
based on an environmental perceiver,” _Sensors_, vol. 22, no. 24, 2022,
Art. no. 9621.
[20] C. Jia, W. Qiao, J. Cui, and L. Qu, “Adaptive model-predictive
control-based real-time energy management of fuel cell hybrid electric
vehicles,” _IEEE Trans. Power Electron._, vol. 38, no. 2, pp. 2681–2694,
Feb. 2023.
[21] N. Robuschi, M. Salazar, N. Viscera, F. Braghin, and C. H. Onder,
“Minimum-fuel energy management of a hybrid electric vehicle via iterative linear programming,” _IEEE Trans. Veh. Technol._, vol. 69, no. 12,
pp. 14575–14587, Dec. 2020.
[22] X. Sun, J. Fu, H. Yang, M. Xie, and J. Liu, “An energy management
strategy for plug-in hybrid electric vehicles based on deep learning and improved model predictive control,” _Energy_, vol. 269, 2023,
Art. no. 126772.
[23] O. Gomozov, J. P. F. Trovão, X. Kestelyn, and M. R. Dubois, “Adaptive
energy management system based on a real-time model predictive control with nonuniform sampling time for multiple energy storage electric
vehicle,” _IEEE_ _Trans._ _Veh._ _Technol._, vol. 66, no. 7, pp. 5520–5530,
Jul. 2017.
[24] C. Wu, J. Ruan, H. Cui, B. Zhang, T. Li, and K. Zhang, “The application
of machine learning based energy management strategy in multi-mode
plug-in hybrid electric vehicle, part I: Twin delayed deep deterministic
policy gradient algorithm design for hybrid mode,” _Energy_, vol. 262,
2023, Art. no. 125084.
[25] H. Wang and X. Wang, “Energy management of intelligent FCHEVs
under adaptive cruise control based on multi-objective deep reinforcement learning,” _IEEE_ _Trans._ _Veh._ _Technol._, vol. 74, no. 5,
pp. 7339–7350, May 2025.
[26] T. Liu, Y. Zou, D. Liu, and F. Sun, “Reinforcement learning of
adaptive energy management with transition probability for a hybrid
electric tracked vehicle,” _IEEE_ _Trans._ _Ind._ _Electron._, vol. 62, no. 12,
pp. 7837–7846, Dec. 2015.
[27] Y. Zou, T. Liu, D. Liu, and F. Sun, “Reinforcement learning-based real
time energy management for a hybrid tracked vehicle,” _Appl._ _Energy_,
vol. 171, pp. 372–382, 2016.
[28] J. Wu, H. He, J. Peng, Y. Li, and Z. Li, “Continuous reinforcement
learning of energy management with deep Q network for a power split
hybrid electric bus,” _Appl. Energy_, vol. 222, pp. 799–811, 2018.
[29] X. Qi, Y. Luo, G. Wu, K. Boriboonsomsin, and M. Barth, “Deep re
inforcement learning enabled self-learning control for energy efficient
driving,” _Transp. Res. Part C, Emerg. Technol._, vol. 99, pp. 67–81, 2019.
[30] L. Han, K. Yang, X. Zhang, N. Yang, H. Liu, and J. Liu, “Energy
management strategy for hybrid electric vehicles based on double Qlearning,” _Proc. SPIE_, vol. 12261, 2022, Art. no. 122612K.
[31] W. Chen, J. Peng, Y. Ma, H. He, T. Ren, and C. Wang, “Eco-driving
framework for hybrid electric vehicles in multi-lane scenarios by using
deep reinforcement learning methods,” _Green_ _Energy_ _Intell._ _Transp._,
2025, Art. no. 100309, (In Press).
[32] Y. Wu, H. Tan, J. Peng, H. Zhang, and H. He, “Deep reinforcement
learning of energy management with continuous control strategy and
traffic information for a series-parallel plug-in hybrid electric bus,”
_Appl. Energy_, vol. 247, pp. 454–466, 2019.
[33] S. Fujimoto, H. Hoof, and D. Meger, “Addressing function approxima
tion error in actor-critic methods,” in _Proc._ _Int._ _Conf._ _Mach._ _Learn._,
2018, pp. 1587–1596.
[34] Z. E. Liu, Q. Zhou, Y. Li, S. Shuai, and H. Xu, “Safe deep rein
forcement learning-based constrained optimal control scheme for HEV
energy management,” _IEEE_ _Trans._ _Transport._ _Electrific._, vol. 9, no. 3,
pp. 4278–4293, Sep. 2023.
[35] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, “Prox
imal policy optimization algorithms,” 2017, _arXiv:1707.06347_ .
[36] F. Yan, J. Wang, C. Du, and M. Hua, “Multi-objective energy man
agement strategy for hybrid electric vehicles based on TD3 with nonparametric reward function,” _Energies_, vol. 16, no. 1, 2023, Art. no. 74.
[37] S. Huang and S. Ontañón, “A closer look at invalid action masking in
policy gradient algorithms,” 2020, _arXiv:2006.14171_ .
[38] J. Zhang, X. Zhao, and N. L. Azad, “LSTM-based adaptive energy
management of connected hybrid mining trucks for improving fuel
efficiency,” in _Proc._ _IEEE_ _25th_ _Int._ _Conf._ _Intell._ _Transp._ _Syst._, 2022,
pp. 2848–2855.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.