<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">IJNM</journal-id><journal-title-group><journal-title>International Journal of Nonferrous Metallurgy</journal-title></journal-title-group><issn pub-type="epub">2168-2054</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ijnm.2015.41001</article-id><article-id pub-id-type="publisher-id">IJNM-53226</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Chemistry&amp;Materials Science</subject><subject> Engineering</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Fuzzy Logic Model to Predict the Bioleaching Efficiency of Copper Concentrates in Stirred Tank Reactors
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>li</surname><given-names>Ahmadi</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Mohammad</surname><given-names>Raouf Hosseini</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mining Engineering, Isfahan University of Technology, Isfahan, Iran</addr-line></aff><pub-date pub-type="epub"><day>15</day><month>01</month><year>2015</year></pub-date><volume>04</volume><issue>01</issue><fpage>1</fpage><lpage>8</lpage><history><date date-type="received"><day>29</day>	<month>December</month>	<year>2014</year></date><date date-type="rev-recd"><day>accepted</day>	<month>5</month>	<year>January</year>	</date><date date-type="accepted"><day>14</day>	<month>January</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Multiplicity of the chemical, biological, electrochemical and operational variables and nonlinear behavior of metal extraction in bioleaching environments complicate the mathematical modeling of these systems. This research was done to predict copper and iron recovery from a copper flotation concentrate in a stirred tank bioreactor using a fuzzy logic model. Experiments were carried out in the presence of a mixed culture of mesophilic bacteria at 35&amp;deg  
  <script></script> C, and a mixed culture of moderately thermophilic bacteria at 50&amp;deg  
  <script></script> C. Input variables were method of operation (bioleaching or electrobioleaching), the type of bacteria and time (day), while the recoveries of copper and iron were the outputs. A relationship was developed between stated inputs and the outputs by means of “if-then” rules. The resulting fuzzy model showed a satisfactory prediction of the copper and iron extraction and had a good correlation of experimental data with R-squared more than 0.97. The results of this study suggested that fuzzy logic provided a powerful and reliable tool for predicting the nonlinear and time variant bioleaching processes.
 
