Next Article in Journal
Advanced X-by-Wire Technologies in Design, Control and Measurement for Vehicular Electrified Chassis
Previous Article in Journal
Data Driven Methods for Finding Coefficients of Aerodynamic Drag and Rolling Resistance of Electric Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy Management of P2 Hybrid Electric Vehicle Based on Event-Triggered Nonlinear Model Predictive Control and Deep Q Network

1
Control and Automation Engineering, Istanbul Technical University, Istanbul 34469, Turkey
2
AVL Research and Engineering, Istanbul 34920, Turkey
*
Author to whom correspondence should be addressed.
World Electr. Veh. J. 2023, 14(6), 135; https://doi.org/10.3390/wevj14060135
Submission received: 9 April 2023 / Revised: 11 May 2023 / Accepted: 17 May 2023 / Published: 25 May 2023

Abstract

:
Hybrid electric vehicles (HEVs) are used as a bridge during the transition to battery electric vehicles (BEVs) and to make energy consumption more efficient. The main problem in improving the efficiency of HEV energy consumption is torque management. In this study, a novel approach based on a nonlinear model predictive controller to solve the reference tracking and torque distribution problem is proposed. That is to say, in order to increase the efficiency of torque distribution, the weights of nonlinear model predictive control (NMPC) are trained with a Deep Q Network (DQN), and an event-triggered mechanism is designed with DQN to reduce the computational cost of MPC. The considered torque distribution problem varies according to the type and structure of the HEV. In this study, a parallel type 2 hybrid electric vehicle (P2 HEV) is considered and modeled via publicly shared passenger vehicle data of the engine, motor, high-voltage battery, transmission, clutch, differential, and wheel characteristics. NMPC is formulated so that the torque values remain within the physical limits of the engine, and the battery also operates at its physical limits. Namely, it is guaranteed that the battery works according to a certain state of charge (SOC) window and current limits. The state of health (SOH) of the battery is also considered in the optimization. The motor and engine efficiencies increase by 3.61% and 2.86%, respectively, with the proposed control structure, while the computational cost is reduced by 52.01% when utilizing the proposed event-triggering mechanism in the NMPC controller.

1. Introduction

HEV and BEV architectures have become increasingly popular in recent years, not only as a result of government incentives for green energy and global emission regulations but also because of the high demand for improved fuel efficiency. HEVs also serve as a stepping stone to increasing the demand for electric vehicles in daily life [1,2].
HEVs can have typologies of different structures, such as serial, parallel, and power split; additionally, they can be classified according to the number of electric motors and their place in the architecture [3,4,5].
There are six main components of the powertrain, and they are the engine, clutch (separation clutch), EM, high-voltage battery, transmission, and differential. The connections, both mechanical and electrical, between these components are shown in Figure 1. The engine and EM are the two main traction sources of the vehicle and are placed on the same shaft. The energy transfer between these two components is bidirectional, as the battery supplies power to the EM during traction, and the opposite scenario holds during regenerative braking. The clutch, namely, the “separation clutch”, decouples the engine from the EM, which is the most characteristic feature of this hybrid architecture. The transmission includes a gearbox, where a related gear ratio is obtained, and the differential is the mechanical part where the rotational movement of the input shaft is transmitted to the wheels by considering the final drive ratio. P2 HEV architecture allows traction from the engine and EM separately or together based on driver request. Therefore, the most significant problem in achieving higher efficiency is the management of the torque distribution.
As a power source for electric motors, Li-On batteries offer great advantages. It is noteworthy that Li-On batteries, which have many advantages in specific energy, specific power, life span, cost, and performance criteria, are suitable for the automotive field [6,7,8].
The current, voltage, SOC, and energy capacity that a Li-On battery can provide are within certain limits. In Li-On batteries, the ranges of the current, voltage, and SOC play a big role in energy efficiency. For this reason, applications such as the SOC window have been developed, and studies have been conducted to establish more sensitive SOC estimation methods [9,10]. In addition, these values also change with the SOH. The SOH is one of the key concepts that need to be optimized, and it provides information about the health status and aging of the battery. Battery aging changes depend on the temperature, number of full cycles, battery chemistry, resistance, SOC status, and environmental conditions [11,12,13].
Various controllers are frequently used for the torque distribution problem, such as model predictive control (MPC), fuzzy logic, and reinforcement learning (RL).
Energy management strategies for HEVs are developed in [14] using fuzzy logic and Elman neural network tuning. The strategies aim to optimize the power split between the engine and electric motor by considering driving conditions, the battery state of charge, and other relevant factors. The fuzzy logic and Elman neural network tuning algorithms are compared with other energy management strategies using simulations.
The study in [15] compares two energy management strategies, fuzzy logic and the equivalent consumption minimization strategy (ECMS), for P2 HEVs. The strategies aim to optimize the power distribution between traction sources. A rule-based energy management strategy for a light-duty commercial P2 HEV using dynamic programming (DP) is presented in [16].
A two-level MPC approach for the energy management of parallel HEVs is proposed in [17]. The upper-level controller optimizes the power split between the engine, motor, and battery based on current driving conditions and driver demands. The lower-level controller implements the power split and manages the battery SOC. This approach enables the separate optimization of the energy management problem, uses simplified models for the powertrain components, and provides a more efficient and responsive system.
The study on the effect of SOC uncertainty on the MPC-based energy management strategy for HEVs in [18] examines the impact of uncertain SOC estimations on the performance of the MPC-based energy management strategy for HEVs. The study shows that higher levels of SOC uncertainty result in decreased fuel economy and increased battery degradation. Additionally, the study highlights the importance of accurate SOC estimations for optimal HEV performance and longevity.
An adaptive MPC strategy is proposed in [19], and it includes battery thermal limitations to optimize the fuel consumption of a P2 HEV. The proposed strategy considers the battery’s thermal behavior and adjusts the power distribution between the engine and electric motor to reduce fuel consumption while maintaining the battery’s thermal limits.
A hierarchical control strategy is proposed in [20] with a robust MPC for the energy management of parallel HEVs in the presence of uncertainty. The high-level controller is responsible for determining the setpoints of the low-level controller based on the driver demand and the vehicle’s operating conditions. The low-level controller is responsible for optimizing the energy flow between the powertrain components of the HEV based on the setpoints determined by the high-level controller.
A novel energy management strategy is proposed in [21] using a hierarchical MPC framework for plug-in HEVs. The study introduces a dynamic programming (DP) algorithm to solve the high-level MPC optimization problem efficiently. The DP algorithm optimizes the energy management strategy over the entire driving cycle and provides a set of optimal setpoints for the low-level controller to follow.
Using stochastic MPC and RL, the energy management of plug-in HEVs is analyzed in [22]. The proposed framework accounts for uncertainties in the PHEV’s operating conditions and uses a probabilistic model to solve a stochastic optimization problem. The study introduces an RL algorithm to learn the optimal control policy based on historical data, which significantly improves fuel economy compared to conventional rule-based strategies.
The main problem in MPC is the execution time of the controller due to its complex structure. To reduce execution frequency, many studies have been performed [23,24,25]. Triggering instances are determined based on the difference between the current measured state and the measurement in the previous sampling instance or the difference between the current measured state and the predicted optimal state [23,26,27,28,29].
The potential benefits of using event-triggered MPC strategies are demonstrated for BEVs and HEVs, including improved fuel economy, battery life, and reduced computational complexity, in [30,31,32]. MPC and DQN are different approaches and require different problem-solving methods. While MPC is used to create an optimized control strategy for a dynamic system, DQN combines the Q-learning algorithm with deep learning, allowing an agent to learn what actions to take to achieve the highest overall reward in a given environment. DQN is also used to solve the energy management problem in automotive applications in the literature [33,34].
Studies have been conducted to compare MPC and DQN [35]. In addition, there are studies in which the combination of MPC-DQN is used to increase the performance of MPC and to select design parameters, such as the prediction horizon and weight [36,37,38].
In this study, two nonlinear model predictive controllers are considered for different purposes. The first MPC provides the total torque request for reference velocity tracking under a finite prediction horizon according to the drivability criteria. The second MPC is applied under a finite prediction horizon to provide optimal torque distribution within the traction source limits. There are various physical limitations to the internal combustion engine, electric motor, and battery. Accordingly, the physical limits of the battery, voltage, and current can be applied between certain values. In addition, the working behavior of the battery changes with the aging of the battery. For this reason, the factors affecting the aging of the battery are taken into account. Finally, in order to decelerate the aging of the battery, the SOC window is determined, and the battery is set to operate between certain SOC values. The SOC and SOH concepts for torque distribution are taken into account with MPC.
The execution time of MPC can be considered a shortcoming to solve the complex optimal control problem in each step to provide a prediction control sequence. In this study, to reduce the frequency of solving the optimal control problem and to eliminate the mentioned problem, an event-triggered mechanism is constructed via DQN and integrated into MPC. In addition, due to the fact that the efficiency of the internal combustion engine, the electric motor, and the requested total torque change during driving, the weight terms of the cost function are intended to be modified adaptively. In order to achieve this, training with DQN is carried out, and appropriate weight terms are determined. In this way, the efficiency of energy consumption is improved with less frequency of operation of the controller.
This paper is organized as follows: In Section 2, the vehicle specifications, suitable battery/cell selection, and simulation and modeling environment are presented. In Section 3, the MPC methodology and vehicle dynamics are provided. In Section 4, the event-triggered mechanism and MPC weights via DQN are proposed. In Section 5, the results are provided and discussed, and Section 6 concludes this work.

