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

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

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

기본 정보

저자
  1. Cuneyt Haspolat — AVL Research and Engineering, Istanbul 34920, Turkey|||Control and Automation Engineering, Istanbul Technical University, Istanbul 34469, Turkey|||Control and Automation Engineering, Istanbul Technical University, Istanbul 34469, Turkey;
  2. Yaprak Yalçın — Control and Automation Engineering, Istanbul Technical University, Istanbul 34469, Turkey|||Control and Automation Engineering, Istanbul Technical University, Istanbul 34469, Turkey;
DOI
10.3390/wevj14060135
저널
World Electric Vehicle Journal
발행년도
2023
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/wevj14060135
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4378471902

평가 내용

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

초록

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.

본문 56,928자

본문 펼치기
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.Keywords: model predictive control; Deep Q Network; energy management; parallel hybrid electric vehicle type 2; event-triggered mechanism World Electr. Veh. J. 2023, 14, 135. https://doi.org/10.3390/wevj14060135 https://www.mdpi.com/journal/wevj World Electr. Veh. 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]. Introduction 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]. Introduction 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]. Introduction 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]. Introduction Various controllers are frequently used for the torque distribution problem, such as model predictive control (MPC), fuzzy logic, and reinforcement learning (RL). Introduction 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. Introduction 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]. Introduction 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. Introduction 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. Introduction 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. Introduction 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. Introduction 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. Introduction 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. Introduction 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]. Introduction 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]. Introduction 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]. Introduction 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. Introduction 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. 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. Materials and Methods 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. Materials and Methods 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. Materials and Methods 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: Materials and Methods where V Sys and V Cell are the system and cell nominal voltage; N Cell is the number of cells connected in series; and P DisMax , P ChaMax , I DisMax , and I ChaMax 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. 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. System Dynamics and Prediction Model The first MPC calculates the total torque request, which is the control signal u, based on the WLTP velocity reference V Re 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 Batt 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. System Dynamics and Prediction Model The requested torque outputs τ MotReq and τ EngReq 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 τ MotAct and τ EngAct , are typically transmitted to the wheels as τ Axle and τ Whl 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 Batt 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. System Dynamics and Prediction Model 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. System Dynamics and Prediction Model 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. System Dynamics and Prediction Model 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: System Dynamics and Prediction Model x 1 = x 2 (10) System Dynamics and Prediction Model where ∆τ Tot 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 τ Mot and τ Eng 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: System Dynamics and Prediction Model where ∆τ Low Tot and ∆τ U pp System Dynamics and Prediction Model Tot 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: System Dynamics and Prediction Model where N is the prediction horizon, W Track is the tracking weight, and x 2Re 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. System Dynamics and Prediction Model 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). System Dynamics and Prediction Model 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. System Dynamics and Prediction Model The engine and motor constraints for the HEV are considered with the following equations: System Dynamics and Prediction Model where τ U pp System Dynamics and Prediction Model Mot , and τ Low Mot 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. System Dynamics and Prediction Model 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. System Dynamics and Prediction Model 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. System Dynamics and Prediction Model 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: System Dynamics and Prediction Model where System Dynamics and Prediction Model V OC (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. System Dynamics and Prediction Model 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. System Dynamics and Prediction Model 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. System Dynamics and Prediction Model where SOC(k) is the initial SOC, I Batt 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 max should be taken into account. System Dynamics and Prediction Model The Q max 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. System Dynamics and Prediction Model 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. System Dynamics and Prediction Model 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. System Dynamics and Prediction Model According to Figure 8, the SOH function is created based on the number of cycles and cell temperature in Equation (33). System Dynamics and Prediction Model Q max is updated via the lookup table based on the effects of cycling N Cyc and the T Cell 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. System Dynamics and Prediction Model A lower power consumption indicates a lower power loss. For this reason, the cost function is as follows: System Dynamics and Prediction Model W Eng (Eng Loss (k + j|k)) + W Mot (Mot Loss (k + j|k)) + W Batt (Batt Loss (k + j|k)) (36) where W Mot , W Eng , and W Batt are weighted coefficients for the state and control signal. Additionally, the motor, engine, and battery losses are represented as follows: System Dynamics and Prediction Model Eng Loss = τ Eng (k)ω Eng (k) = u 2 ω Eng (k) (38) Batt System Dynamics and Prediction Model All constraints for the torque distribution are as follows: 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. Training of Event-Triggered Mechanism 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: Training of Event-Triggered Mechanism 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: Training of Event-Triggered Mechanism 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: Training of Event-Triggered Mechanism The states are determined as the difference between the vehicle velocity and forwardfirst 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. Training of Event-Triggered Mechanism 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. Training of Event-Triggered Mechanism 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. Training of Event-Triggered Mechanism 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. Training of Event-Triggered Mechanism 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. Training of Event-Triggered Mechanism 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. action = Random action, maxQ(s, a), action = 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: action = With every episode, the epsilon value decays by using decay , 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. 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. Training for Adaptation of Weights of MPC's Cost Function 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. Training for Adaptation of Weights of MPC's Cost Function 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. Training for Adaptation of Weights of MPC's Cost Function 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. Training for Adaptation of Weights of MPC's Cost Function 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. Training for Adaptation of Weights of MPC's Cost Function 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 Mot is determined during the training and transferred to MPC as an action value. The weight of the battery W Batt is selected as W Mot for the sake of simplicity. The weight coefficient of the internal combustion engine power W Eng is chosen as the complement of the weight coefficient of the electric motor. In other words, W Eng is equal to subtract the trained weight W Mot 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). Training for Adaptation of Weights of MPC's Cost Function where a Re f and a Veh 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). Training for Adaptation of Weights of MPC's Cost Function if Training for Adaptation of Weights of MPC's Cost Function 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. Training for Adaptation of Weights of MPC's Cost Function 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. Results and Discussion In this section, the first and second MPCs and vehicle outputs are demonstrated. Results and Discussion 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 Figures 11 and 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. Current [A] Initial SOC %80 Initial SOC %50 Initial SOC %32 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 Max 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 Max 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 Max is equal to 5.2 Ah. Current [A] 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. Current [A] 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 Figures 23 and 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. Current [A] 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. Current [A] 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. 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.

