Topological structure and energy distribution method of extended-range hydrogen fuel cell hybrid electric vehicle
By introducing a topology of hydrogen fuel cells, lithium batteries, and supercapacitors into range-extended hydrogen fuel cell hybrid electric vehicles, and combining it with a deterministic policy gradient algorithm, the real-time and local optimum problems of energy management are solved, achieving efficient energy distribution and stable operation of the fuel cell system.
Patent Information
- Application Number
- CN202211251148.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-13
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-10-13
AI Technical Summary
Existing energy management algorithms for range-extended fuel cell hybrid electric vehicles suffer from poor real-time performance and are prone to getting trapped in local optima. Furthermore, traditional rule-based algorithms require extensive expertise, leading to system complexity and low energy allocation efficiency.
The system adopts a range-extended hydrogen fuel cell hybrid electric vehicle topology, including a hydrogen fuel cell, a lithium battery, and a supercapacitor. It is connected to a DC bus via unidirectional and bidirectional DC-DC converters, and optimizes energy distribution by combining an algorithm model based on deterministic policy gradients and an agent training method.
It achieves efficient energy management under different driving conditions, improves the lifespan of lithium batteries and the efficiency of fuel cell systems, reduces operating costs, and meets the needs of short-distance and long-distance driving.
Smart Images

