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

Long Short-Term Memory–Model Predictive Control Speed Prediction-Based Double Deep Q-Network Energy Management for Hybrid Electric Vehicle to Enhanced Fuel Economy

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Haichao Liu — School of Mechanical Engineering, North China University of Water Resourse and Electric Power, No. 36, Beihuan Road, Zhengzhou 450045, China
  2. Hongliang Wang — School of Mechanical Engineering, North China University of Water Resourse and Electric Power, No. 36, Beihuan Road, Zhengzhou 450045, China
  3. Miao Yu — School of Mechanical Engineering, North China University of Water Resourse and Electric Power, No. 36, Beihuan Road, Zhengzhou 450045, China
  4. Yaolin Wang — School of Mechanical Engineering, North China University of Water Resourse and Electric Power, No. 36, Beihuan Road, Zhengzhou 450045, China
  5. Yang Luo — Department of Mechanical Engineering, Faculty of Engineering, University of Malaya, Kuala Lumpur 50603, Malaysia
DOI
10.3390/s25092784
저널
Sensors
발행년도
2025
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
7
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s25092784
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4409889542

평가 내용

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

초록

How to further improve the fuel economy and emission performance of hybrid vehicles through scientific and reasonable energy management strategies has become an urgent issue to be addressed at present. This paper proposes an energy management model based on speed prediction using Long Short-Term Memory (LSTM) neural networks. The initial learning rate and dropout probability of the LSTM speed prediction model are optimized using a Double Deep Q-Network (DDQN) algorithm. Furthermore, the LSTM speed prediction function is implemented within a Model Predictive Control (MPC) framework. A fuzzy logic-based driving mode recognition system classifies driving cycles and identifies real-time conditions. The fuzzy logic-based driving mode is used to divide the typical driving cycle into different driving modes, and the real-time driving modes are identified. The LSTM-MPC method achieves low RMSE across different prediction horizons. Using predicted power demand, battery SOC, and real-time power demand as inputs, the model implements MPC for real-time control. In our experiments, four prediction horizons (5 s, 10 s, 15 s, and 20 s) were set. The energy management strategy demonstrated optimal performance and the lowest fuel consumption at a 5 s horizon, with fuel usage at only 6.3220 L, saving 2.034 L compared to the rule-based strategy. Validation under the UDDS driving cycle revealed that the LSTM-MPC-DDQN strategy reduced fuel consumption by 0.2729 L compared to the rule-based approach and showed only a 0.0749 L difference from the DP strategy.

본문 71,757자

