Next Article in Journal
Assessing Po River Deltaic Vulnerability Using Earth Observation and a Bayesian Belief Network Model
Next Article in Special Issue
Assessing the Removal of Arsenite and Arsenate Mixtures from the Synthetic Bangladesh Groundwater (SBGW) Using Combined Fe(VI)/Fe(III) Treatments and Local Regression Analysis
Previous Article in Journal
Multivariate Analysis and Geochemical Signatures of Shallow Groundwater in the Main Urban Area of Chongqing, Southwestern China
Previous Article in Special Issue
Re-Examination of the Relationship between Agricultural Economic Growth and Non-Point Source Pollution in China: Evidence from the Threshold Model of Financial Development
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Water Treatment Plant Prototype with pH Control Modeled on Fuzzy Logic for Removing Arsenic Using Fe(VI) and Fe(III)

by
Fabricio Paredes Larroca
1,*,
Erich Saettone Olschewski
1,
Javier Quino-Favero
1,
Jimmy Rosales Huamaní
2 and
José Luis Castillo Sequera
3
1
Research Group of Technological Solution for the Environment, Faculty of Engineering and Architecture Universidad de Lima, Lima 33, Peru
2
Faculty of Industrial and Systems Engineering, Universidad Nacional de Ingeniería, Lima 25, Peru
3
Department of Computer Science, Higher Polytechnic School, University of Alcala, 28871 Alcalá de Henares, Spain
*
Author to whom correspondence should be addressed.
Water 2020, 12(10), 2834; https://doi.org/10.3390/w12102834
Submission received: 3 September 2020 / Revised: 1 October 2020 / Accepted: 4 October 2020 / Published: 12 October 2020
(This article belongs to the Special Issue Water Pollution and Sanitation)

Abstract

:
This study proposes a fuzzy control strategy embedded in a Siemens IoT2040 gateway developed for removing inorganic arsenic from synthetic underground water in a treatment plant prototype. The prototype is used to dose a constant flow of Fe(VI) to maintain an oxide-reduction potential to guarantee the oxidation of arsenite into arsenate, while the fuzzy logic embedded in the IoT control manages the addition of Fe(III) to achieve a proper pH adjustment and efficient arsenate removal. The tests used synthetic Bangladesh groundwater enriched with 200 µg/L of arsenite and 200 µg/L of arsenate. The results revealed that the plant prototype yielded an effective treatment of the water. Arsenate was decreased to an average value of 6.66 µg/L and, the arsenite concentration decreased to 1.01 µg/L or less. These values were lower than the limit of 10 µg/L deemed by the World Health Organization as safe for human consumption.

1. Introduction

