The present invention relates to a method for controlling a fuel cell. The invention also relates to a computer program implementing the method specified hereinabove, a machine-readable data carrier having such a computer program, and one or a plurality of computers comprising the computer program specified hereinabove.
Control and calculation methods for the operation of fuel cells are based on positive absolute (partial) pressures of the gases in the fuel cells. In mobile automotive fuel cells, this conventionally involves a hydrogen pressure in the anode and an oxygen pressure in the cathode. In regulation methods, the source open-circuit voltage is typically calculated using the Nernst equation. The latter contains expressions in which the partial pressure of a gas component in the fuel cell appears as an argument of a logarithm.
During initial starting operations when the gas chambers are not yet filled with the operating gases of the fuel cell, and during stopping operations when the operating gases are released, partial pressures of the operating gases up to and including null pressure may occur. When shutting down a fuel cell stack, the anode and/or cathode chamber can be closed via valves so that no further gas flows in or out. The remaining quantity of gas in the anode and/or cathode can thereafter be completely consumed by drawing current from the fuel cell stack. The corresponding partial pressures may fall to values very close to and including zero.
It has been recognized that a control or regulation of a fuel cell by means of currently common methods may have difficulties in those cases in which little or no gas is supplied to at least one electrode. If the partial pressure drops close or to zero, then calculation of the source open-circuit voltage using the Nernst equation will fail, so the controller will no longer receive any information about the current operating state of the fuel cell. This may be the case for starting or stopping operations as described hereinabove. Similarly, after a prolonged service life, the fuel (e.g., hydrogen) and/or the oxidizing agent (e.g., oxygen) may have fully reacted so that only nitrogen remains in the anode and/or cathode. Furthermore, in many cases the fact that not only one gas is generally present in the anode or cathode chamber due to diffusion processes is, among other things, currently not or not sufficiently taken into account.
The method according to the invention relates to controlling a fuel cell comprising an anode and a cathode, said method having at least the steps described hereinafter.
A pressure value is received for each of the gas components relevant during the operation of the fuel cell, which may be present in the anode chamber or the cathode chamber. This pressure value can, e.g., come from a sensor, but also, e.g., from a model calculation.
A current for actuating the fuel cell is also provided. Using the received pressure values, a target voltage is subsequently determined based on the specified current. Used in this case is a known relationship between the specified current or the corresponding current density and the target voltage, which takes into account all relevant pressure values (Butler-Volmer equation taking into account mixing potentials). The relationship expresses the current as a function of the target voltage and the pressure values of all relevant gas components, and it is numerically converted as part of the method. An analytical conversion function does not exist for the general case. In the context of the numerical conversion, the calculation is based on addition, subtraction, multiplication, division, and exponentiation, but is free of numerical logarithm calculations. In a further method step, the fuel cell is actuated at the specified current, and the resulting voltage at the fuel cell is measured. The measured voltage value is further compared with the calculated target voltage.
The gas components relevant during the operation of the fuel cell can at least include the fuel supplied at the anode and the oxidizing agent supplied at the cathode. For example, due to diffusion processes through the electrolyte used in the fuel cell, a non-negligible amount of fuel may also be present in the cathode chamber and, conversely, a non-negligible amount of oxidizing agent may also be present in the anode chamber. The reaction product, e.g. water, also plays a role. Furthermore, as part of the chemical processes taking place inside the fuel cell, further gas components can be formed that may enter the electrode chambers due to diffusion. All of the gas components which are in principle present and non-negligible should be taken into account when calculating the target voltage or other relevant variables of the fuel cell.
The calculation of expressions containing logarithms causes numerical difficulties in cases where the argument of the logarithm is very small, and the logarithm thus assumes very large (negative) expressions. A calculation which takes into account logarithms having small arguments may in particular become numerically unstable. Numerical inaccuracies may develop into major errors. The latter is also relevant in the cases where calculations for controlling fuel cells have been developed and tested on a specific computer type and are then, e.g., loaded onto a control device in a motor vehicle. Such control devices are generally less powerful in terms of computational capacities and utilize their own libraries and logarithm tables, so the software may behave differently there than on the computers on which it was developed. The software could also behave differently if it is implemented on a new control device having a different chipset performing the numerical calculations of the logarithm using a different algorithm. It is therefore helpful and advantageous to avoid the sources of error specified hereinabove and associated with the calculation of logarithms, and to provide a more robust calculation that is less affected by numerical problems. This is provided by the invention described herein.
The method can be free of numerical logarithm calculations, because it is based on a form of the Butler-Volmer equation with mixing potentials obtained by transformations, in which terms of the form ln(pi/pi0) do not occur. In the above expression, pi denotes the partial pressure of the i-th gas component, and pi0 denotes a (positive fixed) reference pressure of the i-th gas component. Instead of being a logarithmic argument, the ratio pi/pi0 appears in this method as a base in the following expression: (pi/pi0)αi±a
A problem such as very large logarithms having small argument values does not then occur. The case of pi=0 is also unproblematic because there is no division by pi.
Very small values for the partial pressure of an operating gas component relevant to the operation of the fuel cell are real. These can occur if, for example, there is no (or no longer a) gas supply when the anode and/or cathode chamber is closed, but current continues to flow via a resistor, as can occur during stopping operations, among other things. Gas components still present in the respective electrode chamber may continue to be consumed as part of the chemical reactions within the fuel cell, so their pressure contribution becomes very small. Another, similar case may occur if water produced during operation of the fuel cell freezes.
According to one exemplary embodiment, the actuation of the fuel cell is changed such that a deviation between the determined target voltage and the voltage measured at the fuel cell is reduced. The method can thus be used for fault diagnosis and/or compensation if a malfunction of the fuel cell is recognized.
According to one exemplary embodiment, a malfunction and/or a degradation of the fuel cell is derived and evaluated, in particular based on the deviation between the target voltage and the measured voltage.
The method can thus help to ensure faultless operation of the fuel cell in a motor vehicle and to prolong the possible service life of the fuel cell.
According to one exemplary embodiment, the specified current in the relationship specified hereinabove is selected such that the fuel cell is operated at a working point in which degradation of the fuel cell is reduced.
The service life of the fuel cell can be extended, thus saving corresponding manufacturing and supply costs for the fuel cell.
According to one exemplary embodiment, the actuation of the fuel cell is changed such that, at the same specified current, the power output by the fuel cell remains constant regardless of the degradation.
According to a further exemplary embodiment, the fuel cell is actuated at the specified current in an operating mode in which no fuel is supplied to the anode and/or no oxidizing agent is supplied to the cathode, and the pressure of at least one gas component reduces sharply at at least one of the two electrodes.
This situation may exist, for example, during stopping operations in which there may no longer be a gas supply when the anode or cathode chamber is closed, but current is being dissipated via a resistor. In this case, the gas still present in the corresponding electrode chamber is further consumed or converted as part of the chemical reactions taking place in the fuel cell, so the partial pressure of the gas component under consideration reduces further. The method for controlling a fuel cell described herein also provides robust values for the target voltage in the situation specified hereinabove, which can ultimately be used to control of the fuel cell. This is achieved as a result of the method being free of logarithms, the argument of which can be a very small (partial) pressure value.
According to one exemplary embodiment, the fuel used in the fuel cell can be hydrogen, and the oxidizing agent used in the fuel cell can be oxygen or air.
For example, the method described herein can find application in the control of PEM fuel cells.
According to one exemplary embodiment, a mixture of multiple gases can be present at both the anode and cathode sides.
For example, the anode-side gas mixture and the cathode-side gas mixture can each consist of at least the fuel supplied to the fuel cell at the anode side and the oxidizing agent supplied to the fuel cell at the cathode side.
In many cases, a diffusion of fuel or oxidizing agent through the electrolyte to the other electrode should be prevented. However, if diffusion processes occur through the electrolyte, a gas mixture comprising both fuel and oxidizing agent may be present in at least one of the two electrode chambers of the fuel cell. This case is taken into account in the method described herein.
It is also possible—and can be taken into account in the method described herein—that the cathode-side and/or the anode-side gas mixture contains at least one further component which is, e.g., formed as part of those chemical reactions taking place within the fuel cell. For example, a hydrogen-containing fuel gas obtained by reformation of a hydrocarbon-containing fuel (e.g., methanol or natural gas) may also contain byproducts or impurities from the reformation.
According to one exemplary embodiment, the fuel cell considered as part of the method described herein can be part of a fuel cell stack.
Typically, the fuel cells of a fuel cell stack are connected in series and can be used to generate current in a fuel cell vehicle. The method described herein can be used to reliably and stably control situations in which gas is not (or is no longer) being supplied to at least one of the electrodes of at least one fuel cell of the stack, and gas continues to be converted in the electrode chamber by drawing current via a resistor. Numerical problems in the context of computer-aided control or regulation of the fuel cells due to very low (partial) pressures are avoided in the method presented herein.
The invention further relates to a computer program comprising machine-readable instructions which, when executed on one or a plurality of computers, prompt the computer or computers to perform a method according to the invention. The invention also comprises a machine-readable data carrier on which the aforementioned computer program is stored, as well as a computer equipped with the computer program specified hereinabove or the machine-readable data carriers specified hereinabove.
Further measures for improving the invention are described in greater detail hereinafter, together with the description of the preferred exemplary embodiments of the invention, with reference to the drawings.
Shown are:
In step 100, a pressure value pi is received which corresponds to the i-th gas component relevant during the operation of the fuel cell 1, which component may be present in the anode chamber or cathode chamber of the fuel cell. (In
In step 200, a current I is specified for actuating the fuel cell 1, based on which a target voltage Us at the fuel cell is calculated in step 300 using the received pressure values pi. The corresponding calculation is based on the numerical conversion of a relationship that expresses the specified current I by the target voltage Us (generalized Butler-Volmer equation including mixing potential calculation).
The computational operations of addition, subtraction, multiplication, division and exponentiation are used as part of the numerical conversion. However, the procedure does not calculate numerical logarithms. The method presented is intended in particular to cover the cases in which at least one of the (partial) pressures in the anode and/or cathode chamber of the fuel cell 1 is very low or diminishing. In the expression of the Butler-Volmer equation usually used as a basis, logarithms occur whose argument contains the partial pressure, ln(pi/pi0), where pi0 denotes a reference pressure for the i-th gas component.
At low or even diminishing pressure contributions by the corresponding component, this form thus poses a problem. The method presented herein uses a modified form of the corresponding equations obtained by term transformations in which the partial pressures pi no longer appear as an argument of the logarithm. The numerical conversion based on the modified form enables a numerically stable consideration and observation, in particular given very low partial pressures. Such situations can occur as previously described hereinabove, e.g. during stopping operations of a fuel cell-powered motor vehicle.
In step 400, the fuel cell 1 is actuated at the specified current I and, in step 500, the resulting voltage U at the fuel cell 1 is then measured.
Finally, in step 600, the resulting voltage U is compared with the previously calculated target voltage Us.
The comparison can, e.g., be used to diagnose degradation or a malfunction of the fuel cell. In response to an established degradation, the fuel cell can be actuated such that, for example, the effects of a degradation can be minimized, and a maximum power can still be obtained from the fuel cell. However, it can also be provided that the fuel cell is actuated at a current in response to a diagnosed degradation or malfunction such that the deviation between the target voltage and the measured voltage is at least reduced. Alternatively or additionally, the fuel cell can then be operated at a working point at which further degradation is reduced. However, the fuel cell can also be actuated such that its output power remains constant regardless of the degradation.
Number | Date | Country | Kind |
---|---|---|---|
10 2022 202 160.6 | Mar 2022 | DE | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2023/054262 | 2/21/2023 | WO |