1,051
Views
3
CrossRef citations to date
0
Altmetric
Research Article

Robust adaptive fuzzy control for single-chamber single-population microbial fuel cell

, & ORCID Icon
Pages 98-108 | Received 08 Jun 2020, Accepted 28 Dec 2020, Published online: 11 Jan 2021

Abstract

Energy supply from renewable sources is one of the most attractive fields of study in recent years. Ensuring the efficient operation of the microbial fuel cell (MFC) due to its capabilities requires the development of appropriate control strategies. This paper presents a combination of fuzzy and adaptive control methods to control single-chamber single-population MFC. For estimating nonlinear terms as well as the parametric uncertainty in the model, fuzzy approximation method has been used and the effects of disturbances as well as fuzzy approximation gains have been covered by adaptive method. Using Liapunov theory, the robust stability of the system under the proposed controller is shown. The simulation results clearly show the ability of the proposed method to achieve MFC control goals.

1. Introduction

Energy growth is directly related to the development and prosperity around the world. Responding to the growing demand for energy safely and without harming the environment is a major challenge. Increasing energy production is important to help economic and social progress and to create a better quality of life, especially in developing countries. Reliable and affordable energy is a basic need for all countries. Reliable energy supports the development of industry, modern agriculture, increased trade and better transportation. Today, most of the world’s energy needs come from hydrocarbons, and despite of significant advances in energy efficiency, global energy demand is expected to increase by about 25% from 2020 to 2040 (Capuano, Citation2018; Newell et al., Citation2016). All energy production must increase to meet this growing demand and renewable have a vital role in this regard.

Renewable energies are clean, endless and increasingly competitive energy resources. They are very different from fossil fuels in terms of variety, frequency and potential for use anywhere on the planet, but most importantly, they do not produce greenhouse gases and do not emit any pollutants. Their costs are also declining and at a stable rate, while the overall cost of fossil fuels is in the opposite direction despite of their current fluctuations. Developing clean energy is critical to combating climate change and limiting its devastating effects. Renewable energies include: wind energy, solar energy, hydraulic or hydroelectric energy, biomass and biogas, geothermal energy, tidal energy, wave energy, bioethanol, biodiesel (Anaza et al., Citation2017; Atabani et al., Citation2012; Cheng, Citation2017; Kannan & Vakeesan, Citation2016; Murthy & Rahi, Citation2017; Olasolo et al., Citation2016; Sun et al., Citation2018; Wilberforce et al., Citation2019).

One possible energy source is the use of microbial fuel cells (MFCs). Using MFC as an alternative source of electricity generation is a safe, clean and efficient process that uses renewable methods and does not produce any toxic by-products. MFCs follow the same concept of traditional fuel cells. However, MFCs use the bio-catalytic capabilities of viable microorganisms and are able to use a wide range of organic fuel sources to generate electricity by converting energy stored in chemical bonds (Slate et al., Citation2019). Microorganisms, such as bacteria, can produce electricity by using organic matter and biodegradable substrates such as wastewater, whilst obtain biodegradation/treatment of biodegradable products, such as municipal wastewater (Habermann & Pommer, Citation1991; Slate et al., Citation2019).

Obviously, due to the working conditions of the environment and the types of degradable substrates, much attention has been paid to MFCs. The microbial fuel cell reduces carbon dioxide to generate electricity and is not only a renewable energy source, but also uses additional carbon dioxide to rebuild fuels and reduces environmental pollutants such as wastewater.

However, the MFC voltage can change dramatically due to environmental and operating conditions that can affect their efficiency and performance. Control of MFCs is very beneficial, as it is expected to improve disturbance rejection and increase relative stability in a power management system which can lead to improved cell performance. MFCs are all subject to additional changes in electrical load as an input disturbance in the operating voltage range for different MFC designs (Boghani et al., Citation2013, Citation2016). Their maximum produced power are highly dependent on external disturbances such as variations of the inlet substrate concentration, the anodic compartment temperature or the pH concentration that attenuate their performance significantly (Chae et al., Citation2009). Therefore, the use of a real-time control method is essential for MFC to achieve maximum performance despite external disturbances. The MFC controller must be able to maintain the output voltage within an acceptable range while overcoming the disturbances in the system.