Water shortage on the Peruvian coast is a major problem for the 20 million people who live there; they only receive fresh rainwater during the three summer months each year, which is not enough to fill the large reservoirs in the most important cities. For this reason, it is essential to obtain water from groundwater sources for the rest of the year. Unfortunately, in many cases, this groundwater is polluted with arsenic as has been reported in several cities and towns along the coast [1]. In most cases the arsenic water contamination is of natural origin [2], and in a few cases from anthropogenic activities such as mining and smelting.
In water, arsenic is present as the oxyanions of As(III) and As(IV) that are the predominant arsenic dissolved species, As(III) being the most toxic and mobile form that predominates in anoxic conditions as the ones found in groundwater. Arsenic (III) removal requires a pre-oxidation step to be converted to As(V) followed by adsorption or coprecipitation of the As(V) formed with the use of coagulants like iron or oxyhydroxides [3]. As(III) conventional oxidation has been tested with potassium permanganate, sodium hypochlorite, and monochloramine in demineralized water as well in real water [4], less conventional approaches used ferrate(VI) to remove arsenite and arsenate even though it can be done in one step without producing toxic byproducts [5].
Ferrate(VI) is one of the highly oxidized forms of iron, which exhibits a reduction potential of up to 2.2 V that easily oxidizes various substances [5,6]. Ferrate(VI) reduction oxidizes many compounds and produces Fe(III) as a byproduct that promotes in situ coagulation; since the nontoxic iron oxides and oxyhydroxides that result from the subsequent hydrolysis of the Fe(III) can effectively adsorb many contaminants [7]. As Fe(III) is the nontoxic byproduct of ferrate(VI) decomposition, ferrate(VI) is considered a less hazardous water purifying agent and a green chemical [8].
Conventional water treatment unitary processes (coagulation, flocculation, sedimentation, filtration, and absorption) can be updated by replacing the chemicals traditionally used by ferrate(VI) and with a slight adjustment of the conditions of operation [9]. Licht et al. [6] prepared effluents for treatment through a continuous flow pilot system by adding ferrate to an on-line configuration. In this study, they completely converted arsenite into arsenate, whose removal was subsequently facilitated. In another study, ferrate was used for the removal of arsenic, while simultaneously disinfecting water [10]. Ferrate(VI) has been proposed as an alternative for emergency water treatment due to its capacity to inactivate bacterial indicators, remove metal and metalloid contaminants, degrade dissolved organic matter, and reduce turbidity [11].
One of the main advantages of using ferrate(VI) is the reduction in the quantity of the traditional chemical products used for water treatment, which in turn facilitates the adjustment of the operating conditions and the control of the water quality parameters. However, an increase in pH is one of the caveats of dosing ferrate(VI) produced by electrochemical means because the synthesis uses strong alkali solutions, necessary for subsequent adjustment of the pH [12]. A continuous flow water treatment based on electrochemically produced ferrate(VI) requires a careful adjustment of pH because the alkaline matrix where ferrate(VI) is produced will increase the pH of the treated water. For this reason, close monitoring of water parameters needs to be done in real time allowing a sufficiently fast dosing of the chemical used to correct the pH.
An adequate control of operating conditions during water treatment for arsenic removal requires close monitoring of the oxidation–reduction potential (ORP) and pH value by using sensitive probes and robust algorithms running on high-speed processors. High speed processors allow efficient retrieving and interpretation of data produced by processes with complex workloads, while efficient algorithms will significantly reduce the cycle time in processing the data. Traditional algorithms operate easily on simple linear processes [13], but fuzzy logic ones can operate in complex or non-linear processes such as pH control [14] where non-linearities arise together with time-variable parameters or dead times [15]. Control strategies based on fuzzy logic are not based on mathematical modeling depicting chemical or physical relationships between the components of the system, instead they deal with a series of rules related to the changes observed in the process when a variable also changes, and therefore are more easily implemented. For example, to adjust the pH, a pH value is obtained using the probe and compared with the set point to calculate the error, then the controller using a set of predefined rules will send a signal to the pump to increase or decrease the dosing of chemical. By monitoring the rate of change for a given output the controller can use other rules to modify the response accordingly.
For this reason, fuzzy logic algorithms, instead of the traditional ones that can only work with one input and one output, are now being applied in industrial stages. The IoT2040 industrial intelligent gateway is an open source, reliable platform for processing, transferring, and collecting data in an industrial production environment. This gateway facilitates programming, reducing the time needed to implement the fuzzy logic-based control program; additionally, it allows data collection and upload to the cloud and remote reprogramming should it be necessary. This is an advantage for standalone water treatment systems deployed in suburban areas.
This article discusses the design and implementation—at the pilot level—of a water treatment plant prototype for removing arsenite and arsenate from synthetic groundwater using electrochemically produced ferrate(VI) as an oxidizing agent, and Fe(III) as a pH adjusting and coagulating agent. Even though there is a non-linear behavior of the water pH and ORP when adding the treating chemicals, the fuzzy logic-based control algorithm (embedded in an IoT2040 gateway system) exerts an accurate control of the pH maintaining the set point. The treatment effectively removes both species of arsenic until reaching values lower than the 10 µg/L, threshold recommended by WHO for drinking water. The tests were conducted using Synthetic Bangladesh Groundwater (SBGW) because it is the choice medium for testing arsenic removal on underground-drinking water. The SBGW chemical composition makes the arsenic removal difficult because of the presence of oxoacids such as bicarbonate, phosphate, and silicate that compete with arsenic for the sites of the iron oxyhydroxide adsorption sites [16].

2. Materials and Methods

