Next Article in Journal
Detection of Drivers’ Anxiety Invoked by Driving Situations Using Multimodal Biosignals
Next Article in Special Issue
Experimental Analysis of the Performance and Load Cycling of a Polymer Electrolyte Membrane Fuel Cell
Previous Article in Journal
Possibility to Save Water and Energy by Application of Fresh Vegetables to Produce Supplemented Potato-Based Snack Pellets
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Designing Hydrogen and Oxygen Flow Rate Control on a Solid Oxide Fuel Cell Simulator Using the Fuzzy Logic Control Method

1
Department of Electrical Engineering, Diponegoro University, Semarang 50271, Indonesia
2
Department of Mechanical Engineering, Diponegoro University, Semarang 50271, Indonesia
*
Author to whom correspondence should be addressed.
Processes 2020, 8(2), 154; https://doi.org/10.3390/pr8020154
Submission received: 9 December 2019 / Revised: 15 January 2020 / Accepted: 21 January 2020 / Published: 25 January 2020
(This article belongs to the Special Issue Representative Model and Flow Characteristics of Fuel Cells)

Abstract

:
A solid oxide fuel cell (SOFC) is an electrochemical cell that converts chemical energy into electrical energy by oxidizing fuel. SOFC has high efficiency and cleans oxidation residues. Research has shown the importance of SOFC control. Voltage output control is needed because of nonlinearity, slow dynamics, and proper SOFC operating restrictions. This study aims to design an SOFC simulator with output voltage control to optimize the flow rate of fuel (hydrogen) and air (oxygen). This SOFC simulator is designed based on a microcontroller model. The controller is designed using the fuzzy logic method. Tests show that the output voltage can approach the set point with an average of 340.6 volts. The pressure difference (∆Pressure) between the two gases averaged 4428 Pa, and the fuel/gas flow rate was in the range of 0.7 mol/s. The controller can correct both the output voltage of the SOFC simulator and the difference in gas pressure under 8106 Pa (0.08 atm).

1. Introduction

A solid oxide fuel cell (SOFC) is a device that converts electrochemical energy into electricity directly based on ceramic materials. If the fuel used in the equipment is hydrogen, it will produce waste products in the form of water vapor and heat. The main components of an SOFC are anodes, electrolytes, and cathodes. Cells are made of ceramic material with an operating temperature of 500–1000 °C [1]. Hydrogen (H2) is supplied to the anode, while air/oxygen (O2) is supplied to the cathode. A SOFC uses ceramic materials such as zirconium oxide as electrolytes. In the presence of electrolytes, hydrogen gas will not be mixed with oxygen. If the anode and cathode are connected to an electrical conductor, electrons will flow from the anode to the cathode, and a chemical reaction will produce an electric current [2,3,4].
Research focuses on maximizing the performance of single cell stacks of SOFCs. At the stack level, several factors cause a loss of performance due to the fragile nature of SOFC ceramics, the type of current collector, the channel size, and the mismatch thermal expansion of stack components. However, the design of fuel/gas flow is one of the most significant factors affecting the performance of a single cell SOFC stack. In other words, the distribution of fuel/gas with the flow channel in the interconnection is one of the most important parameters in the SOFC stack design [5].
The latest study on SOFCs is quite interesting for researchers because of its dynamic system and proper operational limitations. Optimal PI control has been proposed for active power demand in a distributed SOFC electricity network connection system. SOFC has two control strategy designs, namely the pressure difference controller at the anode and that at the cathode. The controller is applied to a stack of 450 cells. This system is adjusted to maintain fuel use at 85% (0.85), and the pressure difference is maintained between 0 and 0.08 atm [6].
The SOFC plant has nonlinearity and slow dynamics. The combined control structure has been applied to feedback and forward feedback. The basic PI feedback control is used to accommodate nonlinearities. Dynamic response is accelerated through feedforward actions. The simulation shows that the resulting performance is similar to the predictive control design (MPC) [7].
This study aims to separate the interaction between thermal and electrical parameters with hydrogen fuel. This study focuses on the design of decoupling controls for the thermal and electrical characteristics of SOFC systems through offgas anode (AOR) recycling. The decoupling control system independently manipulates thermal and electrical parameters. Interactions with each other in many cases, such as stack temperature, furnace temperature, system flow, and system power. For electricity problems, the decoupling control scheme shows its advantages compared to conventional controllers in alleviating fast load accumulation and avoiding fuel depletion [8].
Fuel cells are an attractive choice for alternative power and usage in a variety of applications. This paper proposes a state space model for an SOFC-based power system consisting of a fuel cell, a DC–DC buck converter, and a load. In this investigation, we have taken a case study for an SOFC that gives a DC load where the DC–DC buck converter acts as an interface between the load and the source. A proportional-integral controller (PI) is used together with pulse width modulation (PWM), which calculates the pulse width and replaces the MOSFET at the right time so that the desired voltage is obtained. The proposed model is validated through extensive simulations using MATLAB/SIMULINK. The controller for the fuel cell power system (FCPS) in the prototype uses the XC3S500E development board containing SPARTAN 3E Xilinx FPGA [9].
Optimal control can ensure safe system operation with high efficiency. However, only a few papers discuss optimal control strategies for solid oxide fuel cell (SOFC) systems. Therefore, a robust optimal control strategy is proposed, which involves three parts: an SOFC model with parameter uncertainty, a robust optimizer, and robust controllers. To ensure the safe SOFC operation, two feed-forward controllers and a higher-order robust sliding mode controller are presented to control the fuel utilization ratio, the air excess ratio, and afterwards the stack temperature. The results show that the proposed optimal robust control method can maintain the safe SOFC system operation with maximum efficiency [10].
Some of the references above [5,6,7,8,9,10] show software-based SOFC stack simulations. Some of them use MATLAB. Some control methods are also used, such as robust control and PI. Generally, the research is related to SOFC output regulation. SOFC output is correlated with fuel/gas flow rate and fuel usage. So far, research related to microcontroller-based simulator models and electronic components has not been encountered. Therefore, in this study, the design of microcontroller-based simulators and fuzzy logic control methods is proposed. The SOFC simulator design is expected to provide characteristics that resemble actual installations. SOFC simulators are used to be able to see the output voltage control and optimize the flow rate of hydrogen and oxygen. These parameters can help solve SOFC cell performance.