본문 펼치기
How to further improve the fuel economy and emission performance of hybrid vehicles through scientific and reasonable energy management strategies has become an urgent issue to be addressed at present.This paper proposes an energy management model based on speed prediction using Long Short-Term Memory (LSTM) neural networks.The initial learning rate and dropout probability of the LSTM speed prediction model are optimized using a Double Deep Q-Network (DDQN) algorithm.Furthermore, the LSTM speed prediction function is implemented within a Model Predictive Control (MPC) framework.A fuzzy logic-based driving mode recognition system classifies driving cycles and identifies real-time conditions.The fuzzy logic-based driving mode is used to divide the typical driving cycle into different driving modes, and the real-time driving modes are identified.The LSTM-MPC method achieves low RMSE across different prediction horizons.Using predicted power demand, battery SOC, and real-time power demand as inputs, the model implements MPC for real-time control.In our experiments, four prediction horizons (5 s, 10 s, 15 s, and 20 s) were set.The energy management strategy demonstrated optimal performance and the lowest fuel consumption at a 5 s horizon, with fuel usage at only 6.3220 L, saving 2.034 L compared to the rule-based strategy.Validation under the UDDS driving cycle revealed that the LSTM-MPC-DDQN strategy reduced fuel consumption by 0.2729 L compared to the rule-based approach and showed only a 0.0749 L difference from the DP strategy. Research Motivation In the context of addressing global climate change, energy crises, and urban air pollution, hybrid electric vehicles (HEVs) have emerged as critical green transportation options, with significant practical implications for their study [1].By combining internal combustion engines with electric motors, HEVs effectively reduce fuel consumption and greenhouse gas emissions, positioning themselves as strong alternatives to conventional internal combustion engine vehicles [2].Compared to pure electric vehicles (EVs), hybrid electric vehiclesid electric vehicles are more feasible to implement in terms of technology and cost, particularly in areas lacking a comprehensive charging infrastructure or where long-term driving is often required.Consequently, further optimization of HEVs not only supports the adoption of clean energy in the transportation sector, but also provides an effective path to achieve the energy savings and emission reduction goals [3]. Research Motivation Research on energy management strategies for hybrid electric vehicles (HEVs) is fundamental due to its direct impact on fuel economy and emissions performance [4].Energy management strategies optimize the real-time allocation of energy between the engine and the electric motor, allowing the vehicle to select the most efficient energy consumption mode in various driving conditions.Current studies indicate that advanced energy management approaches, such as strategies based on predictive control models and machine learning algorithms, can significantly improve energy efficiency and reduce emissions under actual operating conditions [5][6][7].Furthermore, with the development of intelligent transportation systems, the integration of big data and traffic forecasting into HEV energy management allows predictive adjustments based on future road conditions, thus further improving fuel economy [8].Therefore, research on HEVs and their energy management strategies aligns with global environmental protection trends and plays an irreplaceable role in promoting the development of sustainable transportation systems. Literature Review Currently, many countries are facing an energy crisis and environmental pollution issues, accelerating the transition from conventional fossil fuel vehicles to new energy vehicles (NEV) and driving unprecedented development in the NEV sector [9].Compared to traditional internal combustion engine (ICE) vehicles, NEVs primarily include battery electric vehicles (BEVs), fuel cell vehicles (FCVs), and hybrid electric vehicles (HEVs).These vehicles show a significantly reduced dependence on fossil fuels or, in some cases, complete independence from them, making them more environmentally friendly [10].In particular, plug-in hybrid electric vehicles (PHEVs) feature larger battery capacities than conventional hybrid vehicles, enabling them to meet the commuting needs of most office workers.As a result, PHEVs have garnered considerable attention and are regarded as one of the most promising research directions for the future. Literature Review Although battery electric vehicles (BEVs) produce nearly no environmental pollution, their driving range remains limited, and current technologies have yet to achieve parity with conventional gasoline-powered vehicles in terms of range.This limitation makes hybrid electric vehicles a viable compromise.In the future, with advances in battery energy storage technologies, BEVs are expected to completely replace traditional gasoline vehicles.To maximize the energy efficiency and sustainability of hybrid electric vehicles, it is essential to develop more effective energy management strategies (EMSs).By optimally distributing power between the engine and the battery, HEVs can operate within regions of high efficiency and high performance [11].Research on energy management strategies can be broadly categorized into two main approaches: rule-based methods and optimizationbased methods [12].Furthermore, Ref. [13] classifies EMS into offline and online strategies. Literature Review Although various energy management strategies have been applied to PHEVs, the performance of existing methods in complex and dynamic environments remains insufficient.Traditional model-based control methods, such as MPC, often face challenges of high computational burden and poor real-time adaptability.While deep reinforcement learning (e.g., DDQN) has achieved success in other fields, its application in PHEV control still encounters issues such as high demand for training data and poor model stability.This paper proposes an integrated approach based on LSTM, MPC, and DDQN, aiming to enhance prediction accuracy through LSTM, optimize control decisions with MPC, and improve real-time learning capabilities using DDQN, thereby increasing the efficiency and adaptability of energy management.Through this innovative combined method, we can effectively address the issues of high computational complexity and poor real-time performance in existing methods, significantly improving system performance. Literature Review This paper focuses on the modeling and optimization of electric vehicle propulsion systems.The authors emphasize that the design of electric vehicle control systems must account for different dynamic characteristics, necessitating the establishment of mathematical models to describe these dynamics.For electric vehicles, the most critical dynamic characteristics include lateral dynamics (e.g., autonomous navigation) and longitudinal dynamics (e.g., energy efficiency and cruise control).This research direction has been extensively explored by numerous scholars and has evolved into a significant field of study.However, a pressing issue remains in the design of controllers based on longitudinal dynamic models: the parameterization of controller data.Since some parameters cannot be directly measured, this poses challenges for controller design and optimization.To address this issue, this paper proposes a motor dynamic testing method as an alternative to traditional torque sensor test benches.Experimental results demonstrate that by measuring the speed, current, and voltage of the motor during acceleration and deceleration, the torque and characteristics of the magnetic flux can be dynamically estimated more rapidly, conveniently, and accurately [14]. Rule-Based Energy Management Strategy Rule-based energy management strategies can be further categorized into deterministic rule-based strategies and fuzzy rule-based strategies.Deterministic rule-based strategies define a set of rules prior to implementation, specifying control parameter ranges or specific values, such as the state of charge (SOC) range of the battery, engine power, and motor torque.In Ref. [15], Anthony M. Phillips et al. successfully designed a controller based on a vehicle supervisory control (VSC) state machine.This controller employs a deterministic rule-based design that identifies all possible vehicle operating states and determines state transitions based on changes in driver demands and vehicle operating conditions.Fuzzy rule-based controllers, on the other hand, consist of rules established using fuzzy logic and are often combined with pattern recognition and neural networks.The primary advantage of fuzzy logic lies in its applicability to nonlinear time-varying systems, providing strong adaptability and ease of tuning.Additionally, fuzzy logic controllers can reduce computational burden.For instance, Hyeoun-Dong Lee and Seung-Ki Sul developed a fuzzy logic-based torque controller for parallel hybrid electric vehicles, which effectively reduced NOx emissions while ensuring vehicle driving performance and battery state-of-charge balance [16]. Energy Management Strategies Based on Optimization Offline global optimization requires prior knowledge of the entire driving cycle.Based on this information, methods such as dynamic programming (DP) and convex optimization are employed to solve the optimal power distribution problem.Lin et al. were the first to apply the DP strategy to enhance the energy management strategy of parallel hybrid electric trucks.They utilized dynamic programming techniques to determine the optimal power distribution of the hybrid system and subsequently formulated new rules to refine the control strategy, thereby improving fuel economy [17]. Energy Management Strategies Based on Optimization Although dynamic programming (DP) guarantees finding an optimal solution within a given range and can be easily implemented through coding, it suffers from a significant drawback-Bellman's "curse of dimensionality" [18].This limitation is particularly problematic in real-world vehicle operations, where driving information is often uncertain and conditions are highly dynamic.Due to the simplicity and practicality of DP, many re-searchers have attempted to enhance it through various approaches.For example, C. C. Lin et al. proposed an infinite-horizon stochastic dynamic optimization method that leverages the Markov process to reduce dependence on precise driving information [19].However, offline global optimization algorithms are currently used primarily as benchmarks, with their solutions serving to improve online optimization algorithms. Energy Management Strategies Based on Optimization Common online suboptimal control methods include the Charge Depleting-Charge Sustaining (CD-CS) strategy, the Equivalent Fuel Consumption Minimization Strategy (ECMS), and Model Predictive Control (MPC).Unlike offline global optimization, when applying online energy management strategies to plug-in hybrid electric vehicles (PHEVs), the dynamic variation in the battery's state of charge (SOC) must be carefully considered.The CD-CS strategy has been widely adopted due to its simplicity, ease of implementation, and real-time capability [20].However, it also has notable drawbacks, including the lack of optimality and the inability to efficiently manage battery power in real time. Energy Management Strategies Based on Optimization Paganelli was the first to introduce the Equivalent Fuel Consumption Minimization Strategy (ECMS) into the energy management problem of hybrid electric vehicles.This algorithm is derived from the optimality conditions of Pontryagin's Minimum Principle [21].ECMS can achieve instantaneous optimal solutions without requiring prior knowledge of the driving cycle.Building on this, Musardo et al. proposed an adaptive ECMS that automatically adjusts the fuel equivalence factor through cycle prediction [22]. Energy Management Strategies Based on Optimization In the study of energy management strategies for electric vehicles in car-following scenarios, Chen et al. addressed the issue of model-based vehicle state prediction being affected by time-varying conditions.They proposed a data-driven Koopman Model Predictive Control (MPC) approach to optimize the speed of the following vehicles [23].Experimental results demonstrated that the hierarchical predictive control using the Koopman model reduced energy consumption by 5.55% compared to hierarchical control based on mechanical models. Energy Management Strategies Based on Optimization Sun et al. proposed a predictive energy management framework based on traffic data.Compared to conventional MPC, this framework introduces an additional SOC monitoring and planning layer, which rapidly generates battery SOC trajectories based on real-time traffic data to serve as the terminal state constraint for MPC [24].Although MPC is widely recognized for its predictive capability and robustness, its optimization potential remains constrained by its dependence on accurate system models, which hinders further performance improvements [25]. Predictive Energy Management and Artificial Intelligence Applications In predictive energy management, the accuracy of speed prediction is closely linked to control performance, making the selection of an appropriate prediction horizon crucial for achieving better fuel economy.Within the MPC framework, the DP method is often employed to compute the optimal energy distribution at each MPC control step.In their study on MPC, Wang et al. found that as the prediction horizon increases, fuel consumption decreases, and the MPC strategy approaches the optimal solution [26].For energy management strategies, the prediction horizon is also one of the most critical factors influencing optimal fuel economy. Predictive Energy Management and Artificial Intelligence Applications In recent years, with the advancement of artificial intelligence, deep learning has been increasingly applied to energy management [27,28].Wang, W. et al. proposed a vehicle speed prediction method that integrates a backpropagation (BP) neural network with a Markov chain.They combined speed prediction with the minimization of equivalent fuel consumption and used MPC to adaptively adjust the equivalence factor [29]. Predictive Energy Management and Artificial Intelligence Applications Xing et al. introduced a novel prediction approach that combines convolutional neural networks (CNNs) with Long Short-Term Memory (LSTM) networks [30].Meanwhile, Ritter et al. proposed a stochastic MPC framework that incorporates long-horizon uncertainties into the energy management of hybrid electric vehicles (HEVs).This method integrates the optimal conditions of Pontryagin's Minimum Principle with a scenario-based approach to achieve the computational efficiency required for real-time feasible energy management controllers [31]. Mode Switching and Optimization of Hybrid Electric Vehicle To address the challenge of employing different driving modes under varying driving conditions and to achieve more precise mode switching for improved fuel economy, Chen et al. proposed an Equivalent Fuel Consumption Minimization Strategy (ECMS) based on an intelligent dual neural network with Bayesian regularization.They introduced a novel equivalence factor correction method that adaptively adjusts the equivalence factor, enabling near-optimal fuel economy without relying on SOC reference [32]. Mode Switching and Optimization of Hybrid Electric Vehicle Wei et al. designed a new driving mode recognition method that employs the K-means clustering algorithm to classify driving segments, thereby enhancing fuel economy and optimizing power distribution [33].Similarly, Lin et al. developed an adaptive ECMS that leverages neural network techniques and a least squares method with a forgetting factor to predict vehicle speed and road grade.Their approach dynamically adjusts the equivalence factor based on the remaining distance in real time, leading to improved fuel efficiency [34]. Mode Switching and Optimization of Hybrid Electric Vehicle Although these control strategies integrate neural networks with MPC and ECMS methods to predict future vehicle control and manage vehicle states, challenges remain in adjusting the equivalence factor within ECMS.Additionally, refining the prediction horizon in MPC remains an urgent issue to be addressed.Compared to MPC, reinforcement learning (RL) can be trained under various operating conditions to obtain more suitable parameters [35].Yang et al. introduced RL into the MPC framework and combined it with a novel speed prediction model to develop a new energy management strategy, significantly improving fuel economy.However, despite leveraging reinforcement learning, this control strategy still lacks sufficient improvements in the speed prediction model [36]. Contribution of This Paper Previous rule-based control strategies have struggled to achieve better performance in complex environments, while neural-network-based reinforcement learning often focuses solely on current power demands, making it difficult to plan over unknown time horizons.Building upon previous research, this paper addresses the fuel economy issue of plug-in hybrid electric vehicles (PHEVs) with the following contributions: Contribution of This Paper A P2 architecture model for plug-in hybrid electric vehicles (PHEVs) is developed, including the vehicle's drivetrain system, and the optimal operating curves for drivetrain components (engine and battery pack) are calculated. Contribution of This Paper A novel driving mode recognition system is designed, which uses a fuzzy logic controller to classify typical driving cycles into different modes and identify real-time driving modes. Contribution of This Paper An LSTM-based speed prediction model is developed, with a dataset that includes typical driving conditions such as FTP75, NEDC, and CBDC. Contribution of This Paper The DDQN algorithm is applied to optimize the initial learning rate and neuron dropout rate within the neural network, improving the accuracy of LSTM-based speed predictions. Contribution of This Paper In the MPC framework, energy management based on DDQN deep reinforcement learning is combined with speed prediction to control the output power of the drivetrain system, thereby enhancing the vehicle's fuel economy. Contribution of This Paper Simulink simulations are conducted to compare the control performance of the LSTM-MPC-DDQN strategy with other strategies, and additional simulation experiments validate the real-time performance of the LSTM-MPC-DDQN control strategy. Contribution of This Paper This paper systematically investigates the optimization of energy management in plug-in hybrid electric vehicles (PHEVs).In Section 2, we comprehensively model the PHEV system, including the longitudinal dynamics model of the vehicle, the engine model, and the battery model, laying a solid theoretical foundation for the design of subsequent control strategies.Section 3 delves into the fundamental principles of Model Predictive Control (MPC) and integrates the Markov process in deep reinforcement learning with DQN and DDQN methods to construct an MPC-DDQN framework for more optimized control decision-making.Section 4 proposes a driving cycle decomposition method based on fuzzy neural networks, combined with LSTM for speed prediction, significantly enhancing the system's prediction accuracy and environmental adaptability.Section 5 validates the effectiveness of the proposed method through simulation experiments, demonstrating significant improvements in computational complexity and real-time performance compared to traditional MPC methods.Section 6 summarizes the main contributions of this paper and provides an outlook on future research directions.The innovative method proposed in this paper offers an effective solution to the challenges of computational burden and real-time performance in PHEV energy management. PHEV System Configuration and Modeling The research subject of this paper is a plug-in hybrid electric vehicle (PHEV).The vehicle is powered jointly by an Engine Generator Unit (EGU) and a battery, where the EGU consists of an engine and an Integrated Starter Generator (ISG) motor that is mechanically connected.The battery is connected to the drive motor through a Main Controller.The schematic diagram of the Plug-In Hybrid Electric Vehicle used in this study is shown in Figure 1.The main component parameters are listed in Table 1. PHEV System Configuration and Modeling The operating modes of the plug-in hybrid electric vehicle (PHEV) are illustrated in Figure 2.These modes include five main operating conditions: pure electric vehicle mode, charge sustaining mode, hybrid drive mode, regenerative braking mode, and park mode.The criteria for determining the operating modes are shown in Figure 3. PHEVs primarily operate in five modes: pure electric, charge while driving, hybrid drive, regenerative braking, and parking mode, as shown in Figure 2. The data of the five driving modes in Figure 2 are derived from Table 2. PHEV System Configuration and Modeling In pure electric mode, the PHEV is driven solely by the electric motor, powered by the battery, and the internal combustion engine (ICE) remains off.This mode is typically used for low-speed or short-distance driving. PHEV System Configuration and Modeling In driving charging mode, the ICE is the primary power source for driving the vehicle, while simultaneously charging the battery.This mode is usually activated during longdistance or high-speed driving to maintain or increase battery charge. PHEV System Configuration and Modeling In hybrid driving mode, both the electric motor and the ICE provide power together.This mode is used when higher power output is required, such as during high-speed acceleration or uphill driving.The total power output is the sum of both sources. PHEV System Configuration and Modeling During braking or deceleration, the PHEV's electric motor operates in reverse to convert kinetic energy into electrical energy, which is stored in the battery.This improves energy efficiency by reducing waste. PHEV System Configuration and Modeling In idle mode, the PHEV does not provide any power output, and both the ICE and electric motor are off.The vehicle is on standby, and the battery may only power auxiliary devices such as the air conditioning or multimedia systems. PHEV System Configuration and Modeling where P EV is the power output of the electric motor, U bat is the battery voltage, I bat is the battery current, and η motor is the motor efficiency. PHEV System Configuration and Modeling where P drive is the driving power, P engine is the engine power output, and P charge is the charging power. PHEV System Configuration and Modeling where P HEV is the total power, and P motor is the electric motor power. PHEV System Configuration and Modeling where − is the regenerative power, η regen is the recovery efficiency, m is the vehicle mass, and u is the velocity. PHEV System Configuration and Modeling where P idle is the power demand during idling, and P auxiliary is the consumption of auxiliary systems like air conditioning or entertainment devices. Longitudinal Dynamics Model of the Vehicle The vehicle model can be used to calculate the resistance encountered by the vehicle during its motion through longitudinal dynamics. Longitudinal Dynamics Model of the Vehicle where G is the vehicle's gravity, N ; α is the road's slope; C D is the air resistance coefficient; A is the windward area, m 2 ; δ is the rotational mass conversion factor; m is the mass, kg; du dt is the driving acceleration, m/s 2 . Engine Model In this paper, the efficiency distribution of the engine and generator is shown in Figure 1.The formula for calculating the fuel consumption of the engine is as follows: Engine Model where m f is the fuel consumption rate, (kg/h); T eng is the engine torque, N • m; n eng is the engine speed, r/min; b e is the equivalent fuel consumption rate, kg/KWh.In Figure 3, the blue line represents the external characteristic curve of the engine, while the green line indicates the optimal operating curve.The circular curve in the figure represents the equivalent fuel consumption rate, measured in units of kg/KWh. Battery Model The power battery is a crucial component of plug-in hybrid electric vehicles (PHEVs).There are two commonly used battery models: the Internal Resistance Model (Rint) and the Resistor-Capacitor Model (RC).In this paper, the Internal Resistance Model (Rint) is selected.The power battery is connected to the drive motor and generator through the Main Controller, supplying power to the drive motor or storing the electricity generated by the generator. Rint Model The Internal Resistance Model treats the battery pack as an equivalent circuit consisting of an ideal voltage source in series with internal resistance, while the Resistor-Capacitor Model represents the battery pack as a circuit made up of two capacitors and three resistors.It is challenging to obtain accurate performance metrics for the battery solely through empirical formulas; thus, a more precise battery model can be developed by combining experimental data on the battery's charge and discharge performance with empirical formulas.Therefore, the Internal Resistance Model is used to establish an equivalent model for the power battery, where the battery is represented as an ideal voltage source in series with a resistor, the Rint resistance model is shown in Figure 4.For the internal resistance battery model, there are: Rint Model where U l is the load voltage; E 0 is the electromotive force (EMF) of the battery; I is the charge/discharge current; and R 0 is the internal resistance of the battery.The formula for calculating the battery output power, which is a function of current, is given by: Rint Model where P m is the output power of the battery.The electromotive force (EMF) and internal resistance of the battery are influenced by both the temperature and the state of charge (SOC).This study neglects the impact of temperature on EMF and internal resistance, focusing primarily on the effect of SOC.For the calculation of battery SOC, the Ampere-Hour Integral Method is employed.The formula for calculating the SOC of the battery is given by: Rint Model where SOC 0 is the initial SOC value, and Q b is the battery capacity,the battery voltage variation with SOC as show in Figure 5.By combining Equations ( 5) and ( 6), the charge and discharge efficiency of the battery pack can be expressed as: Rint Model where η chr is the charging efficiency of the battery; η dis is the discharging efficiency of the battery; and P b is the power of the battery, which is less than 0 during charging and greater than 0 during discharging. Model Predictive Control This study integrates speed prediction and deep reinforcement learning energy management within the MPC framework.MPC is a flexible control framework that can be combined with any control algorithm to achieve real-time control.The fundamental idea of MPC is to utilize an existing model, the current state of the system, and future control variables to predict the future output of the system.The control process of MPC consists of four components: trajectory reference, prediction model, rolling optimization, and feedback correction.The solving process of MPC is illustrated in Figure 6. Model Predictive Control Reference locus: The reference trajectory refers to the expected output or state trajectory x r of the optimization model.Through MPC, the output x(k) or state of the system is aimed to follow the reference trajectory x r . Model Predictive Control Prediction model: The prediction model is designed to forecast the dynamic behavior of the system over future time horizons.The prediction model can derive output information within the prediction horizon based on current or historical data using relevant prediction algorithms, transfer functions, and other methods, providing input information for the rolling optimization process. Model Predictive Control Rolling optimization: This is the most critical step.Rolling optimization is used to comprehensively consider the reference trajectory and the input information from the prediction model to solve the optimization problems within the prediction horizon.Different optimization problems will have corresponding solution methods, commonly including linear programming, dynamic programming, sequential quadratic programming, and fuzzy optimization.Compared to other optimization control algorithms, especially global optimization algorithms, the essential difference in the rolling optimization step of MPC is that its objective function is not static; rather, it is continuously updated based on changes in the reference trajectory.Therefore, the optimization objective function may vary in each prediction horizon, and rolling optimization aims for optimality within the rolling time frame.As shown in Figure 7, rolling optimization is not conducted just once.As the prediction horizon is updated, the optimization is repeatedly performed.At the time k, the rolling optimization process yields the optimal control sequence [u(1|k), u(2|k), . . ., u(H p |k)] within the prediction horizon, and the first control action u(1|k) is applied to the controlled system. Model Predictive Control Feedback correction: In real-world environments, the controlled system is often affected by random disturbances and other factors.Additionally, changes in the operating environment may lead to model mismatch issues due to unmodeled factors, resulting in discrepancies between the predicted output of the prediction model and the actual state variables.Therefore, by introducing a feedback correction mechanism in a closed-loop system, the predicted output of the prediction model can be corrected in real time, reducing prediction errors and increasing the robustness of the system. Now Future Past Prediction time horizon Prediction control horizon ( ) Now Regarding the feed-forward compensator, we have expanded the discussion to clarify its role in Model Predictive Control (MPC) for setpoint tracking.As you correctly pointed out, the feed-forward compensator utilizes trajectory preview information to adjust control inputs ahead of time, which can improve tracking performance.However, we emphasize that the effectiveness of the feed-forward term depends on how accurately the model can predict future trajectories and how well the system can handle the predicted control inputs. Now We have also highlighted that combining feed-forward and feedback control in MPC can improve the robustness and accuracy of trajectory tracking.However, in cases of model mismatch or uncertainty, the benefits of feed-forward compensators can be limited.This article chooses to use the basic MPC without adding feedforward.The choice of the future time horizon is crucial for the integration of speed prediction and energy management.However, the results of speed prediction indicate that as the prediction horizon increases, the accuracy of speed predictions decreases.While a shorter prediction horizon offers higher prediction accuracy, it makes it difficult for the control strategy to plan effectively within a limited timeframe, which diminishes the advantages of prediction-based control strategies.Therefore, prediction horizons shorter than 5 s and longer than 20 s are not suitable for this study.Based on previous research, this study sets the prediction horizons at 5 s, 10 s, 15 s, and 20 s. Now Unlike supervised and unsupervised learning, reinforcement learning requires continuous interaction with the environment and adjusts strategies through trial and error.Reinforcement learning does not classify or label data based on existing training samples; instead, it determines the optimal action sequence through the ongoing interaction between the agent and the environment.The learning model of reinforcement learning is illustrated in the figure below.First, the agent obtains the state s t from the environment and takes action a t based on that state.Then, the environment updates the state s t+1 as a result of the action a t and provides the agent with a reward R t + 1, which can be either positive or negative, based on the effects of the different actions.Through continuous interaction, the agent is trained to make better decisions.The energy management section of this paper focuses on the Double Deep Q-Network (DDQN) algorithm, the reinforcement learning framework diagram is shown in the Figure 8. Morkov Process in Deep Reinforcement Learning Deep reinforcement learning tasks are typically modeled as Markov Decision Processes (MDPs).By incorporating rewards, a Markov process is transformed into a Markov Reward Process, and subsequently, an action set is added to form the MDP.In an MDP, a quintuple (S, A, P, R, γ) is composed of a state set S, an action set A, a state transition probability matrix P, a reward function R, and a discount factor γ. In this study, we have constructed a deep reinforcement learning energy management model where the battery SOC and the predicted speed within the forecasting time horizon serve as the states, while the range extender output power is designated as the action.In reinforcement learning, both actions and state transitions are stochastic.Given a state s, the action is random.Denote the probability density of executing an action a in a state s; similarly, the state transition is also random given state s, with the state transition probability distribution represented as P(s ′ |s).During the state transition process, the environment generates different rewards R based on state changes, and at each sampling moment, the environment produces a reward R [37].The current step's action evaluation value, G t , is discounted, which represents the weighted sum from step to the final step, as shown in Equation ( 9): Morkov Process in Deep Reinforcement Learning where G t is the discounted reward, γ is the discount factor, γ ∈ [0, 1], R t+k+1 is the reward for the t + k + 1 th step, which has less impact and less weight for the more distance time in the future. Morkov Process in Deep Reinforcement Learning Since the reward R is a random variable, the discounted return G t is also a random variable.Therefore, at time t, it is impossible to obtain a specific value G t .Consequently, it is necessary to evaluate the current action and state of the environment by calculating the expected value G t .The expected value of the random variable is used to obtain the value function, and Equation (12) represents the expression of the action-value function. Morkov Process in Deep Reinforcement Learning where Q π is the action-value function, which is the expectation of the discounted return, and is a representation of the value of the subsequent states of the current state.From Equations ( 9) and ( 10), the Bellman expectation equation for the action-value function can be introduced, as shown in Equation ( 11): Morkov Process in Deep Reinforcement Learning s and a represent the determined state and action, respectively.To eliminate the influence of the policy function π and to optimally evaluate the action taken under the current state, it is necessary to identify the optimal action-value function, as shown in Equation (12). Morkov Process in Deep Reinforcement Learning At this point, the optimal action for the agent a * is: DQN Compared with traditional Q-learning, Deep Q-Networks (DQNs) do not use a table to query Q-values corresponding to actions and states.Instead, they utilize a neural network Q(s, a; w) to approximate the optimal Q * (s, a) [38].By continuously updating the parameters ω, the neural network enables Q(s, a; w) to gradually converge to Q * (s, a).Unlike deep learning, reinforcement learning employs Temporal Difference (TD) algorithms to update network parameters.TD algorithms do not require the entire simulation process to be run completely; instead, they train the network through ongoing interaction.The TD algorithm primarily trains the model based on its estimate of Q-values and actual rewards, as shown in Equation ( 14), which is used to estimate the Q-values at the time step t and t + 1 in DQN. DQN where Q(s t , a t ; w) represents the Q-value estimated by the neural network at the current time step, while Q(s t+1 , a t+1 ; ω) represents the Q-value at the next time step.r t is the reward received by the agent after taking an action at the current time step, and ω represents the parameters of the neural network.Q(s t , a t ; w) is the estimate made at the time step t.By time step t + 1, the reward r t becomes known, making the right-hand side of the equation closer to the actual evaluation.The right-hand side is defined as the Temporal Difference (TD) target y t .During the solution process, DQN selects the action a that maximizes Q(s t+1 , a t+1 ; ω) as the next action, as shown in Equation (15). DQN To bring the output of DQN closer to the TD target, the loss is calculated as the squared difference between the two, as shown in Equation ( 16).The network parameters are then updated based on the loss. DQN During training, DQN often uses experience replay to prevent the waste of experience.Experience replay not only enables the reuse of experience, thus avoiding its waste, but also allows the decomposition of experience sequences to eliminate the correlation between adjacent sequences.Before training the network, the performance can be adjusted by tuning the capacity n of the experience buffer (replay buffer).In this paper, n is set to 50,000.After determining n, the agent randomly samples it for training. DDQN In the process of estimating Q-values, DQN inevitably introduces errors.As shown in Equation ( 16), when calculating the TD target, a maximization operation is performed.However, due to the issue of bootstrapping, overestimation is inevitable.To mitigate the negative impact of this overestimation, the Double Deep Q-Network (DDQN) was proposed.DDQN uses two neural networks: Q e aval (the current value network) and Q t arget (the target value network).These networks share the same structure but differ in parameter updating methods: Q e aval updates its parameters with each training step, while Q t arget copies the parameters from Q e aval at longer intervals.As shown in Figure 9, DDQN first calculates the Q-value using the current network and computes the optimal action a * through a dynamic programming algorithm, as illustrated in Equation (17). DDQN Subsequently, the target network calculates the Q-value based on the optimal action a * , as shown in Equation (18).Then, the TD algorithm calculates the loss value based on y t to update the current network. DDQN The loss value for DDQN is represented in Equation (19). DDQN where D represents the experience replay buffer, γ is the discount factor, and E (s,a,r,s t+1 )∼D denotes the expected loss sampled from the buffer D. The parameter update algorithm for the neural network employs the Root Mean Square Propagation (RMSProp) method.Compared to the Stochastic Gradient Descent with Momentum (SGDM) algorithm, RMSProp can adaptively adjust the learning rate.This method exhibits better adaptability to non-smooth objectives, reduces model oscillation, and is more conducive to stable convergence of the model. MPC-DDQN This paper uses an LSTM speed prediction model to forecast future speed over a time horizon and calculates the required power for the predicted time horizon.The currently required power, the future required power, and the current state of charge (SOC) are used as inputs to the state of the agent. MPC-DDQN The agent is trained to generate the output power of the engine and battery pack for the next time step based on the state variables, with an output power range of [0 kW, 285 kW].By adjusting the reward coefficient for each episode, the control strategy can make more optimal decisions.To reduce the training time cost, this paper separates the training of the speed prediction model from that of the energy management agent, using the prediction results as input to the Double Deep Q-Network (DDQN) environment.The pseudocode for the MPC-DDQN energy management is presented in Table 3. MPC-DDQN 1 Define hyperparameters: greedy algorithm coefficient ϵ, size of replay buffer D, and discount factor γ. 2 MPC-DDQN 1 Initialize the parameters of the current network ω and copy ω to the target network parameters ω − .3 MPC-DDQN 1 Set the maximum number of episodes E m ax. 4 MPC-DDQN 1 Loop through episodes for i = 1 : E m ax. 5 MPC-DDQN 1 Randomly initialize the state sequence S (predicted power demand sequence, SOC).6 MPC-DDQN 1 For each time step j = 1 : T Select an action a with probability ϵ or select an action a * with the maximum Q-value with probability (1 − ϵ).Use the target network to compute the target value: 7 MPC-DDQN 1 Compute the Temporal Difference (TD) error δ t = y t − Q(s t , a t , ω). 8 MPC-DDQN 1 Store the experience in the replay buffer using prioritized experience replay and sampling probabilities.9 MPC-DDQN 1 Update the current network's parameters using samples from the replay buffer.10 Every C step, copy the parameters of the current network ω to the target network Q target (S, a; ω − ).11 MPC-DDQN 1 End of the time step.12 End of the episode.13 Take the first action from the optional output sequence as the range extender's output power for the next time step, achieving continuous control via a rolling window. MPC-DDQN 1 In deep reinforcement learning, the design of the reward function is crucial as it directly affects the model's convergence and learning efficiency.To ensure that the state of charge (SOC) remains stable around 30% while also saving fuel, the reward function in this paper is primarily composed of two components, as shown in Equation (20). MPC-DDQN 1 where r t is the reward value at the current step; SOC(t) is the SOC at the current time; SOC 0 is the initial SOC; β and γ are two coefficients.After multiple simulations comparing control performance, the value of β is set to −160 to ensure that the reward function exhibits an increasing trend during the iterative process.Additionally, the parameter γ is set to 1.5; a equal is the equivalent conversion coefficient for fuel and electricity; and f e ins is the instantaneous fuel consumption. Formulation of the MPC Framework The MPC framework is developed for the real-time energy management of HEVs (Hybrid electric vehicles).The fundamental concept involves solving a constrained nonlinear optimization problem over a predictive horizon at each time step.After computing the optimal control sequence, only the first control input is applied to the powertrain system, while the process is repeated at the next step.The schematic diagram of the MPC framework is shown in Figure 10.According to Equation ( 21), the predictive model of the HEV is formulated as follows: ẋ = f (x, u, w), y = g(x, u, w) (21) where x = SOC is the state variable; u = [ω e , T e ] T is the control variable; w = V predict is the system disturbance; and y = [SOC, ṁ f ] T is the output.Additionally, V predict is the future velocity sequence provided by the predictor. Formulation of the MPC Framework The energy management of plug-in hybrid electric vehicles (PHEVs) aims to enhance performance metrics such as energy consumption efficiency or greenhouse gas emissions reduction.In the text, the objective function is defined to minimize the total cost over a specific driving cycle.The total cost includes the cost of energy consumption, the equivalent cost of battery degradation, and the equivalent social cost of carbon emissions.Based on this definition, the objective function is expressed as follows: Formulation of the MPC Framework where J * is the total cost of the trip, J energy , J bat and J carbon are the energy consumption cost, the equivalent battery life loss cost, and the social cost of equivalent carbon emission, respectively.For plug-in hybrid electric vehicles (PHEVs), the energy consumption costs consist of both fuel consumption costs and electricity consumption costs.The calculation formula is as follows: Formulation of the MPC Framework where c f and c e are the unit price of the fossil fuel and electricity, respectively, J f uel and J elec are the cost of the natural gas consumption over the trip, T is the time length of the trip, and t is the time variable.The fuel consumption rate m f (t) is calculated using the following equation: Formulation of the MPC Framework where P egu (t) is the instantaneous output power of EGU, b e (t) is the rate of fuel consumption of EGU, and ρ f is the density of natural gas.The instantaneous electricity consumption m e (t) is calculated as follows: Formulation of the MPC Framework where the objective function can be further formulated as: Formulation of the MPC Framework where φ is the purchase cost of the battery system and ϕ is the decay factor of the battery.In this work, the discrete time step is 1 s.Additionally, the optimization problem is subjected to a set of inequality constraints: (27) where the subscripts (min and max) represent the minimum and maximum restriction.The solid black line indicates the reference trace, the dashed blue line indicates the optimal control output, and the red line indicates the optimal control input. Driving Cycle Decomposition Approach Traditional DPR-based power management methods tend to classify driving segments using known continuous driving cycles, and then develop control strategies by identifying the entire driving cycle.However, for a given driving cycle, these methods often include several types of driving segments that are easily overlooked.This is because different driving patterns can exhibit similar driving segments, and the same driving cycle can contain different types of segments.As a result, control strategies developed based on the entire driving cycle may struggle to ensure optimal vehicle performance.To overcome this limitation, a novel classification method is proposed-using a fuzzy neural network to classify driving segments, grouping them according to their characteristics. Driving Cycle Decomposition Approach In this study, we selected three typical driving cycles: FTP75, NEDC, and CBDC.For a given driving cycle, the number of parameters used to describe it can reach up to several types.However, too many parameters may significantly increase computation time and could potentially affect the accuracy of the results.In reference [39], the average speed is reported as the sole parameter.In our research, we use the average speed and maximum speed of each segment as the classification parameters.The methods for calculating average speed and maximum speed are as follows: Driving Cycle Decomposition Approach where V ai represents the average speed of each driving segment, where i denotes the index of the driving segment, and V maxi refers to the maximum speed of each driving segment. Fuzzy Neural Network Controller Driving cycles are crucial for evaluating vehicle performance, especially when calculating fuel economy and emissions.Many standard driving cycles have been developed for different types of vehicles in various countries or scenarios.To better assess the performance of the energy management system (EMS), we designed a driving cycle controller based on a fuzzy neural network. Fuzzy Neural Network Controller A fuzzy logic controller is used to classify driving segments and identify the driving types in the DPR process.The controller consists of four key components: fuzzification, rule base, fuzzy inference, and defuzzification.These components work together to effectively process and categorize the driving segments. Fuzzy Neural Network Controller Fuzzification: We set the input variables of the fuzzification module to two parameters: average speed (km/h) and maximum speed (km/h), with the output module being the driving block pattern.For the pre-segmented driving blocks, the average speed and maximum speed are calculated accordingly. Fuzzy Neural Network Controller As shown in Figure 11: The linguistic terms for the input and output variables are set as Low-Level (lowspeed driving pattern), Middle-Level (medium-speed driving pattern), and High-Level (high-speed driving pattern).The inference process utilizes Mamdani's fuzzy theory.It is noteworthy that, in this study, the intervals corresponding to the three-speed patterns are shown in Table 4. Based on the established rules, we can determine the membership functions for Lower-Level µ L (χ), Middle-Level µ L (χ), and High-Level µ L (χ).The membership function is shown in Figure 12.Rule base: The fuzzy logic used in this study follows the A + B → C (If A and B, then C) pattern, where A represents the fuzzy set of average speed, which consists of three levels: V a − Low, V a − Middle, and V a − High.B denotes the fuzzy set of maximum speed, which is also divided into three levels: V max − Low, V max − Middle, and V max − High.C represents the fuzzy set of driving block patterns.The inference process is based on the Mamdani fuzzy theory.From each rule shown in Table 5, we can obtain the corresponding fuzzy relation matrix R i through the Cartesian product of A i and B i .The overall fuzzy relation matrix R can be obtained by combining the fuzzy relations R i using the following equation: Mamdani where m and n (where m = 1, 2, 3 and n = 1, 2, 3 ) denote the indices of the matrix elements in the fuzzy relation matrix R and the fuzzy relation matrix R i .V a -Low V a -Middle V a -High Mamdani Subsequently, we can examine the three-dimensional coordinate graph of the established fuzzy rules, as shown in Figure 13.Fuzzy inference: When we input the fuzzy relation matrix R of the variables A i and B i and obtain the fuzzy results, we can use the following equation to determine the driving type: Mamdani where C i represents the fuzzy set of the output variable.Defuzzification: The result obtained through the fuzzy set formula C i = (A i × B i ) • R is not applicable under real conditions.Therefore, we should convert it to a known driving pattern.The maximum membership principle is employed to determine the driving block pattern.According to this principle, the driving block pattern is identified at the value with the highest membership degree in the domain. Driving Cycle Classification and Composition From Figure 14, we can observe that most driving blocks have similar profiles in the rearranged driving cycles.In the subsequent design, the composite conditions shown in Figure 15 will be used for the driving cycles.Acceleration will be one of the reference criteria for the vehicle's throttle opening degree.Figure 16a shows the throttle opening degree corresponding to the composite conditions.Figure 16b displays the acceleration data of the vehicle under the composite conditions.However, to ensure the authenticity of the driving conditions, this study sets the maximum acceleration boundary at 5 m/s 2 .The vehicle's maximum braking speed is determined by the combination of mechanical braking, regenerative braking from the motor, and road conditions.Under normal driving conditions, considering passenger safety and ensuring the authenticity of driving conditions, the maximum braking speed limit is set to −5 m/s 2 , as indicated by the acc limite in Figure 16b.17 and a cell state.These mechanisms enable LSTM to better handle long-term dependencies within sequences, with the gates represented by the sigmoid activation function. Driving Cycle Classification and Composition Forget Gate: By operating on x t and h t−1 and passing the result through the sigmoid function, we obtain a vector in the range of [0, 1].value of 0 indicates that a certain portion of the previous memory should be forgotten, while a value of 1 indicates that that portion of the previous memory should be retained. Driving Cycle Classification and Composition Input Gate: By adding the information that needs to be retained from the previous state to the information that needs to be remembered from the current state, we obtain the new memory state. Driving Cycle Classification and Composition Output Gate: This gate integrates c t to produce an output.The calculation formulas for each parameter in the structural diagram are shown in the following equations: Driving Cycle Classification and Composition where f t is the output value of the forgetting gate; i t is the output value of the input gate; o t is the output value of the output gate; σ is the corresponding gate; and W is the corresponding parameter. Driving Cycle Classification and Composition c t is the cell state (memory state), x t is the input information, and h t−1 is the hidden state (derived from c t ).BP (backpropagation) neural network is a multilayer neural network that uses error backpropagation.In systems such as signal processing and pattern recognition, multilayer feedforward networks are widely used models.However, most learning algorithms on backpropagation for multilayer feedforward networks must rely on some form of nonlinear optimization techniques, which results in large computational costs and slow learning speeds.The theory of Radial Basis Function Neural Network provides a novel and effective means for learning in multilayer feedforward networks.RBF networks not only possess good generalization capabilities but also have lower computational requirements, with learning speeds generally much faster than other algorithms.The following diagram illustrates a simplified model of the RBF network. Driving Cycle Classification and Composition After generalization, the applicability is significantly increased.The mapping from the input layer to the hidden layer (radial basis function layer) is a nonlinear mapping, with the basis function being the Gaussian function: Driving Cycle Classification and Composition where i = 1, 2, . . ., m; x is an n-dimensional input vector; c i is the center value of the i-th basis function, which has the same dimensionality as the input vector; σ i represents the normalization constant of the width of the i-th basis function's center; and ∥ x − c i ∥ is the norm of the vector x − c i , indicating the distance between x and c i .The Gaussian function value R i (x) reaches its unique maximum at a specific center value of the basis function. Driving Cycle Classification and Composition According to the above function, as ∥ x − c i ∥ increases, the value of the basis function R i (x) decreases, approaching zero.For a given input value x ∈ R n , only a small region near the center of x is activated, the radial basis function is shown in Figure 18.To evaluate the computational complexity of the proposed method, a detailed analysis was conducted to estimate the number of floating-point operations required to compute the control law.The proposed control method consists mainly of the LSTM model and the MPC optimization problem.In the LSTM model, the computational complexity of state estimation is O(n 2 ), where n is the number of neurons in the hidden layer, while during the prediction phase, the complexity is O(n), as only a forward pass is needed to compute the output.In contrast, the MPC controller involves solving an optimization problem, which typically has a complexity of O(n 3 ), where N is the prediction horizon length.By integrating the LSTM and DDQN models into the MPC framework, the proposed method significantly reduces the computational load per control update, eliminating the need for solving large-scale optimization problems at each control step as required by traditional methods. Driving Cycle Classification and Composition By comparing the computational complexity of the traditional MPC method with that of the proposed method, we estimate that the number of floating-point operations required for each control update is approximately X operations for the proposed method, compared to Y operations for the traditional MPC method.This demonstrates the clear computational efficiency advantage of the proposed method, particularly in real-time applications where computational burden is a critical factor. Comparison of Simulation Results From previous experiments on speed prediction, we understand that the prediction horizon is a crucial parameter.A horizon that is too short imposes a significant computational burden on the system, hindering the real-time update of vehicle information, while a horizon that is too long may result in poor prediction accuracy.Therefore, selecting an appropriate prediction horizon is vital for the experiments.In this paper, we base our predictions on LSTM and adjust the horizon to 5 s, 10 s, 15 s, and 20 s.In reference [40], it was pointed out that either too short or too long LSTM prediction field of view would have a negative impact on the experiment, so this paper chose the prediction field of view between 5 s and 20 s for testing. Comparison of Simulation Results This study focuses on the LSTM-MPC-DDQN energy management strategy with a historical time domain of 40 s and prediction horizons of 5 s, 10 s, 15 s, and 20 s.The prediction results are shown in Figure 19.The experimental results are compared with two other control strategies.The cycling conditions for all control strategies are based on the cycling conditions processed in the previous chapters, with the initial SOC set to 90. Training Process The goal of deep reinforcement learning is to maximize rewards, and the effectiveness of DDQN training is measured by the increase in Q-values, which should ultimately stabilize and converge to a maximum value.Therefore, the choice of hyperparameters is crucial for the control effectiveness of deep reinforcement learning in energy management.The DDQN energy management system employs a three-layer BP neural network with 84 neurons in the hidden layer.In the velocity-prediction-based MPC-DDQN energy management, a four-layer neural network is used with 124 hidden neurons.The parameter update algorithm for all reinforcement learning neural networks utilizes the RMSProp algorithm, with a learning rate of 0.0001 and a sampling time of 0.1 s. Figure 20 illustrates the training process of the DDQN energy management agent.As shown in Figure 20, with the increase in iterations, the reward value rises rapidly in the initial stages.However, after the 15th iteration, even though the number of iterations continues to increase, the reward value does not rise further but stabilizes around a certain value.At this point, the network essentially stops updating.This phenomenon is primarily due to the simplicity of the network and the limited input to the DDQN, resulting in a weak perception of the environment and, consequently, less information learned by the network.The velocity-prediction-based MPC-DDQN effectively addresses this issue.The velocity prediction model extracts historical velocity features by processing historical speed data, and the predicted speed information is input into the control strategy to calculate the predicted power.The DDQN then calculates the engine output power based on this predicted power.This method not only provides DDQN with more state information but also allows reinforcement learning to plan better over time, leading to the convergence of reward values while enhancing the vehicle's economy. Training Process The goal of deep reinforcement learning is to maximize rewards, and the effectiveness of DDQN training is assessed by the increase in Q-values, which should ultimately stabilize and converge to a maximum value.Therefore, the choice of hyperparameters is crucial for the control effectiveness of deep reinforcement learning in energy management.The DDQN energy management system employs a three-layer BP neural network with 64 hidden units.In the velocity-prediction-based MPC-DDQN energy management strategy, a four-layer neural network is used, also with 64 hidden units.The parameter update algorithm for all reinforcement learning neural networks utilizes the RMSProp algorithm, with a learning rate of 0.0001, a sampling time of 0.01 s, and an episode setting of 50. Simulation Experiment As shown in Table 6, with the increase in the prediction horizon, both the average prediction time and RMSE also increase, indicating a decline in prediction accuracy and a reduction in stability. Simulation Experiment As shown in Figure 22, the variations in SOC (state of charge) and fuel consumption under different control strategies are presented, with an initial SOC of 90% for all strategies.From Figure 22a, it can be observed that the DP and RB control strategies result in a final SOC close to 35%.However, when the prediction horizons for LSTM-MPC-DDQN are set to 15 s and 20 s, the final SOC values are both below 30%.This indicates that if the prediction horizon is set too long, it can lead to excessive discharge of the battery pack, coupled with a gradual decline in prediction accuracy.Table 7 presents the simulation results for various control strategies, indicating that the fuel consumption of the dynamic programming (DP) approach is the lowest.The LSTM-MPC-DDQN energy management strategy, with a prediction horizon of 5 s, has equivalent fuel consumption closest to that of the dynamic programming algorithm.The dynamic programming algorithm is a global optimization strategy capable of finding the theoretical optimal solution and is commonly used as a reference standard for the control effectiveness of other strategies.To ensure a fair comparison, the objective function of the dynamic programming approach is the same as that of the proposed control strategies.The results show that, compared to the RB control strategy, the equivalent fuel consumption of the LSTM-MPC-DDQN strategy based on speed prediction is significantly reduced.This is because the RB strategy relies solely on predefined rules for power distribution, heavily depending on past experiences, and cannot adaptively adjust.Therefore, the control effectiveness of the RB strategy is generally not as effective as that of the LSTM-MPC-DDQN energy management strategy. Simulation Experiment The dynamic programming algorithm is a global optimization strategy that can find the theoretical optimal solution and is commonly used as a reference standard for the control effectiveness of other strategies.To ensure a fair comparison, the objective function of dynamic programming is the same as that of the control strategies proposed in this study.The results indicate that, compared to traditional power tracking control strategies and the ECMS control strategy, the equivalent fuel consumption of speed prediction-based reinforcement learning energy management is significantly reduced.As shown in Figure 23, the output power of the engine and battery pack under different control strategies reveals that the output power of the dynamic programming (DP) and LSTM-MPC-DDQN strategies is lower than that of the RB strategy.This is primarily because DP, as a global planning control strategy, can plan across a global range.Additionally, the LSTM-MPC-DDQN control strategy utilizes velocity prediction to make better judgments in the time domain, avoiding the operation of the engine in inefficient areas.In contrast, the RB strategy can only distribute power according to predefined rules, lacking adaptive regulation and flexibility.It frequently switches during operation and, compared to DP and LSTM-MPC-DDQN, utilizes the battery pack less often, resulting in higher fuel consumption.On the other hand, based on previous experiments, setting the prediction horizon of LSTM-MPC-DDQN to 5 s not only ensures fuel economy but also maintains performance.As shown in Figure 24, by integrating the fuel consumption and output power of each control strategy at every moment, we can obtain the total fuel consumption and total power output of the vehicle.Considering the fuel consumption data, the dynamic programming (DP) algorithm proves to be more efficient compared to the RB strategy proposed in this study.This is because both dynamic programming and LSTM-MPC-DDQN strategies can optimize planning in both the global and temporal domains, reducing unnecessary power output and fuel consumption, and thereby significantly enhancing overall efficiency.In contrast, the RB strategy, due to its inability to adapt to changing rules, fails to effectively predict and plan the power distribution between the engine and battery pack, resulting in relatively lower fuel efficiency.To verify the effectiveness of the proposed control strategy, simulations were conducted under the UDDS conditions and compared with other control strategies.The simulation results are shown in Figure 25.The figure indicates that the final SOC of our proposed strategy approaches the target value of 30%.In contrast, the RB strategy consumes more energy and fuel.This observation is supported by the data in Table 8, which demonstrates that the fuel economy of the LSTM-MPC-DDQN control strategy is superior to that of the RB control strategy. Contribution In this study, we developed a P2 architecture model for PHEV, which includes a comprehensive vehicle powertrain system.This model enables the calculation of optimal operating trajectories for critical powertrain components, specifically the engine and battery pack.To address the limitations of traditional Dynamic Programmed Recognition (DPR) methods, which often fail to fully recognize specific drive modules, we proposed an innovative driving mode recognition system.This system employs a fuzzy controller to segment standard driving cycles into distinct modes, allowing for real-time driving mode identification.Additionally, we designed an LSTM-based speed prediction model, trained on a dataset incorporating widely adopted driving cycles such as FTP75, NEDC, and CBDC.To further refine this model, a DDQN algorithm was implemented to optimize the initial learning rate and dropout probability of the neural network.By integrating LSTM predictions within an MPC framework, we constructed an advanced LSTM-MPC-DDQN energy management controller.Simulation results demonstrate that this proposed strategy surpasses other energy management approaches in performance.Specifically, when compared to conventional RB control strategies, the LSTM-MPC-DDQN controller achieves significantly improved fuel efficiency, with fuel consumption levels approaching those obtained through the DP algorithm.Furthermore, the LSTM-MPC-DDQN strategy ensures stable SOC management, effectively maintaining SOC near its set target.The accuracy of speed predictions directly influences the power demand calculation within the prediction horizon, which in turn impacts the effectiveness of reinforcement learning for future power management planning.Finally, additional simulations using the UDDS cycle confirmed the strategy's suitability for real-time applications, reinforcing its potential for practical implementation. Contribution In the experiments conducted on the LSTM-MPC-DDQN energy management strategy, four prediction horizon lengths (5 s, 10 s, 15 s, and 20 s) were set.The results demonstrated that when the prediction horizon was 5 s, the strategy exhibited optimal performance, achieving the lowest equivalent fuel consumption at only 6.3220 L, representing a fuel saving of 2.034 L compared to the rule-based strategy.Additionally, the DP strategy achieved the lowest fuel consumption at 3.3856L.Due to its global optimization capabilities, the dynamic programming algorithm can identify the theoretical optimal solution and is commonly used as a benchmark for assessing the control effectiveness of other strategies.Verification under the UDDS driving cycle indicated that the LSTM-MPC-DDQN strategy saved 0.2729 L of fuel compared to the rule-based strategy and exhibited a fuel consumption difference of only 0.0749 L compared to the DP strategy. Contribution This study proposes an innovative LSTM-MPC-DDQN energy management controller for PHEVs, which significantly improves fuel efficiency and stable SOC management compared to conventional strategies, as demonstrated through comprehensive simulations. Outlook In this study, all our experiments were conducted on the Simulink platform.Although Simulink allows for precise control of variables and exploration of various scenarios, it lacks many uncertainties present in real-world operations.Additionally, in our experiments, we did not consider the impact of slope on the controller.In the future, we plan to conduct real-vehicle tests to obtain real-world operational data, such as data from urban roads, highways, mountainous regions, and other complex environments. Figure 1 . Figure 1.Plug-in hybrid vehicle structure. Figure 2 . Figure 2. Driving mode. Figure 3 . Figure 3. Engine map of the equivalent fuel consumption rate. RFigure 4 . Figure 4. Schematic diagram of the internal resistance battery model. Figure 5 . Figure 5. Graph of battery voltage variation with SOC. Figure 8 . Figure 8. Reinforcement learning framework diagram. Figure 9 . Figure 9. Double DQN training process. Figure 10 . Figure 10.The schematic diagram of the MPC framework. Figure 11 . Figure 11.Fuzzy neural network controller. Figure 12 . Figure 12.Membership function. Figure 13 . Figure 13.Three-dimensional coordinate graph of fuzzy rules. Figure 14 .Figure 15 . Figure 14.Classified driving cycles. Figure 16 . Figure 16.Throttle opening degree and acceleration limit. 4. 4 . Speed Prediction Based on LSTM LSTM (Long Short-Term Memory Network) is a commonly used deep learning model for processing sequential data.Compared to traditional RNNs (Recurrent Neural Networks), LSTM introduces three gates (input gate, forget gate, and output gate, as shown in Figure Figure 17 . Figure 17.Schematic diagram of LSTM architecture. Figure 18 . Figure 18.Simple radial basis function network structure. Figure 19 . Figure 19.Prediction results of RBF with different horizons. Figure 20 . Figure 20.DDQN training flowchart. Figure 20 illustrates the training process of the DDQN energy management agent. Figure 20 Figure 21 further demonstrates the training process of the LSTM-MPC-DDQN energy management strategy, indicating that the prediction accuracy and stability of LSTM-MPC-DDQN are superior to those of the MPC-DDQN energy management strategy. Figure 21 . Figure 21.Training process of speed prediction energy management for different speed prediction methods. ( a )Figure 22 . Figure 22.Variation curves of SOC and fuel consumption for three strategies. Figure 23 . Figure 23.Variation of engine and battery pack output power under different control strategies. Figure 24 . Figure 24.Variation in engine and battery pack output under different control strategies. Figure 25 . Figure 25.Variation in SOC and fuel consumption for different strategies under UDDS conditions. Table 1 . Vehicle powertrain parameters. Table 2 . Driving mode data. Table 3 . MPC-DDQN energy management pseudo-code. Table 4 . Speed interval division. Table 5 . Fuzzy rules. Table 6 . Performance LSTM vehicle speed prediction method. Table 7 . Simulation results of different control strategies. Table 8 . Simulation results of different control strategies under UDDS condition.