Fe(VI) was previously produced using a split-cell electrochemical reactor with an anodic chamber and an iron electrode and a cathode chamber with a graphite electrode [17]. Both chambers are separated by a CTIEM-1 Zibo Cantian China 2.3 cm2 cation exchange membrane with a pore diameter < 100 nm. The reactor functions at a current density of 80 A/m2 using NaOH 20 mol/L as anolyte and catholyte. The anolyte was collected after 5 h of electrolysis, assayed for ferrate(VI), and stored for testing in the prototype water treatment plant.
Ferrate(VI) concentration measurement was performed using visible spectrophotometry in a Shimadzu UV-2600 spectrophotometer (Shimadzu Scientific Instruments, Kyoto, Japan). The anolyte obtained in the electrochemical reactor was diluted with NaOH 10 mol/L and read at 505 nm using a molar extinction coefficient of 1070 L mol−1 cm−1 [18] according to the following relationship:
[ F e O 4 ] 2 = Δ A b s   V f i n a l ε     V s a m p l e
where ΔAbs is the difference in absorbance with respect to the blank, measured at 505 nm, Vfinal is the sum of the volumes of the sample, Vsample, and the volume of the 10 mol/L NaOH solution added for the dilution, while ε is the molar extinction coefficient reported for ferrate(VI) at 505 nm (1070 L mol−1 cm−1), and the width of the cell (1 cm). The concentration of the ferrate(VI) solution was determined as 0.26 mol/L. It was directly used to treat the raw water without any dilution.
Arsenic removal tests were conducted using Synthetic Bangladesh Ground Water (SBGW) [19]. SBGW was prepared using ultrapure water (18 MΩ.cm) and stock solutions of Na2HPO4 7 H2O (for Emsure® ACS, Merck, Darmstadt, Germany), NaHCO3 (for Emsure® ACS, Merck, Darmstadt, Germany), CaSO4 2 H2O (Emsure® precipitate, Merck, Darmstadt, Germany), MgCl2 6 H2O (Emsure® ACS, Merck, Darmstadt, Germany), CaCl2 (for Emsure® ACS, Merck, Darmstadt, Germany) and Na2SiO3 ∙ 5H2O (>95%, Sigma-Aldrich, St. Louis, MO, USA) and adjusting the pH to 7.0 ± 0.2 with carbon dioxide as described in another study [20,21]. Arsenite was prepared from arsenic trioxide (Sigma, Milwaukee, WI, USA) and arsenate from sodium arsenate dibasic heptahydrate (>98% Aldrich, Milwaukee, WI, USA). The water composition used is shown in Table 1. In addition, initial ORP was measured in 100 mV and initial pH was adjusted to two values: first to 6.58 and then to 9.38.
An HPLC coupled to a hydride generation system and, as a detector, an atomic fluorescence spectrometer (HPLC-HG-AFS) PSA Millennium Excalibur (PSA Analytical Ltd., Kent, UK) were used to analyze the arsenic species content in the water samples taken during the tests. The water samples from before and after the treatment were analyzed immediately, and another set was preserved with acetic acid and EDTA as backup [22,23].
The water treatment plant prototype (Figure 1) uses a Cole-Palmer 75211-15 centrifugal pump, with a GJ series stainless steel micropump head and a magnetic connection to steer the SBGW water during treatment. The workflow was configured at 120 L/h and was measured using a rotameter purchased from Blue-White Industries, Ltd. (Huntington Beach, CA, USA). Water is propelled through a 2.3-m long, 1” diameter PVC pipe containing a 316-L stainless steel static mixer. Using a Lead Fluid BQ50S metering pump, the Fe(VI) solution was added to the inlet, and the oxide-reduction potential (ORP) was recorded using an Endress + Hauser CPS12D digital electrode. The mixture residence is approximately 40 s. Since Fe(VI) increases the pH levels of the treated water, the pH was corrected using FeCl3 at 40%, dosed by another Lead Fluid BQ50S pump and measured using an Endress + Hauser Orbisint CPS11D pH sensor.
The pH control system was built and programmed as follows: the Orbisint CPS11D pH probe was connected to a Liquiline CM44 transmitter that sends a digital signal through a RJ-45 cable to a Siemens S7-1500C PLC, which executes an analog-scaled conversion of the pH signal and relays it to the IoT2040. The IoT2040 runs the fuzzy logic program developed with the MATLAB development tool and generates a PWM (pulse-width modulation) control signal for the dosing pump.
Fe(VI) dosage was then adjusted for the ORP value in the input mix to reach at least 750 mV, to ensure As(III) would be oxidized into As(V). It was decided to control the pH at a value of 6.45. Under these conditions, the arsenite oxidized into arsenate reacts with the iron, and the formed flocs are ultimately removed in a 5-µm filter.

3. Results and Discussion

3.1. pH Control

Electrochemical production of ferrate(VI) is conducted in a concentrated 20 mol/L NaOH producing a ferrate(VI) 0.26 mol/L solution. Then, after adding Fe(VI) into the water, a rapid increase in pH is expected. However, the control system takes a certain time before it reaches a stable pH level at the pre-established setpoint value. The task of the pH control system is to deliver the right amount of ferric chloride to lower the pH and achieve the set point.
The titration curve of ferric chloride with NaOH is a typical curve of the neutralization of a strong acid by a strong base [24], very high volumes of reagent are required to achieve very small changes at very high or very low pH values; conversely, very small volumes of neutralizing solution at pH near 7 will produce great changes in pH. This behavior with the fact that each unit of the pH scale represents a 10-fold variation in the concentration of protons emphasizes the non-linearity of the process, and suggests that pH control would be best served using a fuzzy control system whose ability to handle non-linearities has been recognized [14,25].
For example, at an initial pH value of 9.38, it takes the system approximately 9 min to stabilize its value and reach the pre-established setpoint of 6.45 (Figure 2). An average pH = 6.455 ± 0.015 is attained in continuous mode, which is of equal magnitude to the final error-value of 0.035 pH units reported in a batch system [26], which is an excellent result for a continuous system where the control is more challenging.

3.2. Arsenic Removal