</p></abstract><kwd-group><kwd>Fuzzy Logic</kwd><kwd> Modeling</kwd><kwd> Copper Concentrate</kwd><kwd> Bioleaching</kwd><kwd> Stirred Reactor</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Conventional or electrochemical bioleaching of copper from concentrates in stirred tank reactors is one of the most complex and difficult processes in hydrometallurgy. It not only is nonlinear and time variant, but also is hardly defined. The bioleaching process has been constituted of two interacting subsystems: an abiotic system, which is a mineral suspension in a solution of chemical and electrochemical compounds and gases as well as a biological system, composed of a singular or mixed culture of microorganisms. For mathematical modeling of this process, mass transfer between three different phases that is too complicated, must be taken into account [<xref ref-type="bibr" rid="scirp.53226-ref1">1</xref>] . On the other hand, the presence of several species of acidophilic bacteria, which have different mechanisms to dissolve minerals (contacting and non-contacting mechanisms), has complicated the nature of the biological subsystem. So the system not only is difficult to formulate mathematically, but also is even more difficult to validate experimentally due to oversimplifications of the conditions, as a consequence, the process cannot be programmed in a precise way.</p><p>The use of fuzzy logic, which reflects the qualitative and inaccurate nature of human reasoning, can enable expert systems to be more flexible [<xref ref-type="bibr" rid="scirp.53226-ref2">2</xref>] . It was initiated in 1965 by Lotfi A. Zadeh [<xref ref-type="bibr" rid="scirp.53226-ref3">3</xref>] . In a fuzzy logic model, language terms (linguistic variables) are used to convey concepts relating to the system’s components and language instruments (linguistic operators) are used to convey concepts relating to the interrelationship and dynamics of these components. Fuzzy logic systems are widely used for control, system identification, and pattern recognition problems. The main advantage of fuzzy interference with respect to traditional mathematical models lies in the fact that the relationship between inputs and outputs is not determined by complex equations, but by a set of logical rules, reflecting an expert’s knowledge [<xref ref-type="bibr" rid="scirp.53226-ref4">4</xref>] . In complicated process control systems, fuzzy logic is integrated with conventional PID (proportional-integral-derivative) systems and is a very useful approach in pro- cess automation [<xref ref-type="bibr" rid="scirp.53226-ref5">5</xref>] . Fuzzy logic can be used in order to conveniently incorporate the practical in-house operating knowledge into the control solution [<xref ref-type="bibr" rid="scirp.53226-ref6">6</xref>] . During the last decade, researchers have attempted to predict both physical and chemical processing of ores and concentrates using fuzzy logic systems [<xref ref-type="bibr" rid="scirp.53226-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.53226-ref7">7</xref>] -[<xref ref-type="bibr" rid="scirp.53226-ref10">10</xref>] . Bioleaching process has also been modeled by different methods [<xref ref-type="bibr" rid="scirp.53226-ref11">11</xref>] -[<xref ref-type="bibr" rid="scirp.53226-ref15">15</xref>] . Pazuki et al. [<xref ref-type="bibr" rid="scirp.53226-ref16">16</xref>] used Artificial Neural Network to optimize the bioleaching of iron from a Kaolin ore, and a good agreement was obtained between the model and experimental data. A reaction-based kinetic model for conventional and electrochemical bioleaching of copper concentrates was previously published [<xref ref-type="bibr" rid="scirp.53226-ref13">13</xref>] .</p><p>Considering, the multiplicity of various chemical, biological, electrochemical and operational parameters, nonlinear behavior of metal extraction in bioleaching processes, and the high ability of knowledge based systems in such complex media, in this research, a multi input-multi output fuzzy logic model was defined to predict copper and iron recovery from a flotation copper concentrate in a stirred electro-bioreactor. The proposed model predicts the nonlinear behavior of conventional and electrochemical bioleaching processes successfully.</p></sec><sec id="s2"><title>2. Experimental Data</title><p>Data used in this fuzzy logic modeling was obtained from an experimental work performed previously by the author and his coworkers [<xref ref-type="bibr" rid="scirp.53226-ref17">17</xref>] . In that research, a chalcopyrite copper concentrate from the Sarcheshmeh Copper Mine (Kerman, Iran) was used to perform conventional and electrochemical bioleaching processes. X-ray fluorescence (XRF) and X-ray diffraction (XRD) analyses of the sample showed 27.7% Cu, 24.6% Fe, 14.8% S, and chalcopyrite (CuFeS<sub>2</sub>) as the major mineral and pyrite (FeS<sub>2</sub>) as the minor one. Experiments were carried out in a three compartment electro-bioreactor at 10% (w/v) solid content. A mixed culture of mesophilic bacteria and a mixed culture of moderately thermophilic bacteria were used at 35˚C and 50˚C, respectively. Experiments were conducted in nutrient medium, 9 K; stirring rate, 450 rpm; applied potential, 420 mV (in electrobioleaching tests); initial pH, 1.8; and aeration rate, 1.3 L∙min<sup>−1</sup>. The potential of the working electrode was controlled with respect to the reference electrode using a Solartron Sl 1287 potentiostat. The details of apparatus and techniques used have been previously described [<xref ref-type="bibr" rid="scirp.53226-ref17">17</xref>] .</p></sec><sec id="s3"><title>3. Fuzzy Logic Modelling</title><sec id="s3_1"><title>3.1. Modeling Structure</title><p>A fuzzy logic system is a nonlinear mapping of an input data (feature) vector into a scalar output [<xref ref-type="bibr" rid="scirp.53226-ref18">18</xref>] . It contains four components: fuzzifier, rules, inference engine, and defuzzifier. In this research, the fuzzy modeling process was supported by Fuzzy Logic Toolbox of the Matlab software (version 7.4.0). The standard method of creating the model can be seen in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p></sec><sec id="s3_2"><title>3.2. Fuzzification of Variables</title><p>Fuzzification is the process of finding the membership degrees. A membership function (MF) is a curve that</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> The fuzzy logic modeling process</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2580065x5.png"/></fig><p>defines how each point in the input space is mapped to a membership value (or degree of membership) between 0 and 1 (Fuzzy Logic Toolbox). The value 0 represents a complete non-membership, the value 1 represents a complete membership function and values in between are used to represent partial membership. The input and output variables have been fuzzified according to the linguistic sets shown in <xref ref-type="table" rid="table1">Table 1</xref>. Experimental results and expert knowledge was used to obtain the numbers of the input membership functions and base widths. As can be seen from Figures 2-4 triangular membership functions (Equation (1)) was used to make the input variable time and output variables copper and iron recovery. Each membership function has 30% - 60% overlap with the adjacent ones.</p><p>Ordinary (crisp) sets are a special case of fuzzy sets, in which the membership function only takes two values: 0 (non-membership) and 1 (membership) [<xref ref-type="bibr" rid="scirp.53226-ref19">19</xref>] . By considering this note, the input variables of “Method” and type of bacteria or “TOB” was defined as crisp sets which then was fuzzified in accordance with Equations (2) and (3). For “Method” variable, when the membership function is between 0 and 0.5, the bioleaching method (BL) is chosen and when it is between 0.5 and 1, the electrobioleaching method (EBL) is chosen. For “TOB” variable when the membership function is between 0 and 0.5, the mesophilic bacteria (M) are chosen and when it is between 0.5 and 1, the moderately thermophilic bacteria are chosen.</p><disp-formula id="scirp.53226-formula104"><label>(1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2580065x6.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x7.png" xlink:type="simple"/></inline-formula>is the membership function of a fuzzy set; a, b, c are the constant.</p><disp-formula id="scirp.53226-formula105"><label>(2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2580065x8.png"  xlink:type="simple"/></disp-formula><disp-formula id="scirp.53226-formula106"><label>(3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2580065x10.png"  xlink:type="simple"/></disp-formula><p><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x11.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x12.png" xlink:type="simple"/></inline-formula> are the membership function of “Method” and “TOB” variables.</p></sec><sec id="s3_3"><title>3.3. Fuzzy Rule Base and Logical Operators</title><p>Fuzzy rules could be derived from both expert’s reasoning and linguistic expressions and from the relationships between the system variables. To model the process, a fuzzy rule-based system was constructed with the 34 fuzzy if-then rules (<xref ref-type="table" rid="table2">Table 2</xref>). The relationships show some of the defined rules of the Mamdani fuzzy rule based system. Rules in the base contain fuzzy AND in antecedent part. To model the logical operator AND, one can use the main operator which gives the minimum membership degrees between two fuzzy sets of elements.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Linguistic expressions used in input and output variables</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Symbol</th><th align="center" valign="middle" >N</th><th align="center" valign="middle" >EL</th><th align="center" valign="middle" >VVL</th><th align="center" valign="middle" >VL</th><th align="center" valign="middle" >mlL</th><th align="center" valign="middle" >L</th><th align="center" valign="middle" >LM</th><th align="center" valign="middle" >mlM</th></tr></thead><tr><td align="center" valign="middle" >Meaning</td><td align="center" valign="middle" >Negligible</td><td align="center" valign="middle" >Extremely low</td><td align="center" valign="middle" >Very very low</td><td align="center" valign="middle" >Very low</td><td align="center" valign="middle" >More or less low</td><td align="center" valign="middle" >Low</td><td align="center" valign="middle" >Low medium</td><td align="center" valign="middle" >More or less medium</td></tr><tr><td align="center" valign="middle" >Symbol</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >MH</td><td align="center" valign="middle" >mlH</td><td align="center" valign="middle" >H</td><td align="center" valign="middle" >VH</td><td align="center" valign="middle" >VVH</td><td align="center" valign="middle" >EH</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Meaning</td><td align="center" valign="middle" >Medium</td><td align="center" valign="middle" >Medium high</td><td align="center" valign="middle" >Moe or less high</td><td align="center" valign="middle" >High</td><td align="center" valign="middle" >Very high</td><td align="center" valign="middle" >Very very high</td><td align="center" valign="middle" >Extremely high</td><td align="center" valign="middle" ></td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Fuzzy rules for copper and iron recovery (TOB: type of bacteria; BL: bioleaching; ELB: electrobioleaching; MES: mesophilic bacteria; MT: moderately thermophilic bacteria)</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="4"  >IF</th><th align="center" valign="middle"  colspan="2"  >THEN</th></tr></thead><tr><td align="center" valign="middle" ></td><td align="center" valign="middle"  colspan="2"  >And</td><td align="center" valign="middle" >And</td><td align="center" valign="middle"  colspan="2"  >And</td></tr><tr><td align="center" valign="middle" >Run</td><td align="center" valign="middle" >Method</td><td align="center" valign="middle" >TOB</td><td align="center" valign="middle" >Time</td><td align="center" valign="middle" >Cu recovery</td><td align="center" valign="middle" >Fe recovery</td></tr><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >EL</td><td align="center" valign="middle" >EL</td><td align="center" valign="middle" >mlL</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >VL</td><td align="center" valign="middle" >VVL</td><td align="center" valign="middle" >VVL</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >VL</td><td align="center" valign="middle" >L</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >LM</td><td align="center" valign="middle" >mlL</td><td align="center" valign="middle" >L</td></tr><tr><td align="center" valign="middle" >5</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >LM</td></tr><tr><td align="center" valign="middle" >6</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >MH</td><td align="center" valign="middle" >ML</td><td align="center" valign="middle" >M</td></tr><tr><td align="center" valign="middle" >7</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >H</td><td align="center" valign="middle" >ML</td><td align="center" valign="middle" >M</td></tr><tr><td align="center" valign="middle" >8</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >VH</td><td align="center" valign="middle" >mlM</td><td align="center" valign="middle" >M</td></tr><tr><td align="center" valign="middle" >9</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >EH</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >M</td></tr><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >EL</td><td align="center" valign="middle" >VVL</td><td align="center" valign="middle" >L</td></tr><tr><td align="center" valign="middle" >11</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >VL</td><td align="center" valign="middle" >VVL</td><td align="center" valign="middle" >L</td></tr><tr><td align="center" valign="middle" >12</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >VL</td><td align="center" valign="middle" >LM</td></tr><tr><td align="center" valign="middle" >13</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >LM</td><td align="center" valign="middle" >ML</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >14</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >ML</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >15</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >MH</td><td align="center" valign="middle" >mlH</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >16</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >H</td><td align="center" valign="middle" >mlH</td><td align="center" valign="middle" >H</td></tr><tr><td align="center" valign="middle" >17</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >VH</td><td align="center" valign="middle" >VH</td><td align="center" valign="middle" >H</td></tr><tr><td align="center" valign="middle" >18</td><td align="center" valign="middle" >BL</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >EH</td><td align="center" valign="middle" >VH</td><td align="center" valign="middle" >H</td></tr><tr><td align="center" valign="middle" >19</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >EL</td><td align="center" valign="middle" >VL</td><td align="center" valign="middle" >M</td></tr><tr><td align="center" valign="middle" >20</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >VL</td><td align="center" valign="middle" >mlL</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >21</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >22</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >LM</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >23</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >MH</td><td align="center" valign="middle" >H</td></tr><tr><td align="center" valign="middle" >24</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >H</td><td align="center" valign="middle" >mlH</td><td align="center" valign="middle" >H</td></tr><tr><td align="center" valign="middle" >25</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MES</td><td align="center" valign="middle" >EH</td><td align="center" valign="middle" >VH</td><td align="center" valign="middle" >H</td></tr><tr><td align="center" valign="middle" >26</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >EL</td><td align="center" valign="middle" >mlH</td><td align="center" valign="middle" >M</td></tr><tr><td align="center" valign="middle" >27</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >VL</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >28</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >L</td><td align="center" valign="middle" >MH</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >29</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >LM</td><td align="center" valign="middle" >mlH</td><td align="center" valign="middle" >H</td></tr><tr><td align="center" valign="middle" >30</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >M</td><td align="center" valign="middle" >mlH</td><td align="center" valign="middle" >MH</td></tr><tr><td align="center" valign="middle" >31</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >MH</td><td align="center" valign="middle" >VVH</td><td align="center" valign="middle" >VH</td></tr><tr><td align="center" valign="middle" >32</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >H</td><td align="center" valign="middle" >VVH</td><td align="center" valign="middle" >VH</td></tr><tr><td align="center" valign="middle" >33</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >VH</td><td align="center" valign="middle" >VVH</td><td align="center" valign="middle" >VH</td></tr><tr><td align="center" valign="middle" >34</td><td align="center" valign="middle" >ELB</td><td align="center" valign="middle" >MT</td><td align="center" valign="middle" >EH</td><td align="center" valign="middle" >EH</td><td align="center" valign="middle" >EH</td></tr></tbody></table></table-wrap><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Fuzzy logic membership functions for time variable (input)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2580065x13.png"/></fig><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Fuzzy logic membership functions for Cu recovery (response variable)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2580065x14.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Fuzzy logic membership functions for Fe recovery (response variable)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2580065x15.png"/></fig><p>Interpreting fuzzy AND as the minimum, one can rewrite rules as the form that is more concise:</p><disp-formula id="scirp.53226-formula107"><label>(4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2580065x16.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x17.png" xlink:type="simple"/></inline-formula> contains input variables as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x18.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x19.png" xlink:type="simple"/></inline-formula> is the output variable, and:</p><disp-formula id="scirp.53226-formula108"><label>(5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2580065x20.png"  xlink:type="simple"/></disp-formula><p>Each rule corresponds to a fuzzy relation given by Equation (6):</p><disp-formula id="scirp.53226-formula109"><label>(6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2580065x21.png"  xlink:type="simple"/></disp-formula></sec><sec id="s3_4"><title>3.4. Fuzzy Inference</title><p>The fuzzy inference engine is the core of a fuzzy system. It is used to simulate the thinking and decision-making modes of human beings to solve problems [<xref ref-type="bibr" rid="scirp.53226-ref4">4</xref>] .</p><p>Having translated each rule <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x22.png" xlink:type="simple"/></inline-formula> into<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x23.png" xlink:type="simple"/></inline-formula>, the next step is to fuse all rules together. Indeed, each rule produces a fuzzy set in output space as <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x24.png" xlink:type="simple"/></inline-formula> and thus there is a need for aggregation all outputs to obtain a single fuzzy set in<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x22.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x23.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x24.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x25.png" xlink:type="simple"/></inline-formula>. The overall output can be calculated by means of Larson synthesis as [<xref ref-type="bibr" rid="scirp.53226-ref20">20</xref>] :</p><disp-formula id="scirp.53226-formula110"><label>(7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2580065x26.png"  xlink:type="simple"/></disp-formula></sec><sec id="s3_5"><title>3.5. Defuzzification</title><p>The process of reducing final obtained fuzzy set is termed defuzzification that converts the output fuzzy set that is inferred from the fuzzy inference engine to an ordinary value in <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x27.png" xlink:type="simple"/></inline-formula> space. The most common defuzzification method is the centroid that gives the center of gravity of the respective output fuzzy set as follows [<xref ref-type="bibr" rid="scirp.53226-ref21">21</xref>] :</p><disp-formula id="scirp.53226-formula111"><label>(8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/1-2580065x28.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/1-2580065x29.png" xlink:type="simple"/></inline-formula> is the center of gravity of the area covered by function.</p></sec><sec id="s3_6"><title>3.6. Model Validation</title><p>Modeling of complex and nonlinear copper bioleaching behavior (conventional and electrochemical) was done by a fuzzy logic model. A knowledge base containing if-then rules was developed in a natural language to store a human expert’s experience.</p><p>Variation of copper and iron recovery during electrobioleaching and bioleaching processes using both mixed mesophilic bacteria and mixed moderately thermophilic bacteria have been shown in <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref>. The figures show that the fuzzy logic model developed can predict the values of copper and iron recovery when proper input data (Method, TOB and Time) were entered. They clearly indicate that the recovery can be predicted very well with the fuzzy model in which R-squared of the model is more than 0.99 in all cases.</p><p>From <xref ref-type="fig" rid="fig5">Figure 5</xref> and <xref ref-type="fig" rid="fig6">Figure 6</xref>, it can be seen that the fuzzy logic model can predict the recoveries at very small and very large values and the model considers the well nonlinear behavior of copper and iron extraction in different conditions. The fuzzy model could also be as a powerful tool for using in a control system on a stirred electro-bioreactor, provided a complete fuzzy knowledge base is formed on the basis of human experts’ experiences and real data obtained from experiments.</p></sec></sec><sec id="s4"><title>4. Conclusion</title><p>A fuzzy logic model was obtained to predict the recoveries of copper and iron from a chalcopyrite copper</p><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Comparison of copper recovery data obtained from the experiments and the fuzzy model during bioleaching and electrobioleaching in a stirred bioreactor (BL: bioleaching; ELB: electrobioleaching)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2580065x30.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Comparison of iron recovery data obtained from the experiments and the fuzzy model during bioleaching and electrobioleaching in a stirred bioreactor (BL: bioleaching; ELB: electrobioleaching)</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/1-2580065x31.png"/></fig><p>concentrate by conventional and electrochemical bioleaching processes. The recoveries of these metals are targeted functions for hydrometallurgical extraction of copper from copper flotation concentrates. The input variables were the method of process (bioleaching or electrobioleaching), the type of bacteria (mesophilic and moderately thermophilic bacteria) and time (day). A fuzzy relationship was developed between stated inputs and the outputs by means of “if-then” rules. The comparison of the experimental data and predicted values of the model showed a good match between them, in which the R-squared of the model was more than 0.97 in each series of data. The results showed the capability of the fuzzy model to flexibly predict complex and nonlinear bioleaching processes and it is a powerful tool for metal extraction in such a complicated system.</p></sec><sec id="s5"><title>Acknowledgements</title><p>The authors would like to thank the National Iranian Copper Industry Company (NICICO) that allowed them to use experimental data for conducting this research.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.53226-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Rossi, G. (1990) Biohydrometallurgy. McGraw-Hill, Boston.</mixed-citation></ref><ref id="scirp.53226-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Pham, D. and Pham, P. (1999) Artificial Intelligence in Engineering. International Journal of Machine Tools and Manufacture, 39, 937-949. http://dx.doi.org/10.1016/S0890-6955(98)00076-5</mixed-citation></ref><ref id="scirp.53226-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Zadeh, L.A. (1965) Fuzzy Sets. Information and Control, 8, 338-353. http://dx.doi.org/10.1016/S0019-9958(65)90241-X</mixed-citation></ref><ref id="scirp.53226-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Hsiang, S. and Lin, Y. (2008) Application of Fuzzy Theory to Predict Deformation Behaviors of Magnesium Alloy Sheets under Hot Extrusion. Journal of Materials Processing Technology, 201, 138-144. http://dx.doi.org/10.1016/j.jmatprotec.2007.11.222</mixed-citation></ref><ref id="scirp.53226-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Bergh, L., Yianatos, J. and Leiva, C. (1998) Fuzzy Supervisory Control of Flotation Columns. Minerals Engineering, 11, 739-748. http://dx.doi.org/10.1016/S0892-6875(98)00059-4</mixed-citation></ref><ref id="scirp.53226-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">http://www.outotec.com/en/Products--services/Analyzers-and-automation/Zinc-refining-control-solutions/</mixed-citation></ref><ref id="scirp.53226-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Abou, S.C. and Dao, T.-M. (2009) Fuzzy Logic Controller Based on Association Rules Mining: Application to Mineral Processing. Proceedings of the World Congress on Engineering and Computer Science, 2.</mixed-citation></ref><ref id="scirp.53226-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Carvalho, M.T. and Dur&amp;atildeo, F. (2002) Control of a Flotation Column Using Fuzzy Logic Inference. Fuzzy Sets and Systems, 125, 121-133. http://dx.doi.org/10.1016/S0165-0114(01)00048-3</mixed-citation></ref><ref id="scirp.53226-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Vieira, S., Sousa, J. and Durao, F. (2005) Fuzzy Modelling Strategies Applied to a Column Flotation Process. Minerals Engineering, 18, 725-729. http://dx.doi.org/10.1016/j.mineng.2004.10.008</mixed-citation></ref><ref id="scirp.53226-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Saravani, A., Mehrshad, N. and Massinaei, M. (2014) Fuzzy-Based Modeling and Control of an Industrial Flotation Column. Chemical Engineering Communications, 201, 896-908. http://dx.doi.org/10.1080/00986445.2013.790815</mixed-citation></ref><ref id="scirp.53226-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Petersen, J. and Dixon, D. (2007) Modelling Zinc Heap Bioleaching. Hydrometallurgy, 85, 127-143.http://dx.doi.org/10.1016/j.hydromet.2006.09.001</mixed-citation></ref><ref id="scirp.53226-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Bennett, C., McBride, D., Cross, M. and Gebhardt, J. (2012) A Comprehensive Model for Copper Sulphide Heap Leaching: Part 1 Basic Formulation and Validation Through Column Test Simulation. Hydrometallurgy, 127, 150-161.http://dx.doi.org/10.1016/j.hydromet.2012.08.004</mixed-citation></ref><ref id="scirp.53226-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Ahmadi, A., Ranjbar, M., Schaffie, M. and Petersen, J. (2012) Kinetic Modeling of Bioleaching of Copper Sulfide Concentrates in Conventional and Electrochemically Controlled Systems. Hydrometallurgy, 127, 16-23.http://dx.doi.org/10.1016/j.hydromet.2012.06.010</mixed-citation></ref><ref id="scirp.53226-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Leahy, M.J., Davidson, M.R. and Schwarz, M.P. (2005) A Two-Dimensional CFD Model for Heap Bioleaching of Chalcocite. ANZIAM Journal, 46, C439-C457.</mixed-citation></ref><ref id="scirp.53226-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Gonzalez, R., Gentina, J.C. and Acevedo, F. (2004) Biooxidation of a Gold Concentrate in a Continuous Stirred Tank Reactor: Mathematical Model and Optimal Configuration. Biochemical Engineering Journal, 19, 33-42.http://dx.doi.org/10.1016/j.bej.2003.09.007</mixed-citation></ref><ref id="scirp.53226-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Pazouki, M., Ganjkhanlou, Y., Tofigh, A., Hosseini, M., Aghaie, E. and Ranjbar, M. (2012) Optimizing of Iron Bioleaching from a Contaminated Kaolin Clay by the Use of Artificial Neural Network. International Journal of Engineering-Transactions B: Applications, 25, 81-88.</mixed-citation></ref><ref id="scirp.53226-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Ahmadi, A., Schaffie, M., Manafi, Z. and Ranjbar, M. (2010) Electrochemical Bioleaching of High Grade Chalcopyrite Flotation Concentrates in a Stirred Bioreactor. Hydrometallurgy, 104, 99-105.http://dx.doi.org/10.1016/j.hydromet.2010.05.001</mixed-citation></ref><ref id="scirp.53226-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Mendel, J.M. (1995) Fuzzy Logic Systems for Engineering: A Tutorial. Proceedings of the IEEE, 83, 345-377.http://dx.doi.org/10.1109/5.364485</mixed-citation></ref><ref id="scirp.53226-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Kasabov, N.K. (1996) Foundations of Neural Networks, Fuzzy Systems, and Knowledge Engineering. Marcel Alencar, New York.</mixed-citation></ref><ref id="scirp.53226-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Nguyen, H.T., Prasad, N.R., Walker, C.L. and Walker, E.A. (2010) A First Course in Fuzzy and Neural Control. CRC Press, Boca Raton.</mixed-citation></ref><ref id="scirp.53226-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Nguyen, H.T. and Walker, E.A. (2005) A First Course in Fuzzy Logic. CRC Press, Boca Raton.</mixed-citation></ref></ref-list></back></article>