섹션 본문 158문단 · 67,750자

(제목 없음)

1How to further improve the fuel economy and emission performance of hybrid vehicles through scientific and reasonable energy management strategies has become an urgent issue to be addressed at present.This paper proposes an energy management model based on speed prediction using Long Short-Term Memory (LSTM) neural networks.The initial learning rate and dropout probability of the LSTM speed prediction model are optimized using a Double Deep Q-Network (DDQN) algorithm.Furthermore, the LSTM speed prediction function is implemented within a Model Predictive Control (MPC) framework.A fuzzy logic-based driving mode recognition system classifies driving cycles and identifies real-time conditions.The fuzzy logic-based driving mode is used to divide the typical driving cycle into different driving modes, and the real-time driving modes are identified.The LSTM-MPC method achieves low RMSE across different prediction horizons.Using predicted power demand, battery SOC, and real-time power demand as inputs, the model implements MPC for real-time control.In our experiments, four prediction horizons (5 s, 10 s, 15 s, and 20 s) were set.The energy management strategy demonstrated optimal performance and the lowest fuel consumption at a 5 s horizon, with fuel usage at only 6.3220 L, saving 2.034 L compared to the rule-based strategy.Validation under the UDDS driving cycle revealed that the LSTM-MPC-DDQN strategy reduced fuel consumption by 0.2729 L compared to the rule-based approach and showed only a 0.0749 L difference from the DP strategy.