The next issue in addition to the disturbance is the uncertainty of the parameter as well as the nonlinear term in the models provided for the microbial fuel cell. Due to the weakness of the linear controllers as well as the non-linear ones that have been used to date, the necessary measures must be taken in this regard.

To date, various controllers have been used based on the mathematical model of the MFC system. Input-output linearization methods are limited in properly representing the correct dynamics of nonlinear systems in the wide operating range (Chen et al., Citation1995; Dochain, Citation1992). Nonlinear control schemes can handle system uncertainty and online parameter estimation. A fuzzy PID controller for constant output voltage of MFC is discussed in Yan and Fan (Citation2013). Lipping et al. presented a predictive model control scheme (MPC) for a two-chamber microbial fuel cell (Fan et al., Citation2015). Lately, the adaptive control technique has taken considerable attention to overcome the limitation that the nonlinearities of considered systems are required to be identified or can be linearly parameterized. A new adaptive sliding mode control scheme for covering disturbances and uncertainty effects in single-chamber microbial fuel cells is presented in Fu et al. (Citation2020). In addition, uncertain nonlinear systems can be modelled by combining fuzzy set theory with fuzzy equations. Because the uncertainty in nonlinear systems can be turned into fuzzy set theory, fuzzy systems are good models for systems with uncertainty. Fuzzy models are made according to fuzzy rules, and these rules provide information about uncertain nonlinear systems. Each nonlinear system can be approximated by several piecewise linear systems (Takagi–Sugeno fuzzy model) or known nonlinear systems (Mamdani fuzzy model) (Mamdani, Citation1974; Takagi & Sugeno, Citation1985). Uncertain nonlinear systems can be modelled by fuzzy models with simple linear or nonlinear models.

Accordingly, in this study, adaptive fuzzy controller is used to control MFC in order to cover the effects of nonlinear terms, parameter uncertainty, and disturbance. First, the nonlinear model of the single-chamber single-population MFC is considered. In this section, it is assumed that there is a parametric uncertainty in the model and also the disturbance is limited to the upper bound, but we have no knowledge about its value. Using the fuzzy method, we approximate the nonlinear (rigid) part and the uncertainty of the system with fuzzy membership functions. Adaptive methods have also been used to obtain the fuzzy approximator weights and to eliminate the effects of boundary perturbation with an unknown upper bound. Finally, the robust stability of the proposed method is demonstrated under Lyapunov theory. In general, the innovations of the article are as follows:

  1. Consider a nonlinear model of the system in the presence of perturbations and uncertainties.

  2. The use of fuzzy methods to approximate the non-linear terms and uncertainties.

  3. Using an adaptive method to cover the effects of perturbation on the system.

  4. Combining fuzzy and adaptive methods to ensure system stability and control under different operating conditions.

Accordingly, the article format is as follows: The second part describes the nonlinear MFC model used for the system. Section 3 describes the proposed control method and Section 4 discusses four scenarios for simulation results and finally the conclusion is presented in Section 5.

2. Single-chamber single-population microbial fuel cell mathematical model

Essential parts of MFCs are anode, cathode, media (substrate), membrane and microorganisms. Figure  shows the basic construction of microbial fuel cell. Existing bacteria in anode chamber produce protons and electrons by utilizing substrates like acetate, glucose, lactate, nitrilotriacetic acid, ribitol, glucuronic acid, cysteine, etc. (Pant et al., Citation2010). Produced electrons are directly or indirectly moved to the anode. Direct electron move occurs through nanowires or intracellular mediator and biofilm created at anode surface (Lovley, Citation2008). An external mediator is added to move electrons from bacteria to anode, which is known as the backhanded method to move electrons (Lovley, Citation2006). Commonly, Shewanella putrefaciens, G. Sulferredunces, G. Metallireducens, Rhodoferax ferrieducens, E. Coli, Sreptococcus lactis, Proteus vulgaris and Pseudomonas bacteria are utilized in MFCs (Choudhury et al., Citation2017). Electrons are moved from anode to cathode by means of an outside circuit. Protons are moved from anode to cathode through proton exchange membrane (PEM). Electrons and protons join at cathode, make fresh water and generate power from wastewater.

Figure 1. Single-chamber MFC with PEM.

Figure 1. Single-chamber MFC with PEM.