2. Materials and Methods

A P2 HEV is modeled in the MATLAB/Simulink environment by using physical modeling, which contains Simscape™ blocks. This approach helps to integrate the specifications of the powertrain components and vehicle dynamics in such a way that they can be highly accurate. Additionally, three modeling standards, namely, MathWorks Advisory Board (MAB), Japan MATLAB Automotive Advisory Board (JMAAB), and Motor Industry Software Reliability Association (MISRA) 2012, are used to check that the vehicle model is built successfully. The results are created by using the MATLAB Model Advisor toolbox without fail. According to the publicly shared specifications of the P2 HEV Kia Niro, all vehicle components are modeled. The sampling time is chosen as 0.01 s as in most automotive applications.
The type of electric motor used in this vehicle is an Interior Permanent Magnet Synchronous Motor (IPMSM) and is often used in the automotive industry. The technical data, which comprise the type of motor, the maximum amount of torque, the maximum motor power, the operating voltage, the maximum speed, and the efficiency of the inverter and motor, are given in Table 1. In addition to this information, an electric motor efficiency map based on the motor shaft speed and motor torque is also available. Since all the required parameters in the shared battery data are not available, battery pack and cell selections are made by taking into account the system configuration and motor performance criteria.
An automotive consists of many different components and subsystems. These components and subsystems combine to form a larger system that meets the functional requirements of the vehicle. However, managing all the systems of a vehicle as a whole is quite difficult and complex. Therefore, the system levels of the automotive industry are detailed from general to specific and provide the management of system requirements.
For the battery and cell, starting with L0 vehicle level requirements, L1 powertrain level, L2 battery level, and L3 module/cell level requirements are detailed. Finally, after checking whether the cell to be selected meets the high-level requirements, battery pack and cell selections are completed.
Starting from system level 1, the power of the battery should be calculated in charge and discharge cases based on the powertrain efficiency for battery selection. According to the inverter and electric motor efficiencies, the powertrain efficiency ratio is given in Table 2.
With these efficiency values, when traction and recuperation such as regenerative braking are performed, the target power values of the battery in charge and discharge cases are as shown in Table 3.
Afterward, a usable energy target which is shown in Table 4 is found over the estimated consumption values with the maximum range that can be reached in 1 battery cycle using only the motor for traction.
Another important criterion in determining battery cell is the chemistry of the battery. With different battery chemistries, the weight, cost, safety, performance, power, and voltage values of the battery vary. There are 6 different types of chemistries in frequently used Li-On batteries (Table 5) [39,40].
Among other criteria, specific power and specific energy are evaluated as high priority, and NMC, which is the most widely used in the automotive industry, is selected as the battery chemistry. As the system level increases from 2 to 3, the serial–parallel configuration is determined by considering the battery’s chemistry and power demands. The cell nominal voltage of NMC, which is the chemistry of the selected battery, is 3.7 V. A total of 65 cells are needed to supply the system voltage. After determining the total number of cells that need to be connected in series, using the battery’s charge and discharge power values and system voltage values, the maximum charge and discharge requested currents of the battery are as follows:
V S y s V C e l l = N C e l l 240   V 3.7   V 65
P D i s M a x V S y s = I D i s M a x 34.7   kW 240   V = 144.4   A
P C h a M a x V S y s = I C h a M a x 29.5   kW 240   V = 122.6   A
where V S y s and V C e l l are the system and cell nominal voltage; N C e l l is the number of cells connected in series; and P D i s M a x , P C h a M a x , I D i s M a x , and I C h a M a x are the 10 s peak discharge and charge power and current. By using 65 cells with a 3.7 V cell voltage, the battery can provide 240.5 V as the nominal voltage. After determining the use of 65 cells in series, the usable energy capacities are found to be 65s1p and 65s2p for the parallel configuration (Table 6). The usable energy capacity of the battery is obtained by using the ratio of the usable target energy and the voltage. With the use of the SOC window, the energy capacity of the battery corresponds to separate values as installed and usable. There are various applications for using a battery pack for a long time or over a cycle to obtain consistent power without reducing its lifespan too much. One of them is to create an SOC window for SOC. The SOC window is intended to improve performance by operating the SOC in a narrower range rather than in the 0–100 range. The SOC window changes according to the structure and architecture of the vehicle. While this range is larger in electric vehicles, the SOC window is smaller in hybrid electric vehicles. It is needed to ensure that the battery is not used at very high and very low SOC percentages. High voltage values are required for a high SOC. In high-SOC situations, high voltage values stress the cell. For this reason, the life of the battery is reduced. Exceeding the maximum voltage limit represents a dangerous situation at high voltage, and it risks the safety of the cell and battery pack. For a low SOC, however, the open-circuit voltage values decrease, and the internal resistance increases. Thus, in the case of discharge, the voltage value may decrease further, and the minimum voltage limit may be exceeded. Due to all these reasons, the SOC is operated between 30% and 80%, and the SOC window is selected as 50% by examining other applications. The installed energy capacity of the battery is calculated by multiplying the usable energy capacity of the battery with the SOC window.
A battery with NMC chemistry that provides 12.474 Ah or 6.237 Ah cell-installed energy capacity (Ah) and can deliver more than the desired current values should be selected. Batteries, which are frequently used in the automotive industry and are the subject of long-term tests, are examined, and a battery that meets the system requirements is selected. The battery specifications are shown below (Table 7).
It is seen that the usable energy capacity, required current limits, and voltage values, which are system requirements, are provided with the characteristics of the selected battery.

3. System Dynamics and Prediction Model