The SBGW was spiked with arsenite and arsenate at a final concentration of 200 µg/L of each species. Although this synthetic water contains ions that interfere with arsenic removal processes, which are based on using iron, and that its pH was initially at 9.38, we can observe arsenite oxidation as of the 3rd minute of treatment. From the 3rd minute to the 18th minute, arsenite concentration is below equipment detection limits and, as of the 21st minute, the removal destabilizes and increases from 6.43 µg/L to 14.328 µg/L at the 24th minute. Throughout this period, the average arsenic concentration was 6.66 ± 5.647 µg/L (Figure 3). Hence, at the 9th, 12th, 21st, and 24th minute, the total arsenic concentration exceeded the 10 µg/L threshold set by the World Health Organization (WHO) for drinking water.
Additionally, at an initial pH level of 6.58, the readings, at 33 and 36 min were below the equipment detection limit and, at the 39th minute, arsenite concentration was 1.0120 µg/L, and the arsenate concentration was below the detection limits (Figure 3).
As(III) removal using metal cations, like Fe(III), is inefficient, unlike As(V) removal, because As(III) is mainly found as a neutral species at pH levels as high as 9, while the dominant species of As(V) are H2AsO4 and HAsO42− which are charged [27] facilitating reaction with ferric ions.
However, As(III) oxidation is one way to improve the removal efficiency and the subsequent adsorption of As(V) on the oxyhydroxides formed by Fe(III) [28]. The Fe(VI) dosage used at the plant oxidizes arsenite and helps to guarantee that the ORP reaches values >750 mV. In these conditions, the predominant species is As(V) (Figure 4), which can be removed using Fe(III) ions.
The 0.26 mol/L ferrate(VI) solution is added to the raw water flow at a rate of 9.90 µL/min (Figure 5); as the flow of raw water is 2L/min, the amount of iron added per liter of raw water is 72 µg. According to Roberts [28], As(V) removal at an initial concentration of 500 µg/L requires 2.0–2.5 mg (2000–2500 µg) of Fe(III) to lower arsenic concentrations to below 50 µg/L in the absence of Si and P. In the presence of Si and P—as with the SBGW used in our study—the dosage of iron was calculated as 15–18 mg (15,000–18,000 µg/L) to achieve the same efficiencies. Therefore, the concentration of Fe(III) needed to achieve substantial removals of arsenic is several orders of magnitude higher than that supplied by the ferrate(VI) solution alone. The FeCl3 solution provides the additional Fe(III) ions needed while lowering the pH to the setpoint. Another study also described the effective removal of arsenic species by using a minute amount of ferrate(VI) with Fe(III) as a supplementary coagulant [29].
When the treated water reaches the pH setpoint, a more positive result is generated because the arsenate-iron complex is less soluble [30] and the flocs can be easily removed with the 5 µm filter.

3.3. Fe(VI) and Fe(III) Instantaneous Dosing

The instantaneous dosing of Fe(VI) and Fe(III) was automatically recorded during 40 min of treatment (Figure 5), and an increase in Fe(VI) dosage was observed from 9.4 to 9.95 µL/min, which translates into a 5.8% increase from the initial dosage. Concurrently, a decrease in Fe(III) dosage from 9.75 to 9.4 µL/min occurs, corresponding to a 3.6% reduction from the initial dosage. Similarly, an oscillation in Fe(III) dosage is noticed, which decreases as the treatment advances, thus demonstrating better dosage control.
The water treatment plant prototype developed controls pH levels based on fuzzy logic, and it was used to treat SBGW whose initial equimolar content of both arsenite and arsenate was at 200 µg/L concentration. At a high initial pH level of 9.38 for the synthetic water, the arsenite concentration was removed until reaching values lower than the equipment detection limits, while the arsenate was removed until reaching an average value of 6.66 µg/L. Nevertheless, when the initial pH was 6.58, the arsenate concentration was lower than the equipment detection limits and the arsenite concentration reached 1.0120 µg/L. For both initial pH conditions, it was possible to remove arsenic until reaching values lower than the 10 µg/L threshold recommended by the WHO for potable water. Hence, the effectiveness of the prototype developed was successfully validated.

3.4. Estimated Cost of the Treated Water

