Introduction

Synthetic dyes from the textile industry are used on a large scale, generating several problems in the environment (Forgacs et al. 2004; Gupta and Suhas 2009). The textile sector stands out due to the high demand of water required in its processes and the consequent generation of large volumes of effluents, and it is estimated that in the production of cotton fabric, for example, water consumption may range from 100 to 300 L Kg−1 of cotton fabric (Arslan et al. 2016). In fact, when these dyes are dumped without proper treatment in aqueous effluents, they immediately interfere with the aquatic ecosystem in several ways (Joshi et al. 2004). One of the great difficulties for the treatment of this type of industrial waste is the fact that it is very refractory to conventional treatments, persistent and carcinogenic (Verma et al. 2012), besides being bactericidal, which makes its treatment difficult through biological methods. An alternative to conventional methods of treatment of effluents is precisely the electrochemical methods. The basis of these processes is the application of an electric field between anodes and cathodes, resulting in different chemical reactions: oxidation–reduction reactions, molecular rupture reactions and chemical and electrochemical absorption (Moussa et al. 2017). The reactions that occur are responsible for the destabilization of the contaminating molecules, resulting in their precipitation and/or oxidation, transforming them into biodegradable compounds (Garcia-Segura et al. 2017).

The process of electroflotation (EF) and electrocoagulation (EC) is an example of an electrochemical process, being this process well known and detailed in the literature (Yang et al. 2018; Zongo et al. 2009; Mouedhen et al. 2008). This technique is based on the formation of the coagulating agent that occurs due to the electrolytic dissolution of sacrificial anodes, aluminum or iron. Gas bubbles—O2 and H2—are formed in parallel with the electrolysis of the water molecules, and thus, the electroflotation is coupled to the electrocoagulation process. The chemical reactions established for this process are:

$${\text{Al}}({\text{s}}) \to {\text{Al}}_{{({\text{aq}})}}^{3 + } + 3{\text{e}}^{ - }$$
(1)
$$2{\text{H}}_{2} {\text{O}} + 2{\text{e}}^{ - } \to {\text{H}}_{{2({\text{g}})}} + 2{\text{OH}}^{ - }_{{({\text{aq}})}}$$
(2)

where (1) is the metal dissolution in anode and (2) is the water reduction at the cathode. It is important to emphasize that in the anode occurs simultaneously the reaction (3):

$$2{\text{H}}_{2} {\text{O}} \to {\text{O}}_{{2({\text{g}})}} + 4{\text{H}}_{{({\text{aq}})}}^{ + } + 4{\text{e}}^{ - }$$
(3)

The Al 3+(aq) is essential for the electrocoagulation process, because through this it is possible to form the species monomeric soluble hydroxides by reaction with 2OH (aq) . All these reactions are pH-dependent. The H2(g) and O2(g) are responsible for the electroflotation process.

The electrocoagulation/electroflotation process has been used with great success in several types of effluents, for example, textile dyes (Gonçalves et al. 2016; Assemian et al. 2018), plating (Adhoum et al. 2004), microalgae (Cestarolli 2017), heavy metals (Merzouka et al. 2009), nitrates from groundwater (Lacasa et al. 2011), industrial wastewater and perfluorooctanoic acid (Yang et al. 2018), among others.

Thus, the objective of this study was the investigation of the influence of functional parameters of electrocoagulation, such as pH, amount of electrolyte and applied potential, in the removal of dye color of aqueous solution.

Experimental

All solutions investigated were produced in order to simulate a textile industrial wastewater. For this purpose, samples containing the dye Eriochrome Black (PROQUIMIOS) were prepared. The molecular formula of Eriochrome Black is shown in Fig. 1.

Fig. 1
figure 1

Molecular structure of Eriochrome Black

The main chemical characteristics of this dye are shown in Table 1.

Table 1 Chemical characteristics of Eriochrome Black

All experiments were performed in order to evaluate the color removal efficiency CR (%) using the formula:

$${\text{CR}}\left( \% \right) = \left\{ {{\text{Abs}}_{0} {-}{\text{Abs/Abs}}} \right\} \times 100$$
(4)

