Energy evaluation method and system for scenic spot hybrid vehicle
Through reinforcement learning combined with the equivalent fuel consumption minimization strategy, the equivalent factor is adaptively adjusted to solve the problem of determining the initial equivalent factor in hybrid vehicles, realize fuel consumption optimization and battery status management in different driving environments, and improve fuel efficiency. Economy and power performance.
Patent Information
- Application Number
- CN202410520760.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-08-27
AI Technical Summary
The existing technology is difficult to effectively determine the initial equivalence factor in hybrid vehicles, especially under different driving cycles and complex driving environments, resulting in limited fuel consumption optimization effects.
Reinforcement learning (RL) combined with equivalent fuel consumption minimization strategy (ECMS) is used to learn the control strategy without a model through the Q-Learning algorithm, adaptively adjust the equivalent factor, and optimize the energy management of hybrid vehicles.
It minimizes fuel consumption in different driving environments, improves fuel economy and battery status robustness, reduces energy waste, and enhances vehicle power performance.
Smart Images

Figure CN118550183A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of hybrid vehicle, and in particular relates to an energy evaluation method and system for hybrid vehicle in a scenic area. Background Art
[0002] The Adaptive Equivalent Consumption Minimization Strategy (A-ECMS) aims to optimize the energy use of hybrid vehicles to improve fuel economy and reduce emissions. The core idea of this strategy is to minimize equivalent fuel consumption by adjusting the energy flow of the vehicle in real time. The basic principle of the Equivalent Fuel Consumption Minimization Strategy (ECMS) is to save fuel through the use of electrical energy. It converts the electrical energy consumed or recovered by the motor into fuel consumption through a conversion factor (equivalent factor), thereby converting the problem into an optimal control problem with minimum equivalent fuel consumption. This method takes into account the state of the battery and optimizes fuel use by adjusting the battery charging and discharging strategy. A-ECMS introduces an adaptive control algorithm based on ECMS. This algorithm can dynamically adjust the equivalent factor according to the current driving conditions and road load to keep the battery state of charge (SOC) within the preset limits. This adaptive adjustment helps to minimize fuel consumption under different driving conditions. A-ECMS estimates the equivalent factor based on real-time driving data (such as vehicle speed, acceleration, road slope, etc.). This allows control parameters to be updated in real time, ensuring that energy management strategies can adapt to changing driving needs.
[0003] The values of the ECMS equivalent factors depend on future driving cycles. This is the so-called a priori problem, where information about future driving cycles needs to be known in advance before finding the optimal solution. Therefore, the estimation of these values is a very important issue in ECMS or PMP methods. The equivalent factors can be estimated by evaluating the vehicle speed and the corresponding energy consumption. The co-state values are determined according to the shooting method for a given driving cycle. In this case, the boundary value problem is converted into an initial value problem and the final state values can be obtained using differential equations. Therefore, the optimal solution can be obtained based on iterative simulations. However, these methods are based on specific driving cycles, so the results obtained are only valid for a given fixed driving cycle.
[0004] Another approach is to periodically update the equivalent factor in an adaptive manner. The prior art proposes an adaptive ECMS (A-ECMS) approach, in which the equivalent factor is updated based on past and future driving cycle information; it evaluates an indirect approach, that is, instead of estimating the equivalent factor directly, the upper and lower bounds of the equivalent factor are estimated based on the average efficiency values of the powertrain components without considering the specific driving cycle. Based on the driving power demand and the battery SOC usage, an approximate model for PMP is developed, and the co-state is estimated using an adaptive approach based on the approximate co-state value. There is also a real-time application of PMP based on an adaptive approach to update the co-state of a fuel cell hybrid vehicle, but its application is limited to urban buses with repetitive driving patterns. Compared to the proportional-integral (PI) controller and the iterative approach, the PI controller performs well and has similar performance to the iterative approach, but only when the optimal value of the initial equivalent factor is selected. Therefore, even in the case of these adaptive approaches, the problem of determining the initial equivalent factor still needs to be solved. Summary of the invention
[0005] In view of the problems raised by the above background technology, the purpose of the present invention is to provide a method and system for energy evaluation of hybrid vehicles in scenic areas.
[0006] In order to achieve the above technical objectives, the technical solution adopted by the present invention is as follows:
[0007] Energy evaluation method and system for hybrid vehicle in scenic area,Step 1: build a hybrid vehicle simulation model, set basic parameters of the simulated vehicle, and select a comparison algorithm;
[0008] Step 2: The energy evaluation method is based on two working conditions, namely FTP75 and FTP75-Highway;
[0009] Step 3: Read the driving data of the hybrid vehicle under two working conditions respectively through the simulation software;
[0010] Step 4: The comparison algorithm includes Rule-based control strategy, ECMS strategy and RL-ECMS strategy;
[0011] Step 5: The hybrid vehicle under the two working conditions is simulated to drive normally using the Rule-based control strategy, the ECMS strategy and the RL-ECMS strategy respectively;
[0012] Step 6: Compare the energy-saving effects of hybrid vehicles under two working conditions when executing different strategies;
[0013] Specifically, the hybrid vehicle simulation model in step 1 is built based on MATLAB / Simuklink, and the comparison algorithm is an equivalent fuel consumption minimum control strategy based on a PI controller. The method for adjusting the equivalent factor of the PI controller is as follows:
[0014] λ(t)=λ(0)+K p (soc target -soc(t))+K i ∫(soc target -soc(t))dt
[0015] Where λ(0) is the initial equivalent factor, K p , K i are the proportional coefficient and integral constant of the controller respectively; the operating condition data described in step three include cycle driving time, theoretical driving distance, average vehicle speed and maximum vehicle speed.
[0016] The ECMS, i.e., energy assessment method, is based on an equivalent consumption minimization strategy. In the charging and discharging of a hybrid electric vehicle, the equivalent fuel consumption can be associated with the use of electrical energy; and the future or past equivalent fuel consumption is Can be added to current actual fuel consumption Get the instantaneous equivalent fuel consumption The expression is as follows:
[0017]
[0018] The instantaneous fuel consumption of the engine is:
[0019]
[0020] Where Q lhv (MJ / kg) is the lower calorific value of fuel (energy content per unit mass), η eng (t) is the engine efficiency, P eng (t) is the power produced by the engine when operating at a certain efficiency;
[0021] It also includes the virtual fuel consumption generated when the motor is running, and the virtual fuel consumption generated when the motor is running is:
[0022]
[0023] Also includes virtual specific fuel consumption (SFC) eq (t) and the equivalent factor s(t), the virtual fuel consumption is obtained by using the virtual specific fuel consumption sfc eqThe virtual specific fuel consumption is evaluated by s(t)(g / kWh), which is proportional to the equivalent factor s(t), which is different when the battery is charged or discharged:
[0024]
[0025] The equivalent factor s(t) is a value vector, s(t)=[s chg (t),s dis (t)]; the equivalent factor s(t) serves to allocate the cost of electricity use and converts electricity into equivalent fuel consumption. The equivalent factor s(t) represents the efficiency chain of converting fuel into electrical energy.
[0026] Further defined, it also includes a penalty function p(SOC), wherein the penalty function p(SOC) makes the battery charge SOC within the allowable range, that is, SOC min ≤SOC≤SOC max , the expression of the penalty function p(SOC) is as follows:
[0027]
[0028] The penalty function p(SOC) is calculated as follows:
[0029]
[0030] Further, in the expression of the penalty function p(SOC), the value of a is an odd number such as 1, 3, 5, etc. If SOC is equal to the target value SOC target , then the penalty function p(SOC) is equal to 1.
[0031] Further limit, if SOC>SOC target When , p(SOC) < 1, which means that the cost of battery energy is low, making it easier to discharge when the SOC is higher than the reference value.
[0032] Further defined, if SOC <SOC target When p(SOC)>1, it means that the energy cost of the battery increases, making it less likely to discharge.
[0033] A scenic hybrid vehicle energy assessment system, the energy assessment system is based on a combined ECMS and RL algorithm, namely, an RL-ECMS algorithm, the RL-ECMS algorithm simultaneously trains two processing modules to achieve optimal allocation of hybrid vehicle energy, the processing modules are divided into a first processing module and a second processing module;
[0034] The energy evaluation system also includes a required power calculation module. The first processing module is used to read the battery charge soc(t) consumed per unit time of the hybrid vehicle and the power P output by the power calculation module. dem The first processing module calculates the equivalent fuel consumption and inputs the equivalent fuel consumption to the second processing module, and the required power calculation module outputs the speed v of the hybrid vehicle and the battery charge soc(t) consumed per unit time to the second processing module.
[0035] It is further defined that the RL can learn the control strategy in an adaptive manner without a model, and this learning control strategy is based on the Q-Learning algorithm, which is a method of solving reinforcement learning control problems using temporal differences.
[0036] Further defining, the Q-Learning algorithm uses an action-value function π, which can be defined as the sum of the immediate reward and the next moment value function:
[0037] Q π (s,a)=J π (s)=g(s,a)+γJ π (s')
[0038] Where g(s,a) is the action u executed at time k k The instantaneous cost after π (s') is the action value function at time k+1, γ represents the discount factor, s is the state variable, a is the action taken, and s' is the state at the next moment;
[0039] Specifically, the optimal cost function is defined as:
[0040]
[0041] The optimal control strategy is calculated as follows:
[0042]
[0043] The function value of the Q-Learning algorithm is expressed as:
[0044]
[0045] It is further defined that the instantaneous cost function expression of the first processing module is:
[0046]
[0047] in, is the fuel consumption mass change;
[0048]
[0049] Where C1, C2 are positive numbers, soc min is the minimum value of soc, the value output by the first processing module is the value of the equivalent factor, and its action value function expression is:
[0050]
[0051] It is further defined that the second processing module uses the equivalent fuel consumption as the instantaneous cost function in the learning process, and the instantaneous cost function expression is:
[0052] g2=P fuel (t)+λ(t)·P ech (t)
[0053] Then the action value function expression of the second processing module is:
[0054]
[0055] Its optimal action value function is:
[0056] J2*(s(t))=min{g2[s(t),a(t)]+γJ2*(s(t+1))}
[0057] The optimal execution action is:
[0058]
[0059] The state is s=[SOC,P dem ,v].
[0060] Beneficial effects of the present invention:
[0061] 1. The energy assessment method and system of hybrid vehicles in scenic areas in this scheme mainly focuses on the energy management strategy based on reinforcement learning, especially the application in hybrid buses. This scheme proposes the basic concept of adaptive equivalent fuel consumption minimum strategy (A-ECMS), which is a strategy aimed at optimizing the energy use of hybrid vehicles, improving fuel economy and reducing emissions. A-ECMS is based on the equivalent fuel consumption minimum strategy (ECMS), that is, by adjusting the energy flow of the vehicle in real time to minimize the equivalent fuel consumption, while considering the battery status and optimizing fuel use by adjusting the battery charging and discharging strategy.
[0062] 2. The equivalent fuel consumption minimization control strategy of this scheme includes the method for determining the ECMS equivalent factor and its application in different driving cycles. Since the value of the equivalent factor depends on the future driving cycle, predicting future driving cycle information is crucial to determining the equivalent factor. This scheme also explores adaptive ECMS methods that refresh the equivalent factor based on past and future driving cycle information, as well as ECMS based on adaptive feedback of battery SOC; this scheme uses reinforcement learning (RL) to allow the controller (agent) to learn the optimal control strategy through interaction with the environment. This scheme also uses the Q-Learning algorithm, which is a non-model-based reinforcement learning method that updates the strategy and value function through value iteration. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The present invention can be further illustrated by the non-limiting examples given in the accompanying drawings;
[0064] Figure 1 A schematic diagram of the structure of a reinforcement learning algorithm of an embodiment of a method and system for evaluating energy of a hybrid vehicle in a scenic area according to the present invention;
[0065] Figure 2 It is a RL-ECMS control strategy structure diagram of an energy assessment method and system embodiment of a scenic area hybrid vehicle of the present invention;
[0066] Figure 3 It is a schematic diagram of the FTP75 working condition of an embodiment of the energy assessment method and system for a hybrid vehicle in a scenic area of the present invention;
[0067] Figure 4 It is a schematic diagram of the FTP75 high-speed working condition of an embodiment of the energy assessment method and system for a scenic hybrid vehicle of the present invention;
[0068] Figure 5 It is a vehicle speed diagram of FTP75 working condition of an embodiment of a method and system for energy assessment of a hybrid vehicle in a scenic area of the present invention;
[0069] Figure 6 It is a soc graph of the battery of a hybrid vehicle in a scenic area under FTP75 working condition according to an embodiment of the method and system for energy assessment of the hybrid vehicle in a scenic area of the present invention;
[0070] Figure 7 It is the engine torque diagram of FTP75 condition of the energy assessment method and system embodiment of the scenic area hybrid vehicle of the present invention;
[0071] Figure 8 It is a motor torque diagram of the FTP75 working condition of the energy assessment method and system embodiment of the scenic area hybrid vehicle of the present invention;
[0072] Fig. 9It is a comparison chart of fuel consumption under FTP75 condition of an embodiment of the energy assessment method and system for hybrid vehicles in scenic areas of the present invention;
[0073] Fig.10 It is an FTP75 working condition equivalent factor diagram of the energy assessment method and system embodiment of a scenic area hybrid vehicle of the present invention;
[0074] Fig.11 It is a vehicle driving speed diagram of FTP75 high-speed working condition of an embodiment of the energy evaluation method and system for hybrid vehicles in scenic areas of the present invention;
[0075] Fig.12 It is a battery soc diagram of a vehicle in a FTP75 high-speed working condition according to an embodiment of a method and system for energy assessment of a hybrid vehicle in a scenic area of the present invention;
[0076] Fig.13 It is the engine torque diagram of FTP75 high-speed working condition of the energy evaluation method and system embodiment of the scenic area hybrid vehicle of the present invention;
[0077] Fig.14 It is a motor torque diagram of FTP75 high-speed working condition of an embodiment of a method and system for energy assessment of a scenic hybrid vehicle of the present invention;
[0078] Fig.15 It is a fuel consumption diagram of FTP75 high-speed working condition of an embodiment of the energy evaluation method and system for a scenic hybrid vehicle of the present invention;
[0079] Fig.16 It is an equivalent factor diagram of the FTP75 high-speed working condition of the energy evaluation method and system embodiment of the scenic area hybrid vehicle of the present invention;
[0080] The main component symbols are explained as follows: first processing module 1, second processing module 2. DETAILED DESCRIPTION
[0081] In order to enable those skilled in the art to better understand the present invention, the technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0082] The method and system for evaluating the energy of hybrid vehicles in scenic areas of the present invention include the following steps:
[0083] Step 1: Build a hybrid vehicle simulation model, set the basic parameters of the simulated vehicle, and select a comparison algorithm;
[0084] Step 2: The energy evaluation method is based on two working conditions, namely FTP75 and FTP75-Highway;
[0085] Step 3: Read the driving data of the hybrid vehicle under two working conditions respectively through the simulation software;
[0086] Step 4: The comparison algorithm includes Rule-based control strategy, ECMS strategy and RL-ECMS strategy;
[0087] Step 5: The hybrid vehicle under the two working conditions is simulated to drive normally using the Rule-based control strategy, the ECMS strategy and the RL-ECMS strategy respectively;
[0088] Step 6: Compare the energy-saving effects of hybrid vehicles under two working conditions when executing different strategies;
[0089] Specifically, the hybrid vehicle simulation model in step 1 is built based on MATLAB / Simuklink, and the comparison algorithm is an equivalent fuel consumption minimum control strategy based on a PI controller. The method for adjusting the equivalent factor of the PI controller is as follows:
[0090] λ(t)=λ(0)+K p (soc target -soc(t))+K i ∫(soc target -soc(t))dt
[0091] Where λ(0) is the initial equivalent factor, K p , K i are the proportional coefficient and integral constant of the controller respectively; the operating condition data described in step three include cycle driving time, theoretical driving distance, average vehicle speed and maximum vehicle speed.
[0092] The ECMS, i.e., energy assessment method, is based on an equivalent consumption minimization strategy (the algorithm uses only parameters based on the actual energy flow of the power system at each instant to solve the instantaneous equivalent fuel minimization. The Pontryagin minimum principle condition in the field of hybrid vehicle energy management is essentially equivalent to the ECMS method). In the charging and discharging of the hybrid vehicle, the equivalent fuel consumption can be associated with the use of electrical energy; it also includes the future or past equivalent fuel consumption of Can be added to current actual fuel consumption Get the instantaneous equivalent fuel consumption The expression is as follows:
[0093]
[0094] The instantaneous fuel consumption of the engine is:
[0095]
[0096] Where Q lhv (MJ / kg) is the lower calorific value of fuel (energy content per unit mass), ηeng (t) is the engine efficiency, P eng (t) is the power produced by the engine when operating at a certain efficiency;
[0097] It also includes the virtual fuel consumption generated when the motor is running, and the virtual fuel consumption generated when the motor is running is:
[0098]
[0099] Also includes virtual specific fuel consumption (SFC) eq (t) and the equivalent factor s(t), the virtual fuel consumption is obtained by using the virtual specific fuel consumption sfc eq The virtual specific fuel consumption is evaluated by s(t)(g / kWh), which is proportional to the equivalent factor s(t), which is different when the battery is charged or discharged:
[0100]
[0101] The equivalent factor s(t) is a value vector, s(t)=[s chg (t),s dis (t)]; the equivalent factor s(t) serves to allocate the cost of electricity use and converts electricity into equivalent fuel consumption. The equivalent factor s(t) represents the efficiency chain of converting fuel into electrical energy.
[0102] Preferably, a penalty function p(SOC) is further included, wherein the penalty function p(SOC) causes the battery charge SOC to be within the allowed range.
[0103] Range, i.e. SOC min ≤SOC≤SOC max , the expression of the penalty function p(SOC) is as follows:
[0104]
[0105] The penalty function p(SOC) is calculated as follows:
[0106]
[0107] Preferably, in the expression of the penalty function p(SOC), the value of a is an odd number such as 1, 3, 5, etc. If SOC is equal to the target value SOC target , then the penalty function p(SOC) is equal to 1, but its value will vary (higher or lower) to appropriately compensate for the deviation from SOCtarget; Figure 1 The relationship between the multiplicative penalty function used in the instantaneous equivalent cost and a for different values of a.
[0108] Preferably, if SOC>SOCtarget When , p(SOC) < 1, which means that the cost of battery energy is low, making it easier to discharge when the SOC is higher than the reference value.
[0109] Preferably, if SOC <SOC target When p(SOC)>1, it means that the energy cost of the battery increases, making it less likely to discharge.
[0110] Specifically, the idea of the ECMS algorithm is derived from engineering intuition. The equivalent fuel consumption can be analytically derived using the Pontryagin minimum principle. The Hamiltonian function can be expressed as formula (3.7):
[0111] H=P fuel (t)+λ(t)·P ech (t)(3.7)
[0112] If (4.1) is rewritten in ECMS in terms of power, all terms are multiplied by Q lhv , then the instantaneous cost becomes:
[0113] P eqv (t) = P fuel (t)+s(t)·P batt (t)(3.8)
[0114] Comparing equations (3.7) and (3.8), it is shown that the Hamiltonian of the optimization problem can be regarded as equivalent fuel consumption, or equivalent fuel power, where λ(t) is the weighting factor for converting battery power to fuel power.
[0115] In addition, due to the sensitivity of ECMS to the equivalence factor (EF) S(t) and the inability of fixed EF to adapt to complex real driving conditions, the prior art proposes an EF-based adaptive ECMS (A-ECMS). According to the form of the adjustment algorithm, A-ECMS can be basically divided into three categories: A-ECMS based on driving condition prediction, A-ECMS based on driving mode recognition, and A-ECMS based on SOC. A-ECMS was first proposed by Musardo. The EF adjustment algorithm is based on driving state prediction and introduces a new speed prediction method using a chain neural network, which is then used for EF adaptation. Some typical driving modes are derived based on a large amount of historical driving data, and then the optimal EF for each typical driving mode is calculated. Under actual driving conditions, EF is periodically identified by past driving data as the typical driving mode is adjusted. There are also literatures that adjust EF according to the deviation between the actual SOC and the reference SOC to keep the SOC near the reference value. However, the previous EF adaptive method based on SOC feedback has weak robustness in maintaining SOC under different driving conditions.
[0116] Therefore, this paper develops an energy management strategy based on a reinforcement learning (RL) method combined with a conventional ECMS. By combining RL with ECMS, the RL-ECMS method can determine the equivalent factor based on the interaction between the RL agent and the driving environment, and can determine the control strategy using a data-driven approach. This results in better SOC trajectories and stronger robustness as well as better fuel economy. The proposed method is applied to parallel hybrid electric vehicles, and the algorithm is tested through two typical driving conditions and compared with the reinforcement learning-based ECMS and the standard ECMS.
[0117] This scheme takes into account that RL is based on classical DP, which belongs to the existing technology. It can solve the optimal control problem of hybrid electric vehicles. RL can match the optimal control problem of hybrid electric vehicles well. However, unlike DP, in DP, exact knowledge about the system and environment is necessary (model-based), RL can learn control strategies in an adaptive manner without models (model-free). In this scheme, the Q-Learning algorithm is used. The Q-Learning algorithm is a method for solving reinforcement learning control problems using temporal differences, and the control problem can be expressed as: Given the five elements of reinforcement learning: state set S, action set A, immediate reward R, decay factor γ, exploration rate ∈, solve the optimal action value function q* and the optimal strategy π*.
[0118] Importantly, this type of reinforcement learning problem solving does not require a state transformation model of the environment, and is a non-model-based reinforcement learning problem solving method. Its control problem solving is similar to the Monte Carlo method, which is value iteration, that is, updating the strategy by updating the value function, generating new states and immediate rewards through the strategy, and then updating the value function. This process continues until both the value function and the strategy converge. The structural framework of reinforcement learning to solve control problems is shown in the attached figure. Figure 1 shown.
[0119] Secondly, the general process of the Q-Learning algorithm is shown in the following table:
[0120]
[0121] A scenic hybrid vehicle energy assessment system, the energy assessment system is based on a combined ECMS and RL algorithm, namely, an RL-ECMS algorithm, the RL-ECMS algorithm simultaneously trains two processing modules to achieve optimal allocation of hybrid vehicle energy, the processing modules are divided into a first processing module and a second processing module;
[0122] The energy evaluation system also includes a required power calculation module. The first processing module is used to read the battery charge soc(t) consumed per unit time of the hybrid vehicle and the power P output by the power calculation module. dem The first processing module calculates the equivalent fuel consumption and inputs the equivalent fuel consumption to the second processing module, and the required power calculation module outputs the speed v of the hybrid vehicle and the battery charge soc(t) consumed per unit time to the second processing module.
[0123] Preferably, the RL can learn a control strategy in an adaptive manner without a model, and this learning control strategy is based on a Q-Learning algorithm, which is a method for solving reinforcement learning control problems using temporal differences.
[0124] Preferably, the Q-Learning algorithm uses an action value function (ActionValue)π, which can be defined as the sum of the immediate reward and the next moment value function:
[0125] Q π (s,a)=J π (s)=g(s,a)+γJ π (s')
[0126] Where g(s,a) is the action u executed at time k k The instantaneous cost after π (s') is the action value function at time k+1, γ represents the discount factor, s is the state variable, a is the action taken, and s' is the state at the next moment;
[0127] Specifically, the optimal cost function is defined as:
[0128]
[0129] The optimal control strategy is calculated as follows:
[0130]
[0131] The function value of the Q-Learning algorithm is expressed as:
[0132]
[0133] Preferably, Figure 2 As shown in the RL-ECMS control strategy structure diagram, the instantaneous cost function expression of the first processing module 1 is:
[0134]
[0135] in, is the fuel consumption mass change;
[0136]
[0137] Where C1, C2 are positive numbers, soc min is the minimum value of soc, the value output by the first processing module 1 is the value of the equivalent factor, and its action value function expression is:
[0138]
[0139] Preferably, the second processing module 2 uses the equivalent fuel consumption as the instantaneous cost function in the learning process, and the instantaneous cost function expression is:
[0140] g2=P fuel (t)+λ(t)·P ech (t)
[0141] Then the action value function expression of the second processing module 2 is:
[0142]
[0143] Its optimal action value function is:
[0144] J2*(s(t))=min{g2[s(t),a(t)]+γJ2*(s(t+1))}
[0145] The optimal execution action is:
[0146]
[0147] The state is s=[SOC,P dem ,v].
[0148] This proposal studies energy management strategies based on reinforcement learning, especially for applications in hybrid buses. This proposal first introduces the basic concept of adaptive equivalent fuel consumption minimization strategy (A-ECMS), which is a strategy designed to optimize the energy use of hybrid vehicles, improve fuel economy and reduce emissions. A-ECMS is based on the equivalent fuel consumption minimization strategy (ECMS), which minimizes equivalent fuel consumption by adjusting the energy flow of the vehicle in real time, while taking into account the battery status and optimizing fuel use by adjusting the battery charging and discharging strategy. The value of the equivalence factor depends on the future driving cycle, so predicting future driving cycle information is crucial to determine the equivalence factor.
[0149] Subsequently, this proposal proposes a design of an algorithm for minimizing equivalent fuel consumption based on reinforcement learning. Reinforcement learning (RL) allows the controller (agent) to learn the optimal control strategy through interaction with the environment. In this proposal, the Q-Learning algorithm is used, which is a non-model-based reinforcement learning method that updates the strategy and value function through value iteration. This chapter describes in detail the working principle and process of the Q-Learning algorithm, and how to apply it to the energy management strategy of hybrid vehicles.
[0150] Embodiment 1:
[0151] Example 1 is based on a scenic hybrid vehicle simulation model to verify the effectiveness of the proposed control strategy;
[0152] Experimental environment and equipment parameters: The vehicle simulation model is built based on MATLAB / Simuklink. The RL-ECMS algorithm and the comparison algorithm are both developed based on S-function. The simulation environment is executed on the Windows operating system. The computer configuration is: Core(TM) i7-8700kCPU, main frequency 3.70GHz, memory 16GB.
[0153] In this embodiment 1, the comparison algorithm used is the equivalent fuel consumption minimum control strategy based on the PI controller and the rule-based control strategy. The method for adjusting the equivalent factor by the PI controller is formula (4.1):
[0154] λ(t)=λ(0)+K p (soc target -soc(t))+K i ∫(soc target -soc(t))dt(4.1)
[0155] Where λ(0) is the initial equivalent factor, K p , K i are the proportional coefficient and integral constant of the controller respectively.
[0156] The simulation experiment of Example 1 selected two typical basic working conditions: FTP75 and FTP75-Highway. The working condition data are as follows: Figure 3 , Figure 4 As shown in the figure. The FTP75 cycle driving time is 1874 seconds, and the theoretical driving distance is about 17.77 kilometers. The average vehicle speed is about 34.12km / h, and the maximum speed can reach about 91.25km / h. The FTP75 cycle is more complex and dynamic, and closer to actual driving conditions.
[0157] The FTP75-Highway condition simulates a vehicle driving at high speed for 576 seconds. The vehicle speed is relatively high, reflecting the driving characteristics of the highway. The speed curve will show a higher average speed and maximum speed, as well as relatively less idling and low-speed driving time. Compared with urban driving, the highway condition will have a longer steady-state driving phase, which means that the vehicle maintains a constant speed for a longer period of time at a certain speed. These two driving conditions can cover most of the vehicle's daily driving scenarios.
[0158] Secondly, the basic data of the simulated vehicle are shown in the following table. The PI controller parameters are set to 25 and 0.06 respectively, and compared with the non-adaptive ECMS strategy.
[0159] Basic parameters of simulated vehicles
[0160]
[0161]
[0162] The parameter values involved in executing the algorithm are shown in the following table:
[0163] Reinforcement learning algorithm parameter table
[0164]
[0165] The test results of FTP75 working condition are as follows Figures 5 to 10 shown.
[0166] By the attached Figure 5 It can be seen that all three algorithms can meet the performance requirements of normal vehicle driving, that is, they can all follow the given operating speed curve very well, which is the premise for the design of the control strategy.
[0167] From the attached Figure 6 It can be seen that the average value of the ECMS control strategy based on reinforcement learning is higher than that of the other two algorithms, indicating that more kinetic energy is recovered during the vehicle's driving process to charge the battery, effectively avoiding energy waste.
[0168] By the attached Figure 7 It can be seen that the engine torque of the RL-ECMS strategy is smaller than that of the other two working conditions during vehicle operation. This is because part of the actual torque demand of the vehicle is borne by the motor, which consumes the battery power and achieves fuel saving without losing the vehicle's dynamic performance.
[0169] From the attached Figure 8 A similar conclusion can be drawn. In the entire driving condition, the motor torque of the RL-ECMS strategy has more negative values. This is because the motor acts as a generator, converting excess engine kinetic energy or vehicle braking energy into electrical energy to avoid energy waste. This is also the key to HEV energy saving.
[0170] By the attached Fig. 9 It can be clearly seen that the RL-ECMS strategy has lower fuel consumption. In other words, the energy-saving potential of the algorithm is more obvious.
[0171] Fig.10 The equivalent factors of two different strategies are demonstrated. ECMS adopts a constant equivalent factor of 3.43, while RL-ECMS adopts an adaptive equivalent factor based on reinforcement learning. Through learning, it can adaptively adjust the value of the equivalent factor according to changes in the driving environment, such as soc value, vehicle speed, and vehicle required power. Therefore, it can achieve better energy-saving effects than a constant equivalent factor without losing the vehicle's power performance.
[0172] FTP75-Highway working conditions Figures 11 to 16 shown.
[0173] By the attached Fig.11 It can also be seen that all three algorithms can meet the performance requirements of normal vehicle driving, that is, they can all follow the given operating speed curve well, which is the premise of control strategy design.
[0174] By the attached Fig.12 It can be seen that the RL-ECMS strategy can still maintain a higher SOC value under high-speed conditions, indicating that the strategy can recover kinetic energy more effectively.
[0175] By the attached Fig.13 Follow Fig.14 A similar conclusion can be drawn to the FTP75 condition, that is, the actual torque required by the vehicle is provided by both the engine and the motor, and at the same time the engine has the opportunity to operate in its high-efficiency working area, thereby achieving fuel-saving effects.
[0176] By the attached Fig.15 It is obvious that RL-ECMS can also achieve lower fuel consumption per 100 kilometers under FTP75 high-speed conditions.
[0177] By the attached Fig.16 The equivalent factors of two different strategies are also shown. ECMS adopts a constant equivalent factor of 3.43, while RL-ECMS adopts an adaptive equivalent factor based on reinforcement learning. Through learning, the processing module can adaptively adjust the value of the equivalent factor according to changes in the driving environment, thereby achieving better energy-saving effects than a constant equivalent factor.
[0178] In summary, this embodiment mainly introduces the simulation experiment and result analysis of the adaptive equivalent fuel consumption minimum strategy (RL-ECMS) based on reinforcement learning. This embodiment adopts two typical driving conditions: FTP75 and FTP75-Highway, which simulate the conditions of urban driving and highway driving respectively. In the experiment, the RL-ECMS strategy was compared with the equivalent fuel consumption minimum control strategy based on the PI controller and the rule-based control strategy. The basic parameters of the simulated vehicle are listed in detail, including the vehicle mass, frontal area, tire rolling radius, air resistance coefficient, rolling resistance coefficient, and parameters of the engine, motor and battery. The parameter settings of the PI controller are used to adjust the equivalent factor to optimize fuel consumption.
[0179] The experimental results show that the RL-ECMS strategy can better recover kinetic energy under the FTP75 condition, maintain a higher battery SOC value, reduce the engine torque demand, and keep the motor torque more negative, indicating that the motor acts more as a generator during driving, converting excess energy into electrical energy, thereby improving fuel economy. Under the FTP75-Highway condition, the RL-ECMS strategy also performs well, effectively recovering kinetic energy and maintaining the SOC value. At the same time, the torque output of the engine and motor shows that the strategy can achieve fuel savings while maintaining the vehicle's power performance. By comparing the fuel consumption and equivalent factors under the two conditions, the experimental results show that the RL-ECMS strategy can achieve lower fuel consumption under different driving environments, and at the same time, by adaptively adjusting the value of the equivalent factor, it can achieve better energy-saving effects than a constant equivalent factor.
[0180] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed by the present invention should still be covered by the claims of the present invention.
Claims
1. A method for evaluating the energy of hybrid vehicles in scenic areas, characterized in that: The steps include: Step 1: Build a hybrid vehicle simulation model, set the basic parameters of the simulated vehicle, and select a comparison algorithm; Step 2: The energy evaluation method is based on two working conditions, namely FTP75 and FTP75-Highway; Step 3: Read the driving data of the hybrid vehicle under two working conditions respectively through the simulation software; Step 4: The comparison algorithm includes Rule-based control strategy, ECMS strategy and RL-ECMS strategy; Step 5: The hybrid vehicle under the two working conditions is simulated to drive normally using the Rule-based control strategy, the ECMS strategy and the RL-ECMS strategy respectively; Step 6: Compare the energy-saving effects of hybrid vehicles under two working conditions when executing different strategies; Specifically, the hybrid vehicle simulation model in step 1 is built based on MATLAB / Simuklink, and the comparison algorithm is an equivalent fuel consumption minimum control strategy based on a PI controller. The method for adjusting the equivalent factor of the PI controller is as follows: λ(t)=λ(0)+K p (soc. target -soc(t))+K i ∫(soc target -soc(t))dt Where λ(0) is the initial equivalent factor, K p , K i are the proportional coefficient and integral constant of the controller respectively; the operating condition data described in step three include cycle driving time, theoretical driving distance, average vehicle speed and maximum vehicle speed.
2. The method for evaluating the energy of hybrid vehicles in scenic areas according to claim 1, characterized in that: The ECMS, i.e., energy assessment method, is based on an equivalent consumption minimization strategy. In the charging and discharging of a hybrid electric vehicle, the equivalent fuel consumption can be associated with the use of electrical energy; and the future or past equivalent fuel consumption is Can be added to current actual fuel consumption Get the instantaneous equivalent fuel consumption The expression is as follows: The instantaneous fuel consumption of the engine is: Where Q lhv (MJ / kg) is the lower calorific value of fuel (energy content per unit mass), η eng (t) is the engine efficiency, P eng (t) is the power produced by the engine when operating at a certain efficiency; It also includes the virtual fuel consumption generated when the motor is running, and the virtual fuel consumption generated when the motor is running is: Also includes virtual specific fuel consumption (SFC) eq (t) and the equivalent factor s(t), the virtual fuel consumption is obtained by using the virtual specific fuel consumption sfc eq The virtual specific fuel consumption is evaluated by s(t)(g / kWh), which is proportional to the equivalent factor s(t), which is different when the battery is charged or discharged: The equivalent factor s(t) is a value vector, s(t)=[s chg (t),s dis (t)]; the equivalent factor s(t) serves to allocate the cost of electricity use and converts electricity into equivalent fuel consumption. The equivalent factor s(t) represents the efficiency chain of converting fuel into electrical energy. The penalty function p(SOC) is also included, and the penalty function p(SOC) makes the battery charge SOC within the allowed range, that is, SOC min ≤SOC≤SOC max , the expression of the penalty function p(SOC) is as follows: The penalty function p(SOC) is calculated as follows:
3. The method for evaluating the energy of hybrid vehicles in scenic areas according to claim 2, characterized in that: In the expression of penalty function p(SOC), the value of a is an odd number such as 1, 3, 5, etc. If SOC is equal to the target value SOC target , then the penalty function p(SOC) is equal to 1.
4. The method for evaluating the energy of hybrid vehicles in scenic areas according to claim 2, characterized in that: If SOC>SOC target When , p(SOC)<1.
5. The method for evaluating the energy of hybrid vehicles in scenic areas according to claim 2, characterized in that: If SOC <SOC target When p(SOC)>1.
6. A scenic hybrid vehicle energy assessment system, characterized by: The energy assessment system is based on a combined ECMS and RL algorithm, namely an RL-ECMS algorithm, wherein the RL-ECMS algorithm simultaneously trains two processing modules to achieve optimal allocation of energy for a hybrid vehicle, wherein the processing modules are divided into a first processing module (1) and a second processing module (2); The energy evaluation system further comprises a required power calculation module. The first processing module (1) is used to read the battery charge soc(t) consumed per unit time of the hybrid vehicle and the power P output by the power calculation module. dem The first processing module (1) calculates the equivalent fuel consumption and inputs the equivalent fuel consumption to the second processing module (2), and the required power calculation module outputs the speed v of the hybrid vehicle and the battery charge soc(t) consumed per unit time to the second processing module (2).
7. The scenic area hybrid vehicle energy assessment system according to claim 6, characterized in that: The RL can learn control strategies in an adaptive manner without a model. This learning control strategy is based on the Q-Learning algorithm, which is a method for solving reinforcement learning control problems using temporal differences.
8. The scenic area hybrid vehicle energy assessment system according to claim 7, characterized in that: The Q-Learning algorithm uses the action-value function π, which can be defined as the sum of the immediate reward and the next moment value function: Q π (s,a)=J π (s)=g(s,a)+γJ π (s') Where g(s,a) is the action u executed at time k k The instantaneous cost after π (s') is the action value function at time k+1, γ represents the discount factor, s is the state variable, a is the action taken, and s' is the state at the next moment; Specifically, the optimal cost function is defined as: The optimal control strategy is calculated as follows: The function value of the Q-Learning algorithm is expressed as:
9. The scenic area hybrid vehicle energy assessment system according to claim 6, characterized in that: The instantaneous cost function expression of the first processing module (1) is: in, is the fuel consumption mass change; Where C1, C2 are positive numbers, soc min is the minimum value of soc, the value output by the first processing module (1) is the value of the equivalent factor, and its action value function expression is:
10. The scenic area hybrid vehicle energy assessment system according to claim 6, characterized in that: The second processing module (2) uses the equivalent fuel consumption as the instantaneous cost function in the learning process, and the instantaneous cost function expression is: g2=P fuel (t)+λ(t)·P ech (t) Then the action value function expression of the second processing module (2) is: Its optimal action value function is: J2*(s(t))=min{g2[s(t),a(t)]+γJ2*(s(t+1))} The optimal execution action is: The state is s=[SOC,P dem ,v].
Citation Information
Cited By
Vehicle energy management method, storage medium and vehicle
CN119773723A
A vehicle energy management method, storage medium and vehicle
CN119773723B
Test method for predicting energy-saving effect of energy management of automobile
CN119880459A