2. Materials and Methods

2.1. Hardware Design

In general, SOFC simulator hardware design includes hydrogen (H2) and oxygen (O2) flow rate controllers. The device includes an electronic circuit with two microcontrollers, namely Arduino Nano and STM32F103C8T6. Arduino Nano is used for SOFC stack simulators. STM32F103C8T6 is used for H2 and O2 flow rate control. Broadly speaking, the relationship between systems is shown in the block diagram in Figure 1.
The system starts by providing input values for the H2 flow rate, the O2 flow rate, the temperature, and the input current (external). These values are then processed on the Arduino Nano microcontroller. The Arduino Nano microcontroller produces output H2 pressure, O2 pressure, and SOFC simulator voltage. The output is then conditioned so that it can move the potentiometer combined with the servo motor, so the output is in the range of 0–5 volts. The maximum output of 5 volts is again conditioned to 3.3 volts. The conditioned parameter values are then processed by the STM32F103C8T6 microcontroller. The STM32F103C8T6 microcontroller output is the servo angle for the H2 flow rate and the O2 flow rate. The output value of the flow rates of the two gases is equally conditioned to a maximum of 3.3 volts. The second set of flow rates is a potentiometer that is combined with a servo motor.
The output for the SOFC simulator is designed using a potentiometer coupled with a servo motor actuator. As shown in Figure 2. This circuit produces an output value from the SOFC simulator between 0 and 3.3 volts, because the micro input works at a maximum of 3.3 volts. The SOFC simulator design consists of an input part (temperature, current, and flow rate of the two gases); the processing part is the Arduino Nano microcontroller; the output part is hydrogen pressure, oxygen pressure, and SOFC voltage.

2.2. Algorithm System

2.2.1. SOFC Simulator Algorithm

Figure 3 shows the algorithm flow chart for the simulator system. This algorithm is systemically carried out on the first microcontroller. The steps in the algorithm are described as follows:
  • The input port and output actuator port used are initialized. The parameter values from the SOFC model are then initialized.
  • The hydrogen/oxygen flow rate, the external SOFC current, and the SOFC temperature are read.
  • The input process is obtained from the flow rate of hydrogen/oxygen, external SOFC currents, and SOFC temperatures.
  • The partial pressure, voltage losses, Nernst voltage, and SOFC voltage are calculated.
  • The output process produces hydrogen/oxygen pressure and SOFC voltage.
  • The system returns to repeat after the output process is finished.

2.2.2. Flow Rate Controller Algorithm

Figure 4 is a flow diagram for a hydrogen/oxygen flow rate control system algorithm. The flow rate control algorithm is performed on the second microcontroller (STM32F103C8T6). The steps in the flow chart are as follows:
  • The sensor input port to be used is initialized. The set point value that has been given is then read.
  • The value of the SOFC voltage, the hydrogen/oxygen flow rate, the hydrogen/oxygen pressure, and the SOFC temperature are read.
  • The input process is obtained from two inputs, namely the SOFC voltage and the given external SOFC current. The value of the set point voltage is calculated with the SOFC output voltage. Both the error value and ∆ error are obtained.
  • Errors and ∆errors are classified and processed using the fuzzy logic method with a predetermined membership function and rule base.
  • The average weighting value is calculated through the weighted average method, including the flow rate for hydrogen/oxygen.
  • Data from the SOFC simulator are sent to the graphic user interface on the personal computer using the USB TTL CH340.
  • The system returns to repeat after the output process is finished.