where Abs0 is the initial absorbance of dye and Abs is the absorbance after electrocoagulation/electroflotation process. The experiments were monitored by an UV/VIS spectrophotometer Shimadzu model UV3600, at a wavelength with the best absorbance of Eriochrome Black (maximum absorbance λ = 537 nm). A Hanna pH meter model 21 (0.05 precision) was used to measure the pH of the solutions. In order to simulate the actual properties of the effluent, the value adopted for the concentration of the solution was 0.20 g L−1. In studies where the initial concentration of the dye was varied, the values used were 0.20 to 1.00 g L−1.

The electrocoagulation system consisted of a rectangular-shaped reactor with a capacity of 1.0 L (Fig. 2). Four aluminum electrodes (two anodes and two cathodes) with dimension of 30 cm2 each one (3.0 cm wide and 10.0 cm long) were used for the experiments, being connected by bipolar mode. A digital DC power supply (ICEL model) providing 0–15 V (0–5 A) with potentiostatic operational option was used for potential control.

Fig. 2
figure 2

Electrocoagulation reactor. (1) Glass bath cell; (2) cathodic electrodes; (3) anodic electrodes; (4) magnetic stir bar; (5) stirrer; and (6) DC power supply

Results

Effect of time of electrolysis on the efficiency of dye removal

As already reported by several authors, time is a very important parameter in the electrocoagulation process (Daneshvar et al. 2007; Zaroual et al. 2006). In fact, there is a direct relationship between the amount of aluminum ions dissolved and the time of electrolysis. The process can be described as follows: the main chemical reactions occur as seen in Eqs. (5) to (6) (Chen 2004):

At the anode:

$${\text{Al}} - 3 {\text{e}} \to {\text{Al}}_{3}^{ + }$$
(5)
$${\text{Al}}_{3}^{ + } + 3{\text{H}}_{2} {\text{O}} \to {\text{Al}}\left( {\text{OH}} \right)_{{3({\text{s}})}} + 3{\text{H}}^{ + }$$
(6)

The aluminum cations and their hydrolyzed derivatives are the coagulant species. The Al3+ ions combine with water and OH ions to immediately undergo further spontaneous hydrolysis reactions to form monomeric species such as Al(OH)2+, Al(OH)2+ and Al(OH) 4 , polymeric species as Al2(OH) 4+2 and Al2(OH)5+, which finally transform into Al(OH)3(s) and less soluble species as Al2O3.

Thus, in an electrocoagulation process the coagulating ions are produced ‘in situ,’ and the greater the electrolytic time the greater the amount of coagulant species electrogenerated. As can be seen from Fig. 3, an increase in the electrocoagulation time causes an increase in the efficiency of the color removal, from 5 to 97%.

Fig. 3
figure 3

Effect of time on the removal efficiency of Eriochrome Black 0.20 g L−1. [NaCl] = 1.0 g L−1; electrolysis time = 120 min; pH 7.0; and E = 7.0 V

Efficiency of color removal as a function of applied potential

In order to verify the effect of the potential value applied in the electrocoagulation process, the following potential values were investigated: 2.0 to 9.0 V. In fact, it is known (Gonçalves et al. 2016; Aoudj et al. 2016) that increasing the potential implies an increase in the formation of the coagulating agent, which results in a higher CR efficiency. Figure 4 presents the results obtained as a function of the applied potential.

Fig. 4
figure 4

Effect of applied potential on the removal efficiency of Eriochrome Black 0.20 g L−1. [NaCl] = 1.0 g L−1; electrolysis time = 120 min; and pH 7.0

As can be seen from Fig. 4, the potentials that presented the best results in terms of CR were 7.0 and 8.0 V. It is important to note that, at these potential values, it took only about 20 min to reach about 98% of CR. More dissolved species of aluminum are electrogenerated at higher potentials and formation rate of Al(OH)3 and Aln(OH)3n increased. It is important to note that higher potential (9.0 V) obtained lower value of dye removal (78%) in the first 100 min of electrolysis. After about 100 min, a high efficiency was obtained for all potential investigated. However, considering the electrolysis time allied to the result of CR, it was concluded that the potentials of 7.0 V and 8.0 V were the most efficient. In order to obtain a high efficiency with a lower cost, it was chosen to use the potential of 7.0 V in the following studies.