Ali Abul et al. (Citation2016) created single-chamber microbial fuel cell model with a proton exchange membrane. Acetate is as the substrate and G. sulfurreducens is as the bacterium. Model presumptions can be found in Abul et al. (Citation2016). The reactions in the anode and cathode parts are (1) CH3COO+4H2O2HCO3+9H++8e,(1) (2) O2+4H++4e2H2O.(2)

2.1. MFC microbial kinetics

Monod balance gives the connection between dynamic biomass (the total amount of organism) and substrate dynamics. Dynamic biomass requires energy for maintenance which affected by the flow of electron and energy through endogenous decay. The net biomass development rate is the total of synthesis and decay rates, and is stated by (3) μ=(1XdXdt)syn+(1XdXdt)dec=μsyn+μdec=μmaxCsks+Cskd,(3) where μsyn and μmax indicate specific growth rate and maximum specific growth rate of microorganisms respectively, X shows the biomass concentration, Cs specifies the substrate concentration, ks is the half saturation constant, kd>0 is the decay coefficient. Bacteria break down the substrate and utilize it to live and grow. The cell growth is derived from the substrate utilization specified by (4) q=qmaxCsKs+Cs(4) where q indicates the rate of substrate utilization and qmax specifies the maximum rate of the same.

2.2. MFC physical model

MFC system gets a feed flow at the anode with a rate of Qa in terms of substrate concentration Cso and regulates the MFC behaviour. The rate of change in substrate concentration and biomass concentration are respectively (5) dCsdt=qX+D(CsoCs),dXdt=YqmaxCsKs+CsXKdXDX,(5) where D (the Dilution rate) states the control input and Y specifies the growth yield (Abul et al., Citation2016). All typical values of single-population single-chamber MFC is given in Abul et al. (Citation2016).

2.3. MFC controllable model

In this paper substrate concentration Cs, biomass concentration X and dilution rate D are considered as the states x1, x2 and input u respectively. Substrate utilization and biomass growth are related by μmax=Y.qmax and parameter μmax is represented as θ11. The parametrized system dynamics are (6) x˙1=θ11.Y1x1Ks+x1x2+u(Csox1)x˙2=(θ11x1Ks+x1Kdu)x2(6)

Values of qmax and μmax are 3d11 and .4d1 respectively (Abul et al., Citation2016). Maximum bacterial growth rate relies on the type of the organisms and limiting nutrients (Maier et al., Citation2009). The identifiable interval of the parameter μmax is 3.01% with 95% confidence level (Pinto et al., Citation2010) and so 0.3699<θ11<0.4301.

3. Fuzzy adaptive control

A block diagram of the MFC system with proposed controller is presented in Figure . With regard to external disturbances, the fuel cell system can be rewritten as follows. (7) x˙1=θ1Y1x1ks+x1x2+u(cs0x1)+d1(t)x˙2=(θ1x1ks+x1kdu)x2+d2(t)(7) where d1(t) and d2(t) are the bounded disturbances with unknown upper bounds. Let’s define the error as follows. (8) e1=x1x1de2=x2x2d(8) where x1d and x2d are the desired equilibrium points. Error dynamics is obtained by deriving from the Equation (8) (9) e˙1=θ1Y1x1x2ks+x1x1u+cs0u+d1(t)x˙1de˙2=θ1x1x2ks+x1(x21)ukde2kdx2dx˙2du2+d2(t)(9)

Figure 2. Block diagram of the MFC system with proposed controller.

Figure 2. Block diagram of the MFC system with proposed controller.

By defining (10) u=u1+u2ψ1(.)=θ1Y1x1x2ks+x1x1u+cs0u2ψ2(.)=θ1x1x2ks+x1(x21)uu1(10)

The system error dynamics is rewritten as follows. (11) e˙1=ψ1(.)+cs0u1x˙1d+d1(t)e˙2=ψ2(.)kde2kdx2dx˙2du2+d2(t)(11)

