Introduction

The rapid growth of the global population has generated stress on water and energy resources that are vital for the development of society as well as for human survival. A clean environment and renewable energy are the essential factors in sustainable development. Unfortunately, most freshwater resources face dreadful pollution from domestic, agricultural, and industrial sources (Ballesteros et al. 2016; Li et al. 2020).

Agriculture is the backbone of the Indian economy, employing over 70% of the rural population and 10% of the urban population (Archana 2019). Coconut cultivation and related sectors contribute to tens of millions of employment for households in Asia and around the world (Prades et al. 2016). According to the Coconut Development Board (CDB), established under the Government of India's Ministry of Agriculture and Farmers Welfare, coconut cultivation in India has spread over 2096.72 thousand hectors, producing a total of 23,798.23 million nuts according to 2017–2018 statistics, being the world's largest coconut producer. The various value-added products of coconut fruit are copra, coconut oil, desiccated coconut, coconut milk, coconut milk powder, coconut cream, and virgin coconut oil, made from mature coconut. Nearly all of Asia's major coconut-growing countries consider kernel and copra products to be their main economic product, though tender coconut water is the principal economic product in Brazil (Perera et al. 2015).

According to the report of ‘Price Policy for Copra: 2019 Season’, by the Ministry of Agriculture and Farmers Welfare, Government of India, only 16% of the total nut production in India is tender coconut, and the remaining 84% of the nuts are utilized in the mature state for domestic use (31%), production of copra (39%), and other value-added products (14%). A large amount of coconut water is wasted (estimated at 2.4 billion litres per year) during copra processing alone, with very high COD ranging from 45,000 to 50,000 mg/L. At the tender stage (7–9 months), coconut water is at pH 4.5–5 in its sweetest form with maximum total soluble solids. But sugar and phenolic content in matured coconut water arise very low with a higher concentration of amino acids, proteins, vitamins, and minerals such as K, Na, and Ca, which decreases the taste and acceptability of mature coconut water in the commercial market. Since the pH of coconut water rises to 5.7 on maturity, its shelf life would also reduce after extraction from the shell (Tan et al. 2014). The major commercial product from matured coconut water is natural vinegar, which is receiving less preference from manufacturers due to the difficulty in availability of clean substrates and long fermentation time (6–8 weeks). Besides, synthetic vinegar is cheaper in the local market than natural vinegar (Othaman et al. 2014).

The traditional wastewater treatment system for the coconut industry involves the UASB reactor or anaerobic ponds/digesters supplemented by facultative ponds or mechanically aerated ponds, activated sludge process, or rotating biological contactors (Industrial Pollution Control Guidelines, Sri Lanka—No.3 1992). The main drawbacks of conventional processes are high energy requirements during aerobic biological treatment and poor nutrient removal in the case of anaerobic biological treatment methods (Suman et al. 2017). Chanakya et al. (2015) studied the anaerobic degradability of wastewater from the desiccated coconut industry and reported that anaerobic bacteria took 15 days to adapt and that biogas generation occurred only with diluted coconut water. The author also stated that COD remains above 5000 mg/L even after 30 days of detention in a conventional anaerobic digester due to the presence of inhibitors such as VFA and high lipid concentration. The author suggested primary treatments such as filtration, adsorption, and neutralization to extract suspended solids and lipids and also to balance the pH to enhance the biodegradability of wastewater. Soletti et al. (2005) studied dissolved air flotation using Fe3SO4 as a flocculent agent, for the treatment of synthetic coconut industry effluent of 2756 mg/L COD and the recorded COD removal efficiency of 85%. Research was conducted by Gomes et al. (2014) on the coconut industry effluent using synthetic wastewater (0.6% coconut milk mixed with distilled water based on volume) by separate and combined Fenton and electrochemical treatments. The article reported that electrochemical oxidation followed by Fenton reaction reduces COD by 95%, an equivalent efficiency by the conventional treatment method of biological treatment (duration 10 days) together with physicochemical treatments.

