Energy Management Strategy for a Hybrid Electric Vehicle Based on Deep Reinforcement Learning
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.3390/app8020187
- 저널
- Applied Sciences
- 발행년도
- 2018
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 243
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/app8020187
- 토픽
- Electric and Hybrid Vehicle Technologies
- OpenAlex ID
- W2793435266
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 47,695자
본문 펼치기
섹션 본문 115문단 · 45,855자
(제목 없음)
1An energy management strategy (EMS) is important for hybrid electric vehicles (HEVs) since it plays a decisive role on the performance of the vehicle.However, the variation of future driving conditions deeply influences the effectiveness of the EMS.Most existing EMS methods simply follow predefined rules that are not adaptive to different driving conditions online.Therefore, it is useful that the EMS can learn from the environment or driving cycle.In this paper, a deep reinforcement learning (DRL)-based EMS is designed such that it can learn to select actions directly from the states without any prediction or predefined rules.Furthermore, a DRL-based online learning architecture is presented.It is significant for applying the DRL algorithm in HEV energy management under different driving conditions.Simulation experiments have been conducted using MATLAB and Advanced Vehicle Simulator (ADVISOR) co-simulation.Experimental results validate the effectiveness of the DRL-based EMS compared with the rule-based EMS in terms of fuel economy.The online learning architecture is also proved to be effective.The proposed method ensures the optimality, as well as real-time applicability, in HEVs.
Introduction
2An energy management strategy (EMS) is one of the key technologies for hybrid electric vehicles (HEVs) due to its decisive effect on the performance of the vehicle [1].The EMS for HEVs has been a very active research field during the past decades.However, how to design a highly-efficient and adaptive EMS is still a challenging task due to the complex structure of HEVs and the uncertain driving cycle.
3The existing EMS methods can be generally classified into the following three categories: (1) Rule-based EMS, such as the thermostatic strategy, the load following strategy, and electric assist strategy [2,3].These methods rely heavily on the results of extensive experimental trials and human expertise without the a priori knowledge of the driving conditions [4].Other related control strategies employ heuristic control techniques, with the resultant strategies formalized as fuzzy rules [5,6].Though these rule-based strategies are effective and can be easily implemented, their optimality and flexibility are critically limited by working conditions and, consequently, are not adaptive to different driving cycles.(2) Optimization-based EMS: some optimization methods employed in control strategy are either based on the known driving cycles or predicted future driving conditions, such as dynamic programming (DP) [7][8][9], sequential quadratic programming (SQP), genetic algorithms (GA) [10], the Pontryagin minimum principle (PMP) [11], and so on.Usually, these algorithms can manage to determine the optimal power split between the engine and the motor for a particular driving cycle.However, the obtained optimal power-split solutions are only optimal with respect to a specific driving cycle.In general, it is neither optimal nor charge-sustaining for other cycles.Unless future driving conditions can be predicted during real-time operation, there is no way to imply these control laws directly.Moreover, these methods suffer from the "curse of dimensionality" problem, which prevents their wide adoption in real-time applications.Model predictive control (MPC) [12] is another type of optimization-based method.The optimal control problem in the finite domain is solved at each sampling instant and control actions are obtained based on online rolling optimization.This method has the advantages of good control effect and strong robustness.(3) Learning-based EMS: some strategies can learn from the historical data or use the previous driving data for online learning or application [13,14].Some researchers propose that traffic information and cloud computing in intelligent transportation systems (ITSs) can enhance HEV energy management since vehicles obtain real-time data via intelligent infrastructures or connected vehicles [15,16].Regardless of the learning from historical data or predicted data, these EMS methods also need complex control models and professional knowledge from experts.Thus, these EMS methods are not end-to-end control methods.Reinforcement learning-based control methods have also been used for HEV energy management [17,18].However, reinforcement learning must be able to learn from a scalar reward signal that is frequently sparse, noisy, and delayed.Additionally, the sequence of highly-correlated states is also a large problem of reinforcement learning, in addition to the data distribution changes, as the algorithm learns new behaviors in reinforcement learning.
4The learning-based EMS is an emerging and promising method because of its potential ability of self-adaption according to different driving conditions, even if there are still some problems.In our previous research, online learning control strategies based on neural dynamic programming (NDP) [19], fuzzy Q-learning (FQL) [20], were proposed.These strategies do not rely on prior information related to future driving conditions and can self-tune the parameters of the algorithms.A back propagation (BP) neural network was used to estimate the Q-value which, in turn, tuned the parameter of fuzzy controller [20].However, it also requires designing the fuzzy controller, as well as professional knowledge.
5Deep reinforcement learning (DRL) has shown successful performance in playing Atari [21] and Go games [22] in recent years.The DRL method is a powerful algorithm to solve complex control problems and handle large state spaces by establishing a deep neural network to relate the value estimation and associated state-action pairs.As a result, the DRL algorithm has been quickly applied in robotics [23], building HVAC control [24], ramp metering [25], and other fields.In the automotive field, DRL has been used for lane keeping assist [26], autonomous braking system [27], and autonomous vehicles [28].However, motion control of autonomous vehicles needs very high precision from our perspective.The mechanism of DRL has not been explained very deeply and may not meet this high requirement.
6Nevertheless, DRL is a powerful technique that can be used in HEV EMS in this research as it concerns the fuel economy compared to the control precision.A DRL-based EMS has been designed for plug-in hybrid electric vehicles (PHEVs) [29].This is the first time DRL has been applied to a PHEV EMS.However, there are several problems in this study: (1) The learning process is still offline, which means that the trained deep network can only work well in the same driving cycle, but would not be able to obtain good performance in other driving conditions.As a result, this method can be used in buses with fixed route however it is not acceptable for vehicles with route variation; (2) The immediate reward is important as it affects the performance of DRL.The optimization objective is the vehicle fuel economy, but the reward is a function based on the power supply from the engine.The relationship between fuel economy and engine power is complex and the paper lacks the ability to justify this phenomena; (3) The structure of deep neural network can be well designed by fixing the Q targets network, which can make the algorithm more stable.
7In this research, an energy management strategy based on deep reinforcement learning is proposed.Our work achieves good performance and high scalability by (1) building the system model of the HEV and formulating the HEV energy management problem; (2) developing a DRL-based control framework and an online learning architecture for a HEV EMS, which is adapted to different driving conditions; and (3) facilitating algorithm training and evaluation in the simulation environment.Figure 1 illustrates our DRL-based algorithm for HEV EMS.The DRL-based EMS can autonomously learn the optimal policy based on data inputs, without any prediction or predefined rules.For training and validation, we use the HEV model built in ADVISOR software (National Renewable Energy Laboratory, Golden, CO, USA).Simulation results reveal that the algorithm is able to improve the fuel economy while meeting other requirements, such as dynamic performance and vehicle drivability.the engine.The relationship between fuel economy and engine power is complex and the paper lacks the ability to justify this phenomena; (3) The structure of deep neural network can be well designed by fixing the Q targets network, which can make the algorithm more stable.
8In this research, an energy management strategy based on deep reinforcement learning is proposed.Our work achieves good performance and high scalability by (1) building the system model of the HEV and formulating the HEV energy management problem; (2) developing a DRL-based control framework and an online learning architecture for a HEV EMS, which is adapted to different driving conditions; and (3) facilitating algorithm training and evaluation in the simulation environment.Figure 1 illustrates our DRL-based algorithm for HEV EMS.The DRL-based EMS can autonomously learn the optimal policy based on data inputs, without any prediction or predefined rules.For training and validation, we use the HEV model built in ADVISOR software (National Renewable Energy Laboratory, Golden, CO, USA).Simulation results reveal that the algorithm is able to improve the fuel economy while meeting other requirements, such as dynamic performance and vehicle drivability.The proposed DRL-based EMS uses a fixed target Q network which can make the algorithm more stable.The immediate reward is a function directly related to fuel consumption.More importantly, a DRL-based online learning architecture is presented.It is a critical factor to apply the DRL algorithm in HEV energy management under different driving conditions.
Action value error
9The rest of this paper is organized as follows: Section 2 introduces the system model of HEV and describes the mathematics formulation of HEV EMS.Section 3 explains our deep reinforcement learning-based control strategy, including offline learning and online learning application.The experimental results are given in Section 4, followed by the conclusions in Section 5.
Problem Formulation
10The prototype vehicle is a single-axis parallel HEV, the drivetrain structure of which is shown in Figure 2. The drivetrain integrates an engine, an electric traction motor/generator, Ni-Hi batteries, an automatic clutch, and an automatic/manual transmission system.The motor is directly linked between the auto clutch output and the transmission input.This architecture provides the regenerative braking during deceleration and allows an efficient motor assist operation.To provide pure electrical propulsion, the engine can be disconnected from the drivetrain by the automatic The proposed DRL-based EMS uses a fixed target Q network which can make the algorithm more stable.The immediate reward is a function directly related to fuel consumption.More importantly, a DRL-based online learning architecture is presented.It is a critical factor to apply the DRL algorithm in HEV energy management under different driving conditions.
11The rest of this paper is organized as follows: Section 2 introduces the system model of HEV and describes the mathematics formulation of HEV EMS.Section 3 explains our deep reinforcement learning-based control strategy, including offline learning and online learning application.The experimental results are given in Section 4, followed by the conclusions in Section 5.
12The prototype vehicle is a single-axis parallel HEV, the drivetrain structure of which is shown in Figure 2. The drivetrain integrates an engine, an electric traction motor/generator, Ni-Hi batteries, an automatic clutch, and an automatic/manual transmission system.The motor is directly linked between the auto clutch output and the transmission input.This architecture provides the regenerative braking during deceleration and allows an efficient motor assist operation.To provide pure electrical propulsion, the engine can be disconnected from the drivetrain by the automatic clutch.We have adopted the vehicle model from our previous work [19,20] for this research.The key parameters of this vehicle are given in Table 1.
13Appl.Sci.2018, 8, x FOR PEER REVIEW 4 of 15 clutch.We have adopted the vehicle model from our previous work [19,20] for this research.The key parameters of this vehicle are given in Table 1.
Control action:
14The decision-making on the torque-split ratio between the internal combustion engine (ICE) and battery is the core problem of the HEV energy management strategy.We choose the output torque from the ICE as the control action in this study, denoted as
15, where t is the time step index.
) (t T e
16should be discretized in order to apply the DRL-based algorithm, i.e., the entire action space is
17, where n is the degree of discretization.In this research, we consider n as 24.The motor output torque
18can be obtained by subtracting
19Immediate Reward: Immediate reward is important in the DRL algorithm because it directly influences the parameters tuning of the deep neural network (DNN).The DRL agent is always trying to maximize the reward which it can obtain by taking the optimal action at each time step.Therefore, the immediate reward should be defined according to the optimization objective.The control objective of the HEV EMS is to minimize vehicle fuel consumption and emissions along a System state: In the DRL algorithm, control action is directly determined by the system states.In this study, the total required torque (T dem ) and the battery state-of-charge (SOC) are selected to form a two-dimensional state space, i.e., s(t) = (T dem (t), SOC(t)) T , where T dem (t) represents the required torque at time t, and SOC(t) represents the battery state of charge at time t.
20Control action: The decision-making on the torque-split ratio between the internal combustion engine (ICE) and battery is the core problem of the HEV energy management strategy.We choose the output torque from the ICE as the control action in this study, denoted as A(t) = T e (t), where t is the time step index.T e (t) should be discretized in order to apply the DRL-based algorithm, i.e., the entire action space is A = A 1 , A 2 , ..., A n , where n is the degree of discretization.In this research, we consider n as 24.The motor output torque T m (t) can be obtained by subtracting T e (t) from T dem (t).
21Immediate Reward: Immediate reward is important in the DRL algorithm because it directly influences the parameters tuning of the deep neural network (DNN).The DRL agent is always trying to maximize the reward which it can obtain by taking the optimal action at each time step.
22Therefore, the immediate reward should be defined according to the optimization objective.The control objective of the HEV EMS is to minimize vehicle fuel consumption and emissions along a driving mission.Meanwhile, the vehicle drivability and battery health should be satisfied.In this work, we focus more on fuel economy of the HEV; the emissions are not taken into consideration.Keeping this objective in mind, the reciprocal of the ICE fuel consumption at each time step is defined as the immediate reward.A penalty value is introduced to penalize the situation when the SOC exceeds the threshold.Immediate reward is defined by the following equations:
23where r a ss is the immediate reward generated when state changes from s to s by taking action a; C ICE is the instantaneous fuel consumption value of the ICE; C is the numerical penalty, as well as the maximum instantaneous power supply from the ICE; Min C ICE is the minimum nonzero value of the ICE instantaneous fuel consumption value.The SOC variation range is from 40% to 85% in this study.This definition can guarantee the lower ICE fuel consumption while satisfying the SOC constrains.
24Formally, the goal of the EMS of the HEV is to find the optimal control strategy, π * , that maps the observed states s t to the control action a t .Mathematically, the control strategy of the HEV can be formulated as an infinite horizon dynamic optimization problem as follows:
25where r(t) is the immediate reward incurred by a t at time t; and γ ∈ (0, 1) is a discount factor that assures the infinite sum of cost function convergence.We use Q * (s t , a t ), i.e., the optimal value, to represent the maximum accumulative reward which we can obtain by taking action a t in state s t .Q * (s t , a t ) is calculated by the Bellman Equation as follows:
26The Q-learning method is used to update the value estimation, as shown in Equation (4).
27where η ∈ (0, 1] represents the learning rate.Such a value iteration algorithm converges to the optimal action value function,
Deep Reinforcement Learning-Based EMS
28Deep reinforcement learning-based EMS is developed which combines a deep neural network and conventional reinforcement learning.The EMS makes decisions only based on the current system state since the proposed EMS is an end-to-end control strategy.This deep reinforcement neural network can also be called a deep Q-network (DQN).In the rest of this section, value function approximation, DRL algorithm design, and the DRL-based algorithm online learning application are presented.
Value Function Approximation
29The state-action value is represented by a large, but limited, number of states and actions table, i.e., the Q table, in conventional reinforcement learning.However, a deep neural network is taken in this work to approximate the Q-value by Equation (3).As depicted in Figure 3, the inputs of the network are the system states, which are defined in Section 2. The rectified linear unit (ReLU) is used as the activation function for hidden layers, and the linear layer is used for obtaining the action value at the output layer.In order to balance the exploration and exploitation, the ε − greedy policy is used for action selection, i.e., the policy chooses the maximum Q-value action with probability 1 − ε and selects a random action with probability ε.
30Appl.Sci.2018, 8, x FOR PEER REVIEW 6 of 15 this work to approximate the Q-value by Equation (3).As depicted in Figure 3, the inputs of the network are the system states, which are defined in Section 2. The rectified linear unit (ReLU) is used as the activation function for hidden layers, and the linear layer is used for obtaining the action value at the output layer.In order to balance the exploration and exploitation, the greedy ε policy is used for action selection, i.e., the policy chooses the maximum Q-value action with probability ε − 1 and selects a random action with probability ε .The Q-value estimation for all control actions can be calculated by performing a forward calculation in the neural network.The mean squared error between the target Q-value and the inferred output of neural network is defined as loss function in Equation ( 5):
31where ) , (
32is the output of the neural network with the parameters θ .
33) , , ( max
34is the target Q-value, using parameters − θ from some previous iteration.This fixed target Q network makes the algorithm more stable.Parameters in the neural network are updated by the gradient descent method.
35The inputs of DQN are total required torque dem T and battery SOC.The variation range of SOC is from 0 to 1 and does not need preprocessing.However, the total required torque dem T can vary significantly.In order to facilitate the learning process, we scale the total required torque dem T to the range [−1, 1] before feeding to the neural network as shown in Equation ( 6).The minimum and maximum values for dem T can be obtained from historical observation:
DRL Algorithm Design
36Our DRL-based EMS control algorithm is presented in Algorithm 1.The outer loop controls the number of training episodes, while the inner loop performs the EMS control at each time step within one training episode.The Q-value estimation for all control actions can be calculated by performing a forward calculation in the neural network.The mean squared error between the target Q-value and the inferred output of neural network is defined as loss function in Equation ( 5):
37where Q(s t a t , θ) is the output of the neural network with the parameters θ. r + γmax
38is the target Q-value, using parameters θ − from some previous iteration.This fixed target Q network makes the algorithm more stable.Parameters in the neural network are updated by the gradient descent method.The inputs of DQN are total required torque T dem and battery SOC.The variation range of SOC is from 0 to 1 and does not need preprocessing.However, the total required torque T dem can vary significantly.In order to facilitate the learning process, we scale the total required torque T dem to the range [−1, 1] before feeding to the neural network as shown in Equation (6).The minimum and maximum values for T dem can be obtained from historical observation:
39Our DRL-based EMS control algorithm is presented in Algorithm 1.The outer loop controls the number of training episodes, while the inner loop performs the EMS control at each time step within one training episode.With probability ε select a random action a t otherwise select a t = max a t Q(s t , a; θ)
5:
40Choose action a t and observe the reward r t 6:
41Set s t+1 = (SOC t+1 , T t+1 ) 7:
42Store (s t , a t , r t , s t+1 ) in memory D 8:
43Sample random mini-batch of (s t , a t , r t , s t+1 ) from D 9:
44if terminal s j+1 : Set y j = r j else set y j = r j + γmax
45Perform a gradient descent step on (y j − Q(s j a j ; θ)) 2 11:
46Every C steps reset Q = Q 12: end for 13: end for In order to avoid the strong correlations between the samples in a short time period of conventional RL, experience replay is adopted to store the experience (i.e., a batch of state, action, reward, and next state:(s t , a t , r t , s t+1 )) at each time step in a data experience pool.For each certain time, random samples of experience are drawn from the experiment pool and used to train the Q network.
47We initialize memory D as an empty set.Then we initialize weights θ in the action-value function estimation Q neural network.In order to break the dependency loop between the target value and weights θ, a separate neural network Q with weights θ − is created for calculating the target Q value.
48We can set the maximum number of episode as M.During the learning process, in step 4, the algorithm selects the maximum Q value action with probability 1 − ε and selects a random action with probability ε based on the observation of the state.In step 5, action a t is executed and reward r t is obtained.In step 6, the system state becomes the next state.In step 7, the state action transition tuple is stored in memory.Then, a mini-batch of transition tuples is drawn randomly from the memory.Step 9 calculates the target Q value.The weights in neural network Q are updated by using the gradient descent method in step 10.The network Q is periodically updated by copying parameters from the network Q in step 11.
DRL-Based Algorithm Online Learning Application
49In Section 3.2, the DRL-based algorithm is proposed, however, it is an offline learning algorithm which can only be applied in the simulation environment.More importantly, the training process can only be applied in limited driving cycles, therefore, the trained DQN only performs well under the learned driving conditions, which may not provide satisfactory results under other driving cycles.This is unacceptable in HEV real-time applications.As a result, online learning is necessary for DRL-based algorithms in HEV EMS applications.
50The DRL-based online learning architecture is presented in Figure 4. Action execution and network training should be separated.There is a controller which contains a Q neural network and selects an action for the HEV while storing the state action transitions.When the HEV needs to learn a new driving cycle, the method of action selection will be the ε − greedy method.Otherwise, the HEV can always select the maximum Q-value action.There is another on-board computer or remote computing center which is responsible for Q neural network training.The on-board computer or remote computing center obtains state action transitions from the action controller and trains the neural network based on the DRL algorithm.The Q neural network is periodically updated by copying parameters from the on-board computer or remote computing center.
51network training should be separated.There is a controller which contains a Q neural network and selects an action for the HEV while storing the state action transitions.When the HEV needs to learn a new driving cycle, the method of action selection will be the greedy − ε method.Otherwise, the HEV can always select the maximum Q-value action.There is another on-board computer or remote computing center which is responsible for Q neural network training.The on-board computer or remote computing center obtains state action transitions from the action controller and trains the neural network based on the DRL algorithm.The Q neural network is periodically updated by copying parameters from the on-board computer or remote computing center. .This is useful to train a large Q neural network which can deal with different driving conditions.The main differences between online learning and offline learning are as follows: (1) online learning can adapt to varying driving conditions, while offline can only learn from the given driving cycles; (2) action execution and network training should be separated in online learning because of the limited on-board controller computing ability; and (3) online training efficiency should be higher than offline training since the vehicle must learn the optimal EMS with the shortest time.Thus, it is necessary to cluster the representative state action transitions and use the recent data in the experience pool.
52Interestingly, offline learning and online learning can be combined to realize a good effect of EMS.For instance, we can train the DQN offline under the Urban Dynamometer Driving Schedule (UDDS), and then apply the online learning under the New European Driving Cycle (NEDC).
Experiment Setup
53In order to evaluate the effectiveness of proposed DRL-based algorithm, simulation experiments are done in MATLAB and the ADVISOR co-simulation environment.The offline learning application is evaluated firstly and the UDDS driving cycle is used in the learning process.The main differences between online learning and offline learning are as follows: (1) online learning can adapt to varying driving conditions, while offline can only learn from the given driving cycles; (2) action execution and network training should be separated in online learning because of the limited on-board controller computing ability; and (3) online training efficiency should be higher than offline training since the vehicle must learn the optimal EMS with the shortest time.Thus, it is necessary to cluster the representative state action transitions and use the recent data in the experience pool.
54Interestingly, offline learning and online learning can be combined to realize a good effect of EMS.For instance, we can train the DQN offline under the Urban Dynamometer Driving Schedule (UDDS), and then apply the online learning under the New European Driving Cycle (NEDC).
55In order to evaluate the effectiveness of proposed DRL-based algorithm, simulation experiments are done in MATLAB and the ADVISOR co-simulation environment.The offline learning application is evaluated firstly and the UDDS driving cycle is used in the learning process.The simulation model for the HEV mentioned in Section 2 is built in ADVISOR.Meanwhile, the hyper parameters of the DRL-based algorithm used in the simulations are summarized in Table 2.In this application, the input layer of the network has two neurons, i.e., T dem and SOC.There are three hidden layers having 20, 50, and 100 neurons, respectively.The output layer has 24 neurons representing the discrete ICE torque.All these layers are fully connected.The network is trained with 50 episodes and each episode means a trip (1369 s).
56We evaluate the performance of DRL-based EMS by comparing them with the rule-based EMS known as "Parallel Electric Assist Control Strategy" [20].The initial SOC is 0.8.
Experimental Results
57Firstly, we evaluate the learning performance of DRL-based algorithm.The track of average loss is recorded in Figure 5.It is clear that the average loss decreases quickly along the training process.Figure 6 depicts the track of the total reward of one episode along the training process.Even though the curve is oscillating, the overall trend of the track is rising.There are also some dramatic drops in the total reward during the training process.This is because of the adding of a large penalty when the algorithm selects actions that results in the violation of the SOC constraint.The simulation model for the HEV mentioned in Section 2 is built in ADVISOR.Meanwhile, the hyper parameters of the DRL-based algorithm used in the simulations are summarized in Table 2.
58Firstly, we evaluate the learning performance of DRL-based algorithm.The track of average loss is recorded in Figure 5.It is clear that the average loss decreases quickly along the training process.Figure 6 depicts the track of the total reward of one episode along the training process.Even though the curve is oscillating, the overall trend of the track is rising.There are also some dramatic drops in the total reward during the training process.This is because of the adding of a large penalty when the algorithm selects actions that results in the violation of the SOC constraint.The simulation model for the HEV mentioned in Section 2 is built in ADVISOR.Meanwhile, the hyper parameters of the DRL-based algorithm used in the simulations are summarized in Table 2.In this application, the input layer of the network has two neurons, i.e., dem T and SOC.There are three hidden layers having 20, 50, and 100 neurons, respectively.The output layer has 24 neurons representing the discrete ICE torque.All these layers are fully connected.The network is trained with 50 episodes and each episode means a trip (1369 s).We evaluate the performance of DRL-based EMS by comparing them with the rule-based EMS known as "Parallel Electric Assist Control Strategy" [20].The initial SOC is 0.8.
59Firstly, we evaluate the learning performance of DRL-based algorithm.The track of average loss is recorded in Figure 5.It is clear that the average loss decreases quickly along the training process.Figure 6 depicts the track of the total reward of one episode along the training process.Even though the curve is oscillating, the overall trend of the track is rising.There are also some dramatic drops in the total reward during the training process.This is because of the adding of a large penalty when the algorithm selects actions that results in the violation of the SOC constraint.3, fuel consumption is improved significantly compared to the rule-based control strategy, as fuel consumption is decreased by 10.09%.Meanwhile, the equivalent fuel consumption is also decreased by 8.05%.The DRL-based EMS achieves good performance.Notably, the rule-base EMS is designed by the experts while the DRL-based EMS only learns from the states and historical data.Then, the simulation results of the trained DRL-based EMS for the UDDS driving cycle are shown in Figure 7.In order to evaluate the performance and effectiveness of the trained DRL-based EMS, comparison results are listed in Table 3. Power consumption is converted to fuel consumption; equivalent fuel consumption is obtained by adding the converted power consumption and fuel consumption.As shown by the results of Table 3, fuel consumption is improved significantly compared to the rule-based control strategy, as fuel consumption is decreased by 10.09%.Meanwhile, the equivalent fuel consumption is also decreased by 8.05%.The DRL-based EMS achieves good performance.Notably, the rule-base EMS is designed by the experts while the DRL-based EMS only learns from the states and historical data.
Experiment Setup
60The DRL-based online learning architecture is presented in Section 3.2.In order to evaluate the online learning performance conveniently, we also use ADVISOR software to simulate the online learning working process.In the online learning application, the neural network setting is the same as the offline application.Two different kinds of simulations are performed.In the first scenario, the neural network parameters are random at the beginning and, in the second one, the neural network is pre-trained offline under the existing driving cycle before the online learning process.In the first case, the online learning simulation without any pre-training under the NEDC driving cycle is done.In the second case, we pre-train the neural network offline under the UDDS driving cycle firstly, and then apply the online learning under the NEDC driving cycle.
Experimental Results
61In the first case, we trained the neural network 50 times under the NEDC driving cycle with the same initial condition.Unlike the offline learning, this process is online and simulates the vehicle running under the NEDC driving cycle.
62The track of loss is depicted in Figure 8.The loss also decreases quickly along the training process in the online application.Figure 9 depicts the track of total reward and the fuel consumption of one driving cycle along the training process, and the overall trend of the total reward is the same The DRL-based online learning architecture is presented in Section 3.2.In order to evaluate the online learning performance conveniently, we also use ADVISOR software to simulate the online learning working process.In the online learning application, the neural network setting is the same as the offline application.Two different kinds of simulations are performed.In the first scenario, the neural network parameters are random at the beginning and, in the second one, the neural network is pre-trained offline under the existing driving cycle before the online learning process.In the first case, the online learning simulation without any pre-training under the NEDC driving cycle is done.In the second case, we pre-train the neural network offline under the UDDS driving cycle firstly, and then apply the online learning under the NEDC driving cycle.
63In the first case, we trained the neural network 50 times under the NEDC driving cycle with the same initial condition.Unlike the offline learning, this process is online and simulates the vehicle running under the NEDC driving cycle.
64The track of loss is depicted in Figure 8.The loss also decreases quickly along the training process in the online application.Figure 9 depicts the track of total reward and the fuel consumption of one driving cycle along the training process, and the overall trend of the total reward is the same as the offline application.This reveals the proposed DRL-based online learning architecture is effective.
65As we can see from Figure 9, the trend of the total reward and the fuel consumption is nearly opposite.This reflects that the definition of the reward is suitable.as the offline application.This reveals the proposed DRL-based online learning architecture is effective.As we can see from Figure 9, the trend of the total reward and the fuel consumption is nearly opposite.This reflects that the definition of the reward is suitable.4. Fuel consumption is also improved compared to the rule-based control strategy, as fuel consumption is decreased by 10.29%, while the equivalent fuel consumption is decreased by 2.57%.as the offline application.This reveals the proposed DRL-based online learning architecture is effective.As we can see from Figure 9, the trend of the total reward and the fuel consumption is nearly opposite.This reflects that the definition of the reward is suitable.4. Fuel consumption is also improved compared to the rule-based control strategy, as fuel consumption is decreased by 10.29%, while the equivalent fuel consumption is decreased by 2.57%.4. Fuel consumption is also improved compared to the rule-based control strategy, as fuel consumption is decreased by 10.29%, while the equivalent fuel consumption is decreased by 2.57%.as the offline application.This reveals the proposed DRL-based online learning architecture is effective.As we can see from Figure 9, the trend of the total reward and the fuel consumption is nearly opposite.This reflects that the definition of the reward is suitable.4. Fuel consumption is also improved compared to the rule-based control strategy, as fuel consumption is decreased by 10.29%, while the equivalent fuel consumption is decreased by 2.57%.In the second case, the neural network was pre-trained offline under the UDDS driving cycle, such that the DRL-based EMS can adapt to the UDDS driving cycle but have no a priori knowledge about the NEDC driving cycle.The comparison of the results between the offline trained DRL-based EMS under the UDDS driving cycle for the NEDC driving cycle and other control strategies are listed in Table 5.It is obvious that the offline-trained EMS under the UDDS driving cycle does not adapt well to the NEDC driving cycle.Based on the offline pre-trained EMS under the UDDS driving cycle, we can apply the online learning process under the NEDC driving cycle.We trained the pre-trained neural network 20 times under the NEDC driving cycle with the same initial conditions.After the training process, we tested the trained EMS under the NEDC driving cycle.The simulation results are shown in Figure 11.The comparison of the results are listed in Table 6.The results show that the pre-training process can contribute to effectively decrease the online training time.This is because the DRL-based EMS learns some of the same features between different driving conditions.In the second case, the neural network was pre-trained offline under the UDDS driving cycle, such that the DRL-based EMS can adapt to the UDDS driving cycle but have no a priori knowledge about the NEDC driving cycle.The comparison of the results between the offline trained DRL-based EMS under the UDDS driving cycle for the NEDC driving cycle and other control strategies are listed in Table 5.It is obvious that the offline-trained EMS under the UDDS driving cycle does not adapt well to the NEDC driving cycle.Based on the offline pre-trained EMS under the UDDS driving cycle, we can apply the online learning process under the NEDC driving cycle.We trained the pre-trained neural network 20 times under the NEDC driving cycle with the same initial conditions.After the training process, we tested the trained EMS under the NEDC driving cycle.The simulation results are shown in Figure 11.The comparison of the results are listed in Table 6.The results show that the pre-training process can contribute to effectively decrease the online training time.This is because the DRL-based EMS learns some of the same features between different driving conditions.
Conclusions
66This paper presents a deep reinforcement learning-based data-driven approach to obtain an energy management strategy of a HEV.The proposed method combines Q learning and a deep neural network to form a deep Q network which can obtain action directly from the states.Key concepts of the DRL-based EMS have been formulated.Value function approximation and DRL algorithm design have been described in detail in this paper.In order to adapt to varying driving cycles, a DRL-based online learning architecture has been presented.Simulation results demonstrate that the DRL-based EMS can obtain better performance than the rule-based EMS in fuel economy.Furthermore, the online learning approach can learn from different driving conditions.The future work will focus on how to improve the online learning efficiency and testing on a real vehicle.Another important issue is how to output continuous actions.In this paper, the output actions are discretized and this may leads to the violent oscillation of the ICE output torque.A deep deterministic policy gradient (DDPG) algorithm can output the continuous actions and may solve this problem.This will be a future work.However, DDPG is also based on DRL.The contribution of this paper will speed up the application of deep reinforcement learning methods in energy management of HEVs.
67This paper presents a deep reinforcement learning-based data-driven approach to obtain an energy management strategy of a HEV.The proposed method combines Q learning and a deep neural network to form a deep Q network which can obtain action directly from the states.Key concepts of the DRL-based EMS have been formulated.Value function approximation and DRL algorithm design have been described in detail in this paper.In order to adapt to varying driving cycles, a DRL-based online learning architecture has been presented.Simulation results demonstrate that the DRL-based EMS can obtain better performance than the rule-based EMS in fuel economy.Furthermore, the online learning approach can learn from different driving conditions.The future work will focus on how to improve the online learning efficiency and testing on a real vehicle.Another important issue is how to output continuous actions.In this paper, the output actions are discretized and this may leads to the violent oscillation of the ICE output torque.A deep deterministic policy gradient (DDPG) algorithm can output the continuous actions and may solve this problem.This will be a future work.However, DDPG is also based on DRL.The contribution of this paper will speed up the application of deep reinforcement learning methods in energy management of HEVs.
Figure 1 .
68Figure 1.Deep reinforcement learning (DRL)-based framework for HEV EMS.
69Figure 1.Deep reinforcement learning (DRL)-based framework for HEV EMS.
Figure 2 .
70Figure 2. Drivetrain structure of the HEV.
71Figure 2. Drivetrain structure of the HEV.
Table 1 .
72Summary of the HEV parameters.GR: 2.2791/2.7606/3.5310/5.6175/11.1066Vehicle Curb weight: 1000 kg In the following, key concepts of the DRL-based EMS are formulated:
Figure 3 .
73Figure 3. Structure of the neural network.
74Figure 3. Structure of the neural network.
Algorithm 1 : 1 : 3 :
75Deep Q-Learning with Experience Replay Initialize replay memory D to capacity N Initialize action-value function Q with random weights θ Initialize target action-value function Q with weights θ − = θ For episode = 1, M do 2: Reset environment: s 0 = (SOC Initial , T 0 ) For t = 1, T, do 4:
Figure 4 .
76Figure 4. DRL-based online learning architecture.
77Figure 4. DRL-based online learning architecture.
78Appl.Sci.2018, 8, x FOR PEER REVIEW 9 of 15
Figure 5 .
79Figure 5. Track of loss.
Figure 6 .
80Figure 6.Track of the total reward.
Figure 5 .
81Figure 5. Track of loss.
82Figure 5. Track of loss.
Figure 6 .
83Figure 6.Track of the total reward.
84Figure 6.Track of the total reward.
85Appl.Sci.2018, 8, x FOR PEER REVIEW 10 of 15
Figure 7 .Table 3 .
86Figure 7. Simulation results of the trained EMS under UDDS.Table 3. Comparison of the results under UDDS.Control Strategy Fuel Consumption (L/100 km) Equivalent Fuel Consumption (L/100 km) Rule-Based 3.857 3.861 DRL-based 3.468 3.550
Figure 7 .
87Figure 7. Simulation results of the trained EMS under UDDS.
88Appl.Sci.2018, 8, x FOR PEER REVIEW 11 of 15
Figure 8 .
89Figure 8. Track of loss in the online application.
Figure 9 .
90Figure 9. Track of the total reward and fuel consumption in the online application.Simulation results of the online trained DRL-based EMS for the NEDC driving cycle are shown in Figure 10.The comparison of the results are listed in Table4.Fuel consumption is also improved compared to the rule-based control strategy, as fuel consumption is decreased by 10.29%, while the equivalent fuel consumption is decreased by 2.57%.
Figure 10 .
91Figure 10.Simulation results of the trained EMS under NEDC.
Figure 8 .
92Figure 8. Track of loss in the online application.
93Appl.Sci.2018, 8, x FOR PEER REVIEW 11 of 15
94Figure 8. Track of loss in the online application.
Figure 9 .
95Figure 9. Track of the total reward and fuel consumption in the online application.Simulation results of the online trained DRL-based EMS for the NEDC driving cycle are shown in Figure 10.The comparison of the results are listed in Table4.Fuel consumption is also improved compared to the rule-based control strategy, as fuel consumption is decreased by 10.29%, while the equivalent fuel consumption is decreased by 2.57%.
Figure 10 .
96Figure 10.Simulation results of the trained EMS under NEDC.
Figure 9 .
97Figure 9. Track of the total reward and fuel consumption in the online application.
98Appl.Sci.2018, 8, x FOR PEER REVIEW 11 of 15
Figure 8 .
99Figure 8. Track of loss in the online application.
Figure 9 .
100Figure 9. Track of the total reward and fuel consumption in the online application.
Figure 10 .
101Figure 10.Simulation results of the trained EMS under NEDC.Figure 10.Simulation results of the trained EMS under NEDC.
102Figure 10.Simulation results of the trained EMS under NEDC.Figure 10.Simulation results of the trained EMS under NEDC.
Figure 11 .Table 6 .
103Figure 11.Simulation results under NEDC of the online trained EMS which was pre-trained under UDDS.
Figure 11 .Table 6 . 15 Figure
104Figure 11.Simulation results under NEDC of the online trained EMS which was pre-trained under UDDS.
Figure 12 .
105Figure 12.Track of the total reward and fuel consumption in the online application in which the EMS was pre-trained firstly.
106Figure 12.Track of the total reward and fuel consumption in the online application in which the EMS was pre-trained firstly.
Table 1 .
107Summary of the HEV parameters.
Table 2 .
108Summary of the DRL-based algorithm hyper parameters.
109Summary of the DRL-based algorithm hyper parameters.In this application, the input layer of the network has two neurons, i.e., dem T and SOC.There are three hidden layers having 20, 50, and 100 neurons, respectively.The output layer has 24 neurons representing the discrete ICE torque.All these layers are fully connected.The network is trained with 50 episodes and each episode means a trip (1369 s).We evaluate the performance of DRL-based EMS by comparing them with the rule-based EMS known as "Parallel Electric Assist Control Strategy"[20].The initial SOC is 0.8.
110Summary of the DRL-based algorithm hyper parameters.
Table 3 .
111Comparison of the results under UDDS.
Table 4 .
112Comparison of the results under NEDC.
Table 5 .
113Comparison of the results under NEDC.
Table 4 .
114Comparison of the results under NEDC.
Table 5 .
115Comparison of the results under NEDC.
참고문헌 27건
- An energy management approach of hybrid vehicles using traffic preview information for energy saving Energy Conversion and Management · Elsevier BV · 2015 10.1016/j.enconman.2015.07.061
- Reinforcement Learning–Based Energy Management Strategy for a Hybrid Electric Tracked Vehicle Energies · Multidisciplinary Digital Publishing Institute · 2015 10.3390/en8077243
- An Online Learning Control Strategy for Hybrid Electric Vehicle Based on Fuzzy Q-Learning Energies · Multidisciplinary Digital Publishing Institute · 2015 10.3390/en81011167
- Optimal energy management in a dual-storage fuel-cell hybrid vehicle using multi-dimensional dynamic programming Journal of Power Sources · Elsevier BV · 2013 10.1016/j.jpowsour.2013.10.145
- Power management optimization of fuel cell/battery hybrid vehicles with experimental validation Journal of Power Sources · Elsevier BV · 2013 10.1016/j.jpowsour.2013.12.012
- Classification and Review of Control Strategies for Plug-In Hybrid Electric Vehicles IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2010 10.1109/tvt.2010.2090178
- Energy management of a power-split plug-in hybrid electric vehicle based on genetic algorithm and quadratic programming Journal of Power Sources · Elsevier BV · 2013 10.1016/j.jpowsour.2013.09.085
- Online learning control for hybrid electric vehicle Chinese Journal of Mechanical Engineering · China Machine Press · 2012 10.3901/cjme.2012.01.098
- Optimal fuzzy power control and management of fuel cell/battery hybrid vehicles Journal of Power Sources · Elsevier BV · 2009 10.1016/j.jpowsour.2009.03.007
- Fuzzy‐based blended control for the energy management of a parallel plug‐in hybrid electric vehicle IET Intelligent Transport Systems · Institution of Engineering and Technology · 2014 10.1049/iet-its.2014.0075
- An instantaneous optimization strategy based on efficiency maps for internal combustion engine/battery hybrid vehicles Energy Conversion and Management · Elsevier BV · 2014 10.1016/j.enconman.2014.02.034
- Human-level control through deep reinforcement learning Nature · Nature Portfolio · 2015 10.1038/nature14236
- Stochastic Dynamic Programming in the Real-World Control of Hybrid Electric Vehicles IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2015 10.1109/tcst.2015.2498141
- Data-Driven Reinforcement Learning–Based Real-Time Energy Management System for Plug-In Hybrid Electric Vehicles Transportation Research Record Journal of the Transportation Research Board · SAGE Publishing · 2016 10.3141/2572-01
- Mastering the game of Go with deep neural networks and tree search Nature · Nature Portfolio · 2016 10.1038/nature16961
- Energy Management in Plug-in Hybrid Electric Vehicles: Recent Progress and a Connected Vehicles Perspective IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2016 10.1109/tvt.2016.2582721
- Optimal Energy Management for HEVs in Eco-Driving Applications Using Bi-Level MPC IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2016 10.1109/tits.2016.2634019
- Expert Level Control of Ramp Metering Based on Multi-Task Deep Reinforcement Learning IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tits.2017.2725912
- Stochastic Optimal Control of Parallel Hybrid Electric Vehicles Energies · Multidisciplinary Digital Publishing Institute · 2017 10.3390/en10020214
- A Comprehensive Study of Key Electric Vehicle (EV) Components, Technologies, Challenges, Impacts, and Future Direction of Development Energies · Multidisciplinary Digital Publishing Institute · 2017 10.3390/en10081217
- Deep Reinforcement Learning for Building HVAC Control 2017 10.1145/3061639.3062224
- Deep reinforcement learning-based vehicle energy efficiency autonomous learning system 2022 IEEE Intelligent Vehicles Symposium (IV) · 2017 10.1109/ivs.2017.7995880
- A Pontryagin Minimum Principle-Based Adaptive Equivalent Consumption Minimum Strategy for a Plug-in Hybrid Electric Bus on a Fixed Route Energies · Multidisciplinary Digital Publishing Institute · 2017 10.3390/en10091379
- Online energy management strategy of fuel cell hybrid electric vehicles based on data fusion approach Journal of Power Sources · Elsevier BV · 2017 10.1016/j.jpowsour.2017.08.107
- Data-driven hierarchical control for online energy management of plug-in hybrid electric city bus Energy · Elsevier BV · 2017 10.1016/j.energy.2017.09.061
- Autonomous braking system via deep reinforcement learning 2022 IEEE 25th International Conference on Intelligent Transportation Systems (ITSC) · 2017 10.1109/itsc.2017.8317839
- A Comprehensive Study of Key Electric Vehicle (EV) Components, Technologies, Challenges, Impacts, and Future Direction of Development 2017 10.20944/preprints201705.0090.v1