Figure CN115610246B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of extended-range fuel cell vehicles, and in particular to a topological structure and an energy distribution method of an extended-range hydrogen fuel cell hybrid vehicle. Background Art
[0002] The large amount of polluting gases emitted by traditional fuel vehicles has exacerbated global warming. These hazards have promoted the scientific community to transform to sustainable energy. At present, the popularity of electric vehicles and the gradual implementation of hydrogen fuel cell vehicles have provided a promising solution to the increasingly serious global greenhouse effect. Extended-range fuel cell hybrid vehicles can overcome the shortcomings of traditional oil vehicles emitting large amounts of polluting gases, the shortcomings of pure electric vehicles with concerns about mileage, and the shortcomings of pure fuel cell vehicles with insufficient power. Therefore, the topological structure and working mode of extended-range fuel cell hybrid vehicles are crucial to both enterprises and users.
[0003] Fuel cell hybrid vehicles are more capable of meeting energy and power requirements due to multiple energy sources, but this also directly leads to a more complex system, so an efficient and powerful energy distribution method is needed to distribute energy to the vehicle. At present, for hybrid vehicle energy management algorithms, rule-based and optimization-based algorithms require rich professional knowledge and engineering knowledge to formulate the former, while the latter has poor real-time performance and is prone to falling into the dilemma of local optimality. Summary of the invention
[0004] The purpose of the present invention is to provide a topological structure and energy distribution method for a range-extended hydrogen fuel cell hybrid electric vehicle. The present invention can solve the concerns about short-distance driving power and long-distance mileage of new energy vehicles. In addition, the present invention can also improve the efficiency of the training strategy network and improve the fuel economy of the vehicle.
[0005] The technical solution of the present invention is as follows: a topological structure of an extended-range hydrogen fuel cell hybrid electric vehicle, comprising a hydrogen fuel cell, a lithium battery and a super capacitor; the hydrogen fuel cell is connected to a DC bus via a unidirectional DC-DC converter, the lithium battery is connected to the DC bus via a bidirectional DC-DC converter, and the super capacitor is connected to the DC bus as an auxiliary energy source via a bidirectional DC-DC converter.
[0006] The energy distribution method of the above-mentioned extended-range hydrogen fuel cell hybrid electric vehicle topology structure comprises the following steps:
[0007] Step 1, determine the working mode, the working mode includes pure electric mode and extended range mode, the pure electric mode is when the SoC of the lithium battery is greater than 30%, the car uses the lithium battery power; the extended range mode is when the SoC of the lithium battery is less than 30%, the hydrogen fuel cell intervenes as a range extender to provide power for the car;
[0008] Step 2: Establish a hydrogen fuel cell dynamic model, a lithium battery model, a supercapacitor equivalent circuit model, and a vehicle kinematic model;
[0009] Step 3: Establish an algorithm model based on deterministic policy gradient. For different working modes, the cost of energy source is used as an important evaluation criterion to set the reward value, and the proportion of energy source power output is used as the action output;
[0010] Step 4: Use the previous output action to guide the agent empirically and obtain the output action-guided reward function;
[0011] Step 5: Train the two different working modes separately, determine the policy gradient algorithm agent, and obtain the network strategies of the two agents. Then, use the corresponding network strategies for different working modes to manage energy.
[0012] In the energy distribution method of the aforementioned extended-range hydrogen fuel cell hybrid vehicle topology structure, in step 1, when the SoC of the lithium battery is lower than 30%, the hydrogen fuel cell starts to provide power. When the power provided by the hydrogen fuel cell is greater than the required power, the surplus electricity will be recycled into the battery pack to maintain the SoC of the lithium battery at a threshold of 30%. When the SoC of the lithium battery is lower than 25%, the lithium battery stops outputting.
[0013] In the energy distribution method of the above-mentioned extended-range hydrogen fuel cell hybrid vehicle topology structure, in step 2, the single cell voltage calculation formula of the hydrogen fuel cell dynamic model is:
[0014] V cell =E Nernst -V act -V ohm -V conc ;
[0015] Where: V cell is the voltage of the hydrogen fuel cell unit, E Nernst is the Nernst voltage, V act is the activation polarization loss voltage, V ohm is the ohmic polarization loss voltage, V conc is the concentration polarization loss voltage;
[0016] The net power output of a hydrogen fuel cell is calculated as follows:
[0017] P FC (t) = n st V cell I st -P comp (t)-P FC_aux (t)-P FC_losses (t);
[0018] Where: P FC is the net output power of the hydrogen fuel cell, P comp is the power consumed by the air compressor, P FC_aux is the power consumption of the auxiliary equipment of the water circulation pump, P FC_losses is the fuel cell power consumption, t is the time, n st Number of hydrogen fuel cells, I st is the stack current,
[0019] The lithium battery model characterizes the dynamic characteristics of the battery through the internal resistance model, and the relationship formula is as follows:
[0020]
[0021] Where: V BT_OC represents the open circuit voltage, R BT Indicates the total internal resistance of the lithium battery, P BT Indicates the output power of lithium battery, I BT Indicates the lithium battery current,
[0022] Lithium battery SoC is about V BT_OC , R BT , P BT The function of ampere-hour integration method is as follows:
[0023]
[0024] Where SoC(0) is the initial SoC of the lithium battery, η BT is the charging and discharging efficiency of lithium battery, C BT is the nominal capacity of the lithium battery;
[0025] The SoC of the supercapacitor model is calculated by the supercapacitor voltage V SC and supercapacitor current I SC The relationship is obtained, and the calculation formula is as follows:
[0026]
[0027] Where V SC_max is the maximum voltage of the supercapacitor, R SC is the internal resistance of the supercapacitor;
[0028] The vehicle kinematic model is as follows:
[0029]
[0030] Where P dem is the total power demand, η all is the total conversion efficiency, F grais the gravity when driving on a non-level road, F aero is the air resistance, F roll is the rolling friction, v is the vehicle speed, δ is the vehicle rotation mass coefficient, and m is the total mass of the vehicle.
[0031] In the aforementioned energy allocation method for the extended-range hydrogen fuel cell hybrid electric vehicle topology structure, in step 3, the states of the algorithm model based on the deterministic policy gradient are established in the pure electric mode and the extended-range mode respectively:
[0032] s t1 ={SoC BT , SoC SC , P dem , a t1};
[0033] s t2 ={SoC BT , SoC SC , P dem , P FC , Eff FCS , a t2};
[0034] Where: s t1 ,s t2 Respectively represent the input status of pure electric mode and extended range mode, SoC BT 、SoC SC Represents lithium battery SoC and supercapacitor SoC, P dem , P FC Represent the total power demand and fuel cell power demand, eff FCS Represents the system efficiency of hydrogen fuel cells;
[0035] The action variable is the ratio of the energy source output power to the total required power. The output actions of the pure electric mode and the extended range mode are:
[0036] a t1 ={p BT};
[0037] a t2 ={p FC 、p SC};
[0038] Among them, a t1 and a t2 Represent the output actions of pure electric mode and extended range mode respectively, p BT , p FC and p SCThey represent the ratio of lithium battery output power to total power demand, the ratio of hydrogen fuel cell output power to total power demand, and the ratio of supercapacitor output power to total power demand respectively;
[0039] The reward functions for pure electric mode and extended range mode are defined as follows:
[0040]
[0041] r t2 =-α2(m H2 ×Price H2 )-σ(ΔP FC <300)+C2;
[0042] Where: r t1 、r t2 They represent the reward functions of pure electric mode and extended range mode, Q bat Represents the total capacity of the lithium battery, ΔSoC BT Indicates the change in the state of charge of the lithium battery. electric Indicates the unit price of electricity, m H2 Indicates the amount of hydrogen consumed, Price H2 Represents the unit price of hydrogen, where C1 and C2 are both constants.
[0043] In the energy allocation method of the extended-range hydrogen fuel cell hybrid electric vehicle topology structure described above, in step 4, the previous output action is used to guide the agent with experience, and the reward function of the output action guidance is defined as follows:
[0044]
[0045]
[0046] Among them, action, action1 and action2 respectively represent the power ratio of the lithium battery output at the previous moment in pure electric mode, the power ratio of the fuel cell output at the previous moment in extended-range mode, and the power ratio of the supercapacitor output at the previous moment in extended-range mode.
[0047] In the aforementioned energy allocation method for the extended-range hydrogen fuel cell hybrid electric vehicle topology structure, the agent randomly initializes the random process and initial state after initializing the network parameters, after which the agent cyclically soft-updates the critic network parameters using the gradient descent and gradient ascent methods for the value network and the policy network respectively;
[0048] The formula for updating the Critic network parameters by gradient descent is as follows:
[0049]
[0050] Where: L is the standard deviation of the optimal estimated Q value and the current Q value, K is the logarithm of the randomly sampled state and action in the experience pool R, N is the termination value, y i is the optimal Q value estimated at time i, Q is the value function, S i is the state at time i, a i is the action at time i, θ is the parameter of the estimated network;
[0051] The formula for updating the Actor network parameters using the gradient ascent method is as follows:
[0052]
[0053] Where: is the gradient update parameter of the actor network, μ is the control strategy of the output action, J is the objective function containing the output action control strategy, is the gradient of the value function in the actor network, S is the state at a certain moment, a is the action at a certain moment,
[0054] The target network parameter soft update formula is as follows:
[0055] θ Q′ ←τθ Q +(1-τ)θ Q′ ;
[0056] θ μ′ ←τθ μ +(1-τ)θ μ′ ;
[0057] Where: θ Q′ is the target network parameter of the value network, θ μ′ is the target network parameter of the policy network, and τ is the soft update factor.
[0058] The energy distribution method of the aforementioned extended-range hydrogen fuel cell hybrid vehicle topology structure obtains the network strategies trained in two different modes under comprehensive working conditions after offline training, and then uses the corresponding trained network strategies for energy management according to the different known modes of the vehicle.
[0059] 1. From the perspective of practicality, the topological structure and working mode of the range-extender fuel cell hybrid vehicle can perfectly meet the different situations of daily urban commuting and long-distance driving. The lithium battery is sufficient to meet daily commuting for one week or more, until the lithium battery SoC drops to the set minimum value, and the hydrogen fuel cell is started as a range extender. At this time, the lithium battery SoC is maintained near the threshold, which can reflect good energy configuration and practical performance.
[0060] 2. From the perspective of lithium battery life, the energy allocation method can optimize the output power of lithium batteries and supercapacitors, maximize the power utilization of supercapacitors, stabilize lithium battery output and increase the starting and ending value SoC.
[0061] 3. From the perspective of fuel cells, the energy distribution method can reasonably distribute the output power of hydrogen fuel cells, lithium batteries and supercapacitors, reduce the fluctuation of fuel cell output power, improve the efficiency of the fuel cell system, and extend the service life of the fuel cell. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 is a topological structure diagram of a range-extended fuel cell hybrid vehicle in an example of the present invention;
[0063] Figure 2 It is a schematic diagram of the working mode of the extended-range fuel cell hybrid vehicle in the example of the present invention;
[0064] Figure 3 is a block diagram of a method for energy allocation guided by a previous action in an example of the present invention;
[0065] Figure 4 is a reward change curve diagram of the deterministic policy gradient algorithm guided by the previous action in the pure electric mode in the example of the present invention;
[0066] Figure 5 is a reward change curve diagram of the deterministic policy gradient algorithm guided by the previous action in the extended range mode in the example of the present invention;
[0067] Figure 6 It is a graph of the output power of lithium battery and supercapacitor in pure electric mode under given working conditions for the energy allocation method in the example of the present invention and the energy allocation method based on rules;
[0068] Figure 7 It is a comparison diagram of lithium battery SoC in pure electric mode under given working conditions between the energy allocation method in the example of the present invention and the energy allocation method based on rules;
[0069] Figure 8 It is a diagram of the output power of lithium batteries, super capacitors and fuel cells in the extended range mode under given working conditions according to the energy distribution method in the example of the present invention.
[0070] Fig. 9 It is a comparison chart of the lithium battery SoC in the extended-range mode under given operating conditions between the energy allocation method in the example of the present invention and the rule-based energy allocation method.
[0071] Fig.10 It is a comparison chart of the fuel cell output power of the energy allocation method in the example of the present invention and the rule-based energy allocation method in the extended range mode under given working conditions.
[0072] Fig.11It is a comparison chart of the efficiency of a fuel cell system in an extended-range mode under given operating conditions between the energy allocation method in an example of the present invention and the rule-based energy allocation method. DETAILED DESCRIPTION
[0073] The present invention is further described below in conjunction with the accompanying drawings and embodiments, but they are not intended to limit the present invention.
[0074] Example: Extended-range hydrogen fuel cell hybrid vehicle topology, such as Figure 1 As shown, it includes a hydrogen fuel cell, a lithium battery and a super capacitor; the hydrogen fuel cell is connected to the DC bus through a unidirectional DC-DC converter, the lithium battery is connected to the DC bus through a bidirectional DC-DC converter, and the super capacitor is connected to the DC bus through a bidirectional DC-DC converter as an auxiliary energy source, and the DC bus provides power for the motor.
[0075] The energy distribution method of the above-mentioned extended-range hydrogen fuel cell hybrid electric vehicle topology structure comprises the following steps:
[0076] Step 1: Determine the working mode, such as Figure 2 As shown, the working modes include pure electric mode and extended-range mode. In the pure electric mode, when the SoC of the lithium battery is greater than 30%, the car uses the power of the lithium battery; that is, when the lithium battery is in excellent condition and is at a high SoC, pure electricity will be the main mode, and the vehicle will give priority to using the power of the lithium battery. At this time, the topological structure composed of the lithium battery and the supercapacitor contributes to the stability of the DC link voltage under high dynamic loads; in the extended-range mode, when the SoC of the lithium battery is less than 30%, the hydrogen fuel cell intervenes as a range extender to provide power for the car; when the SoC of the lithium battery is lower than 30%, the hydrogen fuel cell starts to provide power. When the power provided by the hydrogen fuel cell is greater than the required power, the surplus power will be recycled into the battery pack to maintain the SoC of the lithium battery at a threshold of 30%. When the SoC of the lithium battery is lower than 25%, the lithium battery stops outputting, and the SoC of the lithium battery can eventually be fully charged by means of an external power supply.
[0077] Step 2: Establish a hydrogen fuel cell dynamic model, a lithium battery model, a supercapacitor equivalent circuit model and a vehicle kinematic model; the single cell voltage calculation formula of the hydrogen fuel cell dynamic model is:
[0078] V cell =E Nernst -V act -V ohm -V conc ;
[0079] Where: V cell is the voltage of the hydrogen fuel cell unit, E Nernst is the Nernst voltage, V actis the activation polarization loss voltage, V ohm is the ohmic polarization loss voltage, V conc is the concentration polarization loss voltage;
[0080] The net power output of a hydrogen fuel cell is calculated as follows:
[0081] P FC (t) = n st V cell I st -P comp (t)-P FC_aux (t)-P FC_losses (t);
[0082] Where: P FC is the net output power of the hydrogen fuel cell, P comp is the power consumed by the air compressor, P FC_aux is the power consumption of the auxiliary equipment of the water circulation pump, P FC_losses is the fuel cell power consumption, t is the time, n st Number of hydrogen fuel cells, I st is the stack current,
[0083] The lithium battery model characterizes the dynamic characteristics of the battery through the internal resistance model, and the relationship formula is as follows:
[0084]
[0085] Where: V BT_OC represents the open circuit voltage, R BT Indicates the total internal resistance of the lithium battery, P BT Indicates the output power of lithium battery, I BT Indicates the lithium battery current,
[0086] Lithium battery SoC is about V BT_OC , R BT , P BT The function of ampere-hour integration method is as follows:
[0087]
[0088] Where SoC(0) is the initial SoC of the lithium battery, η BT is the charging and discharging efficiency of lithium battery, C BT is the nominal capacity of the lithium battery;
[0089] The SoC of the supercapacitor model is calculated by the supercapacitor voltage V SC and supercapacitor current I SC The relationship is obtained, and the calculation formula is as follows:
[0090]
[0091] Where V SC_max is the maximum voltage of the supercapacitor, R SC is the internal resistance of the supercapacitor;
[0092] The vehicle kinematic model is as follows:
[0093]
[0094] Where P dem is the total power demand, η all is the total conversion efficiency, F gra is the gravity when driving on a non-level road, F aero is the air resistance, F roll is the rolling friction, v is the vehicle speed, δ is the vehicle rotation mass coefficient, and m is the total mass of the vehicle.
[0095] Step 3: Establish an algorithm model based on deterministic policy gradient. For different working modes, use the cost of energy source as an important evaluation criterion to set the reward value, and use the ratio of energy source power output as the action output; Figure 3 As shown in the figure, in pure electric mode and extended range mode, the algorithm models based on deterministic policy gradient are:
[0096] s t1 ={SoC BT , SoC SC , P dem , a t1};
[0097] s t2 ={SoC BT , SoC SC , P dem , P FC , Eff FCS , a t2};
[0098] Where: s t1 ,s t2 Respectively represent the input status of pure electric mode and extended range mode, SoC BT 、SoC SC Represents lithium battery SoC and supercapacitor SoC, P dem , P FC Represent the total power demand and fuel cell power demand, eff FCS Represents the system efficiency of hydrogen fuel cells;
[0099] The action variable is the ratio of the energy source output power to the total required power. The output actions of the pure electric mode and the extended range mode are:
[0100] a t1 ={p BT};
[0101] a t2 ={p FC 、p SC};
[0102] Among them, a t1 and a t2 Represent the output actions of pure electric mode and extended range mode respectively, p BT , p FC and p SC They represent the ratio of lithium battery output power to total power demand, the ratio of hydrogen fuel cell output power to total power demand, and the ratio of supercapacitor output power to total power demand respectively;
[0103] The reward functions for pure electric mode and extended range mode are defined as follows:
[0104]
[0105] r t2 =-α2(m H2 ×Price H2 )-σ(ΔP FC <300)+C2;
[0106] Where: r t1 、r t2 They represent the reward functions of pure electric mode and extended range mode, Q bat Represents the total capacity of the lithium battery, ΔSoC BT Indicates the change in the state of charge of the lithium battery. electric Indicates the unit price of electricity, m H2 Indicates the amount of hydrogen consumed, Price H2 represents the unit price of hydrogen, C1 and C2 are both constants;
[0107] Step 4: Use the previous output action to guide the agent empirically and obtain the output action guided reward function; the output action guidance is defined as follows:
[0108]
[0109]
[0110] Among them, action, action1 and action2 respectively represent the power ratio of the lithium battery output at the previous moment in pure electric mode, the power ratio of the fuel cell output at the previous moment in extended-range mode, and the power ratio of the supercapacitor output at the previous moment in extended-range mode.
[0111] Step 5: Train the two different working modes separately, determine the policy gradient algorithm agent, obtain the network strategies of the two agents, and then use the corresponding network strategies for energy management according to different working modes. That is, the agent initializes the network parameters and initializes the initial random process and initial state randomly, and then the agent uses the gradient descent and gradient ascent methods to cyclically soft-update the Critic network parameters for the value network and the policy network respectively;
[0112] The formula for updating the Critic network parameters by gradient descent is as follows:
[0113]
[0114] Where: L is the standard deviation of the optimal estimated Q value and the current Q value, K is the logarithm of the randomly sampled state and action in the experience pool R, N is the termination value, y i is the optimal Q value estimated at time i, Q is the value function, s i is the state at time i, a i is the action at time i, θ is the parameter of the estimated network;
[0115] The formula for updating the Actor network parameters using the gradient ascent method is as follows:
[0116]
[0117] Where: is the gradient update parameter of the actor network, μ is the control strategy of the output action, J is the objective function containing the output action control strategy, is the gradient of the value function in the actor network, S is the state at a certain moment, a is the action at a certain moment,
[0118] The target network parameter soft update formula is as follows:
[0119] θ Q′ ←τθ Q +(1-τ)θ Q′ ;
[0120] θ μ′ ←τθ μ +(1-τ)θ μ′ ;
[0121] Where: θ Q′ is the target network parameter of the value network, θ μ′is the target network parameter of the policy network, and τ is the soft update factor.
[0122] The above network strategies are obtained after training in two different modes.
[0123] Finally, after offline training, the network strategies trained in two different modes under comprehensive working conditions are obtained, and then the corresponding trained network strategies are used for energy management according to different known modes of the car.
[0124] Figure 4 is a reward change curve diagram of the deterministic policy gradient algorithm guided by the previous action in the pure electric mode in the example of the present invention; Figure 5 It is a reward change curve diagram of the deterministic policy gradient algorithm guided by the previous action in the extended range mode in the example of the present invention. Figure 4-Figure 5 It can be seen that the proposed deterministic policy gradient algorithm guided by previous actions allows the agent to continuously explore better global optimal solutions, enhances the correctness of exploration and improves the stability of convergence.
[0125] Furthermore, the applicant conducted a comparative test on the energy allocation method and the rule-based energy allocation method. Figure 6 : is a graph of the output power of lithium battery and supercapacitor in pure electric mode under given working conditions by the energy allocation method in the example of the present invention and the energy allocation method based on rules; FIG. 7 is a comparison graph of lithium battery SoC in pure electric mode under given working conditions by the energy allocation method in the example of the present invention and the energy allocation method based on rules; Figure 8 It is a diagram of the output power of lithium batteries, super capacitors and fuel cells in the extended range mode under given working conditions according to the energy distribution method in the example of the present invention. Fig. 9 It is a comparison chart of the lithium battery SoC in the extended-range mode under given operating conditions between the energy allocation method in the example of the present invention and the rule-based energy allocation method. Fig.10 It is a comparison chart of the fuel cell output power of the energy allocation method in the example of the present invention and the rule-based energy allocation method in the extended range mode under given working conditions. Fig.11 : is a comparison chart of the efficiency of the fuel cell system in the extended range mode under given working conditions between the energy allocation method in the example of the present invention and the energy allocation method based on rules. Figure 6-Figure 7 It can be seen that under given operating conditions, the strategy proposed in the pure electric mode improves the lithium battery SoC by 2.54% compared with the rule-based strategy, and can more reasonably allocate the power of both the lithium battery and the supercapacitor, reducing the cost incurred when operating in the pure electric mode. Figure 8-Figure 11It can be seen that under given operating conditions, the strategy proposed in the extended-range mode can better maintain the lithium battery rating near the threshold of 0.3 compared to the rule-based strategy, stabilizing the lithium battery SoC by 2.67%; allowing the fuel cell output to operate more smoothly in a high-efficiency range, improving the average efficiency of the fuel cell system by 0.94%, reducing the hydrogen cost generated when operating in the extended-range mode and increasing the service life of the hydrogen fuel cell.
[0126] In summary, the present invention proposes an extended-range fuel cell hybrid vehicle to solve the concerns about short-distance driving power and long-distance mileage of new energy vehicles. In addition, an energy management framework is proposed to realize the energy management problem of the entire extended-range fuel cell hybrid vehicle. A mechanism of guiding the intelligent agent by a previous output action proposed in the present invention can improve the correctness of exploration and the stability of convergence during intelligent agent training, ultimately reducing the cost generated during vehicle operation and increasing the service life of lithium batteries and fuel cells.
Claims
1. An energy distribution method for a range-extended hydrogen fuel cell hybrid electric vehicle topology, characterized in that: The extended-range hydrogen fuel cell hybrid electric vehicle topology structure includes a hydrogen fuel cell, a lithium battery and a super capacitor; the hydrogen fuel cell is connected to the DC bus through a unidirectional DC-DC converter, the lithium battery is connected to the DC bus through a bidirectional DC-DC converter, and the super capacitor is connected to the DC bus as an auxiliary energy source through a bidirectional DC-DC converter; The energy distribution method comprises the following steps: Step 1, determine the working mode, the working mode includes pure electric mode and extended range mode, the pure electric mode is when the SoC of the lithium battery is greater than 30%, the car uses the lithium battery power; the extended range mode is when the SoC of the lithium battery is less than 30%, the hydrogen fuel cell intervenes as a range extender to provide power for the car; Step 2: Establish a hydrogen fuel cell dynamic model, a lithium battery model, a supercapacitor equivalent circuit model, and a vehicle kinematic model; Step 3: Establish an algorithm model based on deterministic policy gradient. For different working modes, the cost of energy source is used as an important evaluation criterion to set the reward value, and the proportion of energy source power output is used as the action output; Step 4: Use the previous output action to guide the agent empirically and obtain the output action-guided reward function; Step 5: Train the two different working modes separately, determine the policy gradient algorithm agent, and obtain the network strategies of the two agents. Then, use the corresponding network strategies for different working modes to manage energy. In step 2, the calculation formula of the single cell voltage of the hydrogen fuel cell dynamic model is: V cell =E Nernst -V act -V ohm -V conc ; Where: V cell is the voltage of the hydrogen fuel cell unit, E Nernst is the Nernst voltage, V act is the activation polarization loss voltage, V ohm is the ohmic polarization loss voltage, V conc is the concentration polarization loss voltage; The net power output of a hydrogen fuel cell is calculated as follows: P FC (t)=n st V cell I st -P comp (t)-P FC_aux (t)-P FC_losses (t); Where: P FC is the net output power of the hydrogen fuel cell, P comp is the power consumed by the air compressor, P FC_aux is the power consumption of the auxiliary equipment of the water circulation pump, P FC_losses is the fuel cell power consumption, t is the time, n st Number of hydrogen fuel cells, I st is the stack current, The lithium battery model characterizes the dynamic characteristics of the battery through the internal resistance model, and the relationship formula is as follows: Where: V BT_OC represents the open circuit voltage, R BT Indicates the total internal resistance of the lithium battery, P BT Indicates the output power of lithium battery, I BT Indicates the lithium battery current, Lithium battery SoC is about V BT_oC , R BT , P BT The function of ampere-hour integration method is as follows: Where SoC(0) is the initial SoC of the lithium battery, η BT is the charging and discharging efficiency of lithium battery, C BT is the nominal capacity of the lithium battery; The SoC of the supercapacitor equivalent circuit model is calculated by the supercapacitor voltage V SC and supercapacitor current I SC The relationship is obtained, and the calculation formula is as follows: Where V SC_max is the maximum voltage of the supercapacitor, R SC is the internal resistance of the supercapacitor; The vehicle kinematic model is as follows: Where P dem is the total power demand, η all is the total conversion efficiency, F gra is the gravity when driving on a non-level road, F aero is the air resistance, F roll is the rolling friction, v is the vehicle speed, δ is the vehicle rotation mass coefficient, and m is the total mass of the vehicle; In step 3, the states of the algorithm model based on deterministic policy gradient are established in pure electric mode and extended range mode respectively: s t1 ={SoC BT ,SoC SC ,P dem ,a t1 }; s t2 ={SoC BT ,SoC SC ,P dem ,P FC ,Eff FCS ,a t2 }; Where: S t1 , S t2 Respectively represent the input status of pure electric mode and extended range mode, SoC BT 、SoC SC Represents lithium battery SoC and supercapacitor SoC, P dem , P FC Represent the total required power and the net output power of the hydrogen fuel cell, Eff FCS Represents the system efficiency of hydrogen fuel cells; The action variable is the ratio of the energy source output power to the total required power. The output actions of the pure electric mode and the extended range mode are: a t1 ={p BT }; a t2 ={p FC 、p SC }; Among them, a t1 and a t2 Represent the output actions of pure electric mode and extended range mode respectively, p BT , p FC and p SC They represent the ratio of lithium battery output power to total power demand, the ratio of hydrogen fuel cell output power to total power demand, and the ratio of supercapacitor output power to total power demand respectively; The reward functions for pure electric mode and extended range mode are defined as follows: r t2 =-α2(m H2 ×Price H2 )-σ(ΔP FC (<300)+C2; Where: r t1 、r t2 They represent the reward functions of pure electric mode and extended range mode, Q bat Represents the total capacity of the lithium battery, ΔSoC BT Indicates the change in the state of charge of the lithium battery, Price electric Indicates the unit price of electricity, m H2 Indicates the amount of hydrogen consumed, Price H2 Represents the unit price of hydrogen, where C1 and C2 are both constants.
2. The energy distribution method of the extended-range hydrogen fuel cell hybrid vehicle topology structure according to claim 1, characterized in that: In step 1, when the SoC of the lithium battery is lower than 30%, the hydrogen fuel cell starts to provide power. When the power provided by the hydrogen fuel cell is greater than the required power, the surplus electricity will be recycled into the battery pack to keep the SoC of the lithium battery at the threshold of 30%. When the SoC of the lithium battery is lower than 25%, the lithium battery stops outputting.
3. The energy distribution method of the extended-range hydrogen fuel cell hybrid vehicle topology structure according to claim 1, characterized in that: In step 4, the previous output action is used to guide the agent with experience. The reward function for output action guidance is defined as follows: Among them, action, action 2_1 and action 2_2 They respectively represent the power ratio of the lithium battery output at the previous moment in pure electric mode, the power ratio of the fuel cell output at the previous moment in extended-range mode, and the power ratio of the supercapacitor output at the previous moment in extended-range mode.
4. The energy distribution method of the extended-range hydrogen fuel cell hybrid vehicle topology structure according to claim 1, characterized in that: After initializing the network parameters, the agent randomly initializes the random process and initial state. After that, the agent uses the gradient descent and gradient ascent methods to cyclically soft-update the critic network parameters for the value network and the policy network respectively. The formula for updating the Critic network parameters by gradient descent is as follows: Where: L is the standard deviation of the optimal estimated Q value and the current Q value, K is the logarithm of the randomly sampled state and action in the experience pool R, N is the termination value, y i is the optimal Q value estimated at time i, Q is the value function, S i is the state at time i, a i is the action at time i, θ is the parameter of the estimated network; The formula for updating the Actor network parameters using the gradient ascent method is as follows: Where: is the gradient update parameter of the actor network, μ is the control strategy of the output action, J is the objective function containing the output action control strategy, is the gradient of the value function in the actor network, S is the state at a certain moment, a is the action at a certain moment, The target network parameter soft update formula is as follows: θQ ′ ←tth Q +(1-τ)θ Q′ ; i μ′ ←tth μ +(1-τ)θ μ′ ; Where: θQ′ is the target network parameter of the value network, θ μ′ is the target network parameter of the policy network, and τ is the soft update factor.
5. The energy distribution method of the extended-range hydrogen fuel cell hybrid vehicle topology structure according to claim 4, characterized in that: After offline training, the network strategies trained in two different modes under comprehensive working conditions are obtained, and then the corresponding trained network strategies are used for energy management according to different known modes of the vehicle.