The basic rules of fuzzy logic control (FLC) in this software are to regulate the flow rate of hydrogen and oxygen. FLC is designed to match the characteristics of the SOFC simulator. The output of this FLC is the angle value of the hydrogen/oxygen channel valve rotation. The valve output produces a voltage of 0–5 volts according to the microcontroller input characteristics [11,12].

2.2.3. Control Design

The design of the control system includes a fuzzy logic method to obtain values from the valve opening angle parameters H2 and O2 flow rates. The value of the fuzzy controller function membership is obtained from the output voltage data obtained from the SOFC simulator, which has been tested for maximum output limits. Meanwhile, the determination of the fuzzy rule base is the result of observing the characteristics of the SOFC simulator system diagram when heading towards its stabilizing output voltage. Figure 5 is a block controller of the H2 and O2 flow rates.
The fuzzy logic control method in this design obtains the input from the output voltage generated by the SOFC simulator. The output is in the form of an angle, which will be used to turn the valve to produce the expected H2 and O2 flow rates. The design of this fuzzy logic control method is divided into three: fuzzyfication, the rule base, and defuzzyfication.
Fuzzyfication
There is a membership function that plays the role of blurring (fuzzy), and this can be grouped into a set of memberships that have been determined. The processes in the fuzzyfication for H2 and O2 flow rates have the same input.
The fuzzy logic control has the input in the form of error and ∆error from the reading process of the SOFC output voltage values on the set point. The set point used is 333 volts. The error and ∆error membership functions are shown in the membership set graph in Figure 6 and Figure 7. The limit of the error membership set value is obtained from the maximum voltage value that can be generated by the SOFC simulator when the hydrogen and oxygen flow rates reach 1 mol/s. The limit of the membership set value of ∆error is then obtained from the most frequent error value changes.
Rule Base
Rule base in the design is divided into 2 pieces, namely the rule base angle of hydrogen flow rate and oxygen flow rate angle. Determination of the rule base is done by looking at the characteristics of the SOFC simulator when not using a controller.
The rule base parameter values are obtained through tuning with random angle values according to the characteristics of the system. Experiments carried out several times produce the best constant values as shown in Table 1 and Table 2. The meaning of the variable “C” is closed, “S” is small, “A” is average, “W” is wide, and “VW” is very wide. The meanings of Z (zero), S (small0, M (medium), H (high), and VH (very high) are variables that are made to facilitate controller programming.
Table 1 is 25 fuzzy rules used for hydrogen flow. As an example; if the error is Negative (Z) & the ∆error is Negative (Z) then the hydrogen flow rate angle is closed (C). The oxygen flow rate angle is closed (C). So in this condition the angle position is at the smallest (closed) in order to stabilize the system.
Table 2 is 25 fuzzy rules used for hydrogen flow. As an example; 25. If the error is Positive (VH) & error is Positive (VH) then the hydrogen flow rate angle is closed (C). The oxygen flow rate angle is closed (C). The oxygen flow rate angle is closed (C). So in this condition the angle position is at the smallest (closed) in order to stabilize the system.
Singleton
This is the real value used to produce the output from FLC hydrogen and oxygen flow rates in the form of valve angles. It uses 2 singleton fruits-1 pieces for valve hydrogen flow rates and 1 piece for valve oxygen flow rates, as shown in Figure 8 and Figure 9 below:
Back in Figure 2 that the servo motor is used to rotate the potentiometer angle. The angle of the servo motor used is not full 180 degrees There is an offset of about 20 degrees so that the range is only around 150 degrees. By trial and error the best results are obtained for the angles of hydrogen, as shown in Figure 8. While the best results are for the angles of oxygen, as shown in Figure 9.
The position of the angles in Figure 8 and Figure 9 are the values included in the rule base. Rules base designed with 25 fuzzy rules. Between hydrogen and oxygen there is a difference in angle at the starting point 110 and 100 degrees, respectively.
Defuzzyfication
This is the final stage in designing fuzzy control methods. It uses the Sugeno fuzzy logic method with the weighted average method in order to obtain fuzzy output values for each rule. The weighted average method is carried out by summing each weight with the output value produced, and dividing that by the number of weights as shown below:
n = 1 n = 25 Z n W n W n

2.2.4. SOFC Simulator Model

The characteristics of the simulator include a number of conditions in its design. The SOFC cell stack model will be based on the following assumptions:
-
Gas is ideal.
-
The stack is fed with hydrogen and oxygen channels.
-
Channels that carry gas along the electrode have a fixed volume and a small length, so they only need to determine a single pressure in the interior.
-
The removal of each channel is through a single orifice.
-
The temperature is stable at all times.
-
The only source of loss is ohmic.
-
The Nernst equation can be applied.
According to [13], in relation to the characteristics of exhaust of channels, an orifice that is considered choked, when fed with a mixture of average molar gas (kg/kmol) and similar specific heat ratios, at a constant temperature, meets the following characteristics:
W P U = K M
where W is the mass flow [kg/s], K is the valve constant [ k m o l   k g / ( a t m   s ) ] , and Pu is the pressure in the channel.
For the case of the anode, the concept of using U f fuel can be introduced, as a comparison between the flow of the reacting fuel and the flow of fuel injected into the stack. U f is also a way to express the molar fraction of water at discharge. According to this definition, Equation (2) can be written as
  W a n P a n =   K a n ( 1   U f ) M H 2 +   U f M H 2 O
where W a n is the mass flow through the anode valve [kg/s]; K a n is the anode valve constant k m o l   k g / ( a t m   s ) ] ; M H 2 , M H 2 O are the molecular mass of hydrogen and water, respectively [kg/kmol]; Pan is the internal pressure on the anode channel [atm].
If it can be assumed that the molar flow of any gas through the valve is proportional to the partial pressure in the channel, then it can be stated according to the following:
q   H 2 p H 2 =   K a n M H 2 =   K H 2
q H 2 O p H 2 O =   K a n M H 2 O =   K H 2 O
where q H 2 , q H 2 O are the molar flows of hydrogen and water through the anode valve [kmol/s]; p H 2 , p H 2 O are partial pressures of hydrogen and water [atm]; K H 2 , K H 2 O are hydrogen and water valve molar constants (kmol/(s atm)).
The design parameters of the simulator process are needed to calculate the value of the plant output. All of these are assumed as shown in Table 3.
Partial pressure is calculated based on Equations (6), (8), and (10), while calculating the prototype of the SOFC simulator [7,13]. This equation is still in the form of a transfer function. In the use of a microcontroller, the equation must be converted into a time equation that is to be converted into C programming language. An equation is used to find the partial pressure value of H2:
p H 2 _ o = 1 K H 2 1 + τ H 2 s ( q H 2 o 2 K r I ) .
For example,
x = p H 2 _ o
k 1 = 1 K H 2
u = q H 2 _ o 2 K r I .
It is then transformed in reverse to its time version as shown below:
x = k 1 1 + τ H 2 s · u
x ( s ) + x ( s ) · τ H 2 s = k 1 · u ( s )
                  x + τ H 2 · d x d t = k 1 · u
        τ H 2 · d x d t = x + k 1 · u
      d x d t = x τ H 2 + k 1 · u τ H 2 .