Efficiency of color removal as a function of the initial concentration of Eriochrome Black

It is known (Cestarolli 2017; Daneshvar et al. 2004) that the initial concentration of the dye has a direct influence on the CR values. It is also interesting to note that in actual effluents from the textile industry the pigment concentrations in the generated wastes are not constant. Thus, the initial concentration of Eriochrome Black was investigated between 0.20 and 1.0 g L−1. The results are shown in Fig. 5.

Fig. 5
figure 5

Effect of the initial concentration of the dye on the removal efficiency of Eriochrome Black. [NaCl] = 1.0 g L−1; electrolysis time = 120 min; pH 7.0; and E = 7.0 V

According to Fig. 5, it is possible to verify that the increase in the initial concentration of the dye does not favor the electrocoagulation process. Indeed, under constant potential, there will be always the same amount of aluminum hydroxides present (Daneshvar et al. 2004; Modirshahla et al. 2007), and thus, it is expected that the efficiency of CR actually decreases with increasing the concentration of the dye.

Efficiency of color removal as a function of the initial pH

It is well known in the literature that pH exerts a great influence on the electrocoagulation process (Rahmani et al. 2013; Pajootan et al. 2012; Gonçalvez et al. 2016). Monomeric and polymeric Al species vary at different pH, and the coagulation mechanism is dependent on pH. The influence of pH in the EC process was investigated by adjusting the initial pH in the interval from 2 to 11. These results are presented in Fig. 6.

Fig. 6
figure 6

Effect of the initial pH on the removal efficiency of Eriochrome Black 0.20 g L−1. [NaCl] = 1.0 g L−1; electrolysis time = 60 min; and E = 7.0 V

According to Fig. 6, it is possible to verify that the electrocoagulation process presents better results with acid pH of 2, 5 and 7. The calculated values for CR (%) were 97.9 (pH 3), 93.6 (pH 5) and 98.5 (pH 7), respectively. In low values of pH (from 2 to 3), the cationic species are converted into soluble species such as Al(OH) +2 , Al(OH)2+ and Al(OH)3 (Essadki et al. 2008). At pH between 5 and 7, it is possible to obtain monomeric cations which can be converted into Al2(OH) 4+2 and Al6(OH) 3+15 , which, in this case, facilitated the electrochemical coagulation process.

Efficiency of color removal as a function of concentration of supporting electrolyte

A highly conductive electrolyte favors the electrocoagulation process, and, in this sense, the influence of the NaCl concentration on the color removal efficiency of the dye was investigated. In fact, NaCl was chosen not only for being a good electrolytic conductor, but also because it is widely used in the textile industry with the aim of favoring the absorption of dye molecules in the fibers (Kabdasli et al. 2009). The effect of concentration of NaCl as supporting electrolyte on dye removal efficiency was studied using concentration range from 1.0 to 4.0 g L−1. The results are reported in Fig. 7.

Fig. 7
figure 7

Effect of the initial concentration of NaCl on the removal efficiency of Eriochrome Black 0.20 g L−1. electrolysis time = 120 min; pH 7.0; and E = 7.0 V

As can be seen from Fig. 7, there was no significant variation of CR values as a function of NaCl concentration in the investigated range. However, it is necessary to emphasize that the lower the NaCl concentration, the longer the durability of the aluminum electrodes. In fact, a higher concentration of Cl can produce the pitting corrosion phenomenon, which is a disadvantage (Chen 2007).

Conclusions

The electrocoagulation process was quite efficient for removing the color of the Eriochrome Black dye, reaching values of CR 98.5% with optimized parameters. The investigated parameters resulted in the following conclusions: The electroflotation time process is a very important parameter for electrocoagulation process, and, in this study, it was observed that 60 min was sufficient for a satisfactory color removal. It was not observed, at higher values of pH, for satisfactory results with respect to decolourization. The optimal investigated values of pH are 2, 5 and 7. With respect to the applied potential, the better EC results were obtained with 7.0 V, beyond which no real improvement may be observed. The lower is the dye concentration, the better is the decolourization efficiency. A low concentration of NaCl (1.0 g L−1) is sufficient for the color removal process to be efficient.