The dosing rate of the Fe (VI) and Fe (III) solutions allows calculation of the cost of the chemicals used for the treatment. The dosing rates used for the calculations are the ones for the last minute of the treatment, when the dosage stabilized, and the removal of arsenic was more effective.
The dosing flow of ferrate(VI) in 0.26 mol/L solution was 9.90 μL/minute; according to this flow, the raw water flow, and the calculated cost of the gram of ferrate(VI) produced by the electrochemical reactor at US $ 0.020 [17], the cost is the following:
10 3 L 1   m 3 × 1 h 120   L × 60 m h × 9.90   μ L min × 1 L   10 6 cm 3 × 0.26   mol   Fe ( VI ) 1 L × 119.84   g 1   mole   Fe ( VI ) × US $   0.020 1 g = 0.0031 US $ m 3
The dosing flow rate of FeCl3 40% solution and density of 1.40 g/cm3 were 29 µL/minute; according to this dosing flow, the raw water flow, and the sale price of US$ 38 per 40 kg cylinder, the following cost is obtained:
10 3 L 1   m 3 × 1 h 120 L × 60 min 1 h × 29   μ L 1 m × 1   cm 3 10 3 μ L × 1.40   g   1 cm 3 × 1   kg 1000 g × US $   38.01 40   kg = 0.019   US $ m 3
Since, both inputs are required for the complete treatment of the water. The cost of inputs—without considering capital or operating expenses—is US$ 0.022 per cubic meter of treated water.

4. Conclusions

A prototype of a water treatment plant using Fe(VI) as an oxidizing agent with a pH control system based on fuzzy logic was successfully implemented. This plant treated SBGW water prepared with an initial arsenite and arsenate content of 200 µg/L for both. The non-linear behavior of the pH by adding Fe(VI) in continuous flow was adequately controlled. This allowed the removal of arsenic below the limit of 10 µg/L recommended by the WHO for drinking water with a cost of US$ 0.022 per cubic meter (without considering capital or operating expenses).
The treatment was carried out by choosing a setpoint of 6.45, under two initial pH conditions: 9.38 and 6.58. In both cases, it was verified that the average pH value obtained was 6.455 ± 0.015. Regarding arsenic removal, for a pH = 9.38, the concentration of arsenite was removed to values below the detection limit of the equipment, and arsenate to an average value of 6.66 µg/L; for a pH = 6.58, the concentration of arsenate was below the detection limit of the equipment, and that of arsenite was 1.0120 µg/L.

Author Contributions

Investigation, F.P.L., E.S.O., J.Q.-F.; writing-original draft preparation, F.P.L., E.S.O., J.Q.-F.; supervision, J.L.C.S., J.R.H.; writing-review and editing, F.P.L., E.S.O., J.Q.-F.; All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by project PI-560082019 awarded by IDIC-Universidad de Lima.

Acknowledgments

Support from Facultad de Ingeniería y Arquitectura Universidad de Lima, Instituto de Investigación Científica de la Universidad of Lima - IDIC, Siemens distributor in Perú DIN automation and Endress + Hauser distributor in Perú Corsusa are greatly acknowledged.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Design and Implementation of pH Control with Fuzzy Logic

The Mamdani fuzzy logic model was used, which is composed of (i) a Fuzzifier, whose pH value is transformed into a language that the IoT microprocessor can process; (ii) a Fuzzy Inference System, containing the different membership levels originated in the Fuzzifier; (iii) the Fuzzy Rule System, a set of rules serving as the system engine obtained from learning procedure information generated at the laboratory and interpreted with IF-THEN type rules, which determine an antecedent and a consequence; and (iv) the Defuzzifier, whose goal is to convert the output to analog values as received from the Center of Gravity for all possible responses, according to the degree of membership.
Figure A1 depicts the general application structure for the fuzzy control system of a water treatment plant prototype. In the fuzzification, the value from the pH analog sensor is converted into relative values. The inference stage then provides fuzzy system rules. In the defuzzification, relative values are converted into analog values to control the rotational speed of the peristaltic pump (actuator) [14].
Figure A1. Fuzzy logic system diagram.
Figure A1. Fuzzy logic system diagram.
Water 12 02834 g0a1
Figure A2 depicts the scheme of the control loop with feedback used for the calculation of E(K) = y(K) − r(K) error. Here, E(K) is the fuzzy system input, y(K) variable specifies the pH value of the water after the Fe(VI) dosage, and r(K) is the set point value. The output response value Y(k) of the fuzzy system maintains the voltage between 0 and 5 V to control the rotation speed of the pump dosing ferric chloride.
Figure A2. Fuzzy control structure.
Figure A2. Fuzzy control structure.
Water 12 02834 g0a2
Table A1 shows the variables used as input functions of the fuzzifier system and output functions of the defuzzifier system. Figure A3. denotes the fuzzy controller rules (trapezoidal functions), which are established according to the experience of the operator. These are the input rules of the fuzzy system. Figure A4. denotes the fuzzy pH controller output that are the output rules of the fuzzy system.
Table A1. Input and output functions variable names for the fuzzy rule system.
Table A1. Input and output functions variable names for the fuzzy rule system.
InputOutput
VariableFunction NameVariableFunction Name
Negative_very highN1Power_very lowP1
Negative_highN2Power_lowP2
Negative_mediumN3Power_medium_ lowP3
Negative_very lowN4Power_very lowP4
BalanceN0Power_idealP0
Positive_very lowN5Power_very highP5
Positive_mediumN6Power_medium_highP6
Positive_highN7Power_highP7
Positive_very highN8Power_very highP8
Figure A3. Trapezoidal pH input functions.
Figure A3. Trapezoidal pH input functions.
Water 12 02834 g0a3
Figure A4. Trapezoidal pH output functions.
Figure A4. Trapezoidal pH output functions.
Water 12 02834 g0a4
Table A2 lists the fuzzy system rules and membership functions.
Table A2. Input and output functions with fuzzy system rules.
Table A2. Input and output functions with fuzzy system rules.
Functions of the Fuzzifier (Inputs)Fuzzy Rule SystemFunctions of the Defuzzifier (Outputs)
The pH error is N1If (input N0) then (output P0)Pump is set to P1
The pH error is N2If (input N1) then (output P1)Pump is set to P1
The pH error is N3If (input N3) then (output P3)Pump is set to P3
The pH error is N4If (input N4) then (output P4)Pump is set to P2
The pH error is N0If (input N5) then (output P5)Pump is set to P0
The pH error is N5If (input N6) then (output P6)Pump is set to P5
The pH error is N6If (input N8) then (output P8)Pump is set to P6
The pH error is N7If (input N7) then (output P7)Pump is set to P7
The pH error is N8If (input N2) then (output P7)Pump is set to P8
In order to optimize the fuzzy system, a simulation was run with the Surface Viewer tool in Matlab, where the variable Input1 is the difference between the value obtained in the sensor minus the setpoint (error), in the Ouput1 axis, it is the PWM output value that controls the RPM the actuator (the peristaltic pump). The corresponding curve response is shown in Figure A5.
Figure A5. Fuzzy system response curve.
Figure A5. Fuzzy system response curve.
Water 12 02834 g0a5
The fuzzy system rules were implemented into the Iot2040 program that uses scaling functions for calculating sensor values and blocks to normalize input signals [32]. The value ranges from 0 to 27,648, while the pH sensor has values that range from 0 and 14. The PLC analog module becomes the input for calculating the values ranging from 0 to 5 V, which is the input of the IoT2040, and its output signal type is pulse-width modulation, which is calculated based on membership rules and obtained from center of gravity estimates to control the voltage of the peristaltic pump, ranging from 0 to 5 V.

