1 Introduction

Electrocoagulation process has been successfully used for the treatment of textile wastewater being attractive for its versatility, safety, selectivity, amenability to automation, ease of control and environmental compatibility (Thakur et al. 2009; Modirshahla et al. 2008; Rajeshwar et al. 1994). Electrocoagulation/flotation (ECF) involves the generation of coagulant in situ by the dissolution of metal ions from the consumable anode with simultaneous formation of hydroxide ions at the cathode (Bayramoglu et al. 2004; Emamjomeh and Sivakumar 2009). In ECF, pollutants are impinged up towards the surface of the ECF cell by tiny bubbles of hydrogen gas generated from the cathode (Emamjomeh and Sivakumar 2009; Chen 2004). Therefore, instead of using chemicals and microorganisms, electrons are the only employed agents in ECF being responsible for facilitating wastewater treatment (Mollah et al. 2004).

A simple ECF unit essentially involves an electrochemical cell, two electrodes as anode and cathode and a DC power supply. Aluminum and iron are usually used as anode materials, the dissolution of which produces hydroxides, oxyhydroxides and polymeric hydroxides (Kobya et al. 2010; Holt et al. 2005; Ghanbari et al. 2014). In an ECF process, coagulants which are formed through electrolytic oxidation of the sacrificial electrode, destabilize the contaminants followed by agglomeration of the destabilized phases to form flocs (Mollah et al. 2004). Then, they are floated by electro-generated hydrogen or oxygen (typically hydrogen) bubbles towards the surface of the ECF cell. In ECF, numerous electrochemical reactions occur being summarized as follows (Mouedhen et al. 2008; Chen 2004):

At the anode:

$$ {M}_{(s)}\to {M}_{(aq)}^{n+}+ n{e}^{-} $$
(1)
$$ 2{H}_2{O}_{(l)}\to 4{H}_{(aq)}^{+}+{O}_{2(g)}+4{e}^{-} $$
(2)

At the cathode:

$$ {M}_{(aq)}^{n+}+ n{e}^{-}\to {M}_{(s)} $$
(3)
$$ 2{H}_2{O}_{(l)}+2{e}^{-}\to {H}_{2(g)}+2 O{H}^{-} $$
(4)

According to the reactions (1–4), the electro-generated metal ions (Mn+) immediately undergo further spontaneous reactions producing corresponding hydroxides and polyhydroxides having strong affinity for dispersed particles as well as counter ions bringing about the coagulation (Emamjomeh and Sivakumar 2009; Mollah et al. 2004). Besides, the gases evolved at the electrodes separate particles and coagulant aggregates by lifting them up through a flotation-like process while accelerating collisions between particles and coagulant by inducing more mixing (Merzouk et al. 2011). On the whole, in electrocoagulation processes, gravity and buoyancy forces are the two main factors determining the pollutants separation mechanism and a combination of physico-chemical parameters within an electrocoagulation reactor shifts the dominant separation mechanism. Moreover, the pollutant’s physicochemical properties influence its interactions within the system and eventual removal path (Holt et al. 2005; Chen 2004). In this way, various results have been reported throughout the literatures, especially about application of different anode materials. In scope of textile and organic wastewater treatment using electrocoagulation, Phalakornkule et al. (2010) stated that iron was superior to aluminum, while Ilhan et al. (2008) concluded that aluminum provided better removal in comparison with iron electrode. Furthermore, Linares-Hernandez et al. found that iron was more effective in reducing COD, whilst aluminum was more effective in removing color (Phalakornkule et al. 2010; Ilhan et al. 2008; Linares-Hernández et al. 2009).

In this study, iron and aluminum electrodes were employed simultaneously as the anodes while a copper made ECF cell was applied to play the role of cathode. Then the effects of important operational variables in ECF process such as pH, electrical current, inter-electrode distance, anodes materials on decolorization were investigated. Likewise, the potential of organic content removal during ECF process was evaluated based on COD removal. Although numerous studies have been carried out on the investigation of electrocoagulation/flotation methods for wastewater treatment and separation processes, two different electrode materials (iron and aluminum) have been rarely used as anode simultaneously. Moreover, the cathode used as the ECF cell provides extensive surface area along with generating more hydrogen bubbles, thereby enhancing the electrocoagulation/flotation efficiency.