In this section, the flow diagram of the study (which can be seen in Figure 2), vehicle dynamics equations, and relations for nonlinear model predictive control are explained.
As can be seen in Figure 2, while tracking the Worldwide Harmonized Light Vehicle Test Procedure (WLTP) velocity reference and distributing the torque between the engine and motor, two MPCs are integrated into the powertrain system, and they dynamically adjust the torque to optimize performance and efficiency.
The first MPC calculates the total torque request, which is the control signal u, based on the WLTP velocity reference V R e f , vehicle position x 1 , and velocity x 2 by considering drivability. The total torque request is the setpoint of the second MPC. The requested total torque is distributed between the engine and motor based on a number of constraints, such as the SOC, engine torque limits, motor torque limits, and battery current I B a t t via the second MPC. The distribution of the torque is adjusted continuously based on feedback from the vehicle velocity, SOC level, open-circuit voltage, and actual gear.
The requested torque outputs τ M o t R e q and τ E n g R e q of the powertrain system are controlled and regulated by various components, such as the engine control unit (ECU), the motor control unit (MCU), and the transmission control unit (TCU). After that, the produced torques, which are τ M o t A c t and τ E n g A c t , are typically transmitted to the wheels as τ A x l e and τ W h l via the transmission and final drive ratio, respectively. In an HEV, the electric motor is powered by a battery pack, which provides electrical energy to the motor. The current flow in the powertrain system refers to the flow of electrical power P B a t t from the battery to the motor, as well as the flow of energy back to the battery during regenerative braking. The current is controlled and regulated by the battery management system (BMS), which adjusts the voltage and current supplied to the motor based on the desired torque output and other factors. The event-triggered mechanism via DQN and the weights of the second MPC via DQN are integrated to increase the efficiency of the MPCs.
In this study, two MPCs are integrated to obtain the optimal solution. Using two MPCs instead of one complex MPC has advantages in systems with many constraints. With regard to improving performance and feasibility, in systems with many constraints, it can be challenging to find a solution that satisfies all constraints. By using two simple MPC controllers, each controller can focus on a subset of constraints, making it easier to find feasible solutions that satisfy all constraints. Additionally, reducing computational complexity is another aim. When there are many constraints, a complex MPC controller may require a large number of optimization variables, resulting in high computational complexity. By using two simple MPC controllers, each controller can focus on a smaller set of optimization variables, reducing the overall computational complexity of the control system. Lastly, each controller can be designed to optimize different aspects of the control performance, providing greater flexibility in the control system.
For the prediction model, resistance forces, which are given in Equation (7), affect the vehicle in the opposite direction depending on vehicle velocity, mass, frontal area, etc. Basically, there are three main resistances forces that are applied to the vehicle.
F A i r R = 0.5 ρ c d A v V 2
F G r a d R = m g s i n ( θ )
F R o l l R = m g c r
F T o t R = F A i r R + F G r a d R + F R o l l R
By taking into consideration the road gradient, wind speed, and mechanical motion, the resistance forces are calculated in the prediction model to generate a control signal in order to track the reference input.
With the first MPC, the total torque request should provide the traction forces not only for all resistance forces but also for the velocity tracking error between the vehicle velocity and reference velocity. The nonlinear model equations are as follows:
F R e q = ( τ M o t + τ E n g + Δ τ T o t ) N G e a r N F D R r
F N e t = F R e q F T o t R
x ˙ 1 = x 2
x ˙ 2 = F N e t m
x 2 ( k + 1 ) = x 2 ( k ) + F N e t T s m
x 1 ( k + 1 ) = x 1 ( k ) + x 2 ( k + 1 ) T s
where Δ τ T o t is the control signal, which is the requested total delta torque. x 1 and x 2 are system states, which are the position and vehicle velocity. The axle-based torque values τ M o t and τ E n g are transmitted to the wheel-based torque via the powertrain components, which are the transmission and final drive ratio. The wheel-based torque is converted to the requested force by dividing the wheel radius. x 1 is updated by considering the net force and vehicle mass, which correspond to acceleration. For the vehicle dynamics of P2 HEV, the nomenclature is given in Table 8.
The limit of motion, as defined in the ISO 2631-5 standard (Table 9) [41], is a measure of the maximum displacement of a vehicle’s body or chassis experienced by the driver or passengers during normal driving conditions. It is expressed as a percentage of the total body or chassis displacement and is used to evaluate the drivability of a vehicle. The limit of motion can significantly affect the comfort and safety of the vehicle’s occupants, with vehicles with a lower limit of motion typically being more stable and comfortable to drive. However, vehicles with a higher limit of motion may be more prone to vibrations and other movements that can be unsettling for the driver and passengers.
According to the ISO 2631-5 standard, comfort levels are given according to the acceleration values. Torque demands and torque variation occur in line with acceleration changes. In order for the requested torque and requested torque changes to be realizable, the acceleration changes specified in the standard are taken as a reference. Using the acceleration–torque relationship, the torque variation limits are determined as follows:
F = m a
a = Δ τ T o t N G e a r N F D R r m
Δ τ T o t L o w < Δ τ T o t < Δ τ T o t U p p
where Δ τ T o t L o w and Δ τ T o t U p p are the control signal upper and lower limits, which correspond to the ISO 2631-5 acceleration limits. For the total torque request, the cost function is established as follows:
J = j = 1 N W T r a c k ( x 2 R e f ( k + j | k ) ) x 2 ( k + j | k ) ) 2
where N is the prediction horizon, W T r a c k is the tracking weight, and x 2 R e f is the reference velocity for a given discrete time step k. After calculating the requested total engine and motor torques, one must calculate how much torque should be demanded and from which traction source for minimum power consumption. In HEVs, the torque distribution between the engine and the motor can have a significant impact on the vehicle’s performance and fuel efficiency. The engine and motor can work together to provide the necessary power to the vehicle, or they can operate independently to optimize efficiency.
For example, in a hybrid electric vehicle, the engine may be used to power the car at higher speeds, while the electric motor is used at lower speeds or during acceleration to provide additional torque. This can help to reduce the workload on the engine and improve fuel efficiency. Similarly, the electric motor may be used to power the vehicle during stop-and-go traffic or at low speeds, which can help to reduce fuel consumption and emissions.
Variations of motor torque and engine torque are selected as control signals. The aim of the selection of the delta motor and engine torque as control signals is to prevent steady-state errors by using integral action. The equality constraint is applied in order to be able to generate the requested torque for the HEV in Equation (18).
τ T o t = ( u 1 + τ M o t ) + ( u 2 + τ E n g )
Powertrain components work within the limited operating range inherently; hence, the limits of the motor, engine, battery, and associated system variables are taken into consideration for the controller design.
Figure 3a,b show the characteristics of the engine and motor, respectively. The blue lines represent the rotational speed and torque curves. These torque curves are the physical limits of the engine and motor; hence, they are used as MPC constraints. The colored regions show the engine and motor efficiency, which takes the values shown on the efficiency bar.
For the torque constraints, the rotational speed is calculated via the vehicle speed dynamically.
ω M o t = ω E n g = x 2 N G e a r N F D R 0.3769 r
The engine and motor constraints for the HEV are considered with the following equations:
τ E n g U p p = i n t e r p l ( ω E n g A x i s , τ E n g A x i s , ω E n g )
τ M o t U p p = i n t e r p l ( ω M o t A x i s , τ M o t A x i s , ω M o t )
τ E n g L o w = 0
τ M o t L o w = τ M o t U p p
τ E n g L o w < τ E n g < τ E n g U p p
τ M o t L o w < τ M o t < τ M o t U p p
where τ E n g U p p , τ E n g L o w , τ M o t U p p , and τ M o t L o w are the upper and lower limits of the engine and motor. The axis values of the engine and motor, which are taken from the vehicle datasheet, are predefined to generate limit curves via interpolation. According to the axis values of the torque and rotational speed, the upper limits of the engine and motor are determined based on the actual rotational speed by interpolating. The engine cannot produce negative torque, but the motor can work as a generator to charge a battery, so the lower limit of the engine is 0, and the lower limit of the motor is the negative sign of the upper limit.
In order to provide the torque to be demanded from the motor, the battery must provide a current. The relationship between the battery current and motor torque indicating motor efficiency can be used to calculate the required battery current.
M o t E f f = ω M o t τ M o t I B a t t V B a t t 9.5488
I B a t t = ω M o t τ M o t M o t E f f V B a t t 9.5488
The motor torque can be represented by the control signal, while the motor speed in the next sample is obtained via the vehicle speed using Equation (19). Motor efficiency is calculated with a lookup table that includes the motor torque and motor speed.
The voltage can be found in the battery equivalent circuit depending on the current with the ohmic resistance, open-circuit voltage, and RC pair, which shows Butler–Volmer effects or the double-layer effect. The double-layer effect is a phenomenon that occurs at the interface between a solid and a liquid (such as an electrode and an electrolyte). It is caused by the presence of a thin layer of charges at the interface, which can be either positive or negative depending on the materials involved. This thin layer of charges, known as the electric double layer, can have a significant effect on the overall behavior of the system. The double-layer effect behavior is similar to that of the capacitor [42]. The Butler–Volmer equation is a mathematical expression that describes the current flowing through an electrode–electrolyte system in terms of the overpotential (a measure of the driving force for the reaction) and the exchange current density (a measure of the rate at which the reaction occurs). The equation takes into account the effect of the electric double layer on the overall behavior of the system and can be used to predict the behavior of electrochemical cells under various conditions [43]. In light of this information, the battery equivalent model is given in Figure 4, and the mathematical equations of battery are as follows:
V O T C ( k + 1 ) = V O T C ( k ) + 1 e T s τ O T C
V B a t t = V O C ( S O C ) V O T C R o I B a t t
where V O T C is the one-time constant voltage for the RC pair, τ O T C is the time constant of the RC pair used to represent the double-layer effect, R o is the ohmic resistance, V B a t t is the battery voltage, and V O C (SOC) is the open-circuit voltage. The open-circuit voltage has different behaviors according to the charge and discharge conditions. In the open-circuit voltage change, the charging and discharging speeds can be different due to different current values. The charging rate of the battery is denoted by C as shown below. For example, if a battery with a capacity of 6.5 Ah is charged with 13 A, it is charged in half an hour and charged with 2C.
C = I B a t t Q M a x
V O C (SOC) is calculated according to the curves presented in Figure 5.
Another electrochemical event is the mass transport or Warburg effect. Since long periods such as minutes or hours are required to observe mass transport or Warburg effects, the same battery circuit model is used like many commercial vehicles’ battery models, and this effect has been ignored. The battery current varies with the pack temperature and SOC value. The currents that can be provided by considering these variables differ in charge and discharge processes. In the model used, the battery temperature is assumed to be constant at 25 °C; in this way, a three-dimensional representation which is given in Figure 6 becomes a two-dimensional representation.
In Figure 7, the maximum current limits that can be given depending on the SOC and constant temperature are given according to the charge discharge.
I B a t t L o w < I B a t t < I B a t t L o w
The charge current represents a positive value, while the discharge current represents a negative value. For this reason, the discharge current limit is shown as the lower limit, and the charging current is shown as the upper limit.
The SOC variation is determined using the ratio of the battery current to the rated capacity. The SOC is calculated by adding the SOC variation to the initial SOC value.
S O C ( k + 1 ) = S O C ( k ) η I B a t t ( k ) T s Q m a x
where SOC ( k ) is the initial SOC, I B a t t is the battery current, and η is the cell coulombic efficiency in the charge phase [44].
The initial value of the SOC and the regular current measurements are very important in this method. Although it is a very widely used method, calendar aging should be taken into account in the calculation of the initial SOC value, and the effects of the SOH on Q m a x should be taken into account.
The Q m a x capacity value changes with the SOH effects. As a rule of thumb, when the capacity of a battery drops to 80%, it is assumed that the battery has reached the end of its life for automotive applications. For this reason, the aging effects of the battery are examined between 100% and 80% of the SOH value. The investigated effects are cyclic effects and temperature effects.
Each charge and discharge of the battery is shown as one cycle. The aging of the battery increases with each cycle. This cycling effect also changes with the use of the SOC window.
Cell temperature, which is another factor, can have a significant effect on the SOH of a battery. High temperatures can accelerate the degradation of the battery, reducing its overall lifespan and performance. This is because high temperatures can cause chemical reactions to occur within the battery at a faster rate, leading to increased chemical breakdown. However, low temperatures can also have a negative impact on the battery SOH by slowing down the battery’s chemical reactions and reducing its performance. This can lead to a decrease in battery capacity and overall lifespan. To show the cell temperature at −10 , 25 , and 45 and the number of cycle effects, the capacity retention and internal resistance change are given below.
According to Figure 8, the SOH function is created based on the number of cycles and cell temperature in Equation (33).
S O H % = f ( N C y c , T C e l l )
Q m a x is updated via the lookup table based on the effects of cycling N C y c and the T C e l l temperature. Thus, the accuracy of the estimation is increased by using the SOH effects given in Equation (33) in the SOC estimation.
The SOC window is important for managing the battery’s SOC within a safe and optimal range. The battery may be operated at either very high or very low SOC levels, which can lead to accelerated degradation, reduced performance, and safety hazards, which are explained in Section 2. By selecting an appropriate SOC window, one can maintain the battery within a safe and effective operating range, prevent overcharging or deep discharge, avoid thermal runaway, and prolong the battery’s useful life; hence, the SOC is requested to operate in this operating range and is added as a constraint to the MPC. The SOC window and MPC constraint are shown in Figure 9.
S O C L o w < S O C < S O C U p p
30 < S O C < 80
A lower power consumption indicates a lower power loss. For this reason, the cost function is as follows:
J = j = 1 N W E n g ( E n g L o s s ( k + j | k ) ) + W M o t ( M o t L o s s ( k + j | k ) ) + W B a t t ( B a t t L o s s ( k + j | k ) )
where W M o t , W E n g , and W B a t t are weighted coefficients for the state and control signal. Additionally, the motor, engine, and battery losses are represented as follows:
M o t L o s s = τ M o t ( k ) ω M o t ( k ) = u 1 ω M o t ( k )
E n g L o s s = τ E n g ( k ) ω E n g ( k ) = u 2 ω E n g ( k )
B a t t L o s s = I B a t t ( k ) V B a t t ( k )
All constraints for the torque distribution are as follows:
τ T o t = ( u 1 + τ M o t ) + ( u 2 + τ E n g )
τ E n g L o w < τ E n g < τ E n g U p p
τ M o t L o w < τ M o t < τ M o t U p p
I B a t t L o w < I B a t t < I B a t t L o w
S O C L o w < S O C < S O C U p p