Next, it is made discrete by the method of backward differences, so the value of the H2 partial pressure equation can be obtained based on the time changes:
x ( k ) = 1 ( 1 + T τ H 2 ) · x ( k 1 ) + T · k 1 τ H 2 · ( 1 + T τ H 2 ) · u ( k )
x ( k ) = A · x ( k 1 ) + B · u ( k ) .
The description of H2 partial pressure calculation from Equation (5) resulted in the application of the equation
x ( k ) = A · x ( k 1 ) + B · u ( k )
in C language with A = 1 ( 1 + T τ H 2 ) and B = T · k 1 τ H 2 s · ( 1 + T τ H 2 ) .
Equation (7) is used to find the value of the partial pressure of H2O with the description as follows:
p H 2 O _ o = 1 K H 2 O 1 + τ H 2 O s 2 K r I .
For example,
y = p H 2 O _ o
k 2 = 1 K H 2 O
v = 2 K r I .
It is then transformed reversely into the time equation as shown below:
    y = k 2 1 + τ H 2 O · v
y ( s ) + y ( s ) · τ H 2 O s = k 2 · v ( s )
                y + τ H 2 O · d y d t = k 2 · v
        τ H 2 O · d y d t = y + k 2 · v
      d y d t = y τ H 2 O + k 2 · v τ H 2 O .
Next, it is made discrete by the backward difference to obtain the value of the H2O partial pressure, as shown below:
y ( k ) y ( k 1 ) T = y ( t ) τ H 2 O + k 2 · v ( t ) τ H 2 O
y ( k ) = T τ H 2 O · y ( k ) + T · k 2 τ H 2 O · v ( k ) + y ( k 1 )
      y ( k ) + T τ H 2 O · y ( k ) = T · k 2 τ H 2 O · v ( k ) + y ( k 1 )
    ( 1 + T τ H 2 O ) y ( k ) = y ( k 1 ) + T · k 2 τ H 2 O · v ( k )
y ( k ) = 1 ( 1 + T τ H 2 O ) · y ( k 1 ) + T · k 2 τ H 2 O · ( 1 + T τ H 2 O ) · v ( k )
y ( k ) = C · y ( k 1 ) + D · v ( k ) .
The description of partial pressure calculation of H2O from Equation (7) resulted in the application of the equation y ( k ) = C · y ( k 1 ) + D · v ( k ) in C language with C = 1 ( 1 + T τ H 2 O ) and D = T · k 2 τ H 2 O s · ( 1 + T τ H 2 O ) .
This then forms Equation (9), which is used to calculate the O2 partial pressure value, as follows:
p O 2 _ o = 1 K O 2 1 + τ O 2 s ( q O 2 0 K r I ) .
For example, z = p O 2 _ o ,   k 3 = 1 K O 2 ,   w = q O 2 _ o K r I .
It is then transformed reversely into
    z = k 3 1 + τ O 2 s · w