2 Materials and Methods

The electrochemical reactor system is schematically shown in Fig. 1a. The ECF unit mainly consists of an ECF cell (cathode), iron and aluminum electrodes (anodes), and a DC power supply. It has been stated that electrode design influences coagulant dissolution and bubble type, thereby influencing mass transfer, mixing, flotation, and pollutant removal. The electrochemical cell made of copper was used as the cathode having a diameter of 6 cm, 1 mm thickness and volume of 600 mL containing 500 mL electrolyte. Actually, copper made ECF cell was used to play the role of cathode to increase the surface area and facilitate the ECF process. Besides, in this condition, electroflotation was highly enhanced since the bubbles mainly originated from the cathode were distributed thoroughly and extensively from the bottom and walls of the ECF cell. An iron and an aluminum electrodes with dimensions of 7 × 2 × 0.1 cm were applied as the anodes simultaneously which were placed at the center of the ECF cell with a certain distance from each other. Five centimeters of the anodes were dipped in wastewater providing an effective surface area of 40 cm2. A digital DC source (Zhaoxin, 0.00–2 A, and 0.0–20 V) was also used to supply the power to the ECF system. A magnetic stirrer was used to provide mixing of the solution.

Fig. 1
figure 1

a ECF setup; b Plan view of inter-electrode distances within the ECF cell

2.1 Wastewater Samples and Experimental Procedure

Real textile wastewater sample was obtained from a textile industry located in Zanjan, Iran and was kept at 4 °C prior to the experiments. The composition of the studied real textile wastewater is shown in Table 1. All experiments were conducted at room temperature. The pH of the solution was adjusted by adding either dilute H2SO4 or NaOH. In order to evaluate the ECF process, samples were taken from the center of the ECF cell within various time intervals and were filtered through 45 μm. In this work, the effects of initial pH, electrical current, inter-electrode distance and anodes materials on ECF process were studied. Moreover, the COD removal efficiency was considered to determine the effectiveness of ECF process in wastewater treatment. All chemicals used for pH adjustment and analytical procedures were supplied from Merck company. The experiments were all carried out twice and the average values of the results are presented.

Table 1 Real textile wastewater characteristics

2.2 Analytical Methods

To measure the wastewater pH value, a pH glass electrode (WTW 720) calibrated with standard buffers at pH values of 4 and 7 was used. A HACH DR 5000 spectrophotometer was applied to determine color of the samples independent of hue, according to ADMI Tristimulus Filter Method in range of 400–700 nm. Chemical oxygen demand (COD) was determined by the dichromate closed reflux, Colorimetric Method at 600 nm for a COD range (0–1,500 mg O2/L) in accordance with the standard methods for the examination of water and wastewater (APHA 1999), using UV–vis HACH DR 5000 spectrophotometer. Likewise, a standard potassium hydrogen phthalate solution was measured in COD range of 100–1,000 mg O2/L to assure the method accuracy.

3 Results and Discussion

3.1 Effect of Initial pH

Solution pH is a crucial factor in electrocoagulation process determining the solubility of the dissolvable electrode and metal speciation in aqueous solution, thereby affecting the removal efficiency of dye. Therefore, the electrochemical reactions occurring within an electrocoagulation system consisting of aluminum and iron electrodes, both used as anode simultaneously, are summarized below (Bayramoglu et al. 2004; Hu et al. 2008):

At the aluminum anode:

$$ A{l}_{(s)}\to A{l}_{(aq)}^{3+}+3{e}^{-} $$
(5)

- In acidic medium:

$$ A{l}_{(aq)}^{3+}+3{H}_2{O}_{(l)}\to A l{(OH)}_{3(s)}+3{H}_{(aq)}^{+} $$
(6)

