An online fuel cell energy management method, system and vehicle
Through the online fuel cell energy management method, the SoC range of the power battery is predicted and the output power sequence is calculated, which solves the problem of slow response of the fuel cell under high load and realizes the online management of the fuel cell and the reduction of fuel consumption.
Patent Information
- Application Number
- CN202210719888.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-23
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-06-23
AI Technical Summary
Fuel cells cannot respond continuously under high load demands, have poor dynamic performance, and slow power transmission speeds. They need to be used together with auxiliary energy sources such as lithium-ion power batteries, and existing dynamic programming algorithms cannot achieve real-time control.
Through the online fuel cell energy management method, the SoC lower and upper bound values of the power battery are predicted, the transfer cost of each discrete SoC state point and its corresponding fuel cell output power are calculated, and the output power sequence corresponding to the minimum total transfer cost is generated to achieve Online power control of fuel cells.
It realizes online management of fuel cell energy, reduces equivalent fuel consumption, improves the real-time control capability of the dynamic programming algorithm, and solves the problem of large computational load of the dynamic programming algorithm.
Smart Images

Figure CN115257466B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of energy management and provides an online fuel cell energy management method, system and vehicle. Background Art
[0002] Due to the growing demand for energy, the consumption of fossil fuels and the total amount of CO2 emissions are rising rapidly. The energy transformation of "clean, low-carbon, safe and efficient" has become the general trend. Hydrogen is a clean secondary energy carrier that can be easily converted into electricity and heat with high conversion efficiency and has multiple sources. The use of renewable energy to achieve large-scale hydrogen production can provide hydrogen sources for fuel cells through the bridging effect of hydrogen, and can also be converted into liquid fuel in a green way, thus making it possible to achieve a smooth transition from fossil energy to a sustainable cycle of renewable energy and give birth to a sustainable hydrogen economy.
[0003] However, when fuel cells are used as a power source in vehicles, they cannot continuously respond to high-load power demands. Therefore, there are certain limitations on the output current of fuel cells. Fuel cells have soft output characteristics and poor dynamic performance, so they transmit power slowly and need to be used together with auxiliary energy sources such as lithium-ion power batteries. How to determine the working mode that the vehicle should be in based on information such as predicted road conditions, vehicle power requirements, and battery state of charge (SOC) to minimize equivalent fuel consumption has become the key to solving energy management control strategies.
[0004] At present, the energy management control strategy based on the dynamic programming DP algorithm can obtain the theoretically global optimal fuel economy, which is used as a standard to measure the energy-saving effect of other control strategies. However, since the implementation of the dynamic programming control strategy requires known driving condition information and the algorithm has a large computational load, real-time control cannot be achieved. Summary of the invention
[0005] The present invention provides an online fuel cell energy management method, aiming to realize online management of fuel cell energy.
[0006] The present invention is implemented as follows: an online fuel cell energy management method, the method specifically comprising the following steps:
[0007] S1. Predicting the SoC lower limit value and SoC upper limit value of the power battery at time k+s based on the SoC value of the power battery at the current time k, where the SoC lower limit value and the SoC upper limit value constitute a feasible power range;
[0008] S2. Discretize the feasible power interval at all times, obtain the discrete SoC state points within the feasible power interval at all times, and put them into the discrete power sequence at the corresponding time;
[0009] S3, calculating the transfer cost of each discrete SoC state point at the previous moment to each discrete SoC state point at the next moment and its corresponding fuel cell output power, and then calculating the total transfer cost of all transfer paths from time k+s to time k and its corresponding fuel cell output power sequence;
[0010] S4. Output a fuel cell output power sequence corresponding to the minimum total transfer cost, and control the fuel cell to output power at a power value at a corresponding moment in the fuel cell output power sequence.
[0011] Furthermore, the SoC lower limit value soc of the power battery at time k+s is low (k+s) and SoC upper limit soc up The specific method for obtaining (k+s) is as follows:
[0012] S11, based on the SoC lower limit value soc of the power battery at the current time k low (k) and SoC upper limit value soc up (k) predict the SoC lower limit value soc at the next moment k+1 low (k+1) and SoC upper limit soc up (k+1);
[0013] S12, SoC lower limit value soc based on time k+1 low (k+1) and SoC upper limit soc up (k+1) Estimate the SoC lower bound soc at the next moment k+2 low (k+2) and SoC upper limit soc up (k+2), and so on, until the SoC lower limit value soc at time k+s is obtained low (k+s) and SoC upper limit soc up (k+s).
[0014] Furthermore, the SoC lower limit value soc of the power battery at the current time k is low (k) is equal to the upper limit of SoC soc up (k), which is equal to the power battery charge value soc(k) at the current moment k.
[0015] Furthermore, the SoC lower bound soc at time k+2 is low The calculation formula of (k+2) is as follows:
[0016]
[0017] Where V oc (soc low(k+1)) represents the open circuit voltage when the power battery capacity is at the lower limit value at time k+1; P dmd (k+1) represents the required power of the driving motor at time k+1, R0(soc low (k+1)) represents the internal resistance of the power battery when the power of the power battery is at the lower limit value at time k+1, Q nom Indicates the capacity of the power battery, P FC,min (k+1) is the minimum fuel cell power allowed at time k+1.
[0018] Furthermore, the minimum fuel cell power P allowed at time k+1 is FC,min (k+1) is represented as follows:
[0019] P FC,min (k+1)=max(P FC (k)-ΔP FC ,0)
[0020] In the formula, ΔP FC is the maximum power that the fuel cell can drop within 1 second at the current moment, P FC (k) represents the lower limit of the fuel cell output power at time k.
[0021] Furthermore, the SoC upper limit value soc at time k+2 up The calculation formula of (k+2) is as follows:
[0022]
[0023] Where V oc (soc up (k+1)) represents the open circuit voltage when the power battery capacity is at the upper limit value at time k+1; P dmd (k+1) represents the required power of the driving motor at time k+1; R0(soc up (k+1)) represents the internal resistance of the power battery when the power of the power battery is at the upper limit value at time k+1; Q nom Indicates the capacity of the power battery, P MC,max (k+1) is the maximum fuel cell power allowed at time k+1.
[0024] Furthermore, the maximum fuel cell power P allowed at time k+1 is MC,max (k+1) is represented as follows:
[0025] P MC,max (k+1)=max(P MC (k)-ΔP FC ,0)
[0026] In the formula, ΔP FCis the maximum power that the fuel cell can drop within 1 second at the current moment, P MC (k) represents the upper limit of the fuel cell output power at time k.
[0027] Furthermore, it is characterized in that the total transfer cost L of the transfer path from time k+s to the current time k is calculated by the following formula:
[0028]
[0029]
[0030] Where P apu (t) is the actual output power of the fuel cell at time k, in W, M(H2) is the molar mass of hydrogen, in g / mol, F is the Faraday constant, in C / mol, u FC is the fuel cell voltage at the current moment, in V, η FC is the fuel cell efficiency. L0 is the cost of terminal constraint conversion, x N-1 (k+s) represents the N-1th discrete SoC state point at time k+s.
[0031] The present invention also provides an online fuel cell energy management system, the system comprising:
[0032] Fuel cell, the fuel cell is connected to the fuel cell control system FCS for communication;
[0033] The energy management module EMS is connected to the fuel cell control system FCS, the motor controller MCU, the battery management system BMS and the DC / DC converter. The battery management system BMS is used to manage the power battery, and the motor controller MCU is used to control the drive motor;
[0034] The fuel cell is electrically connected to the power battery and the drive motor through a DC / DC converter.
[0035] The fuel cell control system FCS sends the battery voltage, output power lower limit and upper limit of the fuel cell at the current moment, and the maximum power that can be reduced within 1 second to the energy management module EMS; the battery management system BMS sends the open circuit voltage and battery internal resistance of the power battery when the power level is at the lower limit and upper limit at the current moment to the energy management module EMS; the battery management system BMS sends the required power of the drive motor at the current moment to the energy management module EMS; the energy management module EMS obtains the fuel cell output power value at the next moment based on the above-mentioned online fuel cell energy management method, and sends the output signal to the DC / DC converter, thereby controlling the output power of the fuel cell.
[0036] The present invention also provides a car, on which the above-mentioned online fuel cell energy management system is integrated.
[0037] The energy management method provided by the present invention is based on a dynamic programming algorithm, reduces the complexity of the algorithm, and uses the working condition demand power sequence obtained by offline calculation as the power sequence required by the prediction domain; a forward dynamic programming algorithm is used in the prediction domain, and the power battery SoC is used as the state quantity and the hydrogen consumption is used as the cost function to solve the optimal control problem; the first value in the obtained optimal control sequence is output as the fuel cell output power control instruction, and finally the prediction domain is moved forward, and the aforementioned steps are repeated to achieve rolling optimization, that is, to achieve online management of fuel cell energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A flow chart of an online fuel cell energy management method provided by an embodiment of the present invention;
[0039] Figure 2 A schematic diagram of the structure of an online fuel cell energy management system provided by an embodiment of the present invention;
[0040] Figure 3 A schematic diagram of electricity quantity and output power prediction provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The specific implementation of the present invention will be further explained in detail below by describing the optimal embodiment with reference to the accompanying drawings.
[0042] Figure 1 The flowchart of the online fuel cell energy management method provided by the embodiment of the present invention specifically includes the following steps:
[0043] S1. Predicting the SoC lower limit value and SoC upper limit value of the power battery at time k+s based on the SoC value of the power battery at the current time k, where the SoC lower limit value and the SoC upper limit value constitute a feasible power range;
[0044] The SoC lower limit value soc of the power battery at time k+s low (k+s) and SoC upper limit soc up The specific method for obtaining (k+s) is as follows:
[0045] S11, based on the SoC lower limit value soc of the power battery at the current time k low (k) and SoC upper limit value soc up (k) predict the SoC lower limit value soc at the next moment k+1 low (k+1) and SoC upper limit soc up (k+1);
[0046] In the embodiment of the present invention, the SoC lower limit value of the power battery at the current moment is equal to the SoC upper limit value, and the values of both are the power battery power value soc(k) at the current moment k, that is, soc low (k) = soc up (k) = soc(k).
[0047] S12, SoC lower limit value soc based on time k+1 low (k+1) and SoC upper limit soc up (k+1) Estimate the SoC lower bound soc at the next moment k+2 low (k+2) and SoC upper limit soc up (k+2), and so on, until the SoC lower limit value soc at time k+s is obtained low (k+s) and SoC upper limit soc up (k+s).
[0048] In the embodiment of the present invention, the SoC lower limit value soc at time k+2 is calculated according to the following formulas (1) and (2): low (k+2):
[0049]
[0050] Where V oc (soc low (k+1)) represents the open circuit voltage when the power battery capacity is at the lower limit value at time k+1; P dmd (k+1) represents the required power of the driving motor at time k+1, R0(soc low (k+1)) represents the internal resistance of the power battery when the power of the power battery is at the lower limit value at time k+1, Q nom Indicates the capacity of the power battery, P FC,min (k+1) is the minimum fuel cell power allowed at time k+1, expressed as
[0051] P FC,min (k+1)=max(P FC (k)-ΔP FC ,0) (2)
[0052] In the formula, ΔP FC is the maximum power that the fuel cell can drop within 1 second at the current moment, P FC (k) represents the lower limit of the fuel cell output power at time k.
[0053] In the embodiment of the present invention, the SoC upper limit value soc at time k+2 is calculated according to the following formulas (3) and (4): up (k+2):
[0054]
[0055] Where V oc (soc up (k+1)) represents the open circuit voltage when the power battery capacity is at the upper limit value at time k+1; P dmd (k+1) represents the required power of the driving motor at time k+1; R0(soc up (k+1)) represents the internal resistance of the power battery when the power of the power battery is at the upper limit value at time k+1; Q nom Indicates the capacity of the power battery, P MC,max (k+1) is the maximum fuel cell power allowed at time k+1, which is expressed as:
[0056] P MC,max (k+1)=max(P MC (k)-ΔP FC ,0) (4)
[0057] In the formula, ΔP FC is the maximum power that the fuel cell can drop within 1 second at the current moment, P MC (k) represents the upper limit of the fuel cell output power at time k.
[0058] The methods for estimating the SoC lower limit value and the SoC upper limit value at the next moment based on the SoC lower limit value and the SoC upper limit value at the current moment are all implemented using formulas (1) to (4).
[0059] S2. Discretize the feasible power interval at all times, obtain the discrete SoC state points within the feasible power interval at all times, and put them into the discrete power sequence at the corresponding time;
[0060] S3, calculate the transfer cost of each discrete SoC state point at the previous moment to each discrete SoC state point at the next moment and its corresponding fuel cell output power, and then calculate the total transfer cost of all transfer paths from time k+s to time k and its corresponding fuel cell output power sequence, Figure 3 It is a schematic diagram of each SoC state point on the transfer path and its fuel cell output power;
[0061] Each transfer path from time k+s to time k consists of s+1 SoC state points, and the s+1 SoC state points come from the discrete power sequence corresponding to the s+1 time. Assuming that s is 2, there are time k, time k+1 and time k+2. Assuming that there are 2 SoC state points in the discrete power sequence corresponding to each time, then there are transfer path.
[0062] S4, outputting a fuel cell output power sequence corresponding to the minimum total transfer cost, and controlling the fuel cell to output power at a power value (the first power value) at a corresponding moment in the fuel cell output power sequence;
[0063] For the k+s step (corresponding to k+s moment) the i-th discrete SoC state point x i (k+s), according to the state equation, the discrete control quantity is calculated inversely The discrete SoC state points that can be transferred to the k+s-1th step under the action are the jth discrete SoC state point x at the k+s-1th step. j (k+s-1) means:
[0064]
[0065] in, Represents the reverse calculation of the state equation, U represents the value range of the fuel cell power, and the reverse calculation is performed based on the following state equation to obtain the i-th discrete SoC state point x from the k+s step i (k+s) transfers to the jth discrete SoC state point x at the k+s-1th step j (k+s-1) The required fuel cell output power P apu (k+s-1):
[0066]
[0067] Where V oc (x j (k+s-1)) represents the open circuit voltage corresponding to the jth discrete SoC state point at time k+s-1; P dmd (k+s-1) represents the required power of the driving motor at time k+s-1, R0(x j (k+s-1)) represents the internal resistance of the power battery corresponding to the jth discrete SoC state point at time k+s-1, Q nom Indicates the capacity of the power battery.
[0068] Calculate the total transfer cost L of the transfer path from time k+s to the current time k, as follows:
[0069]
[0070]
[0071] Where P apu (t) is the actual output power of the fuel cell at time k, in W, M(H2) is the molar mass of hydrogen, in g / mol, F is the Faraday constant, in C / mol, u FC is the fuel cell voltage at the current moment, in V, ηFC is the fuel cell operating efficiency, is a set value, and is determined based on experiments.
[0072] L0 is the cost of terminal constraint transformation, x N-1 (k+s) represents the N-1th discrete SoC state point at time k+s, that is, the last discrete SoC state point of the discrete power sequence corresponding to time k+s; x N-1 (k+s) satisfies the constraint condition, then its corresponding cost L0 is zero, x N-1 If (k+s) does not satisfy the constraint condition, the cost L0 is considered infinite and a large cost value of 10 is assigned to it. 6 .
[0073] Figure 2 This is a schematic diagram of the structure of an online fuel cell energy management system provided in an embodiment of the present invention. For the sake of convenience, only the part related to the embodiment of the present invention is shown.
[0074] The system includes:
[0075] Fuel cell, the fuel cell is connected to the fuel cell control system FCS for communication;
[0076] The energy management module EMS is connected to the fuel cell control system FCS, the motor controller MCU, the battery management system BMS and the DC / DC converter. The battery management system BMS is used to manage the power battery, and the motor controller MCU is used to control the drive motor;
[0077] The fuel cell is electrically connected to the power battery and the drive motor through a DC / DC converter.
[0078] The fuel cell control system FCS sends the battery voltage, output power lower limit and upper limit of the fuel cell at the current moment, and the maximum power that can be reduced within 1 second to the energy management module EMS; the battery management system BMS sends the open circuit voltage and battery internal resistance of the power battery when the power level is at the lower limit and upper limit at the current moment to the energy management module EMS; the battery management system BMS sends the required power of the drive motor at the current moment to the energy management module EMS; the energy management module EMS obtains the fuel cell output power value at the next moment based on the above-mentioned online fuel cell energy management method, and sends the output signal to the DC / DC converter, thereby controlling the output power of the fuel cell.
[0079] A DC / DC converter is added between the fuel cell, the drive motor, and the power battery to increase the fuel cell voltage and match it with the bus voltage; since the power at the output and input ends of the DC / DC converter remains unchanged (loss is not considered), and the current and voltage are inversely proportional, the output voltage is increased and the output current is reduced at the output end of the DC / DC converter. Since the fuel cell voltage is increased and maintained in a stable state, the DC / DC converter can control the output power of the fuel cell by controlling the output current to achieve power distribution; the hybrid system is operated in a manner that the fuel cell is the main and the lithium-ion power battery is the auxiliary.
[0080] The present invention also provides a car, on which the above-mentioned online fuel cell energy management system is integrated.
[0081] The online fuel cell energy management method provided by the present invention realizes the online application of the algorithm based on the dynamic programming to seek the fuel cell output power with the minimum hydrogen consumption rate, and solves the problem that the dynamic programming algorithm is difficult to apply to online energy management because it needs to predict the operating conditions in advance and has a large amount of calculation. At the same time, this method is a short-time domain open-loop optimization solution problem, and the solution formula of its control quantity includes feedforward based on the reference quantity and feedback based on the measurement value. Therefore, the predictive control has a feedforward-feedback control structure, which shows that this algorithm has good control robustness.
[0082] Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention, they are all within the protection scope of the present invention.
Claims
1. An online fuel cell energy management method, characterized in that: The method specifically comprises the following steps: S1. Predicting the SoC lower limit value and SoC upper limit value of the power battery at time k+s based on the SoC value of the power battery at the current time k, where the SoC lower limit value and the SoC upper limit value constitute a feasible power range; S2. Discretize the feasible power interval at all times, obtain the discrete SoC state points within the feasible power interval at all times, and put them into the discrete power sequence at the corresponding time; S3, calculating the transfer cost of each discrete SoC state point at the previous moment to each discrete SoC state point at the next moment and its corresponding fuel cell output power, and then calculating the total transfer cost of all transfer paths from time k+s to time k and its corresponding fuel cell output power sequence; S4, outputting a fuel cell output power sequence corresponding to the minimum total transfer cost, and controlling the fuel cell to output power at a power value at a corresponding moment in the fuel cell output power sequence; The total transfer cost L of the transfer path from time k+s to the current time k is calculated as follows: Where P apu (t) is the actual output power of the fuel cell at time k, M(H2) is the molar mass of hydrogen, F is the Faraday constant, and u FC is the fuel cell voltage at the current moment, η FC is the fuel cell efficiency, L0 is the cost of terminal constraint conversion, x N-1 (k+s) represents the N-1th discrete SoC state point at time k+s.
2. The online fuel cell energy management method according to claim 1, characterized in that: The SoC lower limit value soc of the power battery at time k+s low (k+s) and SoC upper limit soc up The specific method for obtaining (k+s) is as follows: S11, based on the SoC lower limit value soc of the power battery at the current time k low (k) and SoC upper limit value soc up (k) predict the SoC lower limit value soc at the next moment k+1 low (k+1) and SoC upper limit soc up (k+1); S12, SoC lower limit value soc based on time k+1 low (k+1) and SoC upper limit soc up (k+1) Estimate the SoC lower bound soc at the next moment k+2 low (k+2) and SoC upper limit soc up (k+2), and so on, until the SoC lower limit value soc at time k+s is obtained low (k+s) and SoC upper limit soc up (k+s).
3. The online fuel cell energy management method according to claim 2, characterized in that: The SoC lower limit value soc of the power battery at the current time k low (k) is equal to the upper limit of SoC soc up (k), which is equal to the power battery charge value soc(k) at the current moment k.
4. The online fuel cell energy management method according to claim 2, characterized in that: The lower bound of SoC at time k+2 is soc low The calculation formula of (k+2) is as follows: Where V oc (soc low (k+1)) represents the open circuit voltage when the power battery capacity is at the lower limit value at time k+1; P dmd (k+1) represents the required power of the driving motor at time k+1, R0(soc low (k+1)) represents the internal resistance of the power battery when the power of the power battery is at the lower limit value at time k+1, Q nom Indicates the capacity of the power battery, P FC,min (k+1) is the minimum fuel cell power allowed at time k+1.
5. The online fuel cell energy management method according to claim 4, characterized in that: The minimum fuel cell power P allowed at time k+1 FC,min (k+1) is represented as follows: P FC,min (k+1)=max(P FC (k)-ΔP FC ,0) Where ΔP FC is the maximum power that the fuel cell can drop within 1 second at the current moment, P FC (k) represents the lower limit of the fuel cell output power at time k.
6. The online fuel cell energy management method according to claim 2, characterized in that: The SoC upper limit value soc at time k+2 up The calculation formula of (k+2) is as follows: Where V oc (soc up (k+1)) represents the open circuit voltage when the power battery capacity is at the upper limit value at time k+1; P dmd (k+1) represents the required power of the driving motor at time k+1; R0(soc up (k+1)) represents the internal resistance of the power battery when the power of the power battery is at the upper limit value at time k+1; Q nom Indicates the capacity of the power battery, P MC,max (k+1) is the maximum fuel cell power allowed at time k+1.
7. The online fuel cell energy management method according to claim 6, characterized in that: The maximum fuel cell power P allowed at time k+1 MC,max (k+1) is represented as follows: P MC,max (k+1)=max(P MC (k)-ΔP FC ,0) Where ΔP FC is the maximum power that the fuel cell can drop within 1 second at the current moment, P MC (k) represents the upper limit of the fuel cell output power at time k.