섹션 본문 88문단 · 54,170자

(제목 없음)

1Hybrid 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.Keywords: model predictive control; Deep Q Network; energy management; parallel hybrid electric vehicle type 2; event-triggered mechanism World Electr. Veh. J. 2023, 14, 135. https://doi.org/10.3390/wevj14060135 https://www.mdpi.com/journal/wevj World Electr. Veh.

Introduction

2HEV 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].

3HEVs 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].

4There 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].

5The 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].

6Various controllers are frequently used for the torque distribution problem, such as model predictive control (MPC), fuzzy logic, and reinforcement learning (RL).

7Energy 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.

8The 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].

9A 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.

10The 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.

11An 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.

12A 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.

13A 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.

14Using 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.

15The 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].

16The 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].

17Studies 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].

18In 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.

19The 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.

Materials and Methods

20A 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.

21The 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.

22For 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.

23Starting 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:

24where V Sys and V Cell are the system and cell nominal voltage; N Cell is the number of cells connected in series; and P DisMax , P ChaMax , I DisMax , and I ChaMax 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.

System Dynamics and Prediction Model

25In 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.

26The first MPC calculates the total torque request, which is the control signal u, based on the WLTP velocity reference V Re 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 Batt 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.

27The requested torque outputs τ MotReq and τ EngReq 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 τ MotAct and τ EngAct , are typically transmitted to the wheels as τ Axle and τ Whl 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 Batt 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.

28In 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.

29By 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.

30With 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:

31x 1 = x 2 (10)

32where ∆τ Tot 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 τ Mot and τ Eng 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:

33where ∆τ Low Tot and ∆τ U pp

34Tot 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:

35where N is the prediction horizon, W Track is the tracking weight, and x 2Re 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.

36Variations 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).

37Powertrain 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.

38The engine and motor constraints for the HEV are considered with the following equations:

39where τ U pp

40Mot , and τ Low Mot 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.

41In 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.

42The 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.

43The 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:

44where

45V OC (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.

46The 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.

47The 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.

48where SOC(k) is the initial SOC, I Batt 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 max should be taken into account.

49The Q max 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.

50Each 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.

51Cell 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.

52According to Figure 8, the SOH function is created based on the number of cycles and cell temperature in Equation (33).

53Q max is updated via the lookup table based on the effects of cycling N Cyc and the T Cell 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.

54A lower power consumption indicates a lower power loss. For this reason, the cost function is as follows:

55W Eng (Eng Loss (k + j|k)) + W Mot (Mot Loss (k + j|k)) + W Batt (Batt Loss (k + j|k)) (36) where W Mot , W Eng , and W Batt are weighted coefficients for the state and control signal. Additionally, the motor, engine, and battery losses are represented as follows:

56Eng Loss = τ Eng (k)ω Eng (k) = u 2 ω Eng (k) (38) Batt

57All constraints for the torque distribution are as follows:

Training of Event-Triggered Mechanism

58In 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.

59The 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:

60where 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:

61where 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:

62The states are determined as the difference between the vehicle velocity and forwardfirst 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.

63One 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.

64where 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.

65The 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.

66There 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.

67The 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.

action =

68Random action, maxQ(s, a),

69where is a hyperparameter that controls the trade-off between exploration and exploitation in the agent's decision-making process. Moreover, is updated as follows:

70With every episode, the epsilon value decays by using decay , 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.

Training for Adaptation of Weights of MPC's Cost Function

71For 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.

72By 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.

73In 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.

74The 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.

75For 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.

76In 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 Mot is determined during the training and transferred to MPC as an action value. The weight of the battery W Batt is selected as W Mot for the sake of simplicity. The weight coefficient of the internal combustion engine power W Eng is chosen as the complement of the weight coefficient of the electric motor. In other words, W Eng is equal to subtract the trained weight W Mot 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).

77where a Re f and a Veh 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).

78if

79For 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.

80The 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.

Results and Discussion

81In this section, the first and second MPCs and vehicle outputs are demonstrated.

82The 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 Figures 11 and 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.

Current [A]

83Initial SOC %80 Initial SOC %50 Initial SOC %32 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 Max 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 Max 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 Max is equal to 5.2 Ah.

84When 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.

85Finally, 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 Figures 23 and 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.

86After 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.

87The 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.

Conclusions

88In 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.

참고문헌 41건

  1. An energy management strategy for hybrid electric bus based on reinforcement learning 2022 34th Chinese Control and Decision Conference (CCDC) · 2015 10.1109/ccdc.2015.7162814
  2. Distributed event-triggered control of multi-agent systems with combinational measurements Automatica · Elsevier BV · 2012 10.1016/j.automatica.2012.11.010
  3. Self-Triggered Consensus for Multi-Agent Systems With Zeno-Free Triggers IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2015 10.1109/tac.2015.2405294
  4. Li-ion battery materials: present and future Materials Today · Elsevier BV · 2014 10.1016/j.mattod.2014.10.040
  5. Structural synthesis and analysis of serial–parallel hybrid mechanisms with spatial multi-loop kinematic chains Mechanism and Machine Theory · Elsevier BV · 2011 10.1016/j.mechmachtheory.2011.10.008
  6. Fundamentals of battery dynamics Journal of Power Sources · Elsevier BV · 2005 10.1016/j.jpowsour.2005.10.041
  7. Evaluation of Air Conditioning Impact on the Electric Vehicle Range and Li-Ion Battery Life SAE technical papers on CD-ROM/SAE technical paper series · 2014 10.4271/2014-01-1853
  8. System Identification and Estimation Framework for Pivotal Automotive Battery Management System Characteristics IEEE Transactions on Systems Man and Cybernetics Part C (Applications and Reviews) · Institute of Electrical and Electronics Engineers · 2011 10.1109/tsmcc.2010.2089979
  9. Modelling of Li-ion batteries using equivalent circuit diagrams PRZEGLĄD ELEKTROTECHNICZNY · Stowarzyszenie Elektryków Polskich · 2012
  10. Event-based broadcasting for multi-agent average consensus Automatica · Elsevier BV · 2012 10.1016/j.automatica.2012.08.042
  11. Distributed Event-Triggered Control for Multi-Agent Systems IEEE Transactions on Automatic Control · Institute of Electrical and Electronics Engineers · 2011 10.1109/tac.2011.2174666
  12. Comparison of power-split and parallel hybrid powertrain architectures with a single electric machine: Dynamic programming approach Applied Energy · Elsevier BV · 2016 10.1016/j.apenergy.2016.02.023
  13. Electrochemical cells for medium- and large-scale energy storage Elsevier eBooks · Elsevier BV · 2015 10.1016/b978-1-78242-013-2.00001-7
  14. Self-triggered consensus of multi-agent systems via model predictive control**This work was supported by the National Natural Science Foundation (No. 61273223), and the National Science Fund for Distinguished Young Scholars of China (No. 61425019). IFAC-PapersOnLine · Elsevier BV · 2016 10.1016/j.ifacol.2016.05.004
  15. Modern Electric, Hybrid Electric, and Fuel Cell Vehicles CRC Press eBooks · Informa · 2010 10.1201/9781420054002
  16. A Review on Design Strategies for Carbon Based Metal Oxides and Sulfides Nanocomposites for High Performance Li and Na Ion Battery Anodes Advanced Energy Materials · Wiley · 2016 10.1002/aenm.201601424
  17. Machine Learning Based Adaptive Prediction Horizon in Finite Control Set Model Predictive Control IEEE Access · Institute of Electrical and Electronics Engineers · 2018 10.1109/access.2018.2839519
  18. Multiobjective and Interactive Genetic Algorithms for Weight Tuning of a Model Predictive Control-Based Motion Cueing Algorithm IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2018 10.1109/tcyb.2018.2845661
  19. Addressing infinite-horizon optimization in MPC via Q-learning IFAC-PapersOnLine · Elsevier BV · 2018 10.1016/j.ifacol.2018.10.175
  20. Event-Triggered Active MPC for Nonlinear Multiagent Systems With Packet Losses IEEE Transactions on Cybernetics · Institute of Electrical and Electronics Engineers · 2019 10.1109/tcyb.2019.2908389
  21. A Hierarchical Energy Management Strategy Based on Model Predictive Control for Plug-In Hybrid Electric Vehicles IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2924165
  22. Enhanced Coulomb Counting Method for State-of-Charge Estimation of Lithium-ion Batteries based on Peukert’s Law and Coulombic Efficiency Journal of Power Electronics · Springer Science+Business Media · 2018 10.6113/jpe.2018.18.3.910
  23. Energy management based on reinforcement learning with double deep Q-learning for a hybrid electric tracked vehicle Applied Energy · Elsevier BV · 2019 10.1016/j.apenergy.2019.113708
  24. Impact of temperature on calendar ageing of Lithium-ion battery using incremental capacity analysis Microelectronics Reliability · Elsevier BV · 2019 10.1016/j.microrel.2019.06.056
  25. Comparison of Deep Reinforcement Learning and Model Predictive Control for Adaptive Cruise Control IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2020 10.1109/tiv.2020.3012947
  26. A Real-Time Energy Management Strategy for Parallel HEVs with MPC 2021 IEEE Vehicle Power and Propulsion Conference (VPPC) · 2019 10.1109/vppc46532.2019.8952384
  27. A Robust MPC-based Hierarchical Control Strategy for Energy Management of Hybrid Electric Vehicles in Presence of Uncertainty 2022 American Control Conference (ACC) · 2020 10.23919/acc45564.2020.9147288
  28. Stochastic model predictive control for energy management of power-split plug-in hybrid electric vehicles based on reinforcement learning Energy · Elsevier BV · 2020 10.1016/j.energy.2020.118931
  29. A Review of Battery State of Health Estimation Methods: Hybrid Electric Vehicle Challenges World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2020 10.3390/wevj11040066
  30. Online accurate state of health estimation for battery systems on real-world electric vehicles with variable driving conditions considered Journal of Cleaner Production · Elsevier BV · 2021 10.1016/j.jclepro.2021.125814
  31. A Rule-Based Energy Management Strategy for a Light-Duty Commercial P2 Hybrid Electric Vehicle Optimized by Dynamic Programming SAE technical papers on CD-ROM/SAE technical paper series · 2021 10.4271/2021-01-0722
  32. Effect of SOC Uncertainty on MPC based Energy Management Strategy for HEVs 2021 IEEE 18th India Council International Conference (INDICON) · 2020 10.1109/indicon49873.2020.9342045
  33. Fuzzy logic and Elman neural network tuned energy management strategies for a power-split HEVs Energy · Elsevier BV · 2021 10.1016/j.energy.2021.120152
  34. How the utilised SOC window in commercial Li-ion pouch cells influence battery ageing Journal of Power Sources Advances · Elsevier BV · 2021 10.1016/j.powera.2021.100054
  35. Advanced Electric Drive Vehicles CRC Press eBooks · Informa · 2014 10.1201/9781315215570
  36. Comparison of Event-Triggered Model Predictive Control for Autonomous Vehicle Path Tracking 2021 IEEE Conference on Control Technology and Applications (CCTA) · 2021 10.1109/ccta48906.2021.9659192
  37. Mechanical vibration and shock. Evaluation of human exposure to whole-body vibration 2018 10.3403/30312196
  38. Adaptive Model Predictive Control Including Battery Thermal Limitations for Fuel Consumption Reduction in P2 Hybrid Electric Vehicles World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2022 10.3390/wevj13020033
  39. Fuzzy Logic vs Equivalent Consumption Minimization Strategy for Energy Management in P2 Hybrid Electric Vehicles 2021 10.1115/1.0002137v
  40. Fuel Cell Hybrid Electric Vehicles: A Review of Topologies and Energy Management Strategies World Electric Vehicle Journal · Multidisciplinary Digital Publishing Institute · 2022 10.3390/wevj13090172
  41. Event-Triggered Model Predictive Control for Autonomous Vehicle Path Tracking: Validation Using CARLA Simulator IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2023 10.1109/tiv.2023.3266941