z ( s ) + z ( s ) · τ O 2 s = k 3 · w ( s )
                    z + τ O 2 · d z d t = k 3 · w
        τ O 2 · d z d t = z + k 3 · w
      d z d t = z τ O 2 + k 3 · w τ O 2 .
This is then discredited by the backward difference method to obtain the equation for O2 partial pressure as shown below:
z ( k ) = 1 ( 1 + T τ O 2 ) · z ( k 1 ) + T · k 3 τ O 2 s · ( 1 + T τ O 2 ) · w ( k )
z ( k ) = E · z ( k 1 ) + F · w ( k ) .
The above equation then resulted into the equation z ( k ) = E · z ( k 1 ) + F · w ( k ) , which is to be applied in C language with E = 1 ( 1 + T τ O 2 ) and F = T · k 3 τ O 2 s · ( 1 + T τ O 2 ) .
Usually, the real output voltage may be reduced because of ohmic, activation, and concentration losses. The SOFC simulator process calculation has voltage losses consisting of Vohmic, Vact, and Vconc, and these are expressed mathematically by Equations (12)–(14) [7,14].
V o h m i c = I   ×   R o h m i c
V a c t =   α + β ln I
V c o n c = R T 2 F ln ( 1 I I L )
where I is the load current or SOFC output current. The SOFC output voltage can be calculated based on the following equation:
V d c = E c e l l V o h m V a c t V c o n c
where E c e l l is the Nernst voltage equation, which is given as
E c e l l = N c e l l ( E o +   R T 2 F   ln   p H 2 o   ( p O 2 _ o / 101325 ) 0 , 5   p H 2 O o )
where E0 is the voltage associated with the reaction free energy (V), R is the gas constant [J/kmol K], and Ncell is the number of cells.

3. Results

3.1. Simulator Uncontrolled

SOFC simulators are tested with 300 A input current (external) with 1273 K temperature. The flow rate is given above 0.7 mol/s for hydrogen and 0.6 mol/s for oxygen. The results of the tests are shown in Figure 10, Figure 11, Figure 12, and Figure 13, respectively.
The average values of the test results are shown in Table 4. The average SOFC output voltage does not reach the set point value of 333 volts. The difference in pressure (∆pressure) of hydrogen–oxygen exceeds 8000 Pa. The flow rates of hydrogen and oxygen are 0.79 and 0.67 mol/s.

3.2. Simulator with Controller

3.2.1. Testing without Disturbance

The SOFC simulator is tested using a controller with an input current (external current) of 300 A and a temperature of 1273 K. Graphs of output voltage, flow rate, and hydrogen–oxygen pressure are shown in Figure 14, Figure 15, Figure 16 and Figure 17.
The average values of the test results are given in Table 5. The SOFC output voltage value is 340.60 volts and reaches the set point of 333 volts with an error of about 7.6 volts. The value of hydrogen–oxygen pressure is in the range of 4000 Pa, far below the pressure difference (∆Pressure) without a controller. Hydrogen and oxygen flow rates are 0.79 and 0.72 mol/s.

3.2.2. Testing with Negative Disturbance

Testing SOFC simulators with negative disturbance is at the time of 30,000 ms given interference in the form of external currents. The external current is enlarged to about 340 A. Thus, the SOFC output voltage drops to around 300 volts. The test results graphs are shown successively in Figure 18, Figure 19, Figure 20 and Figure 21.
The average value of the test results is given in Table 6. The value of the SOFC output voltage is 332.72 volts and approaches the set point of 333 volts. The hydrogen-oxygen pressure value is in the range of 6782.3 Pa, far below the pressure difference (ekananPressure) without a controller. Hydrogen and oxygen flow rates are 0.68 and 0.76 mol/s.

3.2.3. Testing with Positive Disturbance

The positive disturbance test is the same as that done at the time of 30,000 ms with an external current that is reduced to around 260 A. Thus, the SOFC output voltage will rise to around 380 volts. Graphs of these test results are shown in Figure 22, Figure 23, Figure 24 and Figure 25.
The average value of the test results is given in Table 7. The value of the SOFC output voltage is 348.58 volts and reaches a set point of 333 volts with an error of about 15.58 volts. The value of hydrogen-oxygen pressure is in the range of 8178.6 Pa, far below the pressure difference (ekananPressure) without a controller. Hydrogen and oxygen flow rates are 0.51 and 0.56 mol/s.

4. Discussion

The average value of the SOFC output voltage can be corrected by the controller to the 333 volt set point from 352.09 to 340.60 volts. Hydrogen–oxygen pressure value can be controlled in the range of 4000 Pa, from 17,122 to 4428.68 Pa. Furthermore, the flow rates of hydrogen and oxygen produced in uncontrolled testing are 0.67 and 0.79 mol/s and can then be controlled to 0.72 and 0.79 mol/s. The hydrogen–oxygen pressure difference (∆Pressure) is below 0.08 atm or 8106 Pa [6]. Comparison of the test results is shown in Table 8.