The major quantity of wastewater produced in the coconut industry is from cleaning water but will be mixed with coconut water that is rich in organic compounds, and generally thrown into the atmosphere without much treatment, especially from small-scale copra industries (Soletti et al. 2005). Therefore, if wasted coconut water can be isolated, the strength of a large quantity of effluent can be significantly reduced. The small quantity of coconut water that needs intense treatment can be treated effectively to reduce pollution problems.

Worldwide, numerous research has been underway to minimize water pollution by inventing technologies to purify wastewater into recyclable form, but most of them are energy-intensive. It is estimated that only wastewater treatment uses 1–3% of the total energy production (Capodaglio and Olsson 2020; Mccarty et al. 2011). Conventional treatment systems demand alternative treatment technology that is energy-efficient, making the process/operation sustainable. In the latest past, more focus is being paid to anaerobic technologies for handling wastewaters. In the present scenario, viable renewable energy sources with low carbon dioxide emissions are gaining focus due to global energy scarcity and environmental issues. Microbial fuel cell technology uses biodegradable organic matter as fuel for electricity generation (Pandey et al. 2016; Teli et al. 2016). MFCs consider wastewater as a resource for generating electricity from biodegradable organic pollutants with lower carbon emissions compared to conventional wastewater treatment systems, which use energy and produce excess sludge from wastewater for disposal (Sreedharan and Pawels 2016). Wastewater treatment and generation of electricity are taking place concurrently in an MFC, and thus, the cost of treatment is minimized.

A microbial fuel cell is a microbial system that creates electrical potentials with the aid of microorganisms during the oxidation of biodegradable organic compounds. A typical MFC consists of anode and cathode, separated by a proton/cation exchange membrane. In an anaerobic environment, microbes oxidize the organic compounds and create protons and electrons inside the anode chamber. Electroactive microorganisms transfer electrons to the anode, which are then transferred through the external circuit to the cathode. The protons produced are transferred into the cathode chamber through the membrane. Because of its high oxidation capacity, oxygen serves as an electron acceptor in the cathode chamber. Thus, oxygen combines with electrons and protons, forming H2O as a clean by-product (Palanisamy et al. 2019; Pandey et al. 2016). Bioelectricity is created by the passage of electrons through the external circuit.

Researches on MFC has typically focused on two directions: first focus is on improving MFC efficiency to extract maximum bioelectricity based on various operating and physical factors such as substrate strength, feeding mechanism, retention time, microorganism concentration and type, pH, temperature, reactor configuration, electrode material, the surface area of the electrodes, membrane type, and external resistance. Most of these studies are conducted on synthetic samples to maintain uniformity of the samples. The second research focus is to verify the suitability of MFC to treat wastewater from various sources, such as domestic, industrial, agricultural, and related sources, and to define the operational factors affecting treatment efficiency and the resulting bioelectricity production (Palanisamy et al. 2019; Pandey et al. 2016; Akman et al. 2014; Solanki et al. 2013). MFC systems using wastewater are investigated worldwide, addressing waste management problems, increasing energy demand, and limited fossil fuel resources (Palanisamy et al. 2019; Pandey et al. 2016). Table 1 shows some of the latest researches on MFC to treat different types of wastewater with bioenergy production.

Table 1 MFC performance using wastewater from various sources with bioenergy production

MFCs have been shown to remove azo dyes (Solanki et al. 2013), chloramphenicol, an antibiotic for the treatment of bacterial infections (Zhang et al. 2017), fipronil, a broad-spectrum insecticide (Zhang et al. 2019), and mesotrione, a selective herbicide, used in maize (Zhao and Zhang, 2021). Based on the study by Das and Mishra (2019), complete biodegradation of Remazol navy blue is possible by MFC at moderate concentrations ranging from 25 to 100 mg/L. According to the literature, COD removal efficiency and bioenergy generation depend on MFC configuration, wastewater COD, catholyte used, microbial culture, detention period, and the pre/post-treatment systems associated with MFC.