Research Motivation

2In the context of addressing global climate change, energy crises, and urban air pollution, hybrid electric vehicles (HEVs) have emerged as critical green transportation options, with significant practical implications for their study [1].By combining internal combustion engines with electric motors, HEVs effectively reduce fuel consumption and greenhouse gas emissions, positioning themselves as strong alternatives to conventional internal combustion engine vehicles [2].Compared to pure electric vehicles (EVs), hybrid electric vehiclesid electric vehicles are more feasible to implement in terms of technology and cost, particularly in areas lacking a comprehensive charging infrastructure or where long-term driving is often required.Consequently, further optimization of HEVs not only supports the adoption of clean energy in the transportation sector, but also provides an effective path to achieve the energy savings and emission reduction goals [3].

3Research on energy management strategies for hybrid electric vehicles (HEVs) is fundamental due to its direct impact on fuel economy and emissions performance [4].Energy management strategies optimize the real-time allocation of energy between the engine and the electric motor, allowing the vehicle to select the most efficient energy consumption mode in various driving conditions.Current studies indicate that advanced energy management approaches, such as strategies based on predictive control models and machine learning algorithms, can significantly improve energy efficiency and reduce emissions under actual operating conditions [5][6][7].Furthermore, with the development of intelligent transportation systems, the integration of big data and traffic forecasting into HEV energy management allows predictive adjustments based on future road conditions, thus further improving fuel economy [8].Therefore, research on HEVs and their energy management strategies aligns with global environmental protection trends and plays an irreplaceable role in promoting the development of sustainable transportation systems.