5. Conclusions

SOFC simulators and hydrogen and oxygen flow rate controllers were designed quite well. The controller can correct the SOFC output voltage value to the set point of 333 volts, i.e. from the voltage of a controller without 352.09–340.60 volts with an error value of 7.6 volts. The pressure difference (∆Pressure) between hydrogen and oxygen in the SOFC simulator can also be maintained between 4000 and 8000 Pa. When the controller is given a negative disturbance SOFC output voltage below the set point, the voltage is 332 volts. When given a positive disturbance SOFC output voltage above the set point, the voltage is 348 volts. The system in general is still able to improve when the external current is enlarged and reduced from its normal value.
There is a correlation between the pressure difference and the ratio of hydrogen inflows to oxygen flow   r H O . By maintaining   r H O around 1145 with a controlled system. The pressure difference between the two gases can be maintained below 0.08 atm (8106 Pa).
In the negative disturbance test, the average output voltage from the SOFC is 332.72 volts with a set point of 333 volts. The difference in hydrogen and oxygen pressure is an average of 6782.3 Pa. The controller can correct the value of the output voltage that changes due to negative interference.
In positive disturbance testing, the average output voltage of the SOFC is 348.58 volts with a set point of 333 volts. The average pressure difference between hydrogen and oxygen is 8178.6 Pa. The controller cannot correct the output voltage value that changes due to positive interference, and the controller can meet the safety limit of the pressure difference between the two gases.
Based on the graph in Figure 17, there is still a large overshoot. This means improvements still must be made to the control system. Improvements can employ a hybrid fuzzy PID controller.

Author Contributions

D., correspondence, SOCF theory, hardware and software design; S., SOFC field; A.T., control design; S. hardware and control; A.K., design of controls, hardware and software. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by DRPM research grant.

Conflicts of Interest

The author states there is no conflict of interests.

References

  1. Vielstich, W.; Lamm, A.; Gasteiger, H.A. Handbook of Fuel Cells Fundamental Technology and Applications; John Wiley & Sons: Chichester, West Sussex, UK, 2009. [Google Scholar]
  2. Sun, C.; Stimming, U. Recent anode advances in solid oxide fuel cells. J. Power Sources 2007, 171, 247–260. [Google Scholar] [CrossRef]
  3. Mahato, N.; Banerjee, A.; Gupta, A.; Omar, S.; Balani, K. Progress in material selection for solid oxide fuel cell technology: A review. Prog. Mater. Sci. 2015, 72, 141–337. [Google Scholar] [CrossRef]
  4. Liu, M.; Lynch, M.; Blinn, K.; Alamgir, F.; Choi, Y. Rational SOFC Material Design: New Advances and Tools. Mater. Today 2011, 14, 534–546. [Google Scholar] [CrossRef] [Green Version]
  5. Canavar, M.; Kaplan, Y. Effects of mesh and interconnector design on solid oxide fuel cell performance. Int. J. Hydrog. Energy 2015, 40, 7829–7834. [Google Scholar] [CrossRef]
  6. Taher, S.A.; Mansouri, S. Electrical Power and Energy Systems Optimal PI controller design for active power in grid-connected SOFC DG system. Int. J. Electr. Power Energy Syst. 2014, 60, 268–274. [Google Scholar]
  7. Sun, L.; Li, D.; Wu, G.; Lee, K.Y.; Xue, Y. A Practical Compound Controller Design for Solid Oxide Fuel Cells. IFAC-PapersOnLine 2015, 48, 445–449. [Google Scholar] [CrossRef]
  8. Li, S.; Zhan, C.; Yang, Y. Control System Based on Anode Offgas Recycle for Solid Oxide Fuel Cell System. Math. Probl. Eng. 2018, 2018. [Google Scholar] [CrossRef] [Green Version]
  9. Bhuyan, K.C.; Sao, S.K.; Mahapatra, K. An FPGA based controller for a SOFC DC-DC power system. Adv. Power Electron. 2013, 2013. [Google Scholar] [CrossRef] [Green Version]
  10. Wu, X.; Gao, D. Optimal robust control strategy of a solid oxide fuel cell system. J. Power Sources 2018, 374, 225–236. [Google Scholar] [CrossRef]
  11. Lee, C.C. Fuzzy Logic in Control Systems: Fuzzy Logic Controller-Part I. IEEE Trans. Syst. Man Cybern. 1990, 20, 404–418. [Google Scholar] [CrossRef] [Green Version]
  12. Ross, T.J. Fuzzy Logic with Engineering Applications; John Wiley & Sons: Chichester, UK, 2004. [Google Scholar]
  13. Padullés, J.; Ault, G.; McDonald, J. An integrated SOFC plant dynamic model for power systems simulation. J. Power Sources 2000, 86, 495–500. [Google Scholar] [CrossRef]
  14. Wang, C. Modeling and Control of Hybrid. Ph.D. Thesis, Montana State University, Bozeman, MT, USA, 2006. [Google Scholar]