The present study focuses on the performance of dual-chambered MFC using wasted coconut water from coconut industries under various operating conditions. Due to significant expense, system design, scaling up, and energy recovery problems, practical implementation of MFC has not been realized (Flimban et al. 2019). Hence, we need to re-examine the limitations and viability of this technology to recognize it as a safe treatment of wastewater and also to find out whether the envisaged benefits of this technology can potentially be accomplished in the treatment of coconut water. The major factors influencing the performance of MFC are type substrate, microbial culture, type of electron acceptor in the anode, ionic strength of the mediums, pH, temperature, material, construction of electrodes, and membrane (Jayashree et al. 2019; Shanmuganathan et al. 2018). Yeast is considered as an ideal electroactive microorganism or biocatalyst for microbial fuel cell applications as most strains are non-pathogens, can metabolize wide range of substrates, are robust, and are easily handled. It was reported that carbon paper anode was effective with yeast as biocatalyst (Sayed and Abdelkareem 2017). Jayashree et al. (2019) reported potassium permanganate as a better catholyte compared to dissolved oxygen and potassium ferricyanide. As per You et al. (2010), an increase in the concentration of the KMnO4 solution improves bioenergy from MFC but considered only very small concentrations up to 200 mg/L corresponding to the low strength of anolyte as 600 mg COD/L. KMnO4 has oxidizing power in acidic, basic, and neutral pH, but it was reported that the oxidation potential of KMnO4 solution improves with lowering of pH (Nandi 2015; Osunlaja et al. 2012). At the same time, the difference in pH of anode and cathode chambers influences the diffusion of the proton through the membrane (Reddy et al. 2010).

The effects of concentration of KMnO4 as an electron acceptor in the cathode chamber, best pH of catholyte (in the acidic range), electrode materials, and configuration of the anode on efficiency to treat coconut water using MFC and corresponding bioenergy production were evaluated in this study. This study was conducted as a part of PhD at Cochin University of Science and Technology, Kerala, India, during 2017–2019.

Materials and methods

Materials

A two-chambered model of MFC was designed in acrylic. Both cathode and anode chambers have a working volume of 125 mL each. The cation exchange membrane (CEM: CMI-7000 Membranes International Inc., NJ, USA) physically separated the chambers through a hole of 30 mm in diameter. The chambers were coupled using nuts and bolts. Rubber gaskets were used as spacers to prevent leakage and sealed with silicone sealant. Figure 1a, b shows the arrangement of chambers separated by CEM and the experimental setup used for the investigation, respectively.

Fig. 1
figure 1

a Double-chambered MFC cell separated by CEM, b experimental setup

For each stage of the investigation, freshly collected clear coconut water was used. The collected sample was filtered into Erlenmeyer flask via the ordinary filter paper to remove the husk and kernel particles. Table 2 presents the characteristic properties of raw matured coconut water samples taken for investigation. Aluminium and conductive carbon cloth were used as electrode materials in different phases of the experiment, connected externally by means of light gauge copper wire and an LED bulb as external resistor. Potassium permanganate (KMnO4) was used in the cathode chamber as electron acceptor or chemical oxidizing agent, being the safest chemical (even used as a disinfectant for water), compared to many other toxic chemical oxidizing agents.

Table 2 Characteristics of matured coconut water

Methodology

The entire set of experiments were performed using freshly collected clear sample of coconut water, seeded Baker’s yeast, to accelerate the fermentation process. The seedling was prepared by adding 1 g of yeast into 150 mL of fresh coconut water. The seedling thus prepared was kept at ambient temperature in anoxic condition for 12 h and was then added to fresh coconut water to make a volume of 1 L, which was then used in the anode chambers. The entire study maintained the anoxic condition in the anode chamber under ambient temperature. Open circuit voltage (V) and current (mA) measurements were taken hourly over a period of 7 h daily using a digital multimeter manually (during laboratory hours from 9.30 a.m. to 4.30 p.m.). Based on the observations, power development and power density (normalized to the volume of anolyte) were calculated based on Eqs. 1 and 2, respectively.