4. MPC Event-Triggered and Weight Adaptation Mechanism

4.1. Training of Event-Triggered Mechanism

In the HEV, the event-triggered mechanism via DQN is implemented in the MPCs for the velocity tracking system.
Event-triggered MPC has several advantages over traditional MPC. First, it can reduce the computational burden of the control algorithm, as the control action is only updated when necessary. This can be particularly important in systems with limited computing resources or in applications where frequent updates of the control action are not required. Second, event-triggered MPC can improve control performance by ensuring that the control action is updated in response to significant changes in the system behavior rather than continuously updating the control action regardless of the system state. This can result in a more efficient and effective control strategy, especially for systems with nonlinear or time-varying dynamics. To realize the event-triggered mechanism, DQN is used.
The goal of realizing the event-triggered mechanism via DQN is to learn the optimal control policy that maximizes the expected cumulative reward over a finite time horizon, given the current state s k of the system. In the event-triggered DQN, the Q-function Q ( s , a ) is used to approximate the expected cumulative reward of taking action a in state s and following the optimal control policy thereafter:
Q π * ( s , a ) = m a x E [ k = 1 γ k r ( s k , a k ) | s 0 = s , a 0 = a ; π ]
where r is the reward at time k, which is a function of the state s k and the control action a k . The Q-function is updated as follows:
Q ( s , a ) Q ( s , a ) + α ( r + γ m a x Q ( s , a ) Q ( s , a ) )
where r ( s , a ) is the immediate reward for taking action a in state s; s is the next state; and α and γ are the learning rate and discount factor, respectively. The learning rate and discount factor are two important hyperparameters that affect how the agent learns and makes decisions. The learning rate determines the step size at each iteration of the Q-learning algorithm, which updates the Q-values of the state–action pairs based on the rewards received by the agent. The discount factor determines the importance of future rewards in the agent’s decision-making process. It determines how much the agent values immediate rewards versus long-term rewards.
The main aim is to track the velocity reference with less triggering. To track the velocity reference, states, and action are determined as follows:
s j = j = 0 3 V r e f ( k + j ) V ( k )
a = [ 0 , 1 ] Z
The states are determined as the difference between the vehicle velocity and forward-first four reference velocity values. For the triggering mechanism, an action set consists of “0 and 1”, where 0 means no triggering, and 1 means triggering.
One of the essential topics is the reward for DQN. A reward is a metric that tells the system how well it is performing. It can serve to maximize gains, minimize losses, etc., but the general goal is to maximize the total rewards over time. To fulfill the objective, the reward is determined based on the tracking ability and triggering.
r 1 = | j = 0 3 V r e f ( k + j ) V ( k ) | w 1
r 2 = ( L i m V | j = 0 3 V r e f ( k + j ) V ( k ) | ) w 2 , if | j = 0 3 V r e f ( k + j ) V ( k ) | L i m V 0 , otherwise
r 3 = a k w 3
r k ( s , a ) = r 1 + r 2 + r 3
where w 1 and w 3 are weight calibration parameters, and w 2 is the calibration lookup table used to calibrate the reward function. The first term of the reward is the state difference reward. It is used as a punishment from a technical point of view. In the case of a higher state difference, the punishment increases based on the quantity of the state difference between the vehicle velocity and vehicle velocity forward-first four references.
The second term of the reward is the track reward. The second reward term is related to the first reward term, and if the difference between the vehicle speed and the first four velocity reference values is lower than a certain parameter Lim V , it gives the reward a positive value according to the velocity difference and 1D lookup table. Otherwise, no rewards are given.
The third reward term is related to triggering. The goal is to perform velocity tracking with minimal triggering. For this reason, a penalty value is applied in the case of triggering.
There are few ways to determine the neuron size and hidden layer number based on experiments, intuition, and literature studies. The neuron size, hidden layer size, and activation function type are determined based on trial and error. The activation function is selected as the rectified linear unit (RELU), the hidden layer number is determined to be 3, and the neuron size is selected to be 24 empirically. The working condition of the event-triggered mechanism is that the DQN output is greater than 0.5.
The world, real or virtual, in which the agent performs actions when the reinforcement system begins exploring its environment, is entirely unaware of this system behavior. By observing the results, it gains more experience. The exploration vs. exploitation trade-off is typically controlled by an epsilon-greedy policy. During training, the agent selects the action with the highest Q-value with probability 1 − ϵ and selects a random action with probability epsilon. This way, the agent can balance the need to explore and the need to exploit.
a c t i o n = R a n d o m a c t i o n , ϵ m a x Q ( s , a ) , 1 ϵ
where ϵ is a hyperparameter that controls the trade-off between exploration and exploitation in the agent’s decision-making process. Moreover, ϵ is updated as follows:
ϵ = ϵ ( 1 ϵ d e c a y )
With every episode, the epsilon value decays by using ϵ d e c a y , which is the epsilon decay parameter. In this way, in the first phase of training, the agent explores the environment. By decreasing the epsilon value, the agent exploits and gains more rewards. Finally, for training, the MATLAB Reinforcement Learning Toolbox is used.

