A fuel cell vehicle energy management method based on deep reinforcement learning

Through the D3QN algorithm and Dueling mechanism based on deep reinforcement learning, the problem of unreasonable energy distribution in fuel cell vehicle energy management is solved, power following and power source aging are delayed, and the economy and adaptability of energy management are improved.

CN118386949BActive Publication Date: 2024-09-06UNIV OF SCI & TECH BEIJING
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410842373.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-06
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Existing fuel cell vehicle energy management methods cannot effectively coordinate multiple energy sources under complex road conditions, resulting in irrational energy distribution and affecting economy and power source aging.

Method used

Using a method based on deep reinforcement learning, the Double Deep Q-network algorithm (D3QN) is combined with the Dueling mechanism to construct a vehicle energy management framework, consider the power following effect, solve the multi-objective control problem, and realize the energy management of fuel cell vehicles.

Benefits of technology

While ensuring power following, it reduces hydrogen consumption, delays the aging of the fuel cell, and provides a more economical and adaptable energy management strategy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118386949B
    Figure CN118386949B
Patent Text Reader

Abstract

The present invention discloses a fuel cell vehicle energy management method based on deep reinforcement learning, which belongs to the technical field of fuel cell vehicle energy management, and includes the following steps: based on the driving power of the fuel cell vehicle, constructing a system model for the energy source management of the whole vehicle of the fuel cell vehicle; based on the Double Deep Q‑network algorithm, by introducing the Dueling mechanism, constructing the D3QN algorithm; based on the system model, by using the D3QN algorithm, under the premise of considering the power following effect, building a whole vehicle energy management framework, and realizing the energy management of the fuel cell vehicle by solving multi-objective control problems including delaying the attenuation of the power source. The present invention reduces the hydrogen consumption while ensuring power following, delays the aging degree of the fuel cell, and provides a new idea for the energy management of fuel cell vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fuel cell vehicle energy management, and in particular to a fuel cell vehicle energy management method based on deep reinforcement learning. Background Art

[0002] With the development of society, human society's demand for energy continues to increase. Hydrogen energy, as an ideal zero-pollution energy source, can well meet energy demand, so countries around the world are vigorously developing the hydrogen energy industry. As a representative product of the hydrogen energy industry, proton exchange membrane fuel cells (PEMFC) have the advantages of high efficiency, low noise, and easy preparation of raw materials. They are considered to be very promising hydrogen energy products. Hydrogen fuel cell vehicles (FCVs) play an important role in the application of hydrogen energy transportation.

[0003] Since fuel cells cannot store energy, they need to be used in conjunction with other auxiliary power sources in FCVs. FCVs have become electric-electric hybrid systems, so good energy management methods are needed to coordinate the output of energy from multiple energy sources. Currently, the energy management methods for hybrid systems are mainly divided into three types: rule-based, optimization-based, and learning-based. Rule-based methods have strong autonomy and cannot meet complex road conditions; optimization-based energy management methods have large computational complexity and poor real-time performance; in view of this, more and more scholars and manufacturers are combining reinforcement learning algorithms in artificial intelligence technology with FCV energy management strategies to form learning-based methods, which have the characteristics of good real-time effects and strong adaptability.

[0004] At present, most of the FCV energy management methods based on learning only consider fuel consumption and fuel cell aging, while ignoring the role of fuel cells as the primary energy source, resulting in unreasonable energy distribution and a decline in overall economy. Therefore, a new energy management method is needed to meet the economic and multi-energy source aging requirements while adapting to the output characteristics of the primary energy source in FCV. Summary of the invention

[0005] In order to solve the above problems, the purpose of the present invention is to provide a new fuel cell vehicle energy management technology to solve at least one technical problem existing in the background technology and provide a new idea for the energy management of fuel cell vehicles.

[0006] In order to achieve the above technical objectives, the present application provides a fuel cell vehicle energy management method based on deep reinforcement learning, comprising the following steps:

[0007] Based on the driving power of fuel cell vehicles, a system model for fuel cell vehicle energy source management is constructed;

[0008] Based on the Double Deep Q-network algorithm, the D3QN algorithm is constructed by introducing the Dueling mechanism;

[0009] Based on the system model, through the D3QN algorithm, under the premise of considering the power following effect, the energy management framework of the whole vehicle is established. By solving multi-objective control problems including delaying the attenuation of the power source, the energy management of fuel cell vehicles is realized.