- In alkaline medium:

$$ A{l}_{(aq)}^{3+}+3 O{H}_{(aq)}^{-}\to A l{(OH)}_{3(s)} $$
(7)

At the iron anode:

$$ F{e}_{(s)}\to F{e}_{(aq)}^{2+}+2{e}^{-} $$
(8)

- In acidic medium:

$$ 4 F{e}_{(aq)}^{2+}+{O}_{2(g)}+10{H}_2{O}_{(l)}\to 4 F e{(OH)}_{3(s)}+8{H}_{(aq)}^{+} $$
(9)

- In alkaline medium:

$$ F{e}_{(aq)}^{2+}+3 O{H}_{(aq)}^{-}\to F e{(OH)}_{2(s)} $$
(10)

Regarding Eqs. 5 and 8, by applying the electrical charge, Al3+ and Fe2+ ions are formed at the anodes which are highly effective coagulants being responsible for particulate flocculation (Chen 2004). The above reactions show that pH determines the chemical species significantly. Hence, experiments were conducted primarily to find the most favorable initial pH varying in the range of 4 to 9 and the results are presented in Fig. 2.

Fig. 2
figure 2

Effect of initial pH on decolorization (electrical current = 200 mA, distance between anodes: 2 cm, combined Fe-Al as anode)

As seen, by increasing the pH from 4 to 7, the decolorization efficiency increased because the zeta potential decreases with increasing pH (Yıldız et al. 2008). In addition, within low pH, higher amount of hydrogen is generated by electro-reduction in cathode, so that less proportion of iron and aluminum hydroxide ions can be formed (Modirshahla et al. 2007). At the same time, by rising pH from 7 to 9, decolorization efficiency is mitigated that is probably due to less proportion of iron and aluminum ions production which stems from oxidizing some of the hydroxide ions at the anode which in turn, decreases the metal ions opportunities to be generated via oxidizing (Modirshahla et al. 2007). Soluble species are useless in electrocoagulation processes which must be minimized through pH adjustment. Based on the correlation between coagulants (Fe3+ and Al3+) and initial pH of the matrix, aluminum and iron exhibit their minimum solubility within pH values of 6 and 8, respectively (Parsa et al. 2011; Ghernaout et al. 2011). When iron and aluminum were used simultaneously as the anode, the most favorable flocculation occurred at pH 7 which corresponds to the minimum solubility of the coagulants produced during their anodic dissolution. Consequently, both very high and very low pH values adversely affect the flocculation and the best efficiencies of electrocoagulation occur around neutral conditions. In this study, the highest and the lowest color removals were obtained within pH 7 and 4, respectively. Therefore, for textile wastewater studied with a pH about 6.5 would be advantageous for the ECF treatment of wastewater since no pH adjustment is needed.

3.2 Effect of Electrical Current

Electrical current is of high significance within all electrocoagulation/flotation processes affecting the reaction rate through the determination of coagulant dosage and bubble generation rates, bubble size, floc growth, collisions among particles and thereby, influencing the ECF efficiency (Modirshahla et al. 2008). According to Faraday’s law, dissolution of electrode is related to the total charge passed which implies that the amount of adsorbent produced in the electrochemical reactor would be proportional to the electrical current (Ratna Kumar et al. 2004). In addition, electrical current is the prime factor determining the separation mechanism (Holt et al. 2005). Thus, a range of electrical current varying within 100–400 mA was investigated and the results are depicted in Fig. 3. As it is demonstrated, decolorization efficiency increased by rising the electrical current reaching to the maximum at 400 mA. This is ascribed to the fact that at higher electrical current, more oxidation occurs within the anodes followed by higher coagulation and flocculation. Moreover, increasing electrical current brings about greater bubble density having smaller size, which effectively promotes pollutant removal by electroflotation. It was observed that the process significantly revealed the effect of electrical current in 20 min reaction time as the color of the wastewater undergoes distinct decreases by increasing the electrical current. In the present work, the highest decolorization efficiency after 40 min reaction time was obtained at 400 mA. Nevertheless, 300 mA was selected because it produced relatively high efficiency along with being less energy consuming and more economical. It should be notified that the separation mechanism was dependent on the electrical current in a way that in less than 300 mA, the coagulated flocs were settled while at 300 mA and more, flotation was the dominant separation mechanism.