Literature Review

4Currently, many countries are facing an energy crisis and environmental pollution issues, accelerating the transition from conventional fossil fuel vehicles to new energy vehicles (NEV) and driving unprecedented development in the NEV sector [9].Compared to traditional internal combustion engine (ICE) vehicles, NEVs primarily include battery electric vehicles (BEVs), fuel cell vehicles (FCVs), and hybrid electric vehicles (HEVs).These vehicles show a significantly reduced dependence on fossil fuels or, in some cases, complete independence from them, making them more environmentally friendly [10].In particular, plug-in hybrid electric vehicles (PHEVs) feature larger battery capacities than conventional hybrid vehicles, enabling them to meet the commuting needs of most office workers.As a result, PHEVs have garnered considerable attention and are regarded as one of the most promising research directions for the future.

5Although battery electric vehicles (BEVs) produce nearly no environmental pollution, their driving range remains limited, and current technologies have yet to achieve parity with conventional gasoline-powered vehicles in terms of range.This limitation makes hybrid electric vehicles a viable compromise.In the future, with advances in battery energy storage technologies, BEVs are expected to completely replace traditional gasoline vehicles.To maximize the energy efficiency and sustainability of hybrid electric vehicles, it is essential to develop more effective energy management strategies (EMSs).By optimally distributing power between the engine and the battery, HEVs can operate within regions of high efficiency and high performance [11].Research on energy management strategies can be broadly categorized into two main approaches: rule-based methods and optimizationbased methods [12].Furthermore, Ref. [13] classifies EMS into offline and online strategies.

6Although various energy management strategies have been applied to PHEVs, the performance of existing methods in complex and dynamic environments remains insufficient.Traditional model-based control methods, such as MPC, often face challenges of high computational burden and poor real-time adaptability.While deep reinforcement learning (e.g., DDQN) has achieved success in other fields, its application in PHEV control still encounters issues such as high demand for training data and poor model stability.This paper proposes an integrated approach based on LSTM, MPC, and DDQN, aiming to enhance prediction accuracy through LSTM, optimize control decisions with MPC, and improve real-time learning capabilities using DDQN, thereby increasing the efficiency and adaptability of energy management.Through this innovative combined method, we can effectively address the issues of high computational complexity and poor real-time performance in existing methods, significantly improving system performance.

7This paper focuses on the modeling and optimization of electric vehicle propulsion systems.The authors emphasize that the design of electric vehicle control systems must account for different dynamic characteristics, necessitating the establishment of mathematical models to describe these dynamics.For electric vehicles, the most critical dynamic characteristics include lateral dynamics (e.g., autonomous navigation) and longitudinal dynamics (e.g., energy efficiency and cruise control).This research direction has been extensively explored by numerous scholars and has evolved into a significant field of study.However, a pressing issue remains in the design of controllers based on longitudinal dynamic models: the parameterization of controller data.Since some parameters cannot be directly measured, this poses challenges for controller design and optimization.To address this issue, this paper proposes a motor dynamic testing method as an alternative to traditional torque sensor test benches.Experimental results demonstrate that by measuring the speed, current, and voltage of the motor during acceleration and deceleration, the torque and characteristics of the magnetic flux can be dynamically estimated more rapidly, conveniently, and accurately [14].

Rule-Based Energy Management Strategy

8Rule-based energy management strategies can be further categorized into deterministic rule-based strategies and fuzzy rule-based strategies.Deterministic rule-based strategies define a set of rules prior to implementation, specifying control parameter ranges or specific values, such as the state of charge (SOC) range of the battery, engine power, and motor torque.In Ref. [15], Anthony M. Phillips et al. successfully designed a controller based on a vehicle supervisory control (VSC) state machine.This controller employs a deterministic rule-based design that identifies all possible vehicle operating states and determines state transitions based on changes in driver demands and vehicle operating conditions.Fuzzy rule-based controllers, on the other hand, consist of rules established using fuzzy logic and are often combined with pattern recognition and neural networks.The primary advantage of fuzzy logic lies in its applicability to nonlinear time-varying systems, providing strong adaptability and ease of tuning.Additionally, fuzzy logic controllers can reduce computational burden.For instance, Hyeoun-Dong Lee and Seung-Ki Sul developed a fuzzy logic-based torque controller for parallel hybrid electric vehicles, which effectively reduced NOx emissions while ensuring vehicle driving performance and battery state-of-charge balance [16].

Energy Management Strategies Based on Optimization

9Offline global optimization requires prior knowledge of the entire driving cycle.Based on this information, methods such as dynamic programming (DP) and convex optimization are employed to solve the optimal power distribution problem.Lin et al. were the first to apply the DP strategy to enhance the energy management strategy of parallel hybrid electric trucks.They utilized dynamic programming techniques to determine the optimal power distribution of the hybrid system and subsequently formulated new rules to refine the control strategy, thereby improving fuel economy [17].

10Although dynamic programming (DP) guarantees finding an optimal solution within a given range and can be easily implemented through coding, it suffers from a significant drawback-Bellman's "curse of dimensionality" [18].This limitation is particularly problematic in real-world vehicle operations, where driving information is often uncertain and conditions are highly dynamic.Due to the simplicity and practicality of DP, many re-searchers have attempted to enhance it through various approaches.For example, C. C. Lin et al. proposed an infinite-horizon stochastic dynamic optimization method that leverages the Markov process to reduce dependence on precise driving information [19].However, offline global optimization algorithms are currently used primarily as benchmarks, with their solutions serving to improve online optimization algorithms.

11Common online suboptimal control methods include the Charge Depleting-Charge Sustaining (CD-CS) strategy, the Equivalent Fuel Consumption Minimization Strategy (ECMS), and Model Predictive Control (MPC).Unlike offline global optimization, when applying online energy management strategies to plug-in hybrid electric vehicles (PHEVs), the dynamic variation in the battery's state of charge (SOC) must be carefully considered.The CD-CS strategy has been widely adopted due to its simplicity, ease of implementation, and real-time capability [20].However, it also has notable drawbacks, including the lack of optimality and the inability to efficiently manage battery power in real time.

12Paganelli was the first to introduce the Equivalent Fuel Consumption Minimization Strategy (ECMS) into the energy management problem of hybrid electric vehicles.This algorithm is derived from the optimality conditions of Pontryagin's Minimum Principle [21].ECMS can achieve instantaneous optimal solutions without requiring prior knowledge of the driving cycle.Building on this, Musardo et al. proposed an adaptive ECMS that automatically adjusts the fuel equivalence factor through cycle prediction [22].

13In the study of energy management strategies for electric vehicles in car-following scenarios, Chen et al. addressed the issue of model-based vehicle state prediction being affected by time-varying conditions.They proposed a data-driven Koopman Model Predictive Control (MPC) approach to optimize the speed of the following vehicles [23].Experimental results demonstrated that the hierarchical predictive control using the Koopman model reduced energy consumption by 5.55% compared to hierarchical control based on mechanical models.

14Sun et al. proposed a predictive energy management framework based on traffic data.Compared to conventional MPC, this framework introduces an additional SOC monitoring and planning layer, which rapidly generates battery SOC trajectories based on real-time traffic data to serve as the terminal state constraint for MPC [24].Although MPC is widely recognized for its predictive capability and robustness, its optimization potential remains constrained by its dependence on accurate system models, which hinders further performance improvements [25].

Predictive Energy Management and Artificial Intelligence Applications

15In predictive energy management, the accuracy of speed prediction is closely linked to control performance, making the selection of an appropriate prediction horizon crucial for achieving better fuel economy.Within the MPC framework, the DP method is often employed to compute the optimal energy distribution at each MPC control step.In their study on MPC, Wang et al. found that as the prediction horizon increases, fuel consumption decreases, and the MPC strategy approaches the optimal solution [26].For energy management strategies, the prediction horizon is also one of the most critical factors influencing optimal fuel economy.

16In recent years, with the advancement of artificial intelligence, deep learning has been increasingly applied to energy management [27,28].Wang, W. et al. proposed a vehicle speed prediction method that integrates a backpropagation (BP) neural network with a Markov chain.They combined speed prediction with the minimization of equivalent fuel consumption and used MPC to adaptively adjust the equivalence factor [29].

17Xing et al. introduced a novel prediction approach that combines convolutional neural networks (CNNs) with Long Short-Term Memory (LSTM) networks [30].Meanwhile, Ritter et al. proposed a stochastic MPC framework that incorporates long-horizon uncertainties into the energy management of hybrid electric vehicles (HEVs).This method integrates the optimal conditions of Pontryagin's Minimum Principle with a scenario-based approach to achieve the computational efficiency required for real-time feasible energy management controllers [31].

Mode Switching and Optimization of Hybrid Electric Vehicle

18To address the challenge of employing different driving modes under varying driving conditions and to achieve more precise mode switching for improved fuel economy, Chen et al. proposed an Equivalent Fuel Consumption Minimization Strategy (ECMS) based on an intelligent dual neural network with Bayesian regularization.They introduced a novel equivalence factor correction method that adaptively adjusts the equivalence factor, enabling near-optimal fuel economy without relying on SOC reference [32].

19Wei et al. designed a new driving mode recognition method that employs the K-means clustering algorithm to classify driving segments, thereby enhancing fuel economy and optimizing power distribution [33].Similarly, Lin et al. developed an adaptive ECMS that leverages neural network techniques and a least squares method with a forgetting factor to predict vehicle speed and road grade.Their approach dynamically adjusts the equivalence factor based on the remaining distance in real time, leading to improved fuel efficiency [34].

20Although these control strategies integrate neural networks with MPC and ECMS methods to predict future vehicle control and manage vehicle states, challenges remain in adjusting the equivalence factor within ECMS.Additionally, refining the prediction horizon in MPC remains an urgent issue to be addressed.Compared to MPC, reinforcement learning (RL) can be trained under various operating conditions to obtain more suitable parameters [35].Yang et al. introduced RL into the MPC framework and combined it with a novel speed prediction model to develop a new energy management strategy, significantly improving fuel economy.However, despite leveraging reinforcement learning, this control strategy still lacks sufficient improvements in the speed prediction model [36].

Contribution of This Paper

21Previous rule-based control strategies have struggled to achieve better performance in complex environments, while neural-network-based reinforcement learning often focuses solely on current power demands, making it difficult to plan over unknown time horizons.Building upon previous research, this paper addresses the fuel economy issue of plug-in hybrid electric vehicles (PHEVs) with the following contributions:

22A P2 architecture model for plug-in hybrid electric vehicles (PHEVs) is developed, including the vehicle's drivetrain system, and the optimal operating curves for drivetrain components (engine and battery pack) are calculated.

23A novel driving mode recognition system is designed, which uses a fuzzy logic controller to classify typical driving cycles into different modes and identify real-time driving modes.

24An LSTM-based speed prediction model is developed, with a dataset that includes typical driving conditions such as FTP75, NEDC, and CBDC.

25The DDQN algorithm is applied to optimize the initial learning rate and neuron dropout rate within the neural network, improving the accuracy of LSTM-based speed predictions.

26In the MPC framework, energy management based on DDQN deep reinforcement learning is combined with speed prediction to control the output power of the drivetrain system, thereby enhancing the vehicle's fuel economy.

27Simulink simulations are conducted to compare the control performance of the LSTM-MPC-DDQN strategy with other strategies, and additional simulation experiments validate the real-time performance of the LSTM-MPC-DDQN control strategy.

28This paper systematically investigates the optimization of energy management in plug-in hybrid electric vehicles (PHEVs).In Section 2, we comprehensively model the PHEV system, including the longitudinal dynamics model of the vehicle, the engine model, and the battery model, laying a solid theoretical foundation for the design of subsequent control strategies.Section 3 delves into the fundamental principles of Model Predictive Control (MPC) and integrates the Markov process in deep reinforcement learning with DQN and DDQN methods to construct an MPC-DDQN framework for more optimized control decision-making.Section 4 proposes a driving cycle decomposition method based on fuzzy neural networks, combined with LSTM for speed prediction, significantly enhancing the system's prediction accuracy and environmental adaptability.Section 5 validates the effectiveness of the proposed method through simulation experiments, demonstrating significant improvements in computational complexity and real-time performance compared to traditional MPC methods.Section 6 summarizes the main contributions of this paper and provides an outlook on future research directions.The innovative method proposed in this paper offers an effective solution to the challenges of computational burden and real-time performance in PHEV energy management.

PHEV System Configuration and Modeling

29The research subject of this paper is a plug-in hybrid electric vehicle (PHEV).The vehicle is powered jointly by an Engine Generator Unit (EGU) and a battery, where the EGU consists of an engine and an Integrated Starter Generator (ISG) motor that is mechanically connected.The battery is connected to the drive motor through a Main Controller.The schematic diagram of the Plug-In Hybrid Electric Vehicle used in this study is shown in Figure 1.The main component parameters are listed in Table 1.

30The operating modes of the plug-in hybrid electric vehicle (PHEV) are illustrated in Figure 2.These modes include five main operating conditions: pure electric vehicle mode, charge sustaining mode, hybrid drive mode, regenerative braking mode, and park mode.The criteria for determining the operating modes are shown in Figure 3. PHEVs primarily operate in five modes: pure electric, charge while driving, hybrid drive, regenerative braking, and parking mode, as shown in Figure 2. The data of the five driving modes in Figure 2 are derived from Table 2.