[0010] Preferably, in the process of obtaining the driving power of a fuel cell vehicle, the driving power is obtained based on the vehicle status and environmental factors of the fuel cell vehicle, wherein the vehicle status information includes: the vehicle's total mass, mass coefficient, rolling resistance coefficient and vehicle speed; the environmental factors include: local gravity acceleration, air density, drag coefficient, vehicle forward windward area and road slope.

[0011] Preferably, in the process of obtaining the driving power, the driving power is expressed as:

[0012]

[0013] In the formula, is the vehicle driving power, , , is the total mass, mass coefficient, and rolling resistance coefficient of the vehicle, , , , is the local gravity acceleration, air density, drag coefficient, and vehicle frontal area. , , It is vehicle speed, road slope and running time.

[0014] Preferably, in the process of constructing a system model for fuel cell vehicle whole vehicle energy source management, the system model is constructed by building an energy balance model, a fuel cell hydrogen consumption rate model and a lithium-ion battery auxiliary energy model, wherein the energy balance model is constructed based on the output power of the lithium-ion battery and the fuel cell system, and the efficiency of the DC-DC, the drive motor and the drive shaft; the fuel cell hydrogen consumption rate model is constructed based on the hydrogen calorific value and the efficiency of the fuel cell system; the lithium-ion battery auxiliary energy model is constructed based on the open-circuit voltage, current, internal resistance value of the lithium-ion battery, the charge state of the lithium-ion battery at the current moment, the charge state at the previous moment, and the charge capacity of the lithium-ion battery.

[0015] Preferably, in the process of constructing the energy balance model, the energy balance model is expressed as:

[0016]

[0017] In the formula, , Output power for lithium-ion batteries and fuel cell systems, , , It is the efficiency of DC-DC, drive motor and drive shaft.

[0018] Preferably, in the process of constructing the fuel cell hydrogen consumption rate model, the fuel cell hydrogen consumption rate model is expressed as:

[0019]

[0020] In the formula, , , It is the fuel cell hydrogen consumption rate, hydrogen calorific value, and efficiency of the fuel cell system.

[0021] Preferably, in the process of constructing the lithium-ion battery auxiliary energy model, the lithium-ion battery auxiliary energy model is expressed as:

[0022]

[0023] In the formula, , , is the open circuit voltage, current, and internal resistance of the lithium-ion battery. , is the current state of charge of the lithium-ion battery and the state of charge at the previous moment, is the charge capacity of the lithium-ion battery.

[0024] Preferably, in the process of constructing the D3QN algorithm, the Dueling mechanism is introduced on the basis of the DDQN algorithm, the Q network is split into a value function and an advantage function, and the loss function of the neural network is back-propagated, and the parameters of the neural network are updated using the gradient descent method, thereby constructing the D3QN algorithm.

[0025] Preferably, in the process of building the vehicle energy management framework, a set of states and actions of the fuel cell vehicle at a certain moment is set, and a power source attenuation model is built based on the vehicle driving power and fuel cell system output power, vehicle speed and the current state of charge of the lithium-ion battery.

[0026] Based on the power source attenuation model, a power following framework is constructed according to the selected action and the vehicle driving power. Real-time rewards are obtained with the actual state and reward function module, and then the energy management framework of the whole vehicle is built.

[0027] Preferably, in the process of energy management of fuel cell vehicles, one or more road conditions are used to train the energy management framework. After reaching the convergence state, it is verified using other untrained road conditions to solve the multi-objective control problem including the power following effect of the fuel cell system, fuel consumption rate and degree of aging of the power source, so as to realize the power distribution of the whole vehicle.

[0028] The present invention also discloses a fuel cell vehicle energy management system based on a deep reinforcement learning algorithm to implement the above-mentioned fuel cell vehicle energy management method, including:

[0029] Model building module, used to build a system model for fuel cell vehicle energy source management based on the driving power of fuel cell vehicles;

[0030] Algorithm building module, used to build D3QN algorithm based on Double Deep Q-network algorithm by introducing Dueling mechanism;

[0031] The energy management module is used to build a vehicle energy management framework based on the system model and the D3QN algorithm, taking into account the power following effect. It realizes the energy management of fuel cell vehicles by solving multi-objective control problems including delaying the attenuation of the power source.

[0032] The present invention discloses the following technical effects:

[0033] The energy management strategy proposed in the present invention reduces hydrogen consumption while ensuring power following, delays the aging of the fuel cell, and provides a new idea for energy management of fuel cell vehicles. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 It is a schematic diagram of the method flow of the present invention;

[0036] Figure 2 It is a structural topological diagram of the fuel cell vehicle power system of the present invention;

[0037] Figure 3 It is a schematic diagram of introducing Dueling mechanism into the neural network of the present invention;

[0038] Figure 4It is a schematic diagram of the framework of the energy management method based on the D3QN algorithm described in the present invention. DETAILED DESCRIPTION

[0039] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0040] like Figure 1-4 As shown, the present invention provides a fuel cell vehicle energy management method based on deep reinforcement learning. Based on the use of the deep Double-Q network algorithm, the present invention introduces the Dueling mechanism to form the D3QN algorithm, and at the same time builds a reward and punishment module for the follow-up effect of the fuel cell system output power on the demand power in the reward function. The energy management strategy proposed by the present invention reduces the hydrogen consumption while ensuring power following, delays the aging of the fuel cell, and provides a new idea for the energy management of fuel cell vehicles.

[0041] Specifically, the present invention discloses a fuel cell vehicle energy management method based on deep reinforcement learning and considering power following, the method comprising the following steps:

[0042] S1: Obtain the vehicle status and environmental factors of the fuel cell vehicle and calculate the driving power;

[0043] S2: Construct a fuel cell vehicle energy source management system model;

[0044] S3: Based on the Double Deep Q-network algorithm, the Dueling mechanism is introduced to construct the D3QN algorithm;

[0045] S4: Build a vehicle energy management framework that matches the D3QN algorithm and takes into account the power following effect, and solve multi-objective control problems including delaying power source attenuation under this framework to obtain the final power optimization allocation result.

[0046] In step S1 of the present invention, the fuel cell vehicle status and environmental factors are:

[0047] Vehicle status information, including: vehicle's total mass, mass coefficient, rolling resistance coefficient and vehicle speed;

[0048] Environmental factors include: local gravity, air density, drag coefficient, vehicle forward windward area and road slope.

[0049] The vehicle driving power model is established according to the vehicle longitudinal dynamics, as shown in formula (1):

[0050] (1)

[0051] in, is the vehicle driving power, , , is the total mass, mass coefficient, and rolling resistance coefficient of the vehicle, , , , is the local gravity acceleration, air density, drag coefficient, and vehicle frontal area. , , It is vehicle speed, road slope and running time.

[0052] In step S2 mentioned in the present invention, a fuel cell vehicle energy source management system model is constructed, which specifically includes the following steps:

[0053] S21: Build an energy balance model;

[0054] S22: Build a fuel cell hydrogen consumption rate model;

[0055] S23: Build a lithium-ion battery auxiliary energy model.

[0056] In step S21 mentioned in the present invention, an energy balance model is constructed, as shown in formula (2):

[0057] (2)

[0058] in, , Output power for lithium-ion batteries and fuel cell systems, , , It is the efficiency of DC-DC, drive motor and drive shaft.

[0059] In step S22 of the present invention, a fuel cell hydrogen consumption rate model is constructed, as shown in formula (3):

[0060] (3)

[0061] in, , , It is the fuel cell hydrogen consumption rate, hydrogen calorific value, and efficiency of the fuel cell system.

[0062] In step S23 of the present invention, a lithium-ion battery auxiliary energy model is constructed, as shown in formula (4):

[0063] (4)

[0064] in, , , is the open circuit voltage, current, and internal resistance of the lithium-ion battery. , is the current state of charge of the lithium-ion battery and the state of charge at the previous moment, is the charge capacity of the lithium-ion battery.

[0065] The step S3 mentioned in the present invention specifically includes the following steps:

[0066] S31: In deep reinforcement learning algorithms, agents use - The strategy of the "greedy algorithm" determines whether to "explore" or "utilize" the action. Among them, "exploration" is to randomly select an action, and "utilization" is to select an action based on learning experience. In the initial operation of the algorithm, the "exploration" rate is high. As time goes by, the "exploration" action gradually decreases, and the agent turns to more "utilization" actions;

[0067] S32: Based on the DDQN algorithm, the Dueling mechanism is introduced to split the Q network into a value function and an advantage function, which reduces the "overestimation" and improves the stability of the algorithm. A certain number of experience samples are randomly selected from the sample pool and trained in the neural network, as shown in formula (5):

[0068] (5)