References

  1. Bernex, N.; Novoa, Z. Aguas y Arsénico Natural en Perú; Academia Nacional de Ciencias, Sociedad Geográfica de Lima: Lima, Peru, 2015. [Google Scholar]
  2. Castro de Esparza, M.L. El arsénico en los recursos hídricos del Perú. In Aguas y arsénico natural en Perú; Academia Nacional de Ciencias, Sociedad Geográfica de Lima: Lima, Peru, 2015. [Google Scholar]
  3. Hering, J.G.; Chen, P.Y.; Wilkie, J.A.; Elimelech, M.; Liang, S. Arsenic removal by ferric chloride. J. Am. Water Works Assoc. 1996, 88, 155–167. [Google Scholar] [CrossRef]
  4. Sorlini, S.; Gialdini, F. Conventional oxidation treatments for the removal of arsenic with chlorine dioxide, hypochlorite, potassium permanganate and monochloramine. Water Res. 2010, 44, 5653–5659. [Google Scholar] [CrossRef]
  5. Ghernaout, D.; Naceur, M.W. Ferrate (VI): In situ generation and water treatment–A review. Desalin. Water Treat. 2011, 30, 319–332. [Google Scholar] [CrossRef]
  6. Licht, S.; Yu, X. Electrochemical Alkaline Fe(VI) Water Purification and Remediation. Environ. Sci. Technol. 2005, 39, 8071–8076. [Google Scholar] [CrossRef] [PubMed]
  7. Prucek, R.; Tuček, J.; Kolařík, J.; Hušková, I.; Filip, J.; Varma, R.S.; Sharma, V.K.; Zbořil, R. Ferrate (VI)-prompted removal of metals in aqueous media: Mechanistic delineation of enhanced efficiency via metal entrenchment in magnetic oxides. Environ. Sci. Technol. 2015, 49, 2319–2327. [Google Scholar] [CrossRef]
  8. Tiwari, D.; Lee, S.M. Ferrate (VI) in the treatment of wastewaters: A new generation green chemical. Wastewater Treat. Reutil. 2011, 12, 241–276. [Google Scholar]
  9. Yates, B.J.; Zbořil, R.; Sharma, V.K. Engineering Aspects of Ferrate in Water and Wastewater Treatment-a Review. J. Environ. Sci. Health Part A Toxic/Hazard. Subst. Environ. Eng. 2014, 49, 1603–1614. [Google Scholar] [CrossRef]
  10. Farooqi, S.; Bari, A. High level disinfection of wastewaters for reuse. Environ. Technol. 1988, 9, 379–390. [Google Scholar] [CrossRef]
  11. Cui, J.; Zheng, L.; Deng, Y. Emergency water treatment with ferrate (VI) in response to natural disasters. Environ. Sci. Water Res. Technol. 2018, 4, 359–368. [Google Scholar] [CrossRef]
  12. Jiang, J.Q.; Stanford, C.; Alsheyab, M. The on-line generation and application of ferrate(VI) for sewage treatment—A pilot scale trial. Sep. Purif. Technol. 2009, 68, 227–231. [Google Scholar] [CrossRef]
  13. Ang, K.H.; Chong, G.; Li, Y. PID control system analysis, design, and technology. IEEE Trans. Control Syst. Technol. 2005, 13, 559–576. [Google Scholar]
  14. Abdullah, N.H.S.; Karsiti, M.N.; Ibrahim, R. A review of pH neutralization process control. In Proceedings of the 2012 4th International conference on intelligent and Advanced Systems (ICIAS2012), IEEE, Kuala Lumpur, Malaysia, 12–14 June 2012; Volume 2, pp. 594–598. [Google Scholar]
  15. Von Altrock, C.; Krause, B.; Zimmermann, H.J. Advanced fuzzy logic control technologies in automotive applications. In Proceedings of the IEEE International Conference on Fuzzy Systems, IEEE, San Diego, CA, USA, 8–12 March 1992; pp. 835–842. [Google Scholar]
  16. Sahai, N.; Lee, Y.J.; Xu, H.; Ciardelli, M.; Gaillard, J.F. Role of Fe (II) and phosphate in arsenic uptake by coprecipitation. Geochim. Cosmochim. Acta 2007, 71, 3193–3210. [Google Scholar] [CrossRef]
  17. Quino-Favero, J.; Eyzaguirre, R.; Mogrovejo, P.; Prieto, P.; del Pino, L.F. Electrochemical synthesis of ferrate(VI): Optimization of parameters and evaluation of their impact in production cost. Desalin. Water Treat. 2018, 113, 179–186. [Google Scholar] [CrossRef] [Green Version]
  18. Licht, S.; Naschitz, V.; Halperin, L.; Halperin, N.; Lin, L.; Chen, J.; Ghosh, S.; Liu, B. Analysis of ferrate(VI) compounds and super-iron Fe(VI) battery cathodes: FTIR, ICP, titrimetric, XRD, UV/VIS, and electrochemical characterization. J. Power Sources 2001, 101, 167–176. [Google Scholar] [CrossRef]
  19. British Geographical Survey. Arsenic Contamination of Groundwater in Bangladesh; Survey (Technical Report, WC/00/19. 4 Volumes); British Geological Survey: Keyworth, UK, 2001. [Google Scholar]
  20. Amrose, S.; Gadgil, A.; Srinivasan, V.; Kowolik, K.; Muller, M.; Huang, J.; Kostecki, R. Arsenic removal from groundwater using iron electrocoagulation: Effect of charge dosage rate. J. Environ. Sci. Health Part A Toxic/Hazard. Subst. Environ. Eng. 2013, 48, 1019–1030. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  21. British Geographical Survey, and Department of Public Health and Engineering. Arsenic Contamination of Groundwater in Bangladesh; Kinninburg, D.G., Smedley, P.L., Eds.; British Geological Survey Technical Report WC/00/19; British Geological Survey: Keyworth, UK, 2001. [Google Scholar]
  22. Gallagher, P.A.; Schwegel, C.A.; Wei, X.; Creed, J.T. Speciation and preservation of inorganic arsenic in drinking water sources using EDTA with IC separation and ICP-MS detection. J. Environ. Monit. 2001, 3, 371–376. [Google Scholar] [CrossRef] [PubMed]
  23. Gallagher, P.A.; Schwegel, C.A.; Parks, A.; Gamble, B.M.; Wymer, L.; Creed, J.T. Preservation of As(III) and As(V) in drinking water supply samples from across the United States using EDTA and acetic acid as a means of minimizing iron-arsenic coprecipitation. Environ. Sci. Technol. 2004, 38, 2919–2927. [Google Scholar] [CrossRef]
  24. Smith, R.B.; Giesy, P.M. The titration of ferric chloride with sodium hydroxide, using the oxygen electrode: A proof of the non-existence on iron oxychloride. J. Am. Pharm. Assoc. 1923, 12, 855–856. [Google Scholar]
  25. Kelkar, B.; Postlethwaite, B. Study of pH control process using fuzzy modeling. In Proceedings of the 1994 International Conference on Control-Control’94, IET, Orlando, FL, USA, 21–24 March 1994; Volume 1, pp. 272–275. [Google Scholar]
  26. Velázquez-González, R.; Gómez-Lemus, T.; Rodríguez-Reséndiz, J. A pH process control embedded on a PLC using Fuzzy Logic. In Proceedings of the 2017 XIII International Engineering Congress (CONIIN), Santiago de Queretaro, Mexico, 15–19 May 2017; pp. 1–6. [Google Scholar]
  27. Hao, L.; Liu, M.; Wang, N.; Li, G. A critical review on arsenic removal from water using iron-based adsorbents. RSC Adv. 2018, 8, 39545–39560. [Google Scholar] [CrossRef]
  28. Roberts, L.C.; Hug, S.J.; Ruettimann, T.; Billah, M.; Khan, A.W.; Rahman, M.T. Arsenic removal with Iron(II) and Iron(III) in waters with high silicate and phosphate concentrations. Environ. Sci. Technol. 2004, 38, 307–315. [Google Scholar] [CrossRef]
  29. Lee, Y.; Um, I.H.; Yoon, J. Arsenic (III) oxidation by iron (VI)(ferrate) and subsequent removal of arsenic (V) by iron (III) coagulation. Environ. Sci. Technol. 2003, 37, 5750–5756. [Google Scholar] [CrossRef] [PubMed]
  30. Samadzadeh Yazdi, M.R.; Khodadadi Darban, A. Effect of Arsenic Speciation on Remediation of Arsenic- Contaminated Soils and Waters. In Proceedings of the 15th International Conference on Heavy Metals in the Environment, Gdańsk, Poland, 19–23 September 2010; pp. 492–495. [Google Scholar]
  31. Puigdomenech, I. Hydra/Medusa Chemical Equilibrium Database and Plotting Software; KTH Royal Institute of Technology: Stockholm, Sweden, 2004. [Google Scholar]
  32. Stenerson, J.; Deeg, D. Programming Siemens Step 7 (TIA Portal), a Practical and Understandable Approach; CreateSpace Independent Publishing Platform: Scotts Valley, CA, USA, 2015. [Google Scholar]