31In pure electric mode, the PHEV is driven solely by the electric motor, powered by the battery, and the internal combustion engine (ICE) remains off.This mode is typically used for low-speed or short-distance driving.

32In driving charging mode, the ICE is the primary power source for driving the vehicle, while simultaneously charging the battery.This mode is usually activated during longdistance or high-speed driving to maintain or increase battery charge.

33In hybrid driving mode, both the electric motor and the ICE provide power together.This mode is used when higher power output is required, such as during high-speed acceleration or uphill driving.The total power output is the sum of both sources.

34During braking or deceleration, the PHEV's electric motor operates in reverse to convert kinetic energy into electrical energy, which is stored in the battery.This improves energy efficiency by reducing waste.

35In idle mode, the PHEV does not provide any power output, and both the ICE and electric motor are off.The vehicle is on standby, and the battery may only power auxiliary devices such as the air conditioning or multimedia systems.

36where P EV is the power output of the electric motor, U bat is the battery voltage, I bat is the battery current, and η motor is the motor efficiency.

37where P drive is the driving power, P engine is the engine power output, and P charge is the charging power.

38where P HEV is the total power, and P motor is the electric motor power.

39where − is the regenerative power, η regen is the recovery efficiency, m is the vehicle mass, and u is the velocity.

40where P idle is the power demand during idling, and P auxiliary is the consumption of auxiliary systems like air conditioning or entertainment devices.

Longitudinal Dynamics Model of the Vehicle

41The vehicle model can be used to calculate the resistance encountered by the vehicle during its motion through longitudinal dynamics.

42where G is the vehicle's gravity, N ; α is the road's slope; C D is the air resistance coefficient; A is the windward area, m 2 ; δ is the rotational mass conversion factor; m is the mass, kg; du dt is the driving acceleration, m/s 2 .

Engine Model

43In this paper, the efficiency distribution of the engine and generator is shown in Figure 1.The formula for calculating the fuel consumption of the engine is as follows:

44where m f is the fuel consumption rate, (kg/h); T eng is the engine torque, N • m; n eng is the engine speed, r/min; b e is the equivalent fuel consumption rate, kg/KWh.In Figure 3, the blue line represents the external characteristic curve of the engine, while the green line indicates the optimal operating curve.The circular curve in the figure represents the equivalent fuel consumption rate, measured in units of kg/KWh.

Battery Model

45The power battery is a crucial component of plug-in hybrid electric vehicles (PHEVs).There are two commonly used battery models: the Internal Resistance Model (Rint) and the Resistor-Capacitor Model (RC).In this paper, the Internal Resistance Model (Rint) is selected.The power battery is connected to the drive motor and generator through the Main Controller, supplying power to the drive motor or storing the electricity generated by the generator.

Rint Model

46The Internal Resistance Model treats the battery pack as an equivalent circuit consisting of an ideal voltage source in series with internal resistance, while the Resistor-Capacitor Model represents the battery pack as a circuit made up of two capacitors and three resistors.It is challenging to obtain accurate performance metrics for the battery solely through empirical formulas; thus, a more precise battery model can be developed by combining experimental data on the battery's charge and discharge performance with empirical formulas.Therefore, the Internal Resistance Model is used to establish an equivalent model for the power battery, where the battery is represented as an ideal voltage source in series with a resistor, the Rint resistance model is shown in Figure 4.For the internal resistance battery model, there are:

47where U l is the load voltage; E 0 is the electromotive force (EMF) of the battery; I is the charge/discharge current; and R 0 is the internal resistance of the battery.The formula for calculating the battery output power, which is a function of current, is given by:

48where P m is the output power of the battery.The electromotive force (EMF) and internal resistance of the battery are influenced by both the temperature and the state of charge (SOC).This study neglects the impact of temperature on EMF and internal resistance, focusing primarily on the effect of SOC.For the calculation of battery SOC, the Ampere-Hour Integral Method is employed.The formula for calculating the SOC of the battery is given by:

49where SOC 0 is the initial SOC value, and Q b is the battery capacity,the battery voltage variation with SOC as show in Figure 5.By combining Equations ( 5) and ( 6), the charge and discharge efficiency of the battery pack can be expressed as:

50where η chr is the charging efficiency of the battery; η dis is the discharging efficiency of the battery; and P b is the power of the battery, which is less than 0 during charging and greater than 0 during discharging.

Model Predictive Control

51This study integrates speed prediction and deep reinforcement learning energy management within the MPC framework.MPC is a flexible control framework that can be combined with any control algorithm to achieve real-time control.The fundamental idea of MPC is to utilize an existing model, the current state of the system, and future control variables to predict the future output of the system.The control process of MPC consists of four components: trajectory reference, prediction model, rolling optimization, and feedback correction.The solving process of MPC is illustrated in Figure 6.

52Reference locus: The reference trajectory refers to the expected output or state trajectory x r of the optimization model.Through MPC, the output x(k) or state of the system is aimed to follow the reference trajectory x r .

53Prediction model: The prediction model is designed to forecast the dynamic behavior of the system over future time horizons.The prediction model can derive output information within the prediction horizon based on current or historical data using relevant prediction algorithms, transfer functions, and other methods, providing input information for the rolling optimization process.

54Rolling optimization: This is the most critical step.Rolling optimization is used to comprehensively consider the reference trajectory and the input information from the prediction model to solve the optimization problems within the prediction horizon.Different optimization problems will have corresponding solution methods, commonly including linear programming, dynamic programming, sequential quadratic programming, and fuzzy optimization.Compared to other optimization control algorithms, especially global optimization algorithms, the essential difference in the rolling optimization step of MPC is that its objective function is not static; rather, it is continuously updated based on changes in the reference trajectory.Therefore, the optimization objective function may vary in each prediction horizon, and rolling optimization aims for optimality within the rolling time frame.As shown in Figure 7, rolling optimization is not conducted just once.As the prediction horizon is updated, the optimization is repeatedly performed.At the time k, the rolling optimization process yields the optimal control sequence [u(1|k), u(2|k), . . ., u(H p |k)] within the prediction horizon, and the first control action u(1|k) is applied to the controlled system.

55Feedback correction: In real-world environments, the controlled system is often affected by random disturbances and other factors.Additionally, changes in the operating environment may lead to model mismatch issues due to unmodeled factors, resulting in discrepancies between the predicted output of the prediction model and the actual state variables.Therefore, by introducing a feedback correction mechanism in a closed-loop system, the predicted output of the prediction model can be corrected in real time, reducing prediction errors and increasing the robustness of the system.

Now

56Future Past Prediction time horizon Prediction control horizon ( )

57Regarding the feed-forward compensator, we have expanded the discussion to clarify its role in Model Predictive Control (MPC) for setpoint tracking.As you correctly pointed out, the feed-forward compensator utilizes trajectory preview information to adjust control inputs ahead of time, which can improve tracking performance.However, we emphasize that the effectiveness of the feed-forward term depends on how accurately the model can predict future trajectories and how well the system can handle the predicted control inputs.

58We have also highlighted that combining feed-forward and feedback control in MPC can improve the robustness and accuracy of trajectory tracking.However, in cases of model mismatch or uncertainty, the benefits of feed-forward compensators can be limited.This article chooses to use the basic MPC without adding feedforward.The choice of the future time horizon is crucial for the integration of speed prediction and energy management.However, the results of speed prediction indicate that as the prediction horizon increases, the accuracy of speed predictions decreases.While a shorter prediction horizon offers higher prediction accuracy, it makes it difficult for the control strategy to plan effectively within a limited timeframe, which diminishes the advantages of prediction-based control strategies.Therefore, prediction horizons shorter than 5 s and longer than 20 s are not suitable for this study.Based on previous research, this study sets the prediction horizons at 5 s, 10 s, 15 s, and 20 s.

59Unlike supervised and unsupervised learning, reinforcement learning requires continuous interaction with the environment and adjusts strategies through trial and error.Reinforcement learning does not classify or label data based on existing training samples; instead, it determines the optimal action sequence through the ongoing interaction between the agent and the environment.The learning model of reinforcement learning is illustrated in the figure below.First, the agent obtains the state s t from the environment and takes action a t based on that state.Then, the environment updates the state s t+1 as a result of the action a t and provides the agent with a reward R t + 1, which can be either positive or negative, based on the effects of the different actions.Through continuous interaction, the agent is trained to make better decisions.The energy management section of this paper focuses on the Double Deep Q-Network (DDQN) algorithm, the reinforcement learning framework diagram is shown in the Figure 8.

Morkov Process in Deep Reinforcement Learning

60Deep reinforcement learning tasks are typically modeled as Markov Decision Processes (MDPs).By incorporating rewards, a Markov process is transformed into a Markov Reward Process, and subsequently, an action set is added to form the MDP.In an MDP, a quintuple (S, A, P, R, γ) is composed of a state set S, an action set A, a state transition probability matrix P, a reward function R, and a discount factor γ. In this study, we have constructed a deep reinforcement learning energy management model where the battery SOC and the predicted speed within the forecasting time horizon serve as the states, while the range extender output power is designated as the action.In reinforcement learning, both actions and state transitions are stochastic.Given a state s, the action is random.Denote the probability density of executing an action a in a state s; similarly, the state transition is also random given state s, with the state transition probability distribution represented as P(s ′ |s).During the state transition process, the environment generates different rewards R based on state changes, and at each sampling moment, the environment produces a reward R [37].The current step's action evaluation value, G t , is discounted, which represents the weighted sum from step to the final step, as shown in Equation ( 9):

61where G t is the discounted reward, γ is the discount factor, γ ∈ [0, 1], R t+k+1 is the reward for the t + k + 1 th step, which has less impact and less weight for the more distance time in the future.

62Since the reward R is a random variable, the discounted return G t is also a random variable.Therefore, at time t, it is impossible to obtain a specific value G t .Consequently, it is necessary to evaluate the current action and state of the environment by calculating the expected value G t .The expected value of the random variable is used to obtain the value function, and Equation (12) represents the expression of the action-value function.

63where Q π is the action-value function, which is the expectation of the discounted return, and is a representation of the value of the subsequent states of the current state.From Equations ( 9) and ( 10), the Bellman expectation equation for the action-value function can be introduced, as shown in Equation ( 11):

64s and a represent the determined state and action, respectively.To eliminate the influence of the policy function π and to optimally evaluate the action taken under the current state, it is necessary to identify the optimal action-value function, as shown in Equation (12).

65At this point, the optimal action for the agent a * is:

DQN

66Compared with traditional Q-learning, Deep Q-Networks (DQNs) do not use a table to query Q-values corresponding to actions and states.Instead, they utilize a neural network Q(s, a; w) to approximate the optimal Q * (s, a) [38].By continuously updating the parameters ω, the neural network enables Q(s, a; w) to gradually converge to Q * (s, a).Unlike deep learning, reinforcement learning employs Temporal Difference (TD) algorithms to update network parameters.TD algorithms do not require the entire simulation process to be run completely; instead, they train the network through ongoing interaction.The TD algorithm primarily trains the model based on its estimate of Q-values and actual rewards, as shown in Equation ( 14), which is used to estimate the Q-values at the time step t and t + 1 in DQN.

67where Q(s t , a t ; w) represents the Q-value estimated by the neural network at the current time step, while Q(s t+1 , a t+1 ; ω) represents the Q-value at the next time step.r t is the reward received by the agent after taking an action at the current time step, and ω represents the parameters of the neural network.Q(s t , a t ; w) is the estimate made at the time step t.By time step t + 1, the reward r t becomes known, making the right-hand side of the equation closer to the actual evaluation.The right-hand side is defined as the Temporal Difference (TD) target y t .During the solution process, DQN selects the action a that maximizes Q(s t+1 , a t+1 ; ω) as the next action, as shown in Equation (15).

68To bring the output of DQN closer to the TD target, the loss is calculated as the squared difference between the two, as shown in Equation ( 16).The network parameters are then updated based on the loss.

69During training, DQN often uses experience replay to prevent the waste of experience.Experience replay not only enables the reuse of experience, thus avoiding its waste, but also allows the decomposition of experience sequences to eliminate the correlation between adjacent sequences.Before training the network, the performance can be adjusted by tuning the capacity n of the experience buffer (replay buffer).In this paper, n is set to 50,000.After determining n, the agent randomly samples it for training.

DDQN

70In the process of estimating Q-values, DQN inevitably introduces errors.As shown in Equation ( 16), when calculating the TD target, a maximization operation is performed.However, due to the issue of bootstrapping, overestimation is inevitable.To mitigate the negative impact of this overestimation, the Double Deep Q-Network (DDQN) was proposed.DDQN uses two neural networks: Q e aval (the current value network) and Q t arget (the target value network).These networks share the same structure but differ in parameter updating methods: Q e aval updates its parameters with each training step, while Q t arget copies the parameters from Q e aval at longer intervals.As shown in Figure 9, DDQN first calculates the Q-value using the current network and computes the optimal action a * through a dynamic programming algorithm, as illustrated in Equation (17).

71Subsequently, the target network calculates the Q-value based on the optimal action a * , as shown in Equation (18).Then, the TD algorithm calculates the loss value based on y t to update the current network.

72The loss value for DDQN is represented in Equation (19).

73where D represents the experience replay buffer, γ is the discount factor, and E (s,a,r,s t+1 )∼D denotes the expected loss sampled from the buffer D. The parameter update algorithm for the neural network employs the Root Mean Square Propagation (RMSProp) method.Compared to the Stochastic Gradient Descent with Momentum (SGDM) algorithm, RMSProp can adaptively adjust the learning rate.This method exhibits better adaptability to non-smooth objectives, reduces model oscillation, and is more conducive to stable convergence of the model.

MPC-DDQN

74This paper uses an LSTM speed prediction model to forecast future speed over a time horizon and calculates the required power for the predicted time horizon.The currently required power, the future required power, and the current state of charge (SOC) are used as inputs to the state of the agent.

75The agent is trained to generate the output power of the engine and battery pack for the next time step based on the state variables, with an output power range of [0 kW, 285 kW].By adjusting the reward coefficient for each episode, the control strategy can make more optimal decisions.To reduce the training time cost, this paper separates the training of the speed prediction model from that of the energy management agent, using the prediction results as input to the Double Deep Q-Network (DDQN) environment.The pseudocode for the MPC-DDQN energy management is presented in Table 3.

MPC-DDQN 1

76Define hyperparameters: greedy algorithm coefficient ϵ, size of replay buffer D, and discount factor γ. 2

77Initialize the parameters of the current network ω and copy ω to the target network parameters ω − .3

78Set the maximum number of episodes E m ax. 4

79Loop through episodes for i = 1 : E m ax. 5

80Randomly initialize the state sequence S (predicted power demand sequence, SOC).6

81For each time step j = 1 : T Select an action a with probability ϵ or select an action a * with the maximum Q-value with probability (1 − ϵ).Use the target network to compute the target value: 7