[0069] in, , , is the Q network, value function, advantage function, , For state, action, , , are the parameters of the neural network;

[0070] S33: The loss function in the neural network is back-propagated, and the loss function is the mean square error (MSE). Then the parameters of the neural network are updated using the gradient descent method, as shown in formula (6):

[0071] (6)

[0072] in, , is the loss function and expected value, is the target network Q value in DDQN, , , is Q network, state, action, are the parameters of the neural network.

[0073] The step S4 mentioned in the present invention specifically includes the following steps:

[0074] S41: Set the state at a certain moment ,action , where S and A are the sets of states and actions at all times, , is the vehicle driving power, the fuel cell system output power, is the vehicle speed, is the current state of charge of the lithium-ion battery;

[0075] S42: Build a power source attenuation model. The fuel cell attenuation model is shown in formula (7), and the lithium-ion battery attenuation model is shown in formula (8):

[0076] (7)

[0077] Among them, Lfc and Kp are the attenuation degree and error coefficient of the fuel cell, k1 and t1 are the attenuation rate and time when the output power of the fuel cell is less than 5% of the peak power, k2 and t2 are the attenuation rate and time when the output power of the fuel cell is higher than 10% of the peak power, k3 and n1 are the attenuation rate and number of times when the instantaneous power change rate of the fuel cell is higher than 10% of the peak power, k4 and n2 are the attenuation rate and number of times when the fuel cell is started or shut down, is the static decay rate of the fuel cell.

[0078] (8)

[0079] in, is the degree of lithium-ion battery attenuation, , is a constant, , is the attenuation capacity and maximum capacity of lithium-ion batteries, , is the current state of charge and current of the lithium-ion battery, , , , It is the universal gas constant, real-time temperature, ampere-hour flux, and decay exponent.

[0080] S43: Construct a power following framework based on the action selected by the agent and the driving power of the car, as shown in formula (9):

[0081] (9)

[0082] in, Piecewise function for power following effect.

[0083] S44: After the agent selects the corresponding action, it obtains real-time rewards based on the actual state and reward function module, as shown in formula (10):

[0084] (10)

[0085] in, , is the reward function and weight coefficient, , is the fuel cell hydrogen consumption rate and attenuation degree, , is the current state of charge and attenuation of the lithium-ion battery. It is a piecewise function for the power following effect;

[0086] S45: The agent selects the corresponding action and transitions to the state at the next moment after receiving the real-time reward , and the experience sample Stored in the sample pool, the earliest experience is removed when a certain number of samples are reached in the sample pool.

[0087] The present invention uses one or more road conditions to train the energy management framework. After reaching the convergence state, it uses other untrained road conditions for verification to solve the multi-objective control problem including the power following effect of the fuel cell system, the fuel consumption rate and the aging degree of the power source, and realizes the power distribution of the whole vehicle.