Figure 1. Solid oxide fuel cell (SOFC) system simulator hardware model.
Figure 1. Solid oxide fuel cell (SOFC) system simulator hardware model.
Processes 08 00154 g001
Figure 2. Output conditioning circuit.
Figure 2. Output conditioning circuit.
Processes 08 00154 g002
Figure 3. SOFC simulator flow chart.
Figure 3. SOFC simulator flow chart.
Processes 08 00154 g003
Figure 4. Flow chart of the hydrogen/oxygen flow rate controller.
Figure 4. Flow chart of the hydrogen/oxygen flow rate controller.
Processes 08 00154 g004
Figure 5. The block diagram of the SOFC plant with H2 and O2 flow rates controllers.
Figure 5. The block diagram of the SOFC plant with H2 and O2 flow rates controllers.
Processes 08 00154 g005
Figure 6. The set of membership function error fuzzy input.
Figure 6. The set of membership function error fuzzy input.
Processes 08 00154 g006
Figure 7. The set of membership function ∆error fuzzy input.
Figure 7. The set of membership function ∆error fuzzy input.
Processes 08 00154 g007
Figure 8. Singleton valve angle of hydrogen flow rate.
Figure 8. Singleton valve angle of hydrogen flow rate.
Processes 08 00154 g008
Figure 9. Singleton valve angle of oxygen flow rate.
Figure 9. Singleton valve angle of oxygen flow rate.
Processes 08 00154 g009
Figure 10. Output voltage value of the SOFC simulator.
Figure 10. Output voltage value of the SOFC simulator.
Processes 08 00154 g010
Figure 11. Flow rate value of the SOFC simulator.
Figure 11. Flow rate value of the SOFC simulator.
Processes 08 00154 g011
Figure 12. Partial pressure value of the SOFC simulator.
Figure 12. Partial pressure value of the SOFC simulator.
Processes 08 00154 g012
Figure 13. ∆Pressure hydrogen–oxygen of the SOFC.
Figure 13. ∆Pressure hydrogen–oxygen of the SOFC.
Processes 08 00154 g013
Figure 14. Output voltage value of the SOFC simulator with a controller.
Figure 14. Output voltage value of the SOFC simulator with a controller.
Processes 08 00154 g014
Figure 15. Flow rate value of the SOFC simulator with a controller.
Figure 15. Flow rate value of the SOFC simulator with a controller.
Processes 08 00154 g015
Figure 16. Partial pressure value of the SOFC simulator with a controller.
Figure 16. Partial pressure value of the SOFC simulator with a controller.
Processes 08 00154 g016
Figure 17. ∆Pressure hydrogen–oxygen of the SOFC with a controller.
Figure 17. ∆Pressure hydrogen–oxygen of the SOFC with a controller.
Processes 08 00154 g017
Figure 18. Output voltage value of the SOFC simulator with negative disturbance.
Figure 18. Output voltage value of the SOFC simulator with negative disturbance.
Processes 08 00154 g018
Figure 19. Flow rate value of the SOFC simulator with negative disturbance.
Figure 19. Flow rate value of the SOFC simulator with negative disturbance.
Processes 08 00154 g019
Figure 20. Partial pressure value of the SOFC simulator with negative disturbance.
Figure 20. Partial pressure value of the SOFC simulator with negative disturbance.
Processes 08 00154 g020
Figure 21. ∆Pressure hydrogen–oxygen of the SOFC with negative disturbance.
Figure 21. ∆Pressure hydrogen–oxygen of the SOFC with negative disturbance.
Processes 08 00154 g021
Figure 22. Output voltage value of the SOFC simulator with positive disturbance.
Figure 22. Output voltage value of the SOFC simulator with positive disturbance.
Processes 08 00154 g022
Figure 23. Flow rate value of the SOFC simulator with positive disturbance.
Figure 23. Flow rate value of the SOFC simulator with positive disturbance.
Processes 08 00154 g023
Figure 24. Partial pressure value of the SOFC simulator with positive disturbance.
Figure 24. Partial pressure value of the SOFC simulator with positive disturbance.
Processes 08 00154 g024
Figure 25. ∆Pressure hydrogen–oxygen of the SOFC with positive disturbance.
Figure 25. ∆Pressure hydrogen–oxygen of the SOFC with positive disturbance.
Processes 08 00154 g025
Table 1. Rule base valve angle of hydrogen flow rate value.
Table 1. Rule base valve angle of hydrogen flow rate value.
ErrorNegative ErrorZeroPositive Error
Error ZSMHVH
Negative ErrorZCSASC
SSAVWAS
ZeroMVWVWVWVWVW
Positive ErrorHSAVWAS
VHCSASC
Table 2. Rule base valve angle of oxygen flow rate value.
Table 2. Rule base valve angle of oxygen flow rate value.
ErrorNegative ErrorZeroPositive Error
Error ZSMHVH
Negative ErrorZCSASC
SSAVWAS
ZeroMVWVWVWVWVW
Positive ErrorHSAVWAS
VHCSASC
Table 3. SOFC simulator parameters.
Table 3. SOFC simulator parameters.
ParametersNameValueUnit
T Absolute temperature1273K
F Faraday’s constant96,487C/mol
R Universal gas constant8.314J/(mol K)
E 0 Ideal voltage1.18volt
N c Cell number384-
K r Plant constant0.996 × 10−3Mol/sA
K H 2 Molar constant of hydrogen valve8.43 × 10−6mol/(second Pa)
K H 2 O Molar constant of the water valve2.77 × 10−6mol/(secondPa)
    K O 2 Molar constant of oxygen valve2.49 × 10−5mol/(second pa)
  τ H 2 Response time of hydrogen flow26.1second
  τ H 2 O Response of water flow time78.3second
