선정목록으로
Q-Learning based Maximum Power Point Tracking Control for Microbial Fuel Cell
수소연료전지 · (6) PEM(고분자전해질막)
기본 정보
- 저자
- DOI
- 10.20964/2020.10.63
- 저널
- International Journal of Electrochemical Science
- 발행년도
- 2020
- 발행기관
- Elsevier BV
- 피인용수
- 8
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.20964/2020.10.63
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W4252452258
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (6) PEM(고분자전해질막)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 규칙(키워드) 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
초록이 없습니다.
본문 37,204자
본문 펼치기
_Int. J. Electrochem. Sci.,_ 15 (2020) 9917 – 9932, doi: 10.20964/2020.10.63
International Journal of
##### ELECTROCHEMICAL SCIENCE
<u>[www.electrochemsci.org](http://www.electrochemsci.org/)</u>
## Q-Learning based Maximum Power Point Tracking Control for Microbial Fuel Cell
_Li-ping Fan_ <sup>_1,2 *_</sup> _, Xiang Feng_ <sup>_1,2_</sup>
1 College of Information Engineering, Shenyang University of Chemical Technology, Shenyang,
110142 China
2 Key Laboratory of Industry-Environment-Resource Collaborative Control and Optimization
Technology of Liaoning Province, Shenyang University of Chemical Technology, Shenyang 110142,
China
[*E-mail: flpsd@163.com](mailto:flpsd@163.com)
_Received:_ 1 July 2020 / _Accepted:_ 6 August 2020 / _Published:_ 31 August 2020
Microbial fuel cell (MFC) is a promising technology for wastewater treatment with simultaneous
bioenergy production. To improve the power generation efficiency of MFCs, maximum power point
tracking control is a good choice. Three kinds of Q-Learning-based maximum power point tracking
control scheme based on ε-greedy exploration, Boltzmann exploration and greedy policy are proposed
for MFCs. The results show that the maximum power point tracking control based on Q-Learning has
better power tracking capabilities than perturbation and observation method. With the introduction of QLearning based on greedy policy, the time required for MFC to stabilize at the maximum power point is
greatly shortened by setting the action list of Q-Learning reasonably. In this case, the whole process
from start-up to stabilization at the maximum power point was 42.9% faster than that of MFC using εgreedy exploration, and 50% faster than that of MFC using Boltzmann exploration. Q-Learning
algorithm based on greedy policy is an effective method to realize MPPT in MFC system.
Keywords: greedy policy; maximum power point tracking; microbial fuel cell; perturbation and
observation; Q-Learning
1. INTRODUCTION
The global energy crisis caused by the depletion of fossil fuels is escalating due to the rapid
increase in demand. At the same time, the environmental pollution caused by burning fossil fuels is not
to be underestimated. Developing renewable energy is an effective way to solve energy crisis and
environmental pollution. Microbial fuel cell (MFC) is a promising technology for wastewater treatment
with simultaneous bioenergy production [1-3]. The greatest advantage of MFCs is that they convert the
chemical energy of pollutants into electrical energy directly and generate almost no pollutants in the
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9918
power generation process. The application of MFC will solve the problem of environmental pollution
and energy crisis for mankind at the same time [4].
Although there have been some reports of MFC implementation of various applications [5], there
are still a lot of challenges in the successful application of MFC in real environment. Compared to other
alternative energy systems such as solar and wind, MFC is a low power system due to its thermodynamic
limitation [6]. Various physical, chemical and biological approaches have been explored to improve
electricity generation [7]. For example, through the development and modification of electrode material
[8], exchange membrane [9] and cathode catalyst [10], the power generation capacity of MFC can be
improved. However, from the user's point of view, once the MFC construction is completed, such
methods are often not feasible. In this case, using advanced control method to further improve the
performance of MFC is an alternative way [11].
To improve the power generation performance of MFCs, some maximum power point tracking
(MPPT) technologies have been proposed in literatures. Among all the conventional MPPT, perturbation
and observation (P/O) method is the most widely used algorithm because of its simplicity and robustness.
The P/O method works by creating a perturbation and observing its effect [12]. By comparing the
previous output power with the current output power, it is straightforward to decide the direction of next
step that would increase the power towards MPP [13].
In the last decade, there have been some studies on power control of MFCs using P/O method.
P/O method was used in a single chamber air-breathing cathode MFC to optimize energy harvesting,
and laboratory tests confirmed that it can provide stable long-term power production [14]. Park et al [15]
proposed an integrated control system for solid anolyte MFC that can perform real-time MPPT with P/O
algorithm. Study results also demonstrated that P/O based MPPT was able to reduce the start-up time
and minimize the internal resistance of MFC, so that the energy loss related with anode and cathode can
be reduced [16], and noticeable improvement in MFC performance was observed [17]. Compared with
other methods, P/O method is simpler to tune [18]. However, the steady-state fluctuation caused by the
P/O algorithm is usually very serious, so it is difficult to make the MFC accurately stable at the maximum
power point, and it will deviate from the maximum power point when it is disturbed. In addition, the
P/O method may converge to a local optimal power point rather than its actual maximum power point,
which violates the original intention of maximum power tracking control [19].
Reinforcement Learning is a machine learning method that uses behaviors received from the
environment to learn behavioral strategies. It emerges as a powerful data-driven method for solving
complex control problems. Reinforcement Learning technology have been used in some recent studies
to solve MPPT problems in some new energy systems such as wind energy conversion systems [20,21],
photovoltaic array [22,23] and hybrid electric vehicle [24-26].
This work aims to apply Reinforcement Learning algorithm to MFC system to realize MPPT
control. Three kinds of Q-Learning-based MPPT (QLMPPT) were proposed for MFCs and the control
effects were compared with those of MFCs with the conventional P/O algorithm and an improved P/O
algorithm.
The remainder of the paper was organized as follows. In Section 2, the mathematical formulation
of the two-chamber MFC was introduced. A detailed implementation of QLMPPT was proposed in
Section 3. Results and discussion were presented in Section 4. Conclusion and future research directions
_Int. J. Electrochem. Sci., Vol. 15, 2020_
were addressed in Section 5.
2. MODELLING OF MICROBIAL FUEL CELL
9919
Modeling and simulation are effective ways to deeply understand the operation process and
verify the effectiveness of optimal control schemes of MFC [27]. Electricity generation in MFCs has
been modelled by a few researchers. Pinto et al proposed a two-population model describing the
competition of anodophilic and methanogenic microbial populations for a common substrate in a singlechamber MFC [28]. Picioreanu et al proposed a computational model for MFCs based on redox
mediators with several populations of suspended and attached biofilm microorganisms and multiple
dissolved chemical species [29]. Marcus et al developed a model describing the biofilm as a conductive
solid matrix, which is based on that microbe can allow direct transfer of the electrode [30]. All the models
discussed above so far are limited to the analysis of a single electrode (anode) of a MFC. It is important
to develop coupled models that include the phenomena occurring at both anode and cathode. Esfandyari
et al proposed a dynamic model for two-chamber batch MFC with pure culture of Shewanella based on
the direct transfer of electron, which was described based on Marcus ‘ s model [31]. Zeng et al developed
a model to simulate both steady and dynamic behavior of a two-chamber continuous MFC by integrating
biochemical reactions, Butler–Volmer expressions and mass/charge balances [32]. Zeng's model, which
includes key physical quantities such as voltage, power density and fuel concentration, is a
comprehensive model for the reaction process of MFCs. therefore, this model was used to describe MFCs
in this research.
In the anode compartment, acetate is oxidized under anoxic conditions by the reaction of an eightelectron transfer which can be described as:
##### ( CH2O ) 2 + 2H2O → 2CO2 + 8H + + 8e − (1)
In the cathode compartment, the reduction of dissolved oxygen can be described as:
O2 + 4e - + 2H2O → 4OH - (2)
The reaction rates of the anode and cathode chamber can be described by Butler-Volmer
expression as:
0 _<u>F</u>_ _<u>C</u>_ <u>AC</u>
_r_ 1 = _k_ 1 exp <sup><u></u></sup> ~~~~ _a_ _X_ (3)
_RT_ _K_ AC + _C_ AC
_r_ 2 = − 20 _C_ O2 exp ( − 1) _<u>F</u>_ ~~~~ _c_ (4)
_k_ _K_ O2 + _C_ O2 _RT_
0 O2
2 = − _k_ 2 _K_ O2 + _C_ O2
<u>2</u>
2 O2
where _F_ denotes the Faraday constant; _R_ denotes the gas constant; _T_ denotes the operating
temperature; _C_ AC denotes the concentrations of acetate in the anode compartment; _X_ denotes the
concentrations of biomass in the anode compartment; _CO_ 2 denotes the iissoleed xxygen Dix
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9920
concentration in the cathode compartment; _η_ a and _η_ c are the anodic oeer potential and the cathodic oeer
potential, respectieely; _α_ and _β_ are the charge transfer coefficients of the anodic reaction and the cathodic
reaction, respectieely; <sup>_k_</sup> 10 <sup>and</sup> <sup>_k_</sup> 20 <sup>are the rate constants of the anodic reaction and the cathodic reaction</sup>
at standard conditions; _K_ AC is the half eelocity rate constant for acetate; _KO_ 2 is the half eelocity rate
constant for ix.
Assuming both the anode chamber and the cathode chamber can be regarded as continuous
stirring tank reactors (CSTRs), the mass balance equations of the four components (acetate, dissolved
CO2, hydrogen ion and biomass) in the anode can be described as:
#### V a d C AC = Qa ( C ACin − C AC ) − A m r 1 (5)
d _t_
#### a d C AC = Qa ( C ACin − C AC ) − A m
#### AC = Qa ( C ACin − C AC ) − A m r 1
#### V a d C dCO t 2 = Qa ( C COin 2 − C CO2 ) + 2 A m r 1 (6)
<u>2</u> in
#### = Qa ( C CO2 − C CO2 )
2 CO2
#### V a d C H = Q a ( C Hin − C H ) + 8 A m r 1 (7)
d _t_
#### d X ( X in − X )
_V_ a d _t_ = _Q_ a _f_ x + _A_ m _Y_ ac _r_ 1 - _V_ a _K_ dec _X_ (8)
<u>d</u>
d
_X_ in - _X_
#### ( )
a d _t_ a _f_ x m ac 1 a dec
The mass balance equations in the cathode can be described as:
d _C_ O2 in
### V c d t = Q c ( C O2 − C O2 ) + r 2 A m (9)
d _C_ O2 in
### c = Q c ( C O2 − C O2 ) + r 2 A m
O2 in
### = Q c ( C O2 − C O2 )
2 O2
#### V c d C OH = Qc ( C OHin − C OH ) − 4 r 2 A m (10)
d _t_
#### V c d C M = Q c ( C Min − C M ) + N M A m (11)
d _t_
where _N_ M is the flux of M <sup>+</sup> ions transferred from the anode chamber to cathode chamber through
the proton exchange membrane, which can be derived by:
_N_ M = <u>3600</u> _F_ _<u>i</u>_ <u>fc</u> (12)
The charge balance equations at the anode and cathode can be described as:
_Ca_ <u>dd</u> <u></u> _ta_ = 3600 _i_ fc - 8 _Fr_ 1 (13)
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9921
_C_ c <u>dd</u> <u></u> _t_ <u>c</u> = − 3600 _i_ fc - 4 _Fr_ 2 (14)
In the aboee equation, the subscripts ‘a’, ‘c’, and ‘in’ stand for the anode, the cathode and the
feed flow, respectively; _V_ denotes the volume of the reaction chamber; _Q_ denotes the feed flow rate; _A_ m
is the cross-section area of membrane; _f_ x denotes the reciprocal of the wash-out fraction; _Y_ ac denotes the
bacterial yield; _K_ dec denotes the decay constant for acetate utilizers; _C_ M denotes the concentration of M <sup>+</sup>
ions, and _i_ fc denotes the current density.
Ignoring the ohmic drops in the current collectors and electric connections, the internal resistance
of MFC is only related to the membrane and the solution, then the output voltage _U_ fc of MFC can be
expressed as:
= _U_ 0 − a + c - _<u>d</u>_ mm + _<u>d</u>_ <u>cellaq</u>
_k_ _k_
_U_ fc = _U_ 0 − a + c - _<u>d</u>_ mm + _<u>d</u>_ <u>cellaq</u> _i_ fc (15)
_k_ _k_
fc a c m aq fc
_k_ _k_
Based on the above mathematical model of MFC, a simulation model of a dual-chamber MFC
was established in MATLAB/Simulink, which can be used to simulate the operating state of MFCs under
various conditions. The main parameters of the MFC model used in this work are shown in Table 1,
which were derived from Zeng's model.
The output power of MFC varies with the reaction conditions. However, many studies have found
that no matter how the reaction conditions change, there is always a peak point on the power curve of
MFC, and the peak point is the maximum power point. As shown in Figure 1, the maximum power point
of MFC which was used in this experiment was about 2.1 mW·m <sup>-2</sup> . According to the relevant circuit
knowledge, this maximum power point can be achieved when the external resistance is equal to the
internal resistance. When the internal and external resistances are not equal, MFC will lead to about 50%
energy loss [33, 34]. So, MPPT is one of the best techniques to dynamically extract maximum possible
power from MFC and decrease energy loss.
2.2
2
.
.
.4
.2
.
.
2 2 4
###### _R_
Figure 1. Power density varying with external resistance
_Int. J. Electrochem. Sci., Vol. 15, 2020_
Table 1. Parameters of MFC model
9922
<u>Symbol Description</u> <u>Unit</u> <u>Value</u>
_F_ Faraday’s constant C·mol <sup>-1</sup> 96485.4
_R_ Gas constant J·mol <sup>-1</sup> ·K <sup>-1</sup> 8.3144
_T_ Temperature K 303
_k_ <sup>m</sup> Electrical conductivity of membrane Ω <sup>-1</sup> ·m <sup>-1</sup> 17
_d_ <sup>m</sup> Thickness of membrane m 1.778×10 <sup>-4</sup>
_k_ <sup>aq</sup> Electrical conductivity of the aqueous solution Ω <sup>-1</sup> ·m <sup>-1</sup> 5
_d_ <sup>cell</sup> Distance between anode and cathode in the cell m 2.2×10 <sup>-2</sup>
_C_ a Capacitance of anode F·m <sup>-2</sup> 4×10 <sup>2</sup>
_C_ c Capacitance of cathode F·m <sup>-2</sup> 5×10 <sup>2</sup>
_V_ a Volume of anode compartment m <sup>3</sup> 5.5×10 <sup>-5</sup>
_V_ c Volume of cathode compartment m <sup>3</sup> 5.5×10 <sup>-5</sup>
_A_ m Area of membrane m <sup>2</sup> 5×10 <sup>-4</sup>
_Y_ ac Bacterial yield Dimensionle 0.05
_K_ dec Decay constant for acetate utilizers h <sup>-1</sup> 8.33×10 <sup>-4</sup>
_f_ x Reciprocal of wash-out fraction Dimensionle 10
_Q_ a Flow rate of fuel feed to anode m <sup>3</sup> ·h <sup>-1</sup> 2.25×10 <sup>-5</sup>
_Q_ c Flow rate feeding to cathode compartment m <sup>3</sup> ·h <sup>-1</sup> 1.11×10 <sup>-3</sup>
_C_ in AC Concentration of acetate in the influent of anode compartment mol·m <sup>-3</sup> 1.56
_C_ in AC Concentration of acetate in the influent of anode compartment mol·m <sup>-3</sup> 1.56
_C_ in CO2 Concentration of CO2 in the influent of anode compartment mol·m <sup>-3</sup> 0
_C_ in CO2 Concentration of CO2 in the influent of anode compartment mol·m <sup>-3</sup> 0
_X_ <sup>in</sup> Concentration of bacteria in the influent of anode compartment mol·m <sup>-3</sup> 0
_C_ in H Concentration of H <sup>+</sup> in the influent of anode compartment mol·m <sup>-3</sup> 0
_C_ in H Concentration of H <sup>+</sup> in the influent of anode compartment mol·m <sup>-3</sup> 0
_C_ in O2 Concentration of dissolved O2 in the influent of cathode mol·m <sup>-3</sup>
_C_ in O2 Concentration of dissolved O2 in the influent of cathode mol·m <sup>-3</sup> 0.3125
_C_ in M Concentration of M <sup>+</sup> in the influent of cathode compartment mol·m <sup>-3</sup> 0
_C_ in M Concentration of M <sup>+</sup> in the influent of cathode compartment mol·m <sup>-3</sup> 0
_C_ in OH Concentration of OH <sup>-</sup> in the influent of cathode compartment mol·m <sup>-3</sup> 0
_C_ in OH Concentration of OH <sup>-</sup> in the influent of cathode compartment mol·m <sup>-3</sup> 0
_U_ <sup>0</sup> Cell open circuit potential V 0.77
<sup>_k_</sup> 10 Forward rate constant of anode reaction at standard condition mol·m <sup>-2</sup> ·h <sup>-1</sup> 0.207
<sup>_k_</sup> 20 Forward rate constant of cathode reaction at standard condition mol·m <sup>-4</sup> ·h <sup>-1</sup> 3.288×10 <sup>-5</sup>
_K_ AC Half velocity rate for acetate mol·m <sup>-2</sup> 0.592
_K_ O2 Half velocity rate for dissolved oxygen mol·m <sup>-2</sup> 0.004
_α_ Charge transfer coefficient of anode Dimensionle 0.051
_<u>β</u>_ <u>Charge transfer coefficient of cathode</u> <u>Dimensionle</u> <u>0.063</u>
3. REINFORCEMENT LEARNING-BASED MPPT
_3.1 Introduction of Q-Learning_
Reinforcement Learning is a machine learning method to understand and automate goal-directed
learning and decision making. Reinforcement Learning was designed to infer closed-loop policies for
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9923
stochastic optimal control problems from a sample of trajectories gathered from interaction with the real
system or from simulations [35]. Generally, a basic Reinforcement Learning architecture is composed
of two essential elements: an agent and an environment. The optimized controller called as agent is not
told which actions a to take, but instead must discover which actions yield the most reward _r_ in the future
by directly interacting with the current state _s_ of the controlled object called as environment. Expectation
of total reward is defined by an action-value function _Q_ ( _s_, _a_ ), which estimates how good it is for the
agent to perform a given action _a_ in a given state _s_ .
Q-Learning is one of the most popular algorithms that perform Reinforcement Learning, and it
is a typical model independent algorithm. The core of the Q-Learning algorithm is a value iteration
update of the value function. Under the Q-Learning algorithm, the goal is to achieve the goal state and
obtain the highest income. Once the goal state is reached, the final income remains unchanged. The Qvalue for each state-action pair is initially chosen by the designer and later, it is updated each time an
action is executed and a reward is received, based on the following expression:
##### Q ( sk, ak ) = Q ( sk, ak ) + rk + max a Q ( sk + 1, a ) − Q ( sk, ak ) (16)
where, _rk_ is the reward given at time _t_, _γ_ is the discount factor determining the current reward to
be received in the future updates, _α_ is the learning rate which is selected by a tradeoff between speed and
coverage. At each episode of update, the agent observes the current state _sk_ and select an action _at_
according to the policy. Then the subsequent state s _t+_ 1 is observed with a reward _rk_ given by the
environment, the current action-value function _Q_ ( _sk_, _ak_ ) and the maximum value max _aQ_ (s _k+_ 1, _a_ ) of the
next state s _k+_ 1 will be used to update the _Q_ function according to Equation (16).
The state, which describes the conditions of the system, is critical to the performance of Q-Learning.
_3.2 Parameters of Q-Learning_
_3.2.1. State Space_
Only if the state space _S_, action list _A_ and reward function _r_ = _f_ ( _sk_, _ak_ s _k+_ 1,) are all well set, the Q
learning algorithm can make MFC track the MPP accurately and quickly. When defining a state space,
many aspects need to be considered. Considering that electrical signals are easy to measure, voltage and
current of MFC are used as states. However, a continuous state space is usually difficult to handle. On
the other hand, too sparse state space may lead to misjudgment of state, resulting in insufficient decisionmaking capabilities, oscillations between states, and non-optimal policies. Therefore, the voltage and
current were normalized by using open circuit voltage and short circuit current. The voltage was
discretized into 6 states between 0 to 0.6 V with equal interval. To improve the tracking speed, when the
current is less than or equal to 4 mA, all are set to one state, and current which is more than 4 mA and
less than 12 mA will be discretized into 9 states with equal interval.
_3.2.2. Action List_
Boost converter was used to adjust the equivalent resistor of the external resistance to affect the
produced power. Therefore, duty cycle increment was selected as actions. Actions varied between 0 and
1 according to the duty cycle. To keep the proposed method efficient, the action list contained 3 actions.
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9924
The initialized table _Q_ ( _s_, _a_ ) has zero _action-values_ . The first action is executed by default. As long as the
first action is positive, the output duty cycle will increase all the time without oscillation, so the tracking
speed will be accelerated. Positive and negative increment are needed to ensure the algorithm can track
in different direction. After finding the MPP, a zero increment is needed to avoid oscillation in states.
Since the power density is low when the MFC is started, a positive increment of duty cycle is
required to ensure that the operating point will move towards the MPP, so the first one of the action list
is set to a positive value. With an original blank action value table that all _Q_ ( _s,a_ ) at state s was equal to
0, the algorithm chose the first index of actions, and made a increment of duty cycle. It can make the
tracing process move in the same direction with no need to explore all the states with all the actions.
Besides, according to Figure.1, there is only one MPP of an MFC, so this setting can save a lot of time
without lose the accuracy. Therefore, the actions list was defined as: A = [0.1 -0.1 0].
_3.2.3. Reward Function_
For each applied action, the system reacts and performs a state transition to generate a response
that is monitored as a return to the environment. Rewards are needed to include positive and negative
value to ensure that the impact of the action is always proportional to the power change. When power
increment is positive, the corresponding reward is positive; on the contrary, when the power increment
is negative, the corresponding reward is negative. When the MFC is stable at the MPP, the reward
becomes zero because the power change is neither positive nor negative. The reward was defined as:
_P_ *10 _P_ 0.0005 mW m = 0 _P_ 0.0005 mW m
_P_ *10 _P_
_r_ =
0 _P_
*10 _P_ 0.0005 mW m - 2
_P_ 0.0005 mW - 2
2
0 _P_ 0.0005 mW m - 2
(17)
Finally, the parameters used to update Equation (16) need to be selected. Here _α_ is set to 0.001,
and _γ_ is set to 1. Figure 2 shows the flowchart of the proposed algorithm.
tart
Initialize action ealue D,,
Initialize stepsize,
Initialize discount factor
Calculate current state D
se a policy to select action D,
xecute D
Calculate reward D,
pdate D D, D
max
nd
Figure 2. Flowchart of the proposed algorithm
_Int. J. Electrochem. Sci., Vol. 15, 2020_
_3.3 Structure of Control System_
9925
Based on the proposed Q-Learning algorithm, a maximum power tracking control system of
MFC was constructed, as shown in Figure 3.
Figure 3. Scheme of the QLMPPT Control system of MFC
_3.4 Convergence of the Learning Algorithm_
The convergence of the Q-Learning algorithm has been proved by Watkins [36]. Here the MFC
system was analyzed to illustrate the effectiveness of this algorithm. The MFC is a deterministic system,
which means that when the controller executed action _a_ ( _k_ ) in the state _s_ ( _k_ ), it would move to the state
_s_ ( _k_ +1) and receive a reward _r_ ( _k_ ) from the environment definitely. This whole process would not be
random. Therefore, for an MFC with a single maximum power point, when the controller succeeded to
explore the maximum power at the first time, assuming that this state was _s_, no matter the controller
executed action _a_ 1( _a_ 1=0.1) or action _a_ 2 ( _a_ 2= -0.1), a negative reward would be given. Only if the
controller executed action _a_ 3 ( _a_ 3=0), a zero reward would be given. When the controller explored all the
actions in state _s_ and then returned to state _s_ again, it would only executed action (0) and kept stable at
this state _s_, which was also the maximum power.
4. SIMULATION AND VERIFICATION
To evaluate the effects of the proposed QLMPPT control method, simulations of MFC system
with seeeral different operating conditions were performed in MATLAB. ε-greedy, greedy policy and
Boltzmann methods were respectively used to select action in the Q-Learning.
_4.1 MPPT Control Based on P/O and Improved P/O_
The proposed Q-Learning based controllers were compared with the conventional MPPT method
based on P x. In coneentional P x, each duty cycle change was fixed and equal to a predetermined offset
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9926
Δ _d_ . The direction of duty cycle change depends on the sign of power increment. iue to the influence of
process dynamics, it is important to wait for a steady state after each duty cycle change. The flowchart
of the P/O algorithm was presented in Figure 4.
tart
ample D and D,
Calculate D
D D
D D
D
D
D
D
Figure 4. Flowchart of the P/O algorithm
In the simulation experiments, the MFC system was started with a fixed duty cycle of . . After
running for 2 hours, MFC completed the startup process and the MPPT algorithm began to work. A
load with a resistance of Ω was linked to the Boost coneerter, and the load changes to Ω at
h. The sampling time of current and eoltage was set to 2 hours, and the calculation period of the
algorithm was also set to 2 hours.
Figure shows the power density curee of MFC with coneentional P x algorithm. MFC was
started up with starting duty cycle, which was set at . . After hours, the P x algorithm began to
work. iue to the large dynamic progress of MFC, the MPP was reached after hours, the steady
power density was about 2. m ·m <sup>2</sup> . Large oscillation can be seen in the curee. This is because a fixed
duty cycle and large duty cycle change were used in the P x algorithm. After sudden change of load
resistance at h, the P x algorithm cannot track the MPP again thus the produced power density
oscillated at . m ·m <sup>2</sup> .
In eiew of the aboee problems, an improeed P x algorithm was proposed, the flowchart of the
improeed P x algorithm was shown in Figure and the power density curee of MFC with the improeed
P x algorithm was shown in Figure 7. The setting of the simulation was same as the P x algorithm until
the oscillation occurred. After the oscillation was detected, the step size of the duty cycle was decreased
following with a logarithmic function. After 4 hours’ back and forth settlement, MPP was reached
without any oscillation, which means that the improeed P x algorithm can greatly improee the stability
of power tracking. Howeeer, when the load changed, the improeed P x algorithm made the output power
density of MFC stable at another point rather than its actual MPP, which means that the P x algorithm
failed to track the actual maximum power point when the load changed.
_Int. J. Electrochem. Sci., Vol. 15, 2020_
2.
2
.
.
9927
h
Figure 5. Power density curee of MFC with general P x algorithm
Figure 6. Flowchart of the improeed P x algorithm
_4.2 MPPT Control Based on Q-Learning_
MPPT based on Q-Learning was then implemented in the MFC system. Besides the greedy
policy, two other types of action selection policies based on Boltzmann exploration and ε-greedy
exploration were still used in MPPT so as to find the more appropriate approach.
_Int. J. Electrochem. Sci., Vol. 15, 2020_
2.
2
.
.
9928
h
Figure 7. Power density curee of MFC with improeed P x algorithm
_4.2.1. MPPT Based on Q-Le ning wi h ε-greedy Exploration_
ε -greedy exploration is the most widely used exploration method in reinforcement learning. The
power density curve of MFC with Q-Learning based on ε-greedy exploration was shown in Figure 8. In
this method, a random number between and was generated. If this number was larger than ε which
is also a number in (0,1), the action was selected randomly; otherwise, the action was selected using a
greedy policy. In this way, it took about 350 h from starting the MFC to tracking to the MPP and
stabilizing. When the load resistance changed at 800 h, it took about 400 h to re-track the MPP. However,
the output power density could not keep stable at the MPP but fluctuated near the MPP. The main reason
for this result is that a fixed ε Dε .9 was used in this method, it still has probability to choose a random
action even though the MFC has reached the MPP, so the output power density could not keep stable at
the MPP.
2.
2
.
.
h
Figure 8. Power density curee of MFC with Q Learning based on ε greedy exploration
_Int. J. Electrochem. Sci., Vol. 15, 2020_
_4.2.2. MPPT Based on Q-Learning with Boltzmann Exploration_
9929
The power density curee of MFC with Q Learning based on Boltzmann exploration was shown
in Figure 9. In this algorithm, an action in a state was chosen with a probability _p_ D _, i_ according to
the action ealue D, _i_ as:
_Q_ ( _s_, _ai_
( _s_, _ai_ )/
###### eQ ( s, ai )/ p ( s, ai ) eQ ( s, ai )/ D
# =
###### eQ ( s, ai )/ eQ ( s, ai )/
# = ai
_i_
###### ( s, ai ) Q ( s, ai )/
_i_ _Q_ ( _s_, _ai_
_i_
_ai_
_i_
where _τ_ is a positive parameter which controls the randomness of the exploration. A higher _τ_
makes the selection of action more random. Here we set _τ_ to 0.05.
2.
2
.
.
h
Figure 9. Power density curee of MFC with Q Learning based on Boltzmann exploration
It can be seen from Figure 9 that the Q Learning algorithm based on Boltzmann exploration made
the MFC stable at the actual MPP after 4 h, which was longer than that of using ε greedy exploration.
hen suffer a sudden change of load resistance at h, the method of Q Learning based on Boltzmann
exploration made the MFC re stabilize at the MPP in about h, which was faster and more stable than
that of using the ε greedy exploration. For this method, to make the tracking faster, a relatieely smaller
fixed parameter τ should be chosen, while less exploration may make a steady error.
_4.2.3. MPPT Based on Q-Learning with greedy policy Exploration_
The power density curve of MFC using greedy policy to choose action was shown in Figure 10.
After the MFC was started, the algorithm adjusted the duty cycle in one direction as we expected. After
exploring all the states with action _a_ 1 ( _a_ 1=0.1), the sign of the change in duty cycle inversed and
continued to update the state value table with action _a_ 2 ( _a_ 2=-0.1). When the MPP was reached, both
action _a_ 1 and action _a_ 2 made the reward negative, then action _a_ 3 ( _a_ 3=0) was selected and the duty cycle
remained constant so that the output power remained at the MPP.
The whole process from startup to stabilization at MPP took about 200 h, which was 42.9% faster
than that of MFC with Q-Learning based on ε-greedy exploration, and 50% faster than that of MFC with
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9930
Q-Learning based on Boltzmann exploration. When the load resistance changed at 800 h, the power
density fluctuated greatly, which was because a sudden change of load resistance caused the algorithm
to re-explore; but after a period of adjustment, the output power density could still return to the actual
MPP and stabilized. It took about 160 h from the time the load disturbance occurred to the time the
power density of MFC was stabilized at the MPP again, which was 11.1% faster than that of MFC with
Q-Learning based on Boltzmann exploration. Compared with the method of Q-Learning based on εgreedy exploration and Q-Learning based on Boltzmann exploration, the method of Q-Learning based
on greedy policy has faster response time and better stability.
2.
2
.
.
h
Figure 10. Power density curee of MFC with Q Learning based on greedy policy
5. CONCLUSION
The general P/O algorithm cannot track the MPP of MFC accurately but make the output power
of MFC oscillate greatly near the MPP, and MPPT with general P/O algorithm cannot be retraced to the
MPP in case of load change. The improved P/O algorithm can make MFC reach the MPP without
oscillation after a period of adjustment, but it still cannot return to the actual MPP when encountering
load disturbance. While the reinforcement learning algorithm can solve the problems existing in the P/O
algorithm. The method of Q-Learning based on greedy policy or Boltzmann exploration can make the
MFC stable at MPP with a short time even though a sudden change of load occurs. Considering the
action selection policies of Q-Learning algorithms, greedy policy seems to be more suitable. The QLearning algorithm based on the greedy policy can make the output power of MFC track to its MPP and
keep stable at a faster speed and can also return to the actual MPP and stabilize at the fastest speed when
encountering load disturbance. On the other hand, greedy algorithm does not have an adjustment
parameter but the other two methods have, which also makes it more convenient and feasible. Therefore,
Q-Learning algorithm based on greedy policy is an effective method to realize MPPT control in MFC
system.
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9931
ACK x L iG M T
<mark>This work was supported by the Chinese-Macedonian Scientific and Technological Cooperation Project</mark>
<mark>of Ministry of cience and Technology of the People’s Republic of China Dunder Grant [2 7] 2 : -5),</mark>
<mark>and the support plan for distinguished professors in Liaoning Province, China (under Grant [2014] 187).</mark>
References
1. M. Zhou, H. ang, i.J. Hassett, T. Gu, _J. Chem. Technol. Bio echnol._, D2 .
2. G. Palanisamy, H. . Jung, T. adhasieam, M.i. Kurkuri, .C. Kim, .H. Roh, _J. Cle n. o ._, 22
D2 9 9 .
3. A.J. late, K.A. hitehead, i.A.C. Brownson, C. . Banks, _Renew. Su in. Ene gy Rev._, D2 9
.
4. L. Fan, J. Zhang, X. hi, _n . J. Elec ochem. Sci._, D2 7 7.
5. C. antoro, C. Arbizzani, B. rable, I. Ieropoulos, _J. owe Sou ce_, D2 7 22 .
6. H. ang, J.i. Park, Z.J. Ren, _Envi on. Sci. Technol._, 49 D2 2 7.
7. Z.H. Tong, H.Q. u, . . Li, .K. ang, M. un, X. . Liu, G.P. heng, _Eco oxicology_, 24 D2
2 7 .
8. L. Fan, i. Xu, C. Li, . Xue, _oli h J. Envi on. S u ._, 2 D2 2 9.
9. L. Fan, J. hi, T. Gao, _Ene gie_, D2 2 .
10. L. Fan, . Zheng, X. Miao, _J. Chem. Eng. Chine e niv._, D2 49 .
11. H.C. Boghani, G. Papaharalabos, I. Michie, K.R. Fradler, R.M. iinsdale, A.J. Guwy, I. Ieropoulos,
J. Greenman, G.C. Premier, _J. owe Sou ce_, 2 9 D2 4 .
12. M. Bahrami, R. Gaeagsaz Ghoachani, M. Zandi, M. Phattanasak, G. Maranzanaa, B. ahid
Mobarakeh, . Pierfederici, F. Meibody Tabar, _Renew. Ene gy_, D2 9 9 2.
13. M. Alaraj, M. Radenkoeic, J.i. Park, _J. owe Sou ce_, 42 D2 7 72 .
14. A. Adekunle, V. Raghaean, B. Tartakoesky, _B e ie_, D2 9 9.
15. J.i. Park, Z. Ren, _J. owe Sou ce_, 2 D2 2 .
16. i. Molognoni, . Puig, M.i. Balaguer, A. Liberale, A.G. Capodaglio, A. Callegari, J. Colprim, _J._
_owe Sou ce_, 2 9 D2 4 4 .
17. J. Coronado, M. Perrier, B. Tartakoesky, _Bio e ou . Technol._, 47 D2 .
18. L. oodward, M. Perrier, B. rinieasan, R.P. Pinto, B. Tartakoesky, _A ChE J._, D2 2742.
19. . Hadji, J.P. Gaubert, F. Krim, _Ene gie_, D2 4 9.
20. C. ei, Z. Zhang, . Qiao, L. Qu, _EEE T n . n . Elec on._, 2 D2 .
21. A. aenz Aguirre, . Zulueta, . Fernandez Gamiz, J. Lozano, J. Lopez Guede, _Ene gie_, 2 D2 9
4 .
22. R.C. Hsu, C.T. Liu, . . Chen, H.I. Hsieh, H.L. ang, _n . J. ho oene gy_, 2 D2 .
23. P. Kofinas, . ioltsinis, A.I. iounis, G.A. Vouros, _Renew. Ene gy_, D2 7 4 .
24. T. Liu, . Zou, i. Liu, F. un, _Ene gie_, D2 724 .
25. R. Xiong, J. Cao, Q. u, _Appl. Ene gy_, 2 D2 .
26. J. u, H. He, J. Peng, . Li, Z. Li, _Appl. Ene gy_, 222 D2 799.
27. . Kazemi, M. Barazandegan, M. Mohseni, K. Fatih, _Ene gie_, 9 D2 79.
28. R.P. Pinto, B. rinieasan, M.F. Manuel, B. Tartakoesky, _Bio e ou . Technol._, D2 2 .
29. C. Picioreanu, I.M. Head, K.P. Katuri, M.C.M. ean Loosdrecht, K. cott, _W e Re ._, 4 D2 7 292 .
30. A. Kato Marcus, C.I. Torres, B. . Rittmann, _Bio echnol. Bioeng_ ., 9 D2 7 7 – 2.
31. M. sfandyari, M.A. Fanaei, R. Gheshlaghi, M. Akhaean Mahdaei, _Chem. Eng. Re . De ._, 7 D2 7
4.
32. . Zeng, .F. Choo, B.H. Kim, P. u, _J. owe Sou ce_, 9 D2 79.
33. L.P. Fan, J.J. Li, _n . J. Ci cui, Sy . Sign l oce_, D2 .
34. Z. Zhong, H. Huo, X. Zhu, G. Cao, . Ren, _J. owe Sou ce_, 7 D2 2 9.
_Int. J. Electrochem. Sci., Vol. 15, 2020_
9932
35. i. rnst, M. Glaeic, F. Capitanescu, L. ehenkel, _EEE T n . Sy . M n, Cybe n. B_, 9 D2 9
7.
36. C.J.C.H. atkins, P. iayan, _M ch. Le n._, D 992 279.
[© 2020 The Authors. Published by ESG (www.electrochemsci.org). This article is an open access](http://www.electrochemsci.org/)
article distributed under the terms and conditions of the Creative Commons Attribution license
(http://creativecommons.org/licenses/by/4.0/).
섹션 본문
섹션 본문이 없습니다.
참고문헌 32건
- Reinforcement Learning–Based Energy Management Strategy for a Hybrid Electric Tracked Vehicle Energies · Multidisciplinary Digital Publishing Institute · 2015 10.3390/en8077243
- A Reinforcement Learning-Based Maximum Power Point Tracking Method for Photovoltaic Array International Journal of Photoenergy · Hindawi Publishing Corporation · 2015 10.1155/2015/496401
- Application of a weak magnetic field to improve microbial fuel cell performance Ecotoxicology · Springer Science+Business Media · 2015 10.1007/s10646-015-1545-2
- Adaptive maximum power point tracking control of fuel cell power plants Journal of Power Sources · Elsevier BV · 2007 10.1016/j.jpowsour.2007.10.080
- Practical Energy Harvesting for Microbial Fuel Cells: A Review Environmental Science & Technology · American Chemical Society · 2015 10.1021/es5047765
- Reinforcement-Learning-Based Intelligent Maximum Power Point Tracking Control for Wind Energy Conversion Systems IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tie.2015.2420792
- Comparison of real‐time methods for maximizing power output in microbial fuel cells AIChE Journal · Wiley · 2010 10.1002/aic.12157
- A two-population bio-electrochemical model of a microbial fuel cell Bioresource Technology · Elsevier BV · 2010 10.1016/j.biortech.2010.01.122
- Pulse-width modulated external resistance increases the microbial fuel cell power output Bioresource Technology · Elsevier BV · 2013 10.1016/j.biortech.2013.08.005
- Hysteresis controller based maximum power point tracking energy harvesting system for microbial fuel cells Journal of Power Sources · Elsevier BV · 2012 10.1016/j.jpowsour.2012.01.053
- Controlling for peak power extraction from microbial fuel cells can increase stack voltage and avoid cell reversal Journal of Power Sources · Elsevier BV · 2014 10.1016/j.jpowsour.2014.06.059
- Reinforcement Learning Versus Model Predictive Control: A Comparison on a Power System Problem IEEE Transactions on Systems Man and Cybernetics Part B (Cybernetics) · Institute of Electrical and Electronics Engineers · 2008 10.1109/tsmcb.2008.2007630
- Conduction-based modeling of the biofilm anode of a microbial fuel cell Biotechnology and Bioengineering · Wiley · 2007 10.1002/bit.21533
- Modelling and simulation of two-chamber microbial fuel cell Journal of Power Sources · Elsevier BV · 2009 10.1016/j.jpowsour.2009.06.101
- Recent advances in microbial fuel cells (<scp>MFCs</scp>) and microbial electrolysis cells (<scp>MECs</scp>) for wastewater treatment, bioenergy and bioproducts Journal of Chemical Technology & Biotechnology · Wiley · 2012 10.1002/jctb.4004
- A computational model for biofilm-based microbial fuel cells Water Research · Elsevier BV · 2007 10.1016/j.watres.2007.04.009
- Reducing start-up time and minimizing energy losses of Microbial Fuel Cells using Maximum Power Point Tracking strategy Journal of Power Sources · Elsevier BV · 2014 10.1016/j.jpowsour.2014.07.033
- Systematic Study of Separators in Air-Breathing Flat-Plate Microbial Fuel Cells—Part 2: Numerical Modeling Energies · Multidisciplinary Digital Publishing Institute · 2016 10.3390/en9020079
- Mathematical modeling of two-chamber batch microbial fuel cell with pure culture of Shewanella Process Safety and Environmental Protection · Elsevier BV · 2016 10.1016/j.cherd.2016.09.016
- Intelligent energy harvesting scheme for microbial fuel cells: Maximum power point tracking and voltage overshoot avoidance Journal of Power Sources · Elsevier BV · 2017 10.1016/j.jpowsour.2016.12.104
- A reinforcement learning approach for MPPT control method of photovoltaic sources Renewable Energy · Elsevier BV · 2017 10.1016/j.renene.2017.03.008
- Microbial fuel cells: From fundamentals to applications. A review Journal of Power Sources · Elsevier BV · 2017 10.1016/j.jpowsour.2017.03.109
- Reinforcement learning-based real-time power management for hybrid energy storage system in the plug-in hybrid electric vehicle Applied Energy · Elsevier BV · 2017 10.1016/j.apenergy.2017.11.072
- Real-Time Genetic Algorithms-Based MPPT: Study and Comparison (Theoretical an Experimental) with Conventional Methods Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11020459
- Continuous reinforcement learning of energy management with deep Q network for a power split hybrid electric bus Applied Energy · Elsevier BV · 2018 10.1016/j.apenergy.2018.03.104
- Hybrid maximum power point tracking algorithm with improved dynamic performance Renewable Energy · Elsevier BV · 2018 10.1016/j.renene.2018.07.020
- Microbial fuel cells: An overview of current technology Renewable and Sustainable Energy Reviews · Elsevier BV · 2018 10.1016/j.rser.2018.09.044
- Real-Time Performance Optimization and Diagnostics during Long-Term Operation of a Solid Anolyte Microbial Fuel Cell Biobattery Batteries · Multidisciplinary Digital Publishing Institute · 2019 10.3390/batteries5010009
- Artificial Neural Network Based Reinforcement Learning for Wind Turbine Yaw Control Energies · Multidisciplinary Digital Publishing Institute · 2019 10.3390/en12030436
- A comprehensive review on microbial fuel cell technologies: Processes, utilization, and advanced developments in electrodes and membranes Journal of Cleaner Production · Elsevier BV · 2019 10.1016/j.jclepro.2019.02.172
- Comparative Study on the Effects of Three Membrane Modification Methods on the Performance of Microbial Fuel Cell Energies · Multidisciplinary Digital Publishing Institute · 2020 10.3390/en13061383
- Performance Improvement of a Microbial Fuel Cell based on Model Predictive Control International Journal of Electrochemical Science · Elsevier BV · 2015 10.1016/s1452-3981(23)05028-9