[0088] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0089] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0090] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A fuel cell vehicle energy management method based on deep reinforcement learning, It is characterized in that The following steps are involved: Based on the driving power of fuel cell vehicles, a system model for fuel cell vehicle energy source management is constructed; Based on the Double Deep Q-network algorithm, the D3QN algorithm is constructed by introducing the Dueling mechanism; Based on the system model, through the D3QN algorithm, under the premise of considering the power following effect, a vehicle energy management framework is built, and energy management of fuel cell vehicles is achieved by solving multi-objective control problems including delaying power source attenuation; In the process of constructing a system model for fuel cell vehicle whole vehicle energy source management, the system model is constructed by constructing an energy balance model, a fuel cell hydrogen consumption rate model and a lithium-ion battery auxiliary energy model, wherein the energy balance model is constructed according to the output power of the lithium-ion battery and the fuel cell system, and the efficiency of the DC-DC, the drive motor and the drive shaft; the fuel cell hydrogen consumption rate model is constructed according to the hydrogen calorific value and the efficiency of the fuel cell system; the lithium-ion battery auxiliary energy model is constructed according to the open circuit voltage, current, internal resistance value of the lithium-ion battery, the charge state of the lithium-ion battery at the current moment, the charge state at the previous moment, and the charge capacity of the lithium-ion battery; In the process of constructing the energy balance model, the energy balance model is expressed as: In the formula, , Output power for lithium-ion batteries and fuel cell systems, , , The efficiency of DC-DC, drive motor and drive shaft; In the process of constructing the fuel cell hydrogen consumption rate model, the fuel cell hydrogen consumption rate model is expressed as: In the formula, , , The fuel cell hydrogen consumption rate, hydrogen calorific value, and fuel cell system efficiency; In the process of constructing the lithium-ion battery auxiliary energy model, the lithium-ion battery auxiliary energy model is expressed as: In the formula, , , is the open circuit voltage, current, and internal resistance of the lithium-ion battery. , is the current state of charge of the lithium-ion battery and the state of charge at the previous moment, is the charge capacity of the lithium-ion battery; In the process of building the whole vehicle energy management framework, a set of states and actions of the fuel cell vehicle at a certain moment is set, and a power source attenuation model is built according to the vehicle driving power and the output power of the fuel cell system, the vehicle speed and the charge state of the lithium-ion battery at the current moment; Based on the power source attenuation model, a power following framework is constructed according to the selected action and the vehicle driving power, and real-time rewards are obtained with the actual state and reward function module, thereby building a vehicle energy management framework; The power source attenuation model includes a fuel cell attenuation model and a lithium-ion battery attenuation model, wherein the fuel cell attenuation model is expressed as: Among them, L fc , K p is the fuel cell attenuation degree and error coefficient, k 1 ,t 1 is the decay rate and time when the fuel cell output power is less than 5% of the peak power, k 2 ,t 2 is the decay rate and time when the fuel cell output power is higher than 10% of the peak power, k 3 、n 1 is the decay rate and number of times when the instantaneous power change rate of the fuel cell is higher than 10% of the peak power, k 4 、n 2 is the decay rate and number of times when the fuel cell is started or shut down, is the static decay rate of the fuel cell; The lithium-ion battery degradation model is expressed as: in, is the degree of lithium-ion battery attenuation, , is a constant, , is the attenuation capacity and maximum capacity of lithium-ion batteries, , is the current state of charge and current of the lithium-ion battery, , , , It is the universal gas constant, real-time temperature, ampere-hour flux, and decay index; The power following framework is constructed with the selected action and the vehicle driving power, which is expressed as: in, It is a piecewise function for the power following effect; After selecting the corresponding action, the real-time reward is obtained using the actual state and reward function module: in, , is the reward function and weight coefficient, , is the fuel cell hydrogen consumption rate and attenuation degree, , is the current state of charge and attenuation of the lithium-ion battery. It is a piecewise function for the power following effect; By selecting the corresponding action, you can obtain the real-time reward and then transition to the state at the next moment. , and the experience sample Stored in the sample pool, the earliest experience is removed when a certain number of samples are reached in the sample pool.

2. According to claim 1, a fuel cell vehicle energy management method based on deep reinforcement learning, Features: In the process of obtaining the driving power of a fuel cell vehicle, the driving power is obtained according to the vehicle status and environmental factors of the fuel cell vehicle, wherein the vehicle status information includes: the total mass, mass coefficient, rolling resistance coefficient and vehicle speed of the vehicle; the environmental factors include: local gravity acceleration, air density, resistance coefficient, vehicle forward windward area and road slope.

3. According to the fuel cell vehicle energy management method based on deep reinforcement learning as described in claim 2, Features: In the process of obtaining the driving power, the driving power is expressed as: In the formula, is the vehicle driving power, , , is the total mass, mass coefficient, and rolling resistance coefficient of the vehicle, , , , is the local gravity acceleration, air density, drag coefficient, and vehicle frontal area. , , It is vehicle speed, road slope and running time.

4. According to the fuel cell vehicle energy management method based on deep reinforcement learning as claimed in claim 1, Features: In the process of constructing the D3QN algorithm, the Dueling mechanism is introduced on the basis of the DDQN algorithm, the Q network is split into a value function and an advantage function, and the loss function of the neural network is back-propagated. At the same time, the parameters of the neural network are updated using the gradient descent method, thereby constructing the D3QN algorithm.

5. According to the fuel cell vehicle energy management method based on deep reinforcement learning as claimed in claim 1, Features: In the process of energy management of fuel cell vehicles, the energy management framework is trained using one or more road conditions. After reaching convergence, it is verified using other untrained road conditions to solve multi-objective control problems including the power following effect of the fuel cell system, fuel consumption rate, and power source aging degree, and realize vehicle power distribution.

Citation Information

Cited By

  • Fuel cell automobile energy management method based on working condition identification and noise network exploration reinforcement learning

    CN120270120A