Figure 1. Water treatment plant prototype.
Figure 1. Water treatment plant prototype.
Water 12 02834 g001
Figure 2. pH and ORP values obtained from the water treatment plant prototype.
Figure 2. pH and ORP values obtained from the water treatment plant prototype.
Water 12 02834 g002
Figure 3. Concentration of arsenic and their species during treatment.
Figure 3. Concentration of arsenic and their species during treatment.
Water 12 02834 g003
Figure 4. Arsenic predominance diagram at 25 °C produced with the Hydra/Medusa software [31].
Figure 4. Arsenic predominance diagram at 25 °C produced with the Hydra/Medusa software [31].
Water 12 02834 g004
Figure 5. Fe(VI) and Fe(III) instantaneous dosing during treatment.
Figure 5. Fe(VI) and Fe(III) instantaneous dosing during treatment.
Water 12 02834 g005
Table 1. Composition of the Synthetic Bangladesh Groundwater (SBGW) with arsenite and arsenate used in this study.
Table 1. Composition of the Synthetic Bangladesh Groundwater (SBGW) with arsenite and arsenate used in this study.
SpeciesPO43−SiO32−SO42−Ca2+Mg2+ClNa+HCO3FeAs (III)As (V)
mg/L1.319.5861812513827500.200.20

Share and Cite