4.2. Training for Adaptation of Weights of MPC’s Cost Function

For this section, the cost function of the weight terms updated with DQN is employed. The main advantage of using DQN for MPC weight training is that it can handle complex, high-dimensional state and action spaces that may be difficult to optimize using traditional optimization techniques. DQN can learn an optimal policy by approximating the Q-value function, which is a measure of the expected cumulative reward obtained by following a particular policy from a given state.
By training the MPC weights with DQN, the cost function can be optimized to minimize the error between the predicted and actual system behavior. This is particularly useful in systems with nonlinear dynamics, where it may be difficult to design an accurate cost function using traditional optimization techniques.
In addition, DQN can learn from experience, which enables it to adapt to changing system dynamics over time. This makes it possible to improve the MPC weights as the system evolves and to handle disturbances or uncertainties in the system.
The main aim is to increase energy performance and decrease fuel consumption by modifying the weight terms. In this way, better optimization can be provided for the torque distribution problem.
For the DQN design, axle-based torques are predicted by using the forward-first four reference velocities, actual vehicle velocity, and resistance forces with the same principle in Equations (7) and (13); then, they are assigned as DQN states. The cost function consists of the internal combustion engine power, electric motor power, and associated battery power. The reason why the DQN states are chosen as mentioned is that DQN can establish a link between the predicted axle-level torque values and these power values.
In order to determine the weights of the cost function, the DQN action set is determined between 0.1 and 5. The weight coefficient used for the electric motor power W M o t is determined during the training and transferred to MPC as an action value. The weight of the battery W B a t t is selected as W M o t for the sake of simplicity. The weight coefficient of the internal combustion engine power W E n g is chosen as the complement of the weight coefficient of the electric motor. In other words, W E n g is equal to subtract the trained weight W M o t from 5, which is the specified maximum weight. Two traction sources work in coordination. Using this relationship, the computational load and complexity of the training are reduced by training only the motor power’s weight instead of two weight terms. The DQN state and action for energy minimization via weight are given in Equation (56).
s k = ( | j = 0 3 a R e f ( k + j ) a V e h ( k ) | m F T o t R ) r N G e a r N F D R
a = [ 0.1 5 ] R
where a R e f and a V e h are the reference acceleration and vehicle acceleration, respectively. By using the reward function, the DQN agent learns to optimize the MPC weight terms to minimize the total power consumption of the system and to maximize the motor and engine efficiencies. The agent learns to select the torque distribution among the axles that results in the highest efficiencies while still meeting the performance requirements of the system.
The use of this reward function provides a strong incentive to the agent to improve the energy efficiency of the system. The reward function provides informative feedback to the agent on the energy efficiency of its behavior and guides the agent towards the optimal policy that maximizes the motor and engine efficiencies. In this direction, the reward function is given in Equation (57).
r k ( s , a ) = f ( M o t E f f , E n g E f f ) , if M o t E f f + E n g E f f 2 > L i m E f f f ( M o t E f f , E n g E f f ) , otherwise
For the reward function that tries to maximize the average efficiency of the motor and engine, if the average efficiency is higher than the value of the limit parameter, which is Lim E f f , the difference is given as a reward via the 1D lookup table. If the average efficiency is lower than the value of the limit parameter, the difference is multiplied by the adjustment parameter and used as a punishment.
The same neural network structure of 3 hidden layers with 24 rectified neurons for each layer is used. For the training hyperparameters, the learning rate, discount factor, epsilon, and mini batch size are determined to be 0.001, 0.99, 0.95, and 64, respectively.

5. Results and Discussion

In this section, the first and second MPCs and vehicle outputs are demonstrated.
The first 300 s of the WLTP are used as a reference. The reason for using the first 300 s of the WLTP test cycle is that they are considered to be representative of typical urban driving conditions. During this phase, the vehicle undergoes multiple acceleration and deceleration cycles, simulating stop-and-go traffic and city driving. The results of the total torque demand of the first MPC, which is the total torque request control signal, and the torque distribution of the second MPC, taking into account the corresponding constraints of the engine and the motor, are given in Figure 10.
In Figure 11 and Figure 12, the torque produced by the engine and motor, shaft speed, consumed power, and lost power results are given.
The gear shifting of the gearbox is performed via the lookup table based on the accelerator pedal and vehicle velocity, which is converted from the output shaft speed. The gear shifting results, which are obtained by also considering the slope of the road, are given in Figure 13. For some period of the simulation, due to the braking priority, the accelerator pedal is set to zero.
The SOC, voltage, and current results are given in Figure 14 for the battery. When the SOC is 80%, a voltage of 260 V is provided, and the voltage value changes as the SOC value changes. Other factors affecting the change in the voltage value are the ohmic resistance and the double-layer effect (Butler–Volmer). In line with these effects, relaxation is observed between 80 and 140s. The charging current is shown as a positive value, the discharging current is shown as a negative value, and it is observed that the current is between the limits, which are the MPC current constraints given in Figure 7.
In order to examine the behavior of MPC with different initial SOC values and its results against the SOC constraint, simulation results are obtained by assigning an initial SOC value from the upper SOC limit, a value from the middle of the SOC limit, and a value close to the lower SOC limit. At different initial SOC values, it is observed that it does not violate the SOC constraints, and there are differences in the behavior of MPC. In order not to violate the SOC lower limit, it is observed that the electric motor generally works in the charging regions. While the initial SOC values are 80 and 50, it is observed that the electric motor is frequently used for higher efficiency. Additionally, the battery voltage values also change due to different initial SOC values. The SOC and battery voltage results are given in Figure 15.
In the simulation where the initial SOC value is close to the lower limit, the current values are usually in the positive (charging) region, not to violate the SOC lower limit. However, in the simulations with the initial SOC values of 80 and 50, a similar current profile with frequent charging and discharging is observed in Figure 16.
Finally, motor and engine torque behaviors are given at different initial SOC values in Figure 17. In the simulation, where the initial SOC value is close to the lower limit, the motor is generally used as a generator, and the engine mainly provides the requested traction torque.
An examination of the effects of the SOH on the SOC is one of the important points of this study. The battery chemistry, cycle aging, and cell temperature are the main factors in SOH changes. The cycling aging and cell temperature effects on the SOH are shown in accordance with the SOC window in Figure 18.
In the figure above, the SOH effect of the battery under different conditions is examined. Under the conditions of 3200 cycles and a cell temperature of 25 °C, the SOH is 90%, the internal resistance is equal to 108.5% of the initial resistance value, and Q M a x is equal to 5.85 Ah. Under the conditions of 4400 cycles and a cell temperature of 25 °C, the SOH is 85%, the internal resistance is equal to 116.4% of the initial resistance value, and Q M a x is equal to 5.525 Ah. Under the conditions of 5500 cycles and a cell temperature of 25 °C, the SOH is 80%, the internal resistance is equal to 130.2% of the initial resistance value, and Q M a x is equal to 5.2 Ah.
When the figure is examined, the battery capacity decreases under these effects; when the SOC shows the same value, serious time differences occur, and it is observed that the battery discharges faster when the SOH is low.
Finally, the velocity tracking results are given in Figure 19.
Event-triggered MPC with a DQN agent can achieve similar or better performance than traditional time-triggered MPC while reducing communication and computation requirements. For the event-triggered mechanism via DQN, the reward and action, which are designed based on the number of triggers and the error in velocity tracking, are given in Figure 20.
After observing that similar tracking velocity results are achieved with less triggers, it is aimed to reduce motor and engine losses by modifying the weights with DQN. To test the MPC whose weights are provided by DQN and to compare the performance with the previous method, which is without DQN, results are generated. For the WLTP reference, the motor and engine weights obtained with DQN are given in Figure 21, and the DQN reward and action are given in Figure 22.
For energy minimization in WLTP, the engine and motor operational points are marked and plotted on efficiency maps. The cyan marks represent the method without DQN, and the white marks represent the DQN weight algorithm as in Figure 23 and Figure 24.
Indicating energy savings and fuel consumption figures via algorithms with and without DQN can be important for providing a way to quantify and compare the performance of different control strategies and algorithms for improving energy efficiency in vehicles. This is why the fuel consumption results are given in Figure 25. The Simulink Simscape engine module allows us to model and simulate the behavior of an engine. Additionally, it provides the power output of the engine under different operating conditions. However, brake specific fuel consumption (BSFC), which is obtained from the given vehicle specifications, is a measure of the amount of fuel consumed by an engine per unit of power produced and provided by the Simscape model. Then, it is converted to the fuel consumption in units of g/s for comparison purposes. As shown in Figure 25b, the event-triggered double-MPC structure with DQNs performs the drive cycle under consideration with less fuel consumption in terms of gram per second. In addition, the total consumption is derived as 102.076 g with the event-triggered double-MPC structure with DQNs, while it is calculated as 104.996 g with the classic double-MPC structure by integrating fuel consumption.
After the triggering instances and weight training, the execution time, triggering number, average velocity error, and motor and engine efficiency values are as shown in Table 10 for the WLTP reference.
The purpose of the event-triggered mechanism is to reduce the computational cost by triggering the controller less frequently. It aims to follow the velocity reference as much as possible while reducing the computational cost. The execution time of a simulation depends on various factors, such as the complexity of the system being simulated, the accuracy and resolution of the simulation model, the computational resources available, and the simulation software being used. Overall, using multiple measurements of execution time can help to reduce the impact of instant factors on the results, improving the accuracy and reliability of the measurements. This is why the execution time is measured more than ten times, and the average execution time is used as a result via the Simulink Profiler Toolbox.
As can be seen in Table 11, the classic double-MPC structure and event-triggered double-MPC structure are compared. In a Simulink Profiler report, time refers to the total execution time of the subsystem, including the time spent executing its own code, as well as any code in the MPC subsystem. Self-time, however, only refers to the time spent executing the code directly within the MPC, without including any time spent executing the code in its elements, which transfer the outputs. Calls indicate the event-triggered number, and the time/call metric refers to the average execution time of MPCs per function call. The results represent the performance of two MPCs in total. According to the results, the event-triggered mechanism reduces the execution time by triggering fewer controllers.
After this stage, the weights of MPC are trained with DQN to distribute the torque more efficiently. According to the results, the efficiency of the motor increases by 3.61%, while the efficiency of the engine increases by 2.86%. This efficiency increase is achieved by triggering 52.01% fewer controllers. Thus, while the computational cost is reduced, the energy efficiency is also increased with MPC and DQN.