Fig. 3
figure 3

Effect of electrical current on decolorization (pH = 3, distance between anodes: 2 cm, combined Fe-Al as anode)

3.3 Effect of Inter-Electrode Distance

In this study, the effect of inter-electrode distance on ECF process was investigated. Regarding Fig. 1b, increasing the distance between anodes leads to the decrease of distance between each anode and cathode (ECF cell). According to Fig. 4, color removal efficiency is enhanced by increasing the distance between the two iron and aluminum anodes (i.e., reducing the distance between cathode and anode). This can be ascribed by increase of electrical current associated with decreasing the inter-electrode distance (distance between each anode and the cathode) resulting in higher collisions of the ions that enhance the coagulation. Actually, a decrease of the space between anode and cathode leads to low resistance within the electrolyte which in turn increases anodes dissolution (Ghernaout et al. 2011). Hence, more Al and Fe species were released which results in higher color removal from the solution. At the same time, by decreasing the distance between the cathode and anode, flotation is improved due to the bubbles being trapped in narrower space between the corresponding electrodes, increasing the bubble density within the inter-electrode distance. The highest decolorization efficiency was achieved with a distance of 3 cm between the two anodes.

Fig. 4
figure 4

Effect of inter-electrode distance on decolorization (pH = 7, electrical current = 300 mA, combined Fe-Al as anode)

3.4 Effects of Anodes Materials

Anode material determines the introduction of cations into the electrolyte, thereby affecting the ECF performance substantially. In the current study, three setups were investigated with exactly similar experimental conditions but with different anode materials. As it was formerly explained, iron and aluminum were the two materials being installed simultaneously as anode which have been commonly used separately but rarely in combination with each other. As can be seen in Fig. 5, using combined iron and aluminum as anode materials simultaneously, color of the wastewater is completely removed within 40 min reaction time. As it is demonstrated, the use of two aluminum anodes provides higher decolorization in comparison with two iron made anodes. It is stated that using iron as anode, brings about lower energy consumption whereas the electrode consumption is generally lower with aluminum (Ghernaout et al. 2011). In our study, the most favorable decolorization was obtained using combined iron and aluminum anodes at pH = 7, 300 mA, distance between anodes of 3 cm and 40 min reaction time. Having the highest decolorization efficiency in combined operational situation using iron and aluminum as anodes materials, flocs are supposed to bring about a synergist effect for the electrical accumulation of pollutants.

Fig. 5
figure 5

Effect of anode materials on decolorization (initial pH = 7, electrical current = 300 mA, distance between anodes = 3 cm)

3.5 Effect of Electrical Current on COD Removal and Kinetic Evaluation

While this study mainly aims at decolorization optimization, it was also beneficial to evaluate the effect of ECF process on organic content removal of the wastewater. In this way, organic content removal of real textile wastewater based on COD removal efficiency and the effects of electrical current on it within the ECF process were examined. Generally, by increasing the electrical current, COD removal increased with time. When increasing the electrical current from 100 to 300 mA, it was observed that the retention time of the wastewater in the ECF unit to attain a certain COD removal was shortened from 40 min to about 20 min. Therefore, the retention time can be decreased dramatically by increasing the electrical current to achieve a similar efficiency. Applying 100, 200, 300 and 400 mA, COD removal efficiencies in 40 min were 60 %, 68 %, 78 % and 87 %, respectively.

Besides, the COD removal kinetic was evaluated in order to determine the dependency of organic content removal rate and electrical current. Figure 6a presents the linear plot of lnC/C0 versus time and demonstrates that organic matter degradation as a function of the electrical current follows a first order reaction and that the COD removal rate is directly proportional to the applied electrical current. The linear plot of 1/C0 versus time is also illustrated in Fig. 6b. Likewise, as shown in Table 2, the R-squared values for first and second order kinetics demonstrate that the reaction kinetic is more likely to follow the first order. The first order kinetic equation is as follows (Elmorsi et al. 2010):