$$ {\text{Power}} = {\text{Voltage }} \times {\text{ Current}} $$
(1)
$$ {\text{Power}}\;{\text{Density}} = {\text{Power}}/{\text{volume}}\;{\text{of}}\;{\text{coconut}}\;{\text{water}}\;{\text{used}}\left( {{\text{as}}\;{\text{substrate}}\;{\text{in}}\;{\text{anode}}\;{\text{in}}\; \, m^{3} } \right) $$
(2)

where power was calculated in mW and power density in mW/m3. Experimental studies were performed in four phases using batch reactors of 102 h detention period. The changes in sample COD values were calculated after the detention period to indicate the efficiency of the treatment by MFC. The first phase of investigation was on the performance of KMnO4 as the electron acceptor/catholyte at various concentrations. In MFC modules, the various concentrations of KMnO4 solutions 0 mg/L, 500 mg/L, 1000 mg/L, 2000 mg/L, 3000 mg/L, and 3500 mg/L were compared using 50 mm × 50 mm aluminium sheets of 0.5 mm thickness as electrodes. The efficiency of MFC was represented by estimating the COD removal efficiency (standard methods of APHA, 1992) and power density (mW/m3) from cells. MFC’s performance was analysed at different pH conditions of KMnO4 solution in the second phase of the investigation. KMnO4 solutions were loaded to MFC at pH 3, 4, 5, and 6 using conjugate acid–base buffer (made of 0.1 M citric acid and 0.2 M sodium hydrogen orthophosphate) as shown in Table 3. The results were compared with the non-buffered condition of phase 1.

Table 3 Mix proportion of buffer

The first two phases of the evaluation were conducted using an aluminium electrode, which is one of the cheaply available metals. The third evaluation phase was a comparison study for COD removal between conductive carbon cloth and aluminium as electrode material. Electrodes pairs of same material having size 50 mm × 50 mm were used as both cathode and anode. For the cathode chamber of MFCs, the best catholyte conditions from the first two phases were utilized. The fourth phase of the assessment was the effect of various spatial configurations of carbon cloth in the anode chamber having a surface area (50 × 50 mm2) on MFC performance. As the first configuration, a single electrode of 50 mm × 50 mm was used (Conf. 1), two similar triangular pieces of carbon cloth were used as the second configuration by cutting a piece of 50 mm × 50 mm diagonally (Conf. 2), three pieces of size 16.7 mm × 50 mm were the third configuration (Conf. 3) , and four pieces of 25 mm × 25 mm were the fourth configuration (Conf. 4).

Results and discussion

Effect of KMnO4 concentration on performance of MFC

Catholyte plays a vital role in the treatment efficiency and bioenergy production of MFC. Figure 2 represents the effect of KMnO4 concentration on the efficiency of COD removal compared to the control sample. The control sample was a portion of the seeded anolyte, kept in a bottle at ambient temperature in anoxic condition. The efficiency of COD removal at the best KMnO4 concentration of 2000 mg/L was 36.68% compared to the control sample having COD removal of 9.42%. Even for KMnO4-free catholyte, natural aeration and dissolved oxygen present in water have effectively improved H+ ion transfer to enhance biodegradability in the anode chamber with a 14.70% reduction in COD.

Fig. 2
figure 2

Effect of KMnO4 concentration in cathode chamber on COD removal efficiency

Figure 3a shows the power density generated from MFC, at different concentrations of KMnO4 solution in the cathodic chamber. The power density was calculated based on the recorded voltage and current from the cells. The low power density in the absence of oxidizing agent indicates the importance of KMnO4 in completing the circuit of electron transfer. The average power density generated from the cell for the detention period as well as the maximum daily average power density shows a similar trend with respect to variation in KMnO4 concentration. The maximum value of power density generation was corresponding to the MFC having the KMnO4 concentration of 2000 mg/L. Figure 3b shows the detailed representation of daily average power density generated from MFC at the KMnO4 concentration of 2000 mg/L. A maximum daily average power density of 2257 mW/m3 was obtained on day 4. The potential from the cell was considerably reduced on day 5 indicated by the lower power density with a wider standard deviation from the average value as shown. The results show that the effective transfer of H+ ions from the anode to the cathode chamber indicated by better power generation in the cell is directly related to the enhanced biodegradability and hence improved treatment efficiency. The current study reveals that electron/proton transfer efficiency was negatively affected at very high concentrations of KMnO4 which reduces the power generation and treatment efficiency of MFC.

Fig. 3
figure 3

a Effect of concentration of KMnO4 on power density generation from MFCs and b daily average power density from MFC with catholyte concentration of 2000 mg/L

Effect of pH of KMnO4 solution on performance of MFC

The second assessment phase was performed by maintaining the constant catholyte concentration (2000 mg/L KMnO4 solution) in all batch reactors and varying the catholyte pH values. Figure 4 reflects the influence of catholyte pH on the efficiency of COD removal when compared to a control sample. At pH 5, MFC showed a maximum COD removal of 51.85%. Non-buffered KMnO4 solution was found to have pH in the alkaline range. Even though the oxidation potential of KMnO4 solution improves with lowering of pH, since anolyte also maintained acidic state by microbial metabolism, too lower pH value of catholyte reduced the proton transfer from anode chamber. Movement of protons directly provides a more suitable environment for biodegradability in the anode chamber, and thus increasing the efficiency of treatment.

Fig. 4
figure 4

Effect of pH of KMnO4 solution in cathode chamber on COD removal efficiency

Figure 5a shows cell average and maximum daily average power density based on voltage and current measurements from MFCs with different catholyte pH statuses. The maximum daily average power density of 5521 mW/m3 and cell average power density of 3187 mW/m3 were developed in MFC, with pH 5 buffered oxidizing agent. Figure 5b represents the daily average power density from the MFC with KMnO4 solution 2000 mg/L under pH 5. Even with higher electron acceptance of KMnO4 solution at lower pH ranges, reduction in proton transfer due to the equilibrium of ions between anode and cathode reduces the power density from MFC at lower pH ranges.

Fig. 5
figure 5

a Cell average and maximum daily power density from MFC with respect to different pH values of 2000 mg/L KMnO4, b daily average power density from the MFC having KMnO4 solution of 2000 mg/L at pH 5

Effect of electrode material on performance of MFC

Aluminium was used as electrode material in both cathode and anode chambers, in the first two phases of the experimental investigation. In the third phase, the aluminium electrode was compared with the carbon cloth electrode. The anode chamber of MFC showed clear white settling after 102 h of detention due to bioflocculation and long stagnation time. Figure 6 demonstrates better COD removal efficiency for MFC using carbon cloth as electrode with 2000 mg/L KMnO4 solution having pH 5 as catholyte. In MFC with carbon cloth electrode, 59.08% of COD removal was achieved. No physical difference was observed for the aluminium electrode after using in cell as the anode. Carbon-based materials are reported with higher affinity to attach biofilm over the surface compared to metals. Hence, microbial retention in the substrate bulk volume is more effective while using carbon cloth by preventing the yeast floc from settling completely at the bottom of the anode chamber. This improves the COD removal efficiency while using carbon cloth as electrode compared to aluminium.

Fig. 6
figure 6

COD removal efficiency in comparison with electrode material

Figure 7a shows the average and maximum power density generated from MFCs with different electrodes. The maximum daily average power density of 6080 mW/m3 and cell average power density of 3622 mW/m3 were developed in MFC, using carbon cloth electrode. Figure 7b represents the daily average power density generated from the MFC using carbon cloth electrode with KMnO4 solution 2000 mg/L having pH 5. Attachment of the bacterial layer over the electrode surface could be the key factor in enhancing total power generation from MFC using carbon cloth. The tendency of yeast to attach over the carbon cloth improved the electron transfer from microbe to electrode, for better treatment efficiency and higher power generation from the cell.