6. Conclusions

In this study, the energy management problem for HEVs is studied. HEVs have different types with different architectures; a Kia Niro with the P2 HEV configuration is modeled in this study. Since there are limited data about the battery pack in the publicly shared vehicle information, the appropriate battery and cell are selected for the vehicle, and vehicle modeling is detailed. The first MPC is designed to follow the WLTP velocity reference. The first MPC calculates the total torque that must be requested in accordance with the comfort–acceleration limits for velocity reference tracking. With the second MPC, this total demanded torque value is distributed between the motor and the engine. During torque distribution, the physical limits of the motor and engine are taken into account. In addition to the motor and engine, the battery also has physical limitations. These constraints are that the SOC operates within a certain range and current limits, and SOH effects are also taken into account in the second MPC. In traditional MPCs, the control action is computed at every sampling time based on the current system state and a prediction of future system behavior. In an event-triggered MPC approach, the control action is only computed when certain triggering conditions are met, such as when the system behavior deviates from a predefined threshold or when a specific event occurs. This approach can reduce the computational burden of MPC while maintaining the control performance, making it suitable for systems with limited computing resources or applications where frequent updates of the control action are not required. An event-triggered mechanism is designed with DQN to reduce the computational cost. Finally, the weights of the second MPC are trained with DQN to increase efficiency. The efficiency of the motor increases by 3.61%, while the efficiency of the engine increases by 2.86%. Moreover, the efficiency increases of the motor and the engine are realized with 52.01% less triggering. We aim to show that MPC performance can be increased using methods such as DQN in the energy management problem. With this proposal, an efficient energy management strategy is provided with less computational cost.

Author Contributions

Conceptualization, C.H. and Y.Y.; methodology, C.H. and Y.Y.; software, C.H.; validation, C.H.; formal analysis, C.H.; investigation, C.H.; resources, C.H.; data curation, C.H.; writing—original draft preparation, C.H.; writing—review and editing, Y.Y.; visualization, C.H.; supervision, Y.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This study was developed without any external funding.

Data Availability Statement

Data sharing is not applicable.

Acknowledgments