To stabilize the error system, select the u1 and u2 control vectors as follows. (12) u1(t)=1cs0(x˙1dk1e1ψ^1d^1)u2(t)=(x˙2d+kdx2dk2e2ψ^2d^2)(12) where d^1 and d^2 are adaptive estimators to eliminate the effect of disturbances. Also, ψ^1 and ψ^2 are approximators obtained from the fuzzy system to estimate the value of the functions ψ1(0) and ψ2(0) which are defined as follows. (13) ψ^1=w^1Tp1ψ^2=w^2Tp2(13) w^1 and w^2 are estimates of fuzzy approximator weights. p1 and p2 are also fuzzy functions that use a 9-membership fuzzy rules system. (14) pi(x)=e(x0.1i)2,i=1,2,,9(14) To prove stability, Lyapunov function candidate is as follows: (15) V(e1,e2)=12e12+12e22+12λ1w~1Tw~1+12λ2w~2Tw~2+12γ1d~12+12γ2d~22(15) where d~1=d1d^1d~2=d2d^2w~1=w1w^1w~2=w2w^2 Deriving of Lyapunov function, it will be obtained. (16) V˙=e1e˙1+e2e˙21λ1w~1Tw^˙11λ2w~2Tw^˙21γ1d~1d^˙11γ2d~2d^˙2=e1(ψ1(.)+cs0u1x˙1d+d1(t))+e2(ψ2(.)kde2kdx2dx˙2du2+d2(t))1λ1w~1Tw^˙11λ2w~2Tw^˙21γ1d~1d^˙11γ2d~2d^˙2(16)

Now by placing u1 and u2 in the above equation we will have (17) V˙=k1e12(kd+k2)e22+e1(ψ1(.)ψ^1+d1(t)d^1)+e2(ψ2(.)ψ^2+d2(t)d^2)1λ1w~1Tw^˙11λ2w~2Tw^˙21γ1d~1d^˙11γ2d~2d^˙2(17) By simplifying the above equation, it is obtained. (18) V˙=k1e12(kd+k2)e22+e1w~1Tp1+e2w~2Tp2+e1d~1+e2d^21λ1w~1Tw^˙11λ2w~2Tw^˙21γ1d~1d^˙11γ2d~2d^˙2(18)

Now by defining the adaptive laws as following: (19) w^˙1=λ1e1p1,w^˙2=λ2e2p2,d^˙1=γ1e1,d^˙2=γ2e2(19) It is obtained. (20) V˙=k1e12(kd+k2)e220(20)

4. Simulation results

In this section, several scenarios for simulation are considered to show the capability of the proposed algorithm. The parameters used in the simulation for the model are in accordance with Patel and Deb (Citation2018) and for the controller as follows. (21) k1=0.01,k2=0.2,λ1=0.01,λ2=0.01,γ1=0.01,γ2=0.01(21) To illustrate the effectiveness of the proposed method, a comparison is made between the system states and the states obtained from the adaptive backstepping method (Patel & Deb, Citation2018). We will now describe each of these scenarios.

Scenario 1

In this scenario, we assume that the model is completely accurate and that there is no uncertainty or disturbance. The results of the simulation are given in Figures . As can be seen from the figures, achieving the desired substrate concentration leading to a constant output voltage has been reached in the proposed method with less oscillation and less error. The proposed fuzzy adaptive controller is able to track the reference substrate concentration at a higher speed than the adaptive backstepping method. Anode and cathode voltages as well as MFC voltages were given in Figures , respectively. The control signal obtained from the proposed method and the adaptive backstepping method are shown in Figure . As can be seen from the figure, the obtained control signal has a positive value that ensures the physical realization of the obtained signal.

Figure 3. Performance of substrate concentration.

Figure 3. Performance of substrate concentration.

Figure 4. Performance of biomass concentration.

Figure 4. Performance of biomass concentration.

Figure 5. Anode voltages of single-chamber MFC.

Figure 5. Anode voltages of single-chamber MFC.

Figure 6. Cathode voltages of single-chamber MFC.

Figure 6. Cathode voltages of single-chamber MFC.

Figure 7. Voltages of single-chamber MFC.

Figure 7. Voltages of single-chamber MFC.

Figure 8. Control signal in scenario 1.

Figure 8. Control signal in scenario 1.

Figure 9. Performance of substrate concentration.

Figure 9. Performance of substrate concentration.

Figure 10. Performance of biomass concentration.

Figure 10. Performance of biomass concentration.

Figure 11. Anode voltages of single-chamber MFC.

Figure 11. Anode voltages of single-chamber MFC.

Figure 12. Cathode voltages of single-chamber MFC.

Figure 12. Cathode voltages of single-chamber MFC.

Figure 13. Voltages of single-chamber MFC.

Figure 13. Voltages of single-chamber MFC.

Figure 14. Control signal in scenario 2.

Figure 14. Control signal in scenario 2.

Scenario 2

In this scenario, the system has a parametric uncertainty in the following equation, but no external disturbance is considered. (22) {θ1=0.4if t<40θ1=0.42if t40(22) Figures  and show the system states under the proposed control method and the adaptive backstepping controller. As the previous scenario, using the proposed method, the desired substrate and biomass concentrations were achieved at higher speeds and with less error, while the adaptive backstepping method is not able to follow the target concentration due to disturbance. In other words, it is not able to reject uncertainty. Fuel cell output voltages are also shown in Figures . According to Figure , the optimal performance of the proposed method for maintaining the output voltage of MFC can be seen under the model uncertainty. The control signal obtained in this scenario is also shown in Figure .

Scenario 3

Figure 15. Performance of substrate concentration.

Figure 15. Performance of substrate concentration.

Figure 16. Performance of biomass concentration.

Figure 16. Performance of biomass concentration.

Figure 17. Anode voltages of single-chamber MFC.

Figure 17. Anode voltages of single-chamber MFC.

Figure 18. Cathode voltages of single-chamber MFC.

Figure 18. Cathode voltages of single-chamber MFC.

Figure 19. Voltages of single-chamber MFC.

Figure 19. Voltages of single-chamber MFC.

Figure 20. Control signal in scenario 3.

Figure 20. Control signal in scenario 3.

Figure 21. Performance of substrate concentration.

Figure 21. Performance of substrate concentration.

Figure 22. Performance of biomass concentration.

Figure 22. Performance of biomass concentration.

Figure 23. Anode voltages of single-chamber MFC.

Figure 23. Anode voltages of single-chamber MFC.

Figure 24. Cathode voltages of single-chamber MFC.

Figure 24. Cathode voltages of single-chamber MFC.

Figure 25. Voltages of single-chamber MFC.

Figure 25. Voltages of single-chamber MFC.

Figure 26. Control signal in scenario 4.

Figure 26. Control signal in scenario 4.

In this scenario, the MFC fuel cell system is disturbed, but the system parameters are not uncertain. The disturbance in the fuel cell system is considered as EquationEq. (23), which can include all changes related to load, temperature, and substrate concentration. (23) d1(t)=0.02sin(0.3t)d2(t)=0.03cos(0.5t)(23) In this study, the disturbance upper bound is considered to be unknown but limited so that we can cover all of the above effects, even if we are not aware of the type of disturbance in the fuel cell system. The simulation results are shown in Figures . The ability of the proposed method to track the target concentration is well visible, whereas in this scenario, the adaptive backstepping method exhibits almost similar behaviour. The output voltage was also shown in Figures . From this scenario, the ability of the proposed method to reject disturbance and uncertainty is well visible. The control signal obtained in this scenario in Figure  shows that there is a possibility of physical realization of the control signal due to its positive.

Scenario 4

In this scenario, the uncertainty of the parameter is considered and the disturbance enters the system. The disturbance entered the system has all the descriptions and specifications of the disturbance introduced in the third scenario. The uncertainty of the parameter is similar to the second scenario. The simulation results in the presence of both uncertainty and disturbance are given in Figures . Like the second scenario, the adaptive backstepping controller is unable to track the target substrate concentration due to its inability to reject uncertainty, and therefore the output voltage of the MFC fluctuates and is non-functional, while the robust fuzzy adaptive method provided is able to track the desired concentration and deliver an output voltage with the least fluctuations despite the uncertainty of the parameter and disturbance. The control signal obtained in this scenario is also shown in Figure .

5. Conclusion

This paper presents a fuzzy adaptive control method for adjusting the substrate and biomass concentrations and finally the output voltage of single-chamber single-population microbial fuel cell. The purpose of the controller design is to achieve the desired output voltage in the presence of uncertainty, the effects of disturbance and nonlinear terms. The proposed controller is a combination of fuzzy and adaptive methods. The fuzzy method is used to approximate nonlinear terms and the parameter uncertainty effects, while the adaptive method plays two roles: The first role is to determine the weight of fuzzy approximators or fuzzy rules, and the next role is to overcome the effects of disturbances. From the simulation results, it is clear that the proposed method is successfully able to achieve the set goals and the robustness of the method was shown both in the proof and in the simulation.

Disclosure statement

No potential conflict of interest was reported by the author(s).

References