1. Field of the Invention
This invention relates generally to an algorithm for calculating a polarization curve for a fuel cell stack and, more particularly, to an algorithm that estimates a polarization curve for a fuel cell stack online by collecting data when the stack is running, calculating two or more parameters from the collected data that are used to determine the polarization curve and storing the parameters in memory.
2. Discussion of the Related Art
Hydrogen is a very attractive fuel because it is clean and can be used to efficiently produce electricity in a fuel cell. A hydrogen fuel cell is an electrochemical device that includes an anode and a cathode with an electrolyte therebetween. The anode receives hydrogen gas and the cathode receives oxygen or air. The hydrogen gas is dissociated in the anode to generate free hydrogen protons and electrons. The hydrogen protons pass through the electrolyte to the cathode. The hydrogen protons react with the oxygen and the electrons in the cathode to generate water. The electrons from the anode cannot pass through the electrolyte, and thus are directed through a load to perform work before being sent to the cathode.
Proton exchange membrane fuel cells (PEMFC) are a popular fuel cell for vehicles. The PEMFC generally includes a solid polymer electrolyte proton conducting membrane, such as a perfluorosulfonic acid membrane. The anode and cathode typically include finely divided catalytic particles, usually platinum (Pt), supported on carbon particles and mixed with an ionomer. The catalytic mixture is deposited on opposing sides of the membrane. The combination of the anode catalytic mixture, the cathode catalytic mixture and the membrane define a membrane electrode assembly (MEA). MEAs are relatively expensive to manufacture and require certain conditions for effective operation.
Several fuel cells are typically combined in a fuel cell stack to generate the desired power. The fuel cell stack receives a cathode input gas, typically a flow of air forced through the stack by a compressor. Not all of the oxygen is consumed by the stack and some of the air is output as a cathode exhaust gas that may include water as a stack by-product. The fuel cell stack also receives an anode hydrogen input gas that flows into the anode side of the stack.
The stack controller needs to know the current/voltage relationship, referred to as a polarization curve, of the fuel cell stack to provide a proper distribution of power from the stack. The relationship between the voltage and the current of the stack is typically difficult to define because it is non-linear, and changes depending on many variables, including stack temperature, stack partial pressures and cathode and anode stoichiometries. Additionally the relationship between the stack current and voltage changes as the stack degrades over time. Particularly, an older stack will have lower cell voltages, and will need to provide more current to meet the power demands than a new, non-degraded stack.
Fortunately, many fuel cell systems, once they are above a certain temperature, tend to have repeatable operating conditions at a given current density. In those instances, the voltage can be approximately described as a function of stack current density and age.
In accordance with the teachings of the present invention, an algorithm is disclosed for an online and adaptive estimation of a polarization curve for a fuel cell stack. When the fuel cell stack is running and certain data validity criteria have been met, the algorithm goes into a data collection mode where it collects stack data, such as stack current density, average cell voltage and minimum cell voltage. When the stack is shut down, the algorithm uses a cell voltage model to solve a non-linear least squares problem to estimate predetermined parameters that define the polarization curve. If the estimated parameters satisfy certain termination criteria, then the estimated parameters are stored to be used by a system controller to calculate the polarization curve of the stack for future runs.
Additional features of the present invention will become apparent from the following description and appended claims, taken in conjunction with the accompanying drawings.
The following discussion of the embodiments of the invention directed to an algorithm for estimating the polarization curve for a fuel cell stack online is merely exemplary in nature, and is in no way intended to limit the invention or its applications or uses.
Many control parameters of a fuel cell system require knowledge of the polarization curve of the fuel cell stack, such as knowing the maximum voltage potential and current draw available from the fuel cell stack. As mentioned above, as the stack ages, the stack polarization curve also changes as a result of stack degradation.
The present invention proposes an algorithm for calculating the polarization curve for the fuel cell stack online as the fuel cell system is being operated. As will be discussed in detail below, the algorithm estimates two or more stack parameters from collected data as the stack is being operated, and uses the parameters to calculate the polarization curve. In one non-limiting embodiment, the fuel cell system employs split stacks, where two polarization curves for each stack are simultaneously estimated. A first polarization curve is based on the average cell voltage and the stack current density for the first stack, a second polarization is based on the minimum cell voltage and the stack current density for the first stack, a third polarization curve is based on the average cell voltage and the stack current density for the second stack and a fourth polarization curve is based on the minimum cell voltage and the stack current density for the second stack.
In the data collection mode, the algorithm will continually determine the stack current density and the voltages of the fuel cells in the fuel cell stacks 20 and 22. The fuel cell voltages are used to calculate an average cell voltage and a minimum cell voltage for the stacks 20 and 22. The possible stack current densities are separated into predetermined ranges. For each range, four bins are defined, which are represented as bins Y1-Y4 in Table I below for the current density ranges shown. The bin Y1 is a function of the average cell voltage for the first split stack 20, the bin Y2 is a function of the minimum cell voltage for the first split stack 20, the bin Y3 is a function of the average cell voltage for the second split stack 22 and the bin Y4 is a function of the minimum cell voltage for the second split stack 22. During the data collection state, each subsequent new value is stored in the bins after passing it through averaging filters. In addition, for each current range, a “valid” and a “count” value are stored. A 1 bit is put in the valid location if data is stored in any of the bins Y1-Y4 for that current density range and a 0 bit is put in the valid location if data is not stored in any of the bins Y1-Y4 for that current density range. The count location stores a value that identifies the number of times a value has been changed in any of the bins Y1-Y4 for the current density range.
The algorithm also determines at box 34 whether the collected data is sufficient to satisfy predetermined data sufficiency criteria (DSC). In one non-limiting embodiment, the algorithm determines if the collected data is sufficient if one of the following two conditions is satisfied.
If the predetermined data sufficiency criteria have not been met, and the fuel cell stacks 20 and 22 are shut down, then the algorithm returns to the box 32.
After the fuel cell stacks 20 and 22 have been shut down and the data sufficiency criteria have been met, then the algorithm proceeds to box 36 to estimate the parameters that will be used to determine the polarization curves. In one non-limiting embodiment, a predetermined cell voltage model is used to determine the parameters as:
Where the following measurements are provided:
For a system with very repeatable membrane humidification control, RHFR might be represented as a function of current density. Similarly, Erev might also be represented as a function of current density. This suggests that at each current density, the operating pressure, temperature, stoichiometry and humidification are sufficiently repeatable to use a simplistic term. In another embodiment, the average RHFR could be either measured or calculated at each count, and averaged in a separate column in Table I. The value Erev could be computed the same way, based on temperature and pressure data at each count.
The cell voltage model of equation (1) can be simplified by ignoring the constant a so that equation (1) becomes:
Rearranging the terms in equation (2) gives:
To provide the parameter estimation, the following variables are defined:
In equation (5), the input-output pair is (x,y) and the parameters to be estimated are θ=[θ1,θ2,θ3]T. For a given training set G=x(i),y(i):(i=1,2, . . . ,M), a cost function to be minimized can be defined as:
By letting ε(i)=y(i)−F)(x(i),θ), equation (6) becomes:
where T is the transpose of a matrix. Therefore, the parameter estimation solves a non-linear least squares problem so that the solution θ=[θ1,θ2 θ3]T minimizes J(θ,G) .
The non-linear least squares problem can be solved using any suitable numerical method, such as a Gauss-Newton estimation with a Levenberg-Marquardt update method. The Gauss-Newton approach can be summarized by linearizing an error ε(θ,G) at the current value of θ(k), where k is an iteration index, and solving the least squares problem to minimize the error value and estimate θ(k+1). In one embodiment, the computation is minimized by setting the value θ2 to a constant θc and estimating the other two parameters θ1 and θ3. However, this is by way of a non-limiting example in that all three of the parameters θ1, θ2 and θ3 can be estimated by the algorithm or any other suitable parameters.
In other embodiments, different techniques could be used to solve equation (7). For example, for stacks in which performance is insensitive to i∞, this parameter could be replaced with a constant. Then the parameters i0 and c could be solved sequentially. The parameter i0 could be solved by using data collected at low enough current density to minimize mass transport losses, but high enough to minimize the effect of permeation (0.05-0.1 A/cm2). Then the resulting equation could be solved with the high current density data to obtain the parameter c.
The algorithm also determines whether the estimated parameters provide or exceed a predetermined estimation success criteria (ESC) at the box 36. Particularly, in one non-limiting embodiment, the calculated parameters must satisfy the equation:
θ(k+1)−θ(k))T(θ(k+1)−θ(k))≦ωθ(k)Tθ(k) (8)
Where ω is a tunable parameter used to determine the steady state of the estimation and T is the transpose of a matrix.
The termination criteria are computed at the end of each estimate generated by the parameter estimation algorithm. Because there are four parameters being simultaneously estimated, each estimation generates a flag that is set only when its termination criteria is met. The estimated success criteria are set high only when all four estimations meet determination criteria. If the estimation success criteria have not been met, then the algorithm returns to the box 32 to wait for the fuel cell stacks 20 and 22 to start back up.
If the estimation success criteria have been met, then the algorithm stores the estimated parameters in a non-volatile random access memory (NV RAM) at box 38. The controller 24 can then access the NV RAM to get the current estimation parameters, which can then be used to calculate the polarization curve in a manner that is well understood to those skilled in the art. Once the estimation parameters are stored, then the algorithm returns to the box 32 for the next stack start-up.
The foregoing discussion discloses and describes merely exemplary embodiments of the present invention. One skilled in the art will readily recognize from such discussion and from the accompanying drawings and claims that various changes, modifications and variations can be made therein without departing from the spirit and scope of the invention as defined in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5879828 | Debe et al. | Mar 1999 | A |
6020584 | Brarens et al. | Feb 2000 | A |
6271522 | Lindermeir et al. | Aug 2001 | B1 |
6624636 | Arai et al. | Sep 2003 | B2 |
6756141 | Miller et al. | Jun 2004 | B2 |
6777122 | Okamoto | Aug 2004 | B2 |
6794844 | Hochgraf et al. | Sep 2004 | B2 |
7124040 | Engelhardt et al. | Oct 2006 | B2 |
7348082 | Kolodziej | Mar 2008 | B2 |
Number | Date | Country |
---|---|---|
1635657 | Jul 2005 | CN |
2005-166601 | Jun 2005 | JP |
2005-322577 | Nov 2005 | JP |
Number | Date | Country | |
---|---|---|---|
20080182139 A1 | Jul 2008 | US |