We thank Istanbul Technical University and AVL Research and Development for powertrain elements know-how and support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ehsani, M.; Gao, Y.; Emadi, A. (Eds.) Modern Electric, Hybrid Electric, and Fuel Cell Vehicles: Fundamentals, Theory, and Design, 2nd ed.; CRC Press: Boca Raton, FL, USA, 2017; ISBN 9781315219400. [Google Scholar]
  2. Emadi, A. Advanced Electric Drive Vehicles; CRC Press: Boca Raton, FL, USA, 2014. [Google Scholar]
  3. Yang, Y.; Hu, X.; Pei, H.; Peng, Z. Comparison of power-split and parallel hybrid powertrain architectures with a single electric machine: Dynamic programming approach. Appl. Energy 2016, 168, 683–690. [Google Scholar] [CrossRef]
  4. Zeng, Q.; Fang, Y. Structural synthesis and analysis of serial–parallel hybrid mechanisms with spatial multi-loop kinematic chains. Mech. Mach. Theory 2012, 49, 198–215. [Google Scholar] [CrossRef]
  5. Yu, P.; Li, M.; Wang, Y.; Chen, Z. Fuel cell hybrid electric vehicles: A review of topologies and energy management strategies. World Electr. Veh. J. 2022, 13, 172. [Google Scholar] [CrossRef]
  6. Pattipati, B.; Sankavaram, C.; Pattipati, K. System identification and estimation framework for pivotal automotive battery management system characteristics. IEEE Trans. Syst. Man, Cybern. Part Appl. Rev. 2011, 41, 869–884. [Google Scholar] [CrossRef]
  7. Samadani, E.; Fraser, R.; Fowler, M. Evaluation of Air Conditioning Impact on the Electric Vehicle Range and Li-ion Battery Life; SAE Technical Paper No. 2014-01-1853; SAE International: Warrendale, PA, USA, 2014. [Google Scholar]
  8. Nitta, N.; Wu, F.; Lee, J.T.; Yushin, G. Li-ion battery materials: Present and future. Mater. Today 2015, 18, 252–264. [Google Scholar] [CrossRef]
  9. Wikner, E.; Björklund, E.; Fridner, J.; Brandell, D.; Thiringer, T. How the utilised SOC window in commercial Li-ion pouch cells influence battery ageing. J. Power Sources Adv. 2021, 8, 100054. [Google Scholar] [CrossRef]
  10. Xie, J.; Ma, J.; Bai, K. Enhanced coulomb counting method for state-of-charge estimation of lithium-ion batteries based on peukert’s law and coulombic efficiency. J. Power Electron. 2018, 18, 910–922. [Google Scholar]
  11. Hong, J.; Wang, Z.; Chen, W.; Wang, L.; Lin, P.; Qu, C. Online accurate state of health estimation for battery systems on real-world electric vehicles with variable driving conditions considered. J. Clean. Prod. 2021, 294, 125814. [Google Scholar] [CrossRef]
  12. Noura, N.; Boulon, L.; Jemeï, S. A review of battery state of health estimation methods: Hybrid electric vehicle challenges. World Electr. Veh. J. 2020, 11, 66. [Google Scholar] [CrossRef]
  13. Maures, M.; Zhang, Y.; Martin, C.; Delétage, J.Y.; Vinassa, J.M.; Briat, O. Impact of temperature on calendar ageing of Lithium-ion battery using incremental capacity analysis. Microelectron. Reliab. 2019, 100, 113364. [Google Scholar] [CrossRef]
  14. Singh, K.V.; Bansal, H.O.; Singh, D. Fuzzy logic and Elman neural network tuned energy management strategies for a power-split HEVs. Energy 2021, 225, 120152. [Google Scholar] [CrossRef]
  15. Rahmeh, H.; Bonfitto, A.; Ruzimov, S. Fuzzy logic vs equivalent consumption minimization strategy for energy management in P2 hybrid electric vehicles. In Proceedings of the International Design Engineering Technical Conferences and Computers and Information in Engineering, Online, 17–19 August 2020. [Google Scholar] [CrossRef]
  16. Fu, X.; Wang, B.; Yang, J.; Liu, S.; Gao, H.; He, B.Q.; Zhao, H. A Rule-Based Energy Management Strategy for a Light-Duty Commercial P2 Hybrid Electric Vehicle Optimized by Dynamic Programming; SAE Technical Paper No. 2021-01-0722; SAE International: Warrendale, PA, USA, 2021. [Google Scholar] [CrossRef]
  17. Zhang, B.; Xu, F.; Shen, T. A Real-Time Energy Management Strategy for Parallel HEVs with MPC. In Proceedings of the IEEE Vehicle Power and Propulsion Conference (VPPC), Hanoi, Vietnam, 14–17 October 2019; pp. 1–5. [Google Scholar]
  18. Ghosh, S.; Biswas, D.; Mitra, D.; Sengupta, S.; Mukhopadhyay, S. Effect of soc uncertainty on mpc based energy management strategy for hevs. In Proceedings of the IEEE 17th India Council International Conference (INDICON), New Delhi, India, 10–13 December 2020; pp. 1–6. [Google Scholar]
  19. Ezemobi, E.; Yakhshilikova, G.; Ruzimov, S.; Castellanos, L.M.; Tonoli, A. Adaptive Model Predictive Control Including Battery Thermal Limitations for Fuel Consumption Reduction in P2 Hybrid Electric Vehicles. World Electr. Veh. J. 2022, 13, 33. [Google Scholar] [CrossRef]
  20. Sotoudeh, S.M.; HomChaudhuri, B. A robust MPC-based hierarchical control strategy for energy management of hybrid electric vehicles in presence of uncertainty. In Proceedings of the American Control Conference (ACC), Denver, CO, USA, 1–3 July 2020; pp. 3065–3070. [Google Scholar]
  21. Zhang, Y.; Chu, L.; Ding, Y.; Xu, N.; Guo, C.; Fu, Z.; Xu, L.; Tang, X.; Liu, Y. A hierarchical energy management strategy based on model predictive control for plug-in hybrid electric vehicles. IEEE Access 2019, 7, 81612–81629. [Google Scholar] [CrossRef]
  22. Chen, Z.; Hu, H.; Wu, Y.; Zhang, Y.; Li, G.; Liu, Y. Stochastic model predictive control for energy management of power-split plug-in hybrid electric vehicles based on reinforcement learning. Energy 2020, 211, 118931. [Google Scholar] [CrossRef]
  23. Dimarogonas, D.V.; Frazzoli, E.; Johansson, K.H. Distributed event-triggered control for multi-agent systems. IEEE Trans. Autom. Control. 2011, 57, 1291–1297. [Google Scholar] [CrossRef]
  24. Fan, Y.; Feng, G.; Wang, Y.; Song, C. Distributed event-triggered control of multi-agent systems with combinational measurements. Automatica 2013, 49, 671–675. [Google Scholar] [CrossRef]
  25. Fan, Y.; Liu, L.; Feng, G.; Wang, Y. Self-triggered consensus for multi-agent systems with Zeno-free triggers. IEEE Trans. Autom. Control. 2015, 60, 2779–2784. [Google Scholar] [CrossRef]
  26. Seyboth, G.S.; Dimarogonas, D.V.; Johansson, K.H. Event-based broadcasting for multi-agent average consensus. Automatica 2013, 49, 245–252. [Google Scholar] [CrossRef]
  27. Sun, Z.; Xia, Y.; Dai, L. Campoy, Tracking of unicycle robots using event-based MPC with adaptive prediction horizon. Automatica 2019, 25, 739–749. [Google Scholar]
  28. Yang, H.; Zhao, H.; Xia, Y.; Zhang, J. Event-triggered active MPC for nonlinear multiagent systems with packet losses. IEEE Trans. Cybern. 2019, 51, 3093–3102. [Google Scholar] [CrossRef]
  29. Zhan, J.; Li, X. Self-triggered consensus of multi-agent systems via model predictive control. IFAC-PapersOnLine 2016, 49, 19–24. [Google Scholar] [CrossRef]
  30. Chen, J. Event-Triggered Model Predictive Control for Autonomous Vehicle with Rear Steering; SAE Technical Paper No. 2022-01-0877; SAE International: Warrendale, PA, USA, 2022. [Google Scholar]
  31. Zhou, Z.; Rother, C.; Chen, J. Event-Triggered Model Predictive Control for Autonomous Vehicle Path Tracking: Validation Using CARLA Simulator. IEEE Trans. Intell. Veh. 2023, 1–9. [Google Scholar] [CrossRef]
  32. Chen, J.; Yi, Z. Comparison of event-triggered model predictive control for autonomous vehicle path tracking. In Proceedings of the IEEE Conference on Control Technology and Applications (CCTA), San Diego, CA, USA, 9–11 August 2021; pp. 808–813. [Google Scholar]
  33. Han, X.; He, H.; Wu, J.; Peng, J.; Li, Y. Energy management based on reinforcement learning with double deep Q-learning for a hybrid electric tracked vehicle. Appl. Energy 2019, 254, 113708. [Google Scholar] [CrossRef]
  34. Fang, Y.; Song, C.; Xia, B.; Song, Q. An energy management strategy for hybrid electric bus based on reinforcement learning. In Proceedings of the 27th Chinese Control and Decision Conference (2015 CCDC), Qingdao, China, 23–25 May 2015; pp. 4973–4977. [Google Scholar]
  35. Lin, Y.; McPhee, J.; Azad, N.L. Comparison of deep reinforcement learning and model predictive control for adaptive cruise control. IEEE Trans. Intell. Veh. 2020, 6, 221–231. [Google Scholar] [CrossRef]
  36. Gardezi, M.S.M.; Hasan, A. Machine learning based adaptive prediction horizon in finite control set model predictive control. IEEE Access 2018, 6, 32392–32400. [Google Scholar] [CrossRef]
  37. Beckenbach, L.; Osinenko, P.; Streif, S. Addressing infinite-horizon optimization in MPC via Q-learning. IFAC-PapersOnLine 2018, 51, 60–65. [Google Scholar] [CrossRef]
  38. Mohammadi, A.; Asadi, H.; Mohamed, S.; Nelson, K.; Nahavandi, S. Multiobjective and interactive genetic algorithms for weight tuning of a model predictive control-based motion cueing algorithm. IEEE Trans. Cybern. 2018, 49, 3471–3481. [Google Scholar] [CrossRef]
  39. Zhao, Y.; Wang, L.P.; Sougrati, M.T.; Feng, Z.; Leconte, Y.; Fisher, A.; Srinivasan, M.; Xu, Z. A review on design strategies for carbon based metal oxides and sulfides nanocomposites for high performance Li and Na ion battery anodes. Adv. Energy Mater. 2017, 7, 1601424. [Google Scholar] [CrossRef]
  40. BU-205: Types of Lithium-Ion. Available online: https://batteryuniversity.com/article/bu-205-types-of-lithium-ion (accessed on 12 June 2021).
  41. ISO2631-5; Mechanical Vibration and Shock—Evaluation of Human Exposure to Whole-Body Vibration. Part 5: Method for Evaluation Of Vibration Containing Multiple Shocks. ISO: Geneva, Switzerland, 2004.
  42. Jossen, A. Fundamentals of battery dynamics. J. Power Sources 2006, 154, 530–538. [Google Scholar] [CrossRef]
  43. Rahmoun, A.; Biechl, H. Modelling of Li-ion batteries using equivalent circuit diagrams. Prz. Elektrotechniczny 2012, 88, 152–156. [Google Scholar]
  44. Wang, W.; Wei, X.; Choi, D.; Lu, X.; Yang, G.; Sun, C. Electrochemical cells for medium-and large-scale energy storage: Fundamentals. In Advances in Batteries for Medium and Large-Scale Energy Storage; Woodhead Publishing: Cambridge, UK, 2015; pp. 3–28. [Google Scholar]
Figure 1. P2 HEV architecture.
Figure 1. P2 HEV architecture.
Wevj 14 00135 g001
Figure 2. Flow diagram of the study.
Figure 2. Flow diagram of the study.
Wevj 14 00135 g002
Figure 3. Motor and engine characteristics: (a) engine efficiency and physical limits; (b) motor efficiency and physical limits.
Figure 3. Motor and engine characteristics: (a) engine efficiency and physical limits; (b) motor efficiency and physical limits.
Wevj 14 00135 g003
Figure 4. Battery equivalent model.
Figure 4. Battery equivalent model.
Wevj 14 00135 g004
Figure 5. Open-circuit voltage C rates: (a) OCV charging currents with different C rates; (b) OCV discharging currents with different C rates.
Figure 5. Open-circuit voltage C rates: (a) OCV charging currents with different C rates; (b) OCV discharging currents with different C rates.
Wevj 14 00135 g005
Figure 6. Charging and discharging current limits: (a) charging current limits for SOC and pack temperature; (b) charging current limits for SOC and pack temperature.
Figure 6. Charging and discharging current limits: (a) charging current limits for SOC and pack temperature; (b) charging current limits for SOC and pack temperature.
Wevj 14 00135 g006
Figure 7. Charging and discharging current limits for SOC and constant pack temperature.
Figure 7. Charging and discharging current limits for SOC and constant pack temperature.
Wevj 14 00135 g007
Figure 8. Cell temperature and number of cycle effect for capacity retention and internal resistance: (a) 45 ; (b) 25 ; (c) −10 .
Figure 8. Cell temperature and number of cycle effect for capacity retention and internal resistance: (a) 45 ; (b) 25 ; (c) −10 .
Wevj 14 00135 g008
Figure 9. SOC window.
Figure 9. SOC window.
Wevj 14 00135 g009
Figure 10. Traction torques: (a) total torque request; (b) engine torque; (c) motor torque.
Figure 10. Traction torques: (a) total torque request; (b) engine torque; (c) motor torque.
Wevj 14 00135 g010
Figure 11. Engine outputs: (a) engine speed; (b) engine power; (c) engine power loss.
Figure 11. Engine outputs: (a) engine speed; (b) engine power; (c) engine power loss.
Wevj 14 00135 g011
Figure 12. Motor outputs: (a) motor speed; (b) motor power; (c) motor power loss.
Figure 12. Motor outputs: (a) motor speed; (b) motor power; (c) motor power loss.
Wevj 14 00135 g012
Figure 13. Gear shifting strategy: (a) vehicle velocity; (b) accelerator pedal position; (c) transmission gear.
Figure 13. Gear shifting strategy: (a) vehicle velocity; (b) accelerator pedal position; (c) transmission gear.
Wevj 14 00135 g013
Figure 14. Battery outputs: (a) SOC; (b) battery voltage; (c) battery current.
Figure 14. Battery outputs: (a) SOC; (b) battery voltage; (c) battery current.
Wevj 14 00135 g014
Figure 15. SOC and voltage results: (a) SOC results with different initial SOC values; (b) voltage results with different initial SOC values.
Figure 15. SOC and voltage results: (a) SOC results with different initial SOC values; (b) voltage results with different initial SOC values.
Wevj 14 00135 g015
Figure 16. Battery current results with different initial SOC values.
Figure 16. Battery current results with different initial SOC values.
Wevj 14 00135 g016
Figure 17. Torque results with different initial SOC values: (a) motor torque results with different initial SOC values; (b) engine torque results with different initial SOC values.
Figure 17. Torque results with different initial SOC values: (a) motor torque results with different initial SOC values; (b) engine torque results with different initial SOC values.
Wevj 14 00135 g017
Figure 18. SOC results with different SOH values.
Figure 18. SOC results with different SOH values.
Wevj 14 00135 g018
Figure 19. Velocity tracking.
Figure 19. Velocity tracking.
Wevj 14 00135 g019
Figure 20. Reward and action of DQN for event triggering: (a) reward; (b) action.
Figure 20. Reward and action of DQN for event triggering: (a) reward; (b) action.
Wevj 14 00135 g020
Figure 21. Motor and engine weight with DQN for WLTP: (a) motor weight; (b) engine weight.
Figure 21. Motor and engine weight with DQN for WLTP: (a) motor weight; (b) engine weight.
Wevj 14 00135 g021
Figure 22. Reward and action for weight: (a) reward; (b) action.
Figure 22. Reward and action for weight: (a) reward; (b) action.
Wevj 14 00135 g022
Figure 23. Engine operational points results: (a) engine operational points without DQN; (b) engine operational points with DQN.
Figure 23. Engine operational points results: (a) engine operational points without DQN; (b) engine operational points with DQN.
Wevj 14 00135 g023
Figure 24. Motor operational point results: (a) motor operational points without DQN; (b) motor operational points with DQN.
Figure 24. Motor operational point results: (a) motor operational points without DQN; (b) motor operational points with DQN.
Wevj 14 00135 g024
Figure 25. Fuel consumption:(a) vehicle velocity; (b) fuel consumption with DQN and without DQN.
Figure 25. Fuel consumption:(a) vehicle velocity; (b) fuel consumption with DQN and without DQN.
Wevj 14 00135 g025
Table 1. Powertrain specification of Kia Niro.
Table 1. Powertrain specification of Kia Niro.
Specification
Motor TypeIPMSM
10 s Peak Power32 kW
Maximum Torque170 Nm
Maximum Speed3750 min 1
System Nominal Voltage240V
Motor Max. Efficiency95%
Connected Inverter Efficiency97%
Table 2. Powertrain element efficiency.
Table 2. Powertrain element efficiency.
InverterElectric MotorPowertrain
97%95%92.150%
Table 3. Charging and discharging power.
Table 3. Charging and discharging power.
Component10 s Peak Discharging Power10 s Peak Charging Power
Electric Motor32 kW32 kW
Battery34.726 kW29.488 kW
Table 4. Usable energy target.
Table 4. Usable energy target.
CriteriaValueUnit
Target Range6km
Consumption25kWh/100 km
Consumption250Wh/km
Usable Target Energy1500Wh
Table 5. Li-On battery chemistries [40].
Table 5. Li-On battery chemistries [40].
CriteriaLCOLMONMCLFPNCALTO
Nominal Voltage (V)3.63.73.73.23.62.4
Specific Energy (Wh/kg)150–200100–150150–22090–120200–26050–80
Cycle Life500–1000300–7001000–20002000–25005003000–7000
Thermal Runaway (°C)150250210270150Safest
Table 6. Cell configuration.
Table 6. Cell configuration.
Criteria65s1p65s2p
Battery Nominal Voltage240.5 V240.5 V
Usable Target Energy1.5 kWh1.5 kWh
Installed Target Energy3 kWh3 kWh
Used DOD50%50%
Cell Usable Energy Capacity (Ah)6.237 Ah3.118 Ah
Cell Installed Energy Capacity (Ah)12.474 Ah6.237 Ah
Table 7. Verification of the battery pack for system requirements.
Table 7. Verification of the battery pack for system requirements.
SpecificationBatterySystem Requirement
Configuration65s2p-
Cell Nominal Voltage (V)3.713.7
Pack Nominal Voltage (V)241.15240
Cell Usable Energy (Ah)6.736.237
Cell Installed Energy (Ah)13.4612.474
SoC Window30–80%30–80%
Used SOC50%50%
Usable Energy (kWh)1.62291.5
Installed Energy (kWh)3.2453
Table 8. Nomenclature.
Table 8. Nomenclature.
VariableDescription
F T o t R Total resistance force
F A i r R Aerodynamic resistance force
F G r a d R Grade resistance force
F R o l l R Rolling resistance force
F R e q Force requested by driver
F N e t Net force
τ E n g Engine-based torque
τ M o t Motor-based torque
ρ Air density
c d Drag coefficient
A f Vehicle frontal areal
VVehicle velocity
mVehicle mass
gGravity
θ Road angle
C r Rolling resistance coefficient
N G e a r Gear ratio
N F D R Final drive ratio
rWheel radius
Table 9. ISO 2631-5 acceleration limits [41].
Table 9. ISO 2631-5 acceleration limits [41].
Comfort LevelsAcceleration Limits
Not uncomfortable0.315 m/s 2
A little uncomfortable0.63 m/s 2
Fairly uncomfortable1.0 m/s 2
Uncomfortable1.6 m/s 2
Very uncomfortable2.5 m/s 2
Table 10. Efficiency Results in WLTP.
Table 10. Efficiency Results in WLTP.
CriteriaStructure with Two MPCs Connected in SeriesStructure with Two Event-Triggered MPCs with DQNs Connected in Series
Triggering Number30,00014,396
Execution Time (s)13.881 s7.815 s
Engine Efficiency (%)19.26%22.12%
Motor Efficiency (%)78.95%82.56%
Average Velocity Error Per Sample (km/h)0.0342 km/h0.0518 km/h
Table 11. Simulink Profiler Report.
Table 11. Simulink Profiler Report.
CriteriaTime (s)CallsTime/CallsSelf-Time (s)
Structure with Two MPCs Connected in Series15.321 s30,0000.000510713.881 s
Structure with Two Event-Triggered MPCs with DQNs Connected in Series8.982 s14,3960.00050877.815 s
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Haspolat, C.; Yalcin, Y. Energy Management of P2 Hybrid Electric Vehicle Based on Event-Triggered Nonlinear Model Predictive Control and Deep Q Network. World Electr. Veh. J. 2023, 14, 135. https://doi.org/10.3390/wevj14060135

AMA Style

Haspolat C, Yalcin Y. Energy Management of P2 Hybrid Electric Vehicle Based on Event-Triggered Nonlinear Model Predictive Control and Deep Q Network. World Electric Vehicle Journal. 2023; 14(6):135. https://doi.org/10.3390/wevj14060135

Chicago/Turabian Style

Haspolat, Cuneyt, and Yaprak Yalcin. 2023. "Energy Management of P2 Hybrid Electric Vehicle Based on Event-Triggered Nonlinear Model Predictive Control and Deep Q Network" World Electric Vehicle Journal 14, no. 6: 135. https://doi.org/10.3390/wevj14060135

Article Metrics

Back to TopTop