τ O 2 Response to oxygen flow time2.91second
r H O Hydrogen–oxygen flow ratio1.145-
r Ohmic loss0.126Ohm
τ f Response to fuel processing time5Second
α Tafel constant 0.05-
β Tafel slop0.11-
I L Current density limit800A/cm2
Table 4. Average value of the SOFC simulator without a controller.
Table 4. Average value of the SOFC simulator without a controller.
ParametersAverage Value
Output voltage of the SOFC (volt)352.09
Oxygen flow rate (mol/s)0.67
Hydrogen flow rate (mol/s)0.79
Oxygen pressure (Pa)21,141
Hydrogen pressure (Pa)38,306
∆Pressure hydrogen–oxygen (Pa)17,122
Table 5. Average value of the SOFC simulator with a controller.
Table 5. Average value of the SOFC simulator with a controller.
ParametersAverage Value
Output voltage of the SOFC (volt)340.6
Oxygen flow rate (mol/s)0.72
Hydrogen flow rate (mol/s)0.79
Oxygen pressure (Pa)22,340
Hydrogen pressure (Pa)25,465
∆Pressure hydrogen–oxygen (Pa)4428.68
Table 6. Average value of the SOFC simulator with negative disturbance.
Table 6. Average value of the SOFC simulator with negative disturbance.
ParametersAverage Value
Output voltage of the SOFC (volt)332.72
Oxygen flow rate (mol/s)0.68
Hydrogen flow rate (mol/s)0.76
Oxygen pressure (Pa)19,588
Hydrogen pressure (Pa)21,858
∆Pressure hydrogen–oxygen (Pa)6782.3
Table 7. Average value of the SOFC simulators with positive disturbance.
Table 7. Average value of the SOFC simulators with positive disturbance.
ParametersAverage Value
Output voltage of the SOFC (volt)348.58
Oxygen flow rate (mol/s)0.51
Hydrogen flow rate (mol/s)0.56
Oxygen pressure (Pa)15,041
Hydrogen pressure (Pa)13,908
∆Pressure hydrogen–oxygen (Pa)8178.6
Table 8. The uncontrolled and controlled average value of the SOFC simulators.
Table 8. The uncontrolled and controlled average value of the SOFC simulators.
ParameterUncontrolledControlled Controller with Disturbance
PositiveNegative
Output voltage of the SOFC (volt)352.09340.6348.58332.72
Oxygen flow rate (mol/s)0.670.720.510.68
Hydrogen flow rate (mol/s)0.790.790.560.76
Oxygen pressure (Pa)21,14122,34015,04119,588
Hydrogen pressure (Pa)38,30625,46513,90821,858
∆Pressure hydrogen–oxygen (Pa)17,1224428.688178.66782.3

Share and Cite

MDPI and ACS Style

Darjat; Sulistyo; Triwiyatno, A.; Sudjadi; Kurniahadi, A. Designing Hydrogen and Oxygen Flow Rate Control on a Solid Oxide Fuel Cell Simulator Using the Fuzzy Logic Control Method. Processes 2020, 8, 154. https://doi.org/10.3390/pr8020154

AMA Style

Darjat, Sulistyo, Triwiyatno A, Sudjadi, Kurniahadi A. Designing Hydrogen and Oxygen Flow Rate Control on a Solid Oxide Fuel Cell Simulator Using the Fuzzy Logic Control Method. Processes. 2020; 8(2):154. https://doi.org/10.3390/pr8020154

Chicago/Turabian Style

Darjat, Sulistyo, Aris Triwiyatno, Sudjadi, and Andra Kurniahadi. 2020. "Designing Hydrogen and Oxygen Flow Rate Control on a Solid Oxide Fuel Cell Simulator Using the Fuzzy Logic Control Method" Processes 8, no. 2: 154. https://doi.org/10.3390/pr8020154

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop