Online configurable control system for fuel cells
A fuel cell system control system includes a fuel cell system and a controller. The controller includes a display and a processor configured to execute a program for managing an operation of a fuel cell state machine having a plurality of states and capable of executing logic to execute state transitions, and a fuel cell failure detection and correction program, configured to detect one or more fuel cell system failures and correct each detected failure while the fuel cell system continues to operate. The control process includes the steps of representing an operation of a fuel cell control system as a state machine having one or more states, controlling the operation of the fuel cell system using the state machine, executing one or more states of the state machine, and correcting operational errors in the fuel cell control system while the fuel cell system continues to operate.
Latest Patents:
This application is a divisional of application Ser. No. 11/404,760, filed Apr. 17, 2006, which is hereby incorporated by reference in its entirety.
BACKGROUND OF THE INVENTIONThe present invention relates generally to the field of fuel cells, such as solid oxide fuel cells (“SOFC”). Specifically, the present invention relates to a control system for a fuel cell system and the programming language for the control system.
Fuel cells convert the chemical energy of fuels directly into electrical energy. A SOFC system is a desirable fuel cell system for generating electricity from hydrocarbon fuels. In SOFC's the electrolyte is a solid oxide ceramic material. Oxygen ions are transferred from the cathode side through the solid oxide electrolyte material at high temperature to react with hydrogen on the anode side.
Generally, the complex processes carried out by a SOFC system are managed by a control system. Its primary function is to control the functions of a SOFC system in all phases of its operation. Conventional control systems for SOFC systems generally include some form of basic error protection. When the SOFC control system detects an error during operation, the SOFC system is powered down. Once powered down, operators may then troubleshoot the system to discover what caused the error.
In addition, operators of SOFC systems may wish to reconfigure how the SOFC system operates. Generally, in order to reconfigure a SOFC system's operating parameters, the control system logic must be modified. In conventional systems, this modification may only take place when the SOFC system is not operating. An interruption to system operation may result in severe degradation of system performance and an interruption of electricity generation.
SUMMARY OF THE INVENTIONAccording to one embodiment of the invention, a fuel cell system control system comprises a fuel cell system and a controller, comprising a display and a processor configured to execute a control program for managing an operation of a fuel cell state machine having a plurality of operational states and capable of executing conditional logic to execute state transitions; and a fuel cell failure detection and correction program, configured to detect one or more fuel cell system failures and execute a corrective procedure for each detected failure while the fuel cell system continues to operate.
According to another embodiment of the invention, a method for controlling a fuel cell system comprises representing an operation of a fuel cell control system as a state machine having one or more states; controlling the operation of the fuel cell system using the state machine; executing one or more states of the state machine; and correcting operational errors in the fuel cell control system while the fuel cell system continues to operate.
According to still another embodiment of the invention, a method for configuring a fuel cell control system comprises providing a fuel cell system; providing a computer configured to execute a control program that operates the fuel cell system; operating the fuel cell system to generate electricity; and updating the control program while the fuel cell system continues to generate electricity.
According to yet another embodiment of the invention, a fuel cell system control system comprises a computer configured to execute a control program, having source code, that operates the fuel cell system, wherein the source code is in the form of a spreadsheet file.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only, and are not restrictive of the invention as claimed.
These and other features, aspects and advantages of the present invention will become apparent from the following description, appended claims, and the accompanying exemplary embodiments shown in the drawings, which are briefly described below.
Embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the following description is intended to describe exemplary embodiments of the invention, and not to limit the invention.
The SOFC system 1 contains an optional hydrogen recovery unit 50 which transfers hydrogen gas from within a gas mixture into a secondary gas stream. The hydrogen recovery unit 50 may be any suitable selective hydrogen recovery device. Unit 50 can be a device based on an electrochemical proton exchange process (i.e., an electrochemical proton exchange pump), such as a polymeric or ceramic proton exchange membrane, or a device which uses pressure swing adsorption for selective hydrogen recovery. The SOFC system 1 contains an optional water vapor and enthalpy recovery unit 45. The water vapor and enthalpy recovery unit 45 may be any device which selectively transfers water vapor from one gas stream to a secondary gas stream. The water vapor and enthalpy recovery unit 45 may be a device which contains a rotating desiccant wheel (also known as an enthalpy wheel) or cyclic desiccant beds. The rate of rotation of the desiccant wheel controls the amount of water vapor transferred by the device. Heat exchanger 40 can be counter flow gas-gas heat exchanger.
The units 50 and 45 are operatively connected to the fuel supply inlet conduit and to the fuel exhaust outlet conduit. Thus, the units 50 and 45 are either directly connected to the inlet and outlet conduits or indirectly connected to the inlet and outlet conduits by respective water and hydrogen delivery conduits. A method of operating the system 1 is described below.
Air containing reactant oxygen is delivered by a blower (not shown) to the cathode heat exchanger 10 through conduit 11. Within the cathode heat exchanger 10 fuel cell waste heat is exchanged into the cathode inlet air raising the air temperature closer to the cell operating temperature. The heated air is then delivered to the cathode chamber 15 through conduit 13. Within the cathode chamber 15, the oxygen gas within the air contacts the cathode electrode 20 and generates oxygen ions. The oxygen ions pass through the solid oxide electrolyte 25 and are made available on the anode electrode 30 to oxidize available fuel.
As the air flows through the cathode chamber 15 the air is partly depleted of oxygen and its temperature is increased from the waste heat generated within the fuel cell. The cathode air from cathode chamber 15 is directed back to the cathode heat exchanger 10 through conduit 14. Within heat exchanger 10, heat is transferred from the exhaust air stream to the air inlet stream in a counter flow arrangement. The cooled exhaust air is then discharged from heat exchanger 10 through conduit 12.
A fuel, such as methane or natural gas and/or another suitable hydrocarbon or hydrogen fuel, is introduced into the SOFC system 1 through conduit 51 into hydrogen recovery unit 50. The fuel may be located in a fuel storage vessel, such as a methane storage vessel, connected to conduit 51. Within hydrogen recovery unit 50, hydrogen gas is transferred from the outlet stream (i.e., the fuel exhaust stream) into the hydrocarbon fuel inlet stream. This hydrogen supports a uniform methane reformation process within the anode catalyst 30 for an internal reforming cells. The methane and hydrogen mixture (i.e., the fuel inlet stream) flows from the hydrogen recovery unit 50 into the enthalpy recovery unit 45 through conduit 53. For external reforming cells, the hydrocarbon fuel is reformed to a hydrogen containing fuel in an external reformer.
Within the water vapor and enthalpy recovery unit 45, a portion of the water vapor is transferred from the exhaust or outlet stream into the fuel inlet stream. From the water vapor and enthalpy recovery unit 45, the methane, hydrogen and water vapor mixture (i.e., the inlet stream) is introduced into the fuel heat exchanger 40 through conduit 55. In the heat exchanger 40, the gas mixture temperature is increased near to the operational temperature of about 600° to 1000° C., such as 800° C., using the high temperature waste heat from the fuel exhaust stream. From heat exchanger 40, the hot mixture of methane, hydrogen, and water vapor (i.e., the inlet stream) is delivered to the anode chamber 35 through conduit 57. Some steam reformation of the methane will occur in the heat exchanger 40 and conduit 57, but the amount is suppressed by the existence of the hydrogen. For internal reforming cells, the completion of the steam reforming of the methane is accomplished in the anode catalyst 30.
Within the anode electrode catalyst 30, the steam reforming of methane and the oxidation of carbon and hydrogen in the fuel cell reactions convert the discharged gas mixture to carbon dioxide, additional water vapor, and excess hydrogen. The discharged gas mixture (i.e., the exhaust or outlet stream) flows to heat exchanger 40 through conduit 58, releasing waste heat. The discharged gas mixture (i.e., the exhaust or outlet stream) then flows through conduit 56 to the enthalpy recovery unit 45 to supply a portion of the water vapor to support the input methane reformation. The discharged gas mixture (i.e., the exhaust stream) is then directed to the hydrogen recovery unit 50 through conduit 54, where a selected amount of the hydrogen is transferred to the methane inlet stream. Preferably, the hydrogen recovery unit 50 is located separately from the water vapor and enthalpy recovery unit 45 and the hydrogen recovery unit is located further downstream from the water vapor and enthalpy recovery unit relative to the solid oxide fuel cell stack, such that hydrogen is introduced into the fuel inlet stream before water vapor. The exhaust stream from hydrogen recovery unit 50, containing mostly carbon dioxide, water, and a small quantity of non-reacted fuel, is discharged from the SOFC system 1 through conduit 52.
In addition to stepping through the control system in a normal operational manner, the state machine has the capability to jump to various sub-steps in the fuel cell system operation. In other words, the fuel cell system control system may be manipulated to switch between one or more modes of operation of the fuel cell system or one or more sub-states within a mode. This allows the SOFC system to adapt to unpredictable behavior and possibly bypass an operational step if so desired. The fuel cell control program or state machine will now be described in further detail with reference to
Upon startup 300, the state machine steps from one sub-step to another as certain conditions are satisfied in the logic within each sub-step. The state machine progresses through each sub-step until a steady-state operating condition 400 is achieved.
Sub-step 1 (330) begins with a process or Action 1 (Step 305). An action may be one of several processes executed by the fuel cell system as detailed above. The control system then determines whether a Condition 1 is true (Step 310). If Condition 1 is true then the control system performs Action 2 (Step 315). If Condition 1 is false then Action 1 is repeated (Step 305). Specifically in this embodiment, Action 1 is repeated until Condition 1 is true. After Action 2 is executed, the fuel cell control program instructs the fuel cell system 1 to execute Action 3 (Step 320). As shown in
Once condition 3 is true, the control system program proceeds to Sub-step 2 (340). Sub-step 2 may be a sub-step similar to Sub-step 1 or may be different. The actions which are carried out in Sub-step 2 and Sub-step n-1 (350) will depend in large part to the operational characteristics of the SOFC.
Sub-step n illustrates a slight variation upon the logic carried out in Sub-step 1. First, after Action 1 (360) is executed, the control system program determines if Condition 1 is true. If Condition 1 (365) is true, the control system program proceeds to Action 2 (Step 370). If Condition 1 (365) is false the control system program proceeds to Action 3, bypassing Action 2 entirely (Step 375). Next, if Condition 3 (380) is false, Action 3 is repeated. In the alternative, if Condition 3 is true, Action 4 is executed (Step 385). According to this embodiment of the invention, after Sub-step n (390) the control program is configured so that SOFC reaches a steady state (400).
The control system program described above also allows for manual overrides so the user can interrupt the state machine and jump to different sub-steps. This ability to skip actions within a sub-step or to resume operation at any juncture is a useful feature for debugging newly added fuel cell control system logic.
The failure detection and correction aspect of the control system will now be described with reference to
Now with reference to
According to one embodiment of the invention and as shown in
Several functions are available to a user via the graphical programming application 640 for the fuel cell control system 620. For example, using the graphical programming application 640 the user can pause execution of the control logic for the fuel cell control system 620. Further, the user may use the graphical programming application 640 to specify a new sub-state within the state machine to begin execution of the control logic. Moreover a user may use the graphical programming application 640 to debug the control logic. For example, via the graphical programming application 640, a user can step through each command in the control logic and observe the result of each action. In the alternative, a user can skip steps that they do not wish to test. Finally, while in debug mode, the graphical programming application 640 allows the user to resume operation of the control logic whenever they desire.
A method for modifying the operational function of a fuel cell system 1 without shutting down the fuel cell system shall now be discussed with reference to
Once a user has completed modifications to the spreadsheet file 610, the file is imported into the control program 640 (Step 730). As shown in step 740, the spreadsheet file 610 is then compiled by the control program 640. Upon compilation, the control program rebuilds the current execution logic being used to operate the fuel cell system 1 to reflect any changes. Upon compilation, the next sub-step executed by the fuel cell system 1 is that of the newly compiled logic. If the newly compiled logic specified a start state upon compilation (Step 760) then the fuel cell control system 620 operation begins execution at the specified state (Step 780). Otherwise, the fuel cell control system 620 operation executes the next state machine process designated by the newly compiled control program without stopping the operation of the fuel cell 1. Further, the fuel cell control system 620 allows a user to pick a new start state of their choice at a later time, provided jumping to the user selected state is physically feasible during the operation of the fuel cell system 1. This architecture gives a user the ability to change the fuel cell system parameters and logic according to detected operational parameters, system failures, user or customer requirements, etc.
The programming language used for implementing the fuel cell control system 620 will now be described in further detail. The programming language allows for all fundamental operations required to run an automated control system using a sequence of state changes. The programming language can be used to implement function calls, loops and other features available in high level languages. The programming language also includes several commands specific to fuel cell control systems 620.
Preferably, the programming language is written using a spreadsheet program instead of a conventional text editor. For example, the programming code may be written in Microsoft Excel™. Creating programming code in a spreadsheet program allows for easier error checking specifically for identifying syntax errors which can be a common programming error. Specifically, features within Excel such as validity checking and special code in Visual Basic can be written to complete syntax checking and be extended to make the language graphically programmable.
Further, the programming language can be expanded and the programming language compiler can be modified to recognize new keywords and or parameters a user desires to add. The programming language is modular and its execution can be directed to any sub-step or any Action or Condition. Nested function calls as well as recursion is allowed.
The programming language uses defined tags to access system variables. This insures tight integration with the fuel cell control system 620. Tabs are used as delimiters. Thus, there is no restriction on the use of white space in the language. The programming language can be loaded to a fuel cell control system 620 dynamically while the fuel cell system 1 is running. The compiler for the programming language compiles the most current control system programming instructions.
The programming language integrates failure detection within its framework. Failure conditions can be specified in the programming language along with specific corrective steps for each failure. Failure detection and correction has priority over normal execution of the program. The failure detection functionality runs independently and at a higher frequency than the state machine execution. In addition, the failure detection functionality is also compiled and loaded independent of the state machine. After failure correction, the program may resume execution of the control system program 640 at any stage. The language syntax will now be described in more detail.
Each row in the spreadsheet file specifies a Condition or Action. According to one embodiment of the invention, as shown in
Below, for example, is a list of COMMANDS and their associated description and usage:
Note that according to one embodiment of the invention, the following comparison types are allowed {>, <, =, >=, <=, !=}. In addition the AND, OR and NOT logical operators may be used.
Below, for example, is a list of IF CONDITIONS and their associated description and usage.
The above-described system has several advantages. The control system program 640 and architecture allow for the detection of failure modes and specifies corrective action for each failure mode. This corrective action may take place while the fuel cell system is still functioning as opposed to having to first shut down the fuel cell and then make corrections. The modular sub-step design of the fuel cell control system program 640 gives a user the ability to easily switch between modes of operation (states) of the fuel cell system. Further, the fuel cell control architecture provides a user with the ability to dynamically change the fuel cell system parameters and logic without shutting down the fuel cell system.
The foregoing description of a preferred embodiment of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and modifications and variations are possible in light of the above teaching or may be acquired from practice of the invention. The embodiment was chosen and described in order to explain the principles of the invention and as a practical application to enable one skilled in the art to utilize the invention in various embodiments and with various modification are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto and their equivalents.
Related U.S. patent application Ser. No. 11/002,681 is herein incorporated by reference in its entirety.
Claims
1. A fuel cell system control system, comprising:
- a fuel cell system;
- a controller, comprising: a display; and a processor configured to execute: a control program for managing an operation of a fuel cell state machine having a plurality of operational states and capable of executing conditional logic to execute state transitions; and a fuel cell failure detection and correction program, configured to detect one or more fuel cell system control system failures and execute a corrective procedure for each detected failure while the fuel cell system continues to operate.
2. A fuel cell system control system as claimed in claim 1, wherein the control program may be manipulated to switch between one or more modes of operation of the fuel cell system or one or more sub-states within a mode.
3. A fuel cell system control system as claimed in claim 1, wherein the fuel cell system control system allows for the control program to be configured and updated during operation of the fuel cell system without interrupting operation of the fuel cell system.
4. A fuel cell system control system as claimed in claim 3, wherein the configuring or updating of the control program includes changing operational parameters and logic of the fuel cell system.
5. A method for configuring a fuel cell control system, comprising:
- providing a fuel cell system;
- providing a computer configured to execute a control program that operates the fuel cell system;
- operating the fuel cell system to generate electricity; and
- updating the control program while the fuel cell system continues to generate electricity.
6. A method for configuring a fuel cell control system as claimed in claim 5, wherein the updating step further comprises:
- modifying the control program in a spreadsheet application;
- importing the modified control program into an instrument control environment;
- compiling the modified control program;
- rebuilding the control program;
- if the modified control program specifies a new start state for the fuel cell control system, executing the new start state; and
- if the modified control program does not specify a new start state for the fuel cell control system, continuing to operate the fuel cell system to generate electricity, and allowing a user to pick the new start state.
7. A method for configuring a fuel cell control system as claimed in claim 5, wherein the control program allows a user to specify a new beginning sub-state for the execution of the control logic.
8. A method for configuring a fuel cell control system as claimed in claim 5, wherein the control program allows a user to debug the control logic.
Type: Application
Filed: Sep 21, 2009
Publication Date: Apr 15, 2010
Patent Grant number: 8185214
Applicant:
Inventors: Abhijit Dutta (Mountain View, CA), Swaminathan Venkataraman (Cupertino, CA)
Application Number: 12/585,627
International Classification: H01M 8/04 (20060101); H01M 8/00 (20060101);