Fig. 7
figure 7

a Effect of electrode material on power density generation from MFC, b daily average power density generation from MFC with carbon cloth electrode

Effect of anode configuration on performance of MFC

Spatial coverage of the anode reduces the distance the microbe travels to transfer an electron to the electrode. Because carbon cloth is not a stiff material like aluminium, it tends to sag down in anolyte. When in all MFC reactors, a single piece of 50 mm × 50 mm anode was divided into smaller pieces of equal surface, it gave spread through the volume. Figure 8 shows the effect of the carbon cloth anode configuration on the efficiency of COD removal as compared to the control sample. MFC showed a maximum COD removal efficiency of 62.72% with configuration 3. When the anode was split and spread spatially through the volume, due to the occurrence of biofilm attached to the anode, a slight increase in treatment efficiency was achieved. For conf. 4, a slight reduction in efficiency is due to smaller coverage of electrode throughout the depth of anolyte.

Fig. 8
figure 8

Effect of spatial configuration of carbon cloth electrode in anode chamber on COD removal efficiency

Figure 9a shows the variation in power density generated in each configuration of the anode. All configurations show a similar pattern of power density, with a steady increase from conf. 1 to conf. 3. For conf. 4, a slight reduction in potential is due to lower coverage of anode through the depth of anolyte, even with better horizontal coverage. The highest daily average power density of 6519 mW/m3 was observed in Conf. 3, such as three rectangular pieces of electrode material placed parallel inside the anode chamber covering the full depth of anolyte. Figure 9b shows the daily average power density generated from MFC with conf. 3 carbon cloth electrode. Even with the settling of bioflocculated organics by long detention periods, the third configuration could cover the anolyte to full depth and capture microbial metabolism-generated power effectively.

Fig. 9
figure 9

a Effect of spatial configuration of carbon cloth anode on power density and b daily average power density generation from MFC with carbon cloth anode conf. 3

Conclusion

The two major concerns of present-day research are zero energy technologies and sustainable energy production. Microbial fuel cells (MFCs) are bioreactors which, through biodegradation, extract chemical energy stored in organic compounds into electrical energy. A large number of small-scale, coconut-based industrial units produce value-added products with excellent nutritional quality. It is not economically feasible to install complex wastewater treatment plants to treat their effluents. Conventional aerobic treatment systems are energy-intensive creating higher treatment costs, while anaerobic reactors are very slow. MFC, being a zero energy system with power generation during treatment, is a more sustainable way to treat wastewater. Therefore, separating coconut water, with higher COD strength, from washing water and treating it with MFC is a feasible and economical solution for reducing pollution issues. The current study revealed that at ambient temperature, the MFC batch reactor using 2000 mg/L of KMnO4 buffered at pH 5 as catholyte provides more than 50% of the COD removal efficiency while using an aluminium electrode. At the same time, nearly 60% of COD removal from the MFC was obtained by changing the electrode material to carbon cloth with an improved generation of bioenergy. By changing the spatial distribution of carbon cloth electrode in anolyte, the maximum COD removal efficiency of 62.72% was achieved with an average power density generation of 4.1 W/m3 from the cell. It is easy to provide a detention period of 5–7 days in most of the small-scale coconut processing industries which operate on batch mode for better treatment. MFC can be used as a primary treatment for small-to-medium-scale coconut industry wastewater to reduce high organic pollution. Since bioflocculation takes place in MFC, filtration or sedimentation with coagulants of the treated effluent further reduces COD. The treated effluent could be safely used for irrigation by combining with wash water. The best operating conditions of MFC batch reactor produce maximum energy output with zero energy usage, and they will minimize the fuel consumption if this energy can be channelized efficiently for the production processes.