MDPI and ACS Style

Larroca, F.P.; Olschewski, E.S.; Quino-Favero, J.; Huamaní, J.R.; Castillo Sequera, J.L. Water Treatment Plant Prototype with pH Control Modeled on Fuzzy Logic for Removing Arsenic Using Fe(VI) and Fe(III). Water 2020, 12, 2834. https://doi.org/10.3390/w12102834

AMA Style

Larroca FP, Olschewski ES, Quino-Favero J, Huamaní JR, Castillo Sequera JL. Water Treatment Plant Prototype with pH Control Modeled on Fuzzy Logic for Removing Arsenic Using Fe(VI) and Fe(III). Water. 2020; 12(10):2834. https://doi.org/10.3390/w12102834

Chicago/Turabian Style

Larroca, Fabricio Paredes, Erich Saettone Olschewski, Javier Quino-Favero, Jimmy Rosales Huamaní, and José Luis Castillo Sequera. 2020. "Water Treatment Plant Prototype with pH Control Modeled on Fuzzy Logic for Removing Arsenic Using Fe(VI) and Fe(III)" Water 12, no. 10: 2834. https://doi.org/10.3390/w12102834

APA Style

Larroca, F. P., Olschewski, E. S., Quino-Favero, J., Huamaní, J. R., & Castillo Sequera, J. L. (2020). Water Treatment Plant Prototype with pH Control Modeled on Fuzzy Logic for Removing Arsenic Using Fe(VI) and Fe(III). Water, 12(10), 2834. https://doi.org/10.3390/w12102834

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

Article Metrics

Back to TopTop