82Compute the Temporal Difference (TD) error δ t = y t − Q(s t , a t , ω). 8

83Store the experience in the replay buffer using prioritized experience replay and sampling probabilities.9

84Update the current network's parameters using samples from the replay buffer.10 Every C step, copy the parameters of the current network ω to the target network Q target (S, a; ω − ).11

85End of the time step.12 End of the episode.13 Take the first action from the optional output sequence as the range extender's output power for the next time step, achieving continuous control via a rolling window.

86In deep reinforcement learning, the design of the reward function is crucial as it directly affects the model's convergence and learning efficiency.To ensure that the state of charge (SOC) remains stable around 30% while also saving fuel, the reward function in this paper is primarily composed of two components, as shown in Equation (20).

87where r t is the reward value at the current step; SOC(t) is the SOC at the current time; SOC 0 is the initial SOC; β and γ are two coefficients.After multiple simulations comparing control performance, the value of β is set to −160 to ensure that the reward function exhibits an increasing trend during the iterative process.Additionally, the parameter γ is set to 1.5; a equal is the equivalent conversion coefficient for fuel and electricity; and f e ins is the instantaneous fuel consumption.

Formulation of the MPC Framework

88The MPC framework is developed for the real-time energy management of HEVs (Hybrid electric vehicles).The fundamental concept involves solving a constrained nonlinear optimization problem over a predictive horizon at each time step.After computing the optimal control sequence, only the first control input is applied to the powertrain system, while the process is repeated at the next step.The schematic diagram of the MPC framework is shown in Figure 10.According to Equation ( 21), the predictive model of the HEV is formulated as follows: ẋ = f (x, u, w), y = g(x, u, w) (21) where x = SOC is the state variable; u = [ω e , T e ] T is the control variable; w = V predict is the system disturbance; and y = [SOC, ṁ f ] T is the output.Additionally, V predict is the future velocity sequence provided by the predictor.

89The energy management of plug-in hybrid electric vehicles (PHEVs) aims to enhance performance metrics such as energy consumption efficiency or greenhouse gas emissions reduction.In the text, the objective function is defined to minimize the total cost over a specific driving cycle.The total cost includes the cost of energy consumption, the equivalent cost of battery degradation, and the equivalent social cost of carbon emissions.Based on this definition, the objective function is expressed as follows:

90where J * is the total cost of the trip, J energy , J bat and J carbon are the energy consumption cost, the equivalent battery life loss cost, and the social cost of equivalent carbon emission, respectively.For plug-in hybrid electric vehicles (PHEVs), the energy consumption costs consist of both fuel consumption costs and electricity consumption costs.The calculation formula is as follows:

91where c f and c e are the unit price of the fossil fuel and electricity, respectively, J f uel and J elec are the cost of the natural gas consumption over the trip, T is the time length of the trip, and t is the time variable.The fuel consumption rate m f (t) is calculated using the following equation:

92where P egu (t) is the instantaneous output power of EGU, b e (t) is the rate of fuel consumption of EGU, and ρ f is the density of natural gas.The instantaneous electricity consumption m e (t) is calculated as follows:

93where the objective function can be further formulated as:

94where φ is the purchase cost of the battery system and ϕ is the decay factor of the battery.In this work, the discrete time step is 1 s.Additionally, the optimization problem is subjected to a set of inequality constraints: (27) where the subscripts (min and max) represent the minimum and maximum restriction.The solid black line indicates the reference trace, the dashed blue line indicates the optimal control output, and the red line indicates the optimal control input.

Driving Cycle Decomposition Approach

95Traditional DPR-based power management methods tend to classify driving segments using known continuous driving cycles, and then develop control strategies by identifying the entire driving cycle.However, for a given driving cycle, these methods often include several types of driving segments that are easily overlooked.This is because different driving patterns can exhibit similar driving segments, and the same driving cycle can contain different types of segments.As a result, control strategies developed based on the entire driving cycle may struggle to ensure optimal vehicle performance.To overcome this limitation, a novel classification method is proposed-using a fuzzy neural network to classify driving segments, grouping them according to their characteristics.

96In this study, we selected three typical driving cycles: FTP75, NEDC, and CBDC.For a given driving cycle, the number of parameters used to describe it can reach up to several types.However, too many parameters may significantly increase computation time and could potentially affect the accuracy of the results.In reference [39], the average speed is reported as the sole parameter.In our research, we use the average speed and maximum speed of each segment as the classification parameters.The methods for calculating average speed and maximum speed are as follows:

97where V ai represents the average speed of each driving segment, where i denotes the index of the driving segment, and V maxi refers to the maximum speed of each driving segment.

Fuzzy Neural Network Controller

98Driving cycles are crucial for evaluating vehicle performance, especially when calculating fuel economy and emissions.Many standard driving cycles have been developed for different types of vehicles in various countries or scenarios.To better assess the performance of the energy management system (EMS), we designed a driving cycle controller based on a fuzzy neural network.

99A fuzzy logic controller is used to classify driving segments and identify the driving types in the DPR process.The controller consists of four key components: fuzzification, rule base, fuzzy inference, and defuzzification.These components work together to effectively process and categorize the driving segments.

100Fuzzification: We set the input variables of the fuzzification module to two parameters: average speed (km/h) and maximum speed (km/h), with the output module being the driving block pattern.For the pre-segmented driving blocks, the average speed and maximum speed are calculated accordingly.

101As shown in Figure 11: The linguistic terms for the input and output variables are set as Low-Level (lowspeed driving pattern), Middle-Level (medium-speed driving pattern), and High-Level (high-speed driving pattern).The inference process utilizes Mamdani's fuzzy theory.It is noteworthy that, in this study, the intervals corresponding to the three-speed patterns are shown in Table 4. Based on the established rules, we can determine the membership functions for Lower-Level µ L (χ), Middle-Level µ L (χ), and High-Level µ L (χ).The membership function is shown in Figure 12.Rule base: The fuzzy logic used in this study follows the A + B → C (If A and B, then C) pattern, where A represents the fuzzy set of average speed, which consists of three levels: V a − Low, V a − Middle, and V a − High.B denotes the fuzzy set of maximum speed, which is also divided into three levels: V max − Low, V max − Middle, and V max − High.C represents the fuzzy set of driving block patterns.The inference process is based on the Mamdani fuzzy theory.From each rule shown in Table 5, we can obtain the corresponding fuzzy relation matrix R i through the Cartesian product of A i and B i .The overall fuzzy relation matrix R can be obtained by combining the fuzzy relations R i using the following equation:

Mamdani

102where m and n (where m = 1, 2, 3 and n = 1, 2, 3 ) denote the indices of the matrix elements in the fuzzy relation matrix R and the fuzzy relation matrix R i .V a -Low V a -Middle V a -High

103Subsequently, we can examine the three-dimensional coordinate graph of the established fuzzy rules, as shown in Figure 13.Fuzzy inference: When we input the fuzzy relation matrix R of the variables A i and B i and obtain the fuzzy results, we can use the following equation to determine the driving type:

104where C i represents the fuzzy set of the output variable.Defuzzification: The result obtained through the fuzzy set formula C i = (A i × B i ) • R is not applicable under real conditions.Therefore, we should convert it to a known driving pattern.The maximum membership principle is employed to determine the driving block pattern.According to this principle, the driving block pattern is identified at the value with the highest membership degree in the domain.

Driving Cycle Classification and Composition

105From Figure 14, we can observe that most driving blocks have similar profiles in the rearranged driving cycles.In the subsequent design, the composite conditions shown in Figure 15 will be used for the driving cycles.Acceleration will be one of the reference criteria for the vehicle's throttle opening degree.Figure 16a shows the throttle opening degree corresponding to the composite conditions.Figure 16b displays the acceleration data of the vehicle under the composite conditions.However, to ensure the authenticity of the driving conditions, this study sets the maximum acceleration boundary at 5 m/s 2 .The vehicle's maximum braking speed is determined by the combination of mechanical braking, regenerative braking from the motor, and road conditions.Under normal driving conditions, considering passenger safety and ensuring the authenticity of driving conditions, the maximum braking speed limit is set to −5 m/s 2 , as indicated by the acc limite in Figure 16b.17 and a cell state.These mechanisms enable LSTM to better handle long-term dependencies within sequences, with the gates represented by the sigmoid activation function.

106Forget Gate: By operating on x t and h t−1 and passing the result through the sigmoid function, we obtain a vector in the range of [0, 1].value of 0 indicates that a certain portion of the previous memory should be forgotten, while a value of 1 indicates that that portion of the previous memory should be retained.

107Input Gate: By adding the information that needs to be retained from the previous state to the information that needs to be remembered from the current state, we obtain the new memory state.

108Output Gate: This gate integrates c t to produce an output.The calculation formulas for each parameter in the structural diagram are shown in the following equations:

109where f t is the output value of the forgetting gate; i t is the output value of the input gate; o t is the output value of the output gate; σ is the corresponding gate; and W is the corresponding parameter.

110c t is the cell state (memory state), x t is the input information, and h t−1 is the hidden state (derived from c t ).BP (backpropagation) neural network is a multilayer neural network that uses error backpropagation.In systems such as signal processing and pattern recognition, multilayer feedforward networks are widely used models.However, most learning algorithms on backpropagation for multilayer feedforward networks must rely on some form of nonlinear optimization techniques, which results in large computational costs and slow learning speeds.The theory of Radial Basis Function Neural Network provides a novel and effective means for learning in multilayer feedforward networks.RBF networks not only possess good generalization capabilities but also have lower computational requirements, with learning speeds generally much faster than other algorithms.The following diagram illustrates a simplified model of the RBF network.

111After generalization, the applicability is significantly increased.The mapping from the input layer to the hidden layer (radial basis function layer) is a nonlinear mapping, with the basis function being the Gaussian function:

112where i = 1, 2, . . ., m; x is an n-dimensional input vector; c i is the center value of the i-th basis function, which has the same dimensionality as the input vector; σ i represents the normalization constant of the width of the i-th basis function's center; and ∥ x − c i ∥ is the norm of the vector x − c i , indicating the distance between x and c i .The Gaussian function value R i (x) reaches its unique maximum at a specific center value of the basis function.

113According to the above function, as ∥ x − c i ∥ increases, the value of the basis function R i (x) decreases, approaching zero.For a given input value x ∈ R n , only a small region near the center of x is activated, the radial basis function is shown in Figure 18.To evaluate the computational complexity of the proposed method, a detailed analysis was conducted to estimate the number of floating-point operations required to compute the control law.The proposed control method consists mainly of the LSTM model and the MPC optimization problem.In the LSTM model, the computational complexity of state estimation is O(n 2 ), where n is the number of neurons in the hidden layer, while during the prediction phase, the complexity is O(n), as only a forward pass is needed to compute the output.In contrast, the MPC controller involves solving an optimization problem, which typically has a complexity of O(n 3 ), where N is the prediction horizon length.By integrating the LSTM and DDQN models into the MPC framework, the proposed method significantly reduces the computational load per control update, eliminating the need for solving large-scale optimization problems at each control step as required by traditional methods.

114By comparing the computational complexity of the traditional MPC method with that of the proposed method, we estimate that the number of floating-point operations required for each control update is approximately X operations for the proposed method, compared to Y operations for the traditional MPC method.This demonstrates the clear computational efficiency advantage of the proposed method, particularly in real-time applications where computational burden is a critical factor.

Comparison of Simulation Results

115From previous experiments on speed prediction, we understand that the prediction horizon is a crucial parameter.A horizon that is too short imposes a significant computational burden on the system, hindering the real-time update of vehicle information, while a horizon that is too long may result in poor prediction accuracy.Therefore, selecting an appropriate prediction horizon is vital for the experiments.In this paper, we base our predictions on LSTM and adjust the horizon to 5 s, 10 s, 15 s, and 20 s.In reference [40], it was pointed out that either too short or too long LSTM prediction field of view would have a negative impact on the experiment, so this paper chose the prediction field of view between 5 s and 20 s for testing.

116This study focuses on the LSTM-MPC-DDQN energy management strategy with a historical time domain of 40 s and prediction horizons of 5 s, 10 s, 15 s, and 20 s.The prediction results are shown in Figure 19.The experimental results are compared with two other control strategies.The cycling conditions for all control strategies are based on the cycling conditions processed in the previous chapters, with the initial SOC set to 90.

Training Process

117The goal of deep reinforcement learning is to maximize rewards, and the effectiveness of DDQN training is measured by the increase in Q-values, which should ultimately stabilize and converge to a maximum value.Therefore, the choice of hyperparameters is crucial for the control effectiveness of deep reinforcement learning in energy management.The DDQN energy management system employs a three-layer BP neural network with 84 neurons in the hidden layer.In the velocity-prediction-based MPC-DDQN energy management, a four-layer neural network is used with 124 hidden neurons.The parameter update algorithm for all reinforcement learning neural networks utilizes the RMSProp algorithm, with a learning rate of 0.0001 and a sampling time of 0.1 s. Figure 20 illustrates the training process of the DDQN energy management agent.As shown in Figure 20, with the increase in iterations, the reward value rises rapidly in the initial stages.However, after the 15th iteration, even though the number of iterations continues to increase, the reward value does not rise further but stabilizes around a certain value.At this point, the network essentially stops updating.This phenomenon is primarily due to the simplicity of the network and the limited input to the DDQN, resulting in a weak perception of the environment and, consequently, less information learned by the network.The velocity-prediction-based MPC-DDQN effectively addresses this issue.The velocity prediction model extracts historical velocity features by processing historical speed data, and the predicted speed information is input into the control strategy to calculate the predicted power.The DDQN then calculates the engine output power based on this predicted power.This method not only provides DDQN with more state information but also allows reinforcement learning to plan better over time, leading to the convergence of reward values while enhancing the vehicle's economy.

118The goal of deep reinforcement learning is to maximize rewards, and the effectiveness of DDQN training is assessed by the increase in Q-values, which should ultimately stabilize and converge to a maximum value.Therefore, the choice of hyperparameters is crucial for the control effectiveness of deep reinforcement learning in energy management.The DDQN energy management system employs a three-layer BP neural network with 64 hidden units.In the velocity-prediction-based MPC-DDQN energy management strategy, a four-layer neural network is used, also with 64 hidden units.The parameter update algorithm for all reinforcement learning neural networks utilizes the RMSProp algorithm, with a learning rate of 0.0001, a sampling time of 0.01 s, and an episode setting of 50.

Simulation Experiment

119As shown in Table 6, with the increase in the prediction horizon, both the average prediction time and RMSE also increase, indicating a decline in prediction accuracy and a reduction in stability.

120As shown in Figure 22, the variations in SOC (state of charge) and fuel consumption under different control strategies are presented, with an initial SOC of 90% for all strategies.From Figure 22a, it can be observed that the DP and RB control strategies result in a final SOC close to 35%.However, when the prediction horizons for LSTM-MPC-DDQN are set to 15 s and 20 s, the final SOC values are both below 30%.This indicates that if the prediction horizon is set too long, it can lead to excessive discharge of the battery pack, coupled with a gradual decline in prediction accuracy.Table 7 presents the simulation results for various control strategies, indicating that the fuel consumption of the dynamic programming (DP) approach is the lowest.The LSTM-MPC-DDQN energy management strategy, with a prediction horizon of 5 s, has equivalent fuel consumption closest to that of the dynamic programming algorithm.The dynamic programming algorithm is a global optimization strategy capable of finding the theoretical optimal solution and is commonly used as a reference standard for the control effectiveness of other strategies.To ensure a fair comparison, the objective function of the dynamic programming approach is the same as that of the proposed control strategies.The results show that, compared to the RB control strategy, the equivalent fuel consumption of the LSTM-MPC-DDQN strategy based on speed prediction is significantly reduced.This is because the RB strategy relies solely on predefined rules for power distribution, heavily depending on past experiences, and cannot adaptively adjust.Therefore, the control effectiveness of the RB strategy is generally not as effective as that of the LSTM-MPC-DDQN energy management strategy.

121The dynamic programming algorithm is a global optimization strategy that can find the theoretical optimal solution and is commonly used as a reference standard for the control effectiveness of other strategies.To ensure a fair comparison, the objective function of dynamic programming is the same as that of the control strategies proposed in this study.The results indicate that, compared to traditional power tracking control strategies and the ECMS control strategy, the equivalent fuel consumption of speed prediction-based reinforcement learning energy management is significantly reduced.As shown in Figure 23, the output power of the engine and battery pack under different control strategies reveals that the output power of the dynamic programming (DP) and LSTM-MPC-DDQN strategies is lower than that of the RB strategy.This is primarily because DP, as a global planning control strategy, can plan across a global range.Additionally, the LSTM-MPC-DDQN control strategy utilizes velocity prediction to make better judgments in the time domain, avoiding the operation of the engine in inefficient areas.In contrast, the RB strategy can only distribute power according to predefined rules, lacking adaptive regulation and flexibility.It frequently switches during operation and, compared to DP and LSTM-MPC-DDQN, utilizes the battery pack less often, resulting in higher fuel consumption.On the other hand, based on previous experiments, setting the prediction horizon of LSTM-MPC-DDQN to 5 s not only ensures fuel economy but also maintains performance.As shown in Figure 24, by integrating the fuel consumption and output power of each control strategy at every moment, we can obtain the total fuel consumption and total power output of the vehicle.Considering the fuel consumption data, the dynamic programming (DP) algorithm proves to be more efficient compared to the RB strategy proposed in this study.This is because both dynamic programming and LSTM-MPC-DDQN strategies can optimize planning in both the global and temporal domains, reducing unnecessary power output and fuel consumption, and thereby significantly enhancing overall efficiency.In contrast, the RB strategy, due to its inability to adapt to changing rules, fails to effectively predict and plan the power distribution between the engine and battery pack, resulting in relatively lower fuel efficiency.To verify the effectiveness of the proposed control strategy, simulations were conducted under the UDDS conditions and compared with other control strategies.The simulation results are shown in Figure 25.The figure indicates that the final SOC of our proposed strategy approaches the target value of 30%.In contrast, the RB strategy consumes more energy and fuel.This observation is supported by the data in Table 8, which demonstrates that the fuel economy of the LSTM-MPC-DDQN control strategy is superior to that of the RB control strategy.

Contribution

122In this study, we developed a P2 architecture model for PHEV, which includes a comprehensive vehicle powertrain system.This model enables the calculation of optimal operating trajectories for critical powertrain components, specifically the engine and battery pack.To address the limitations of traditional Dynamic Programmed Recognition (DPR) methods, which often fail to fully recognize specific drive modules, we proposed an innovative driving mode recognition system.This system employs a fuzzy controller to segment standard driving cycles into distinct modes, allowing for real-time driving mode identification.Additionally, we designed an LSTM-based speed prediction model, trained on a dataset incorporating widely adopted driving cycles such as FTP75, NEDC, and CBDC.To further refine this model, a DDQN algorithm was implemented to optimize the initial learning rate and dropout probability of the neural network.By integrating LSTM predictions within an MPC framework, we constructed an advanced LSTM-MPC-DDQN energy management controller.Simulation results demonstrate that this proposed strategy surpasses other energy management approaches in performance.Specifically, when compared to conventional RB control strategies, the LSTM-MPC-DDQN controller achieves significantly improved fuel efficiency, with fuel consumption levels approaching those obtained through the DP algorithm.Furthermore, the LSTM-MPC-DDQN strategy ensures stable SOC management, effectively maintaining SOC near its set target.The accuracy of speed predictions directly influences the power demand calculation within the prediction horizon, which in turn impacts the effectiveness of reinforcement learning for future power management planning.Finally, additional simulations using the UDDS cycle confirmed the strategy's suitability for real-time applications, reinforcing its potential for practical implementation.

123In the experiments conducted on the LSTM-MPC-DDQN energy management strategy, four prediction horizon lengths (5 s, 10 s, 15 s, and 20 s) were set.The results demonstrated that when the prediction horizon was 5 s, the strategy exhibited optimal performance, achieving the lowest equivalent fuel consumption at only 6.3220 L, representing a fuel saving of 2.034 L compared to the rule-based strategy.Additionally, the DP strategy achieved the lowest fuel consumption at 3.3856L.Due to its global optimization capabilities, the dynamic programming algorithm can identify the theoretical optimal solution and is commonly used as a benchmark for assessing the control effectiveness of other strategies.Verification under the UDDS driving cycle indicated that the LSTM-MPC-DDQN strategy saved 0.2729 L of fuel compared to the rule-based strategy and exhibited a fuel consumption difference of only 0.0749 L compared to the DP strategy.

124This study proposes an innovative LSTM-MPC-DDQN energy management controller for PHEVs, which significantly improves fuel efficiency and stable SOC management compared to conventional strategies, as demonstrated through comprehensive simulations.

Outlook

125In this study, all our experiments were conducted on the Simulink platform.Although Simulink allows for precise control of variables and exploration of various scenarios, it lacks many uncertainties present in real-world operations.Additionally, in our experiments, we did not consider the impact of slope on the controller.In the future, we plan to conduct real-vehicle tests to obtain real-world operational data, such as data from urban roads, highways, mountainous regions, and other complex environments.

Figure 1 .

126Figure 1.Plug-in hybrid vehicle structure.

Figure 2 .

127Figure 2. Driving mode.

Figure 3 .

128Figure 3. Engine map of the equivalent fuel consumption rate.

RFigure 4 .

129Figure 4. Schematic diagram of the internal resistance battery model.

Figure 5 .

130Figure 5. Graph of battery voltage variation with SOC.

Figure 8 .

131Figure 8. Reinforcement learning framework diagram.

Figure 9 .

132Figure 9. Double DQN training process.

Figure 10 .

133Figure 10.The schematic diagram of the MPC framework.

Figure 11 .

134Figure 11.Fuzzy neural network controller.

Figure 12 .

135Figure 12.Membership function.

Figure 13 .

136Figure 13.Three-dimensional coordinate graph of fuzzy rules.

Figure 14 .Figure 15 .

137Figure 14.Classified driving cycles.

Figure 16 .

138Figure 16.Throttle opening degree and acceleration limit.

4. 4 .

139Speed Prediction Based on LSTM LSTM (Long Short-Term Memory Network) is a commonly used deep learning model for processing sequential data.Compared to traditional RNNs (Recurrent Neural Networks), LSTM introduces three gates (input gate, forget gate, and output gate, as shown in Figure

Figure 17 .

140Figure 17.Schematic diagram of LSTM architecture.

Figure 18 .

141Figure 18.Simple radial basis function network structure.

Figure 19 .

142Figure 19.Prediction results of RBF with different horizons.

Figure 20 .

143Figure 20.DDQN training flowchart.

Figure 20

144illustrates the training process of the DDQN energy management agent.

145Figure 21 further demonstrates the training process of the LSTM-MPC-DDQN energy management strategy, indicating that the prediction accuracy and stability of LSTM-MPC-DDQN are superior to those of the MPC-DDQN energy management strategy.

Figure 21 .

146Figure 21.Training process of speed prediction energy management for different speed prediction methods.

( a )Figure 22 .

147Figure 22.Variation curves of SOC and fuel consumption for three strategies.

Figure 23 .

148Figure 23.Variation of engine and battery pack output power under different control strategies.

Figure 24 .

149Figure 24.Variation in engine and battery pack output under different control strategies.

Figure 25 .

150Figure 25.Variation in SOC and fuel consumption for different strategies under UDDS conditions.

Table 1 .

151Vehicle powertrain parameters.

Table 2 .

152Driving mode data.

Table 3 .

153MPC-DDQN energy management pseudo-code.

Table 4 .

154Speed interval division.

Table 5 .

155Fuzzy rules.

Table 6 .

156Performance LSTM vehicle speed prediction method.

Table 7 .

157Simulation results of different control strategies.

Table 8 .

158Simulation results of different control strategies under UDDS condition.

참고문헌 39건

  1. Design and control methodology of plug-in hybrid electric vehicles 2008 10.1109/vppc.2008.4677774
  2. 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
  3. Energy consumption and CO2 emission impacts of vehicle electrification in three developed regions of China Energy Policy · Elsevier BV · 2012 10.1016/j.enpol.2012.05.060
  4. 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
  5. Supervisory Power Management Control Algorithms for Hybrid Electric Vehicles: A Survey IEEE Transactions on Intelligent Transportation Systems · Institute of Electrical and Electronics Engineers · 2014 10.1109/tits.2014.2309674
  6. The introduction of electric vehicles in Brazil: Impacts on oil and electricity consumption Technological Forecasting and Social Change · Elsevier BV · 2012 10.1016/j.techfore.2012.10.024
  7. General supervisory control policy for the energy optimization of charge-sustaining hybrid electric vehicles JSAE Review · Elsevier BV · 2001 10.1016/s0389-4304(01)00138-2
  8. A-ECMS: An Adaptive Algorithm for Hybrid Electric Vehicle Energy Management European Journal of Control · Elsevier BV · 2005 10.3166/ejc.11.509-524
  9. Energy system analysis of 100% renewable energy systems—The case of Denmark in years 2030 and 2050 Energy · Elsevier BV · 2008 10.1016/j.energy.2008.04.003
  10. From electricity smart grids to smart energy systems – A market operation based approach and understanding Energy · Elsevier BV · 2012 10.1016/j.energy.2012.04.003
  11. The development of new energy vehicles for a sustainable future: A review Renewable and Sustainable Energy Reviews · Elsevier BV · 2014 10.1016/j.rser.2014.10.016
  12. Driving condition recognition for genetic-fuzzy HEV Control 2008 10.1109/gefs.2008.4484569
  13. Energy management strategy for a parallel hybrid electric truck 2001 10.1109/acc.2001.946337
  14. Our electric automotive future: CO2 savings through a disruptive technology Policy and Society · Elsevier BV · 2009 10.1016/j.polsoc.2009.01.005
  15. 100% Renewable energy systems, climate mitigation and economic growth Applied Energy · Elsevier BV · 2010 10.1016/j.apenergy.2010.03.001
  16. Vehicle system controller design for a hybrid electric vehicle 2002 10.1109/cca.2000.897440
  17. Dynamic Traffic Feedback Data Enabled Energy Management in Plug-in Hybrid Electric Vehicles IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2014 10.1109/tcst.2014.2361294
  18. A stochastic control strategy for hybrid electric vehicles 2004 10.23919/acc.2004.1384056
  19. Renewable and non-renewable exergy costs and CO2 emissions in the production of fuels for Brazilian transportation sector Energy · Elsevier BV · 2015 10.1016/j.energy.2015.05.031
  20. Model predictive control-based energy management strategy for a series hybrid electric tracked vehicle Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.08.085
  21. Measuring China's new energy vehicle patents: A social network analysis approach Energy · Elsevier BV · 2018 10.1016/j.energy.2018.04.077
  22. Robust energy management of plug-in hybrid electric bus considering the uncertainties of driving cycles and vehicle mass Energy · Elsevier BV · 2020 10.1016/j.energy.2020.117836
  23. A multi-objective optimization energy management strategy for power split HEV based on velocity prediction Energy · Elsevier BV · 2021 10.1016/j.energy.2021.121714
  24. Energy management for a hybrid electric vehicle based on prioritized deep reinforcement learning framework Energy · Elsevier BV · 2021 10.1016/j.energy.2021.122523
  25. A neural network-based ECMS for optimized energy management of plug-in hybrid electric vehicles Energy · Elsevier BV · 2021 10.1016/j.energy.2021.122727
  26. Energy Management Strategy Based on a Novel Speed Prediction Method Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21248273
  27. Integrating intelligent driving pattern recognition with adaptive energy management strategy for extender range electric logistics vehicle Energy · Elsevier BV · 2022 10.1016/j.energy.2022.123478
  28. Long-term stochastic model predictive control for the energy management of hybrid electric vehicles using Pontryagin’s minimum principle and scenario-based optimization Applied Energy · Elsevier BV · 2022 10.1016/j.apenergy.2022.119192
  29. A trip distance adaptive real-time optimal energy management strategy for a plug-in hybrid vehicle integrated driving condition prediction Journal of Energy Storage · Elsevier BV · 2022 10.1016/j.est.2022.105055
  30. Optimization strategies for real-time energy management of electric vehicles based on LSTM network learning Energy Reports · Elsevier BV · 2022 10.1016/j.egyr.2022.10.349
  31. A reinforcement learning-based energy management strategy for fuel cell hybrid vehicle considering real-time velocity prediction Energy Conversion and Management · Elsevier BV · 2022 10.1016/j.enconman.2022.116453
  32. Instrumentation and Dynamic Characterization of a Commercial Electric Vehicle for Rural Public Transport IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3242206
  33. Reinforcement learning-based real-time intelligent energy management for hybrid electric vehicles in a model predictive control framework Energy · Elsevier BV · 2023 10.1016/j.energy.2023.126971
  34. Real-time self-adaptive Q-learning controller for energy management of conventional autonomous vehicles Expert Systems with Applications · Elsevier BV · 2023 10.1016/j.eswa.2023.119770
  35. A comparative study of deep reinforcement learning based energy management strategy for hybrid electric vehicle Energy Conversion and Management · Elsevier BV · 2023 10.1016/j.enconman.2023.117442
  36. Data-driven Koopman model predictive control for hybrid energy storage system of electric vehicles under vehicle-following scenarios Applied Energy · Elsevier BV · 2024 10.1016/j.apenergy.2024.123218
  37. GA-LSTM speed prediction-based DDQN energy management for extended-range vehicles Energy and AI · Elsevier BV · 2024 10.1016/j.egyai.2024.100367
  38. Reinforcement learning-based heuristic planning for optimized energy management in power-split hybrid electric heavy duty vehicles Energy · Elsevier BV · 2024 10.1016/j.energy.2024.131773
  39. Adaptive real-time energy management strategy using heuristic search for off-road hybrid electric vehicles Energy · Elsevier BV · 2024 10.1016/j.energy.2024.132131