Fig. 6
figure 6

Effect of electrical current on organic matters removal kinetics (a) first-order model (b) second-order model

Table 2 Rate constant (k) and R-squared values corresponded to degradation reactions with various electrical current
$$ ln\frac{C}{C_0}=- kt $$
(11)

where C0 is the initial concentration of organic matters, C is the remained organic matters after the reaction, k is the rate constant and t is the reaction time. The rate constants (k) of COD removal were 0.0234, 0.0291, 0.0393 and 0.0519 min−1 for 100, 200, 300 and 400 mA, respectively. The highest COD removal was achieved at 400 mA and 40 min retention time as the wastewater COD decreased from 1,280 to 169 mg/L (87 % removal efficiency). Furthermore, nearly complete decolorization along with high COD removal revealed that a large amount of organic contents in the studied wastewater is allocated to the dyes having the potential to be electro-coagulated. Therefore, a noticeable proportion of COD was removed during decolorization through the ECF process.

3.6 Energy Consumption

Energy consumption is a crucial factor in all electrochemical processes including ECF being associated with operating cost of the process (Emamjomeh and Sivakumar 2009; Eslami et al. 2013). Electrical current correlates with the electrical energy consumption. In the current work, electrical energy consumption per cubic meter of the wastewater undergoing ECF process was calculated through the following equation:

$$ E\left(\frac{kWh}{m^3}\right)=\frac{V. I. t}{ V olum{ e}_{wastewater}\times 1000} $$
(12)

where V, I and t stand for average voltage of the ECF system (V), electrical current intensity (A) and reaction time (h), respectively.

As shown in Fig. 7, by increasing the electrical current, more energy is being consumed. As it was previously discussed, there was no considerable difference between 300 and 400 mA in color removal efficiency. Hence, 300 mA is economically more feasible owing to its low electrical energy consumption. Furthermore, it is hypothesized that electrolysis energy consumption can be reduced as the distance between anode and cathode decreases. Consequently, since the highest color removal rate was achieved for 3 cm of distance between anodes (narrowest distance of each anode with the cathode), the highest efficiency is obtained along with the lowest energy consumption.

Fig. 7
figure 7

Energy consumption as a function of electrical current and electrocoagulation/flotation time

As for the economy of the ECF process, the required energy consumption per cubic meter of the studied wastewater can be calculated through some of the data in the experiments conducted. Accordingly, the optimum operational parameters such as electrical current, voltage, and the reaction time to achieve the highest color removal efficiency (98 %) were determined to be 0.3 A, 14.9 V and 40 min, respectively. The electrical energy consumption is calculated as:

E (kWh/m3) = 0.3 × 14.9 × 0.66/1,000 × (5 × 10−4) = 5.9

Likewise, considering the energy related experimental conditions in which the maximum COD removal (87 %) was gained (0.4 A, 16.5 V and 40 min), 8.71 kWh electrical energy is required to remove COD of the studied wastewater by 87 %.

4 Conclusions

98 % color removal efficiency was achieved at pH = 7, applied current of 300 mA, using aluminum and iron materials both used as anode simultaneously, and anodes distance of 3 cm in 40 min. Likewise, the highest COD removal efficiency was 87 % which was obtained in similar optimum experimental conditions as for the color removal but merely with electrical current of 400 mA. The stated results are worth to be considered to conclude that a significant portion of COD for the studied textile wastewater was allocated to the dye; so that an efficient treatment of this wastewater is truly accomplished by the color removal in optimal conditions. In order to determine COD removal rate dependency to electrical current, a kinetic study was carried out and data were in good agreement with the first order kinetic model. Ultimately, the amounts of electrical energy required to obtain the most favorable color and COD removal for a cubic meter of the studied wastewater were 5.9 and 8.7 kWh, respectively.