Introduction

The textile industry requires very large quantities of water during manufacturing and processing procedures, being major consumer of water [1]. This industry uses about 10,000 different dyes, and more than 0.7 Mt of these dyes are annually produced worldwide [2]. Ten to fifteen percent of these dyes are released to the environment which constitutes one of the biggest environmental problems of the twenty-first century. These products cause serious damage to the environment due to the high concentration of color and dissolved matter in wastewater [3, 4]. The textile wastewater contains a wide range of pollutants including organic persistent and toxic substances, heavy metals either in the free form or adsorbed onto the suspended solids, and inorganic compounds [5]. Azo dyes, characterized by the presence of at least one azo group (−N=N-), are one of the largest groups of synthetic dyes used in industrial applications [6]. These azo dyes are metabolized to colorless, possibly carcinogenic amines in living beings [7]. Therefore, the primordial tasks were focused to treat these wastewater-containing dyes. The treatment method developed and proposed in this paper aims to eliminate dye contamination in the most efficient manner, both from a technical and economic point of view (cost-effectiveness must be taken into account).

Electrocoagulation (EC) is one of the most applied electrochemical methods in wastewater treatment [8]. EC is based on the electrochemical dissolution of sacrificial metal electrodes (Iron/Aluminum) into soluble or insoluble species according to the pH of the solution, as described in a seminal review article [9]. The coagulant (dissolved metal hydroxides) is generated continuously by applying an electric current that forms the flocs [10]. Therefore, these flocs create a blanket of sludge that entraps and bridges colloidal particles still remaining in the solution to float or to settle.

Electro-Fenton (EF) is one of the electrochemical advanced oxidation processes (EAOPs) that has attracted great attention for wastewater treatment. It is an environmentally friendly technology capable of electrochemically producing hydroxyl radical (E(OH/H2O) = 2.80 V vs. SHE), a very powerful oxidant. Hydroxyl radicals are able to oxidize a wide range of organic compounds [11]. Thanks to its ability to produce in situ H2O2 by cathodic reduction of oxygen and under the presence of Fe2+ as a catalyst, H2O2 is decomposed to form OH radicals from Fenton’s reaction [12, 13]. For this process, it is well known that the maximum of OH production is reached at pH around 3 [11, 14]. To avoid the addition of the catalyst (Fe2+ ions) into the solution and to decrease the operational cost, it would be better to generate Fe2+ in situ via the EC process [14]. In this context, it could be interesting to combine the two processes (electrocoagulation and electro-Fenton) in the same electrochemical reactor in order to decrease costs and increase the degradation of chemical oxygen demand (COD), total organic carbon (TOC), and the removal total suspended solids (TSS). In recent years, EAOPs coupled with EC have been developed for the prevention and remediation of environmental pollution, especially for industrial discharges. Table 1 lists the recent studies using integrated treatment of industrial effluents, showing that the elimination of the pollutants can be achieved when the adequate process is employed.

Table 1 Recent studies on integrated treatment of industrial wastewater

The main objective of this study is to treat industrial textile wastewater to minimize their pollution load and to enhance their biodegradability using integrated electrochemical processes.

Materials and methods

Characteristics of textile wastewater

The textile industry wastewaters were collected from Mohammedia city in Morocco and contained a mixture of azo dyes with methylene blue as the main dye, and inorganic compounds (nitrogen, phosphorus, potassium, etc.). The wastewater was filtered using a pre-filtration grid to remove large suspended solids before being used for the subsequent study.

Experimental apparatus and operating conditions

The experimental set-up for the EC consisted of a reactor (500 mL beaker) containing two iron plate electrodes (11 × 7.5 × 0.2 cm) (82.5 cm2) with a purity of 99.5%, with an inter-electrode distance of 1.5 cm and connected to a power supply. The EF reactor consisted of a boron-doped diamond (BDD) anode, film deposited on a niobium substrate (10.0 × 4.0 × 0.2 cm), from Condias (Germany) and a tridimensional carbon felt (CF) cathode (14.0 × 5.0 × 0.6 cm), supplied by Hi-Tech Carbon Co. (China). The chemicals (H2SO4, NaOH) were purchased from Sigma-Aldrich, D-glucose and D-glutamic acid standards and Allylthiourea as nitrification inhibitor were obtained from Sigma to perform BOD measurements. All solutions, except for the real industrial effluent, were prepared using deionized water. Sketches of the setup and involved reactions are depicted in Fig. 1.

Fig. 1
figure 1

Electrocoagulation and electro-Fenton experimental set-up containing power source and electrodes. In case of EC test, Fe-Fe electrodes are used while BDD anode, CF cathode, and O2 saturated effluent are used in the case of EF test

In each experiment, approximately 400 mL of real textile wastewater were placed in the electrolytic reactor. The pH of the solution was adjusted to the desired level using a dilute solution of sulfuric acid and sodium hydroxide (initial wastewater pH was 8.75 for EC and adjusted to pH 3.00 for EF) prior to the experiment and agitated with a magnetic stirrer at 200 rpm. In the case of EF, prior to electrolysis, compressed air was bubbled for 10 min in order to saturate the aqueous solution with O2. The electrochemical cell was operated with imposed current densities for both EC and EC-EF (20 and 10 mA cm− 2, respectively) during 60 min of each treatment. These operating conditions (current densities and pH values and electrolysis time) were previously optimized and the operating conditions for other techniques are described, in our previous work [21].

In the case of EC, the collected samples were centrifuged at 6000 rpm for 10 min to settle the flocculated material. After each run, the iron electrodes were washed with HCl (10%), deionized water, and dried at room temperature. In addition, the sludge generated by the EC process was dried in the oven at 105 ± 3 °C for 4 h.

Analytical procedures

The UV-Visible spectrophotometer (Model Jasco V-630) was used to determine the dye concentration in textile effluent at maximum absorbance band that immerged at 650 nm (Fig. 2). The pH values were measured with Hanna instrument. The COD values were determined by a standardized method using spectrophotometer (Model HACH DR 6000). TOC measurements were determined by injection of 50 μL of samples through thermal catalytic oxidation at 680 °C using TOC-L SHIMADZU analyzer. BOD values were determined in accordance with the standard methods using Lovibond incubator [22].

Fig. 2
figure 2

UV-Vis spectra changes in textile wastewater treated with electrocoagulation at 20 mA cm−2

Total nitrogen (TN) content was measured by Dumas method Thermo Scientific (Flash 2000) [23]. NH4+ values were obtained according to the standard method for water and wastewater using colorimetric method [24]. An unfiltered sample was taken for the determination of TSS following the standard method; the sample is filtered through a pre-weighed filter. The metal concentration in wastewater samples and the obtained dried sludge were carried out by Optical Emission Spectroscopy (ICP-AES, iCAP 6300 model SERIES THERMO). The floated (foam) and the decanted sludge were recovered separately at the end of the treatment and dried in an oven at 105 ± 3 °C [25] for 4 h in order to remove water from the samples before weighing to estimate the amount of dried sludge formed by EC. Then, the dehydrated sludge was calcined in the ambient atmosphere in the oven at 300 °C for 1 h. The sludge morphology and its metallic composition were characterized using high resolution scanning electron microscopy (SEM) (FEG Zeiss Gemini 500, Germany) provided with energy-dispersive X-ray spectroscopy (EDS) (DDS Oxford model). EDS allows a simultaneous determination of metallic elements of the sludge. Additionally, transmission electron microscopy (TEM) investigations were carried out using a JEM-ARM 200F Cold FEG TEM/STEM operating at 200 kV and equipped with a spherical aberration probe and image correctors (point resolution 0.12 nm in TEM mode and 0.078 nm in STEM mode) for structure and morphology. Moreover, X-ray diffraction (XRD) analysis was performed to the samples using (Bruker D8 Advance) with Cu Kα1 radiation (wavelength WL = 1.5406 Å).

Results and discussion

Physicochemical analysis of wastewater

Physicochemical parameters of textile wastewater are shown in Table 2. The colored effluent is almost neutral with low pollution charges. The high electrical conductivity of the wastewater denotes the presence of dissolved salts in the effluent.

Table 2 Main characteristics of textile wastewater

Integrated EC-EF

The anodic dissolution of the iron electrode inside the electrolytic cell in the case of EC promotes the generation of ferrous ions (Fe2+/Fe3+) which react with hydroxides ion (OH) in solution to produce Fe(OH)2(s), and Fe(OH)3(s). These iron hydroxides act as coagulant/flocculent for the suspended solids to form flocs. These flocs have large surface area which is beneficial for a rapid adsorption of organic dye compounds present in textile wastewater and trapping of colloidal particles which sediment or float afterward.

Figure 2 shows the absorption spectra of the textile wastewater between 400 nm and 800 nm versus time of EC treatment. The obtained absorbance decreased continuously to diminish and disappear almost completely after 60 min of electrolysis.

The dissolved iron (sacrificial electrode), mFe, was calculated after considering the experimental conditions which were current intensity I = 1.6 A and time t = 60 min (3600 s) of electrolysis using the Faraday’s law (Eq. 1) [26]:

$$ \mathrm{mFe}=\frac{\mathrm{I}\times \mathrm{t}\times {\mathrm{M}}_{\mathrm{Fe}}}{\mathrm{n}\times \mathrm{F}} $$
(1)

where MFe is the molecular weight of Fe (55.9 g mol− 1), n (n = 2) is the number of electrons transferred in the reaction at the electrode, and F the Faraday constant (F = 96,500 C mol− 1). The maximum amount of ferrous ions (Fe2+) electrolyzed in these experimental conditions was 0.48 g.

The electrical energy consumption (EEC) per unity mass of removed TOC may be expressed in kWh kg− 1 an economical parameter calculated based on Eq. (2) [21].

$$ \mathrm{EEC}=\frac{\ \mathrm{U}\times \mathrm{I}\times \mathrm{t}}{\mathrm{V}\times \left(\mathrm{R}\times {\mathrm{TOC}}_0\right)} $$
(2)

where U, I, t, and V are cell voltage (V), electrical current intensity (A), electrolysis time (h), and volume of wastewater (L) respectively. R is TOC removal efficiency and TOC0 is initial TOC concentration (g L− 1).

The pollutant removal efficiencies (RE, %) are calculated using Eq. (3) [27].

$$ \mathrm{RE}\ \left(\%\right)=\frac{\left({C}_0-\mathrm{C}\right)\times 100}{C_0} $$
(3)

In which, C is the TOC, COD or TSS value of treated aqueous solution (mg L− 1) and C0 is the initial relating concentrations (mg L− 1).

According to our previous study [21], treatment of textile wastewater by EC coupled with various EAOPs such as electrocoagulation-anodic oxidation (EC-AO), electrocoagulation-peroxicoagulation (EC-PC), EC-EF processes showed the effectiveness of sequential treatment of these processes than the individual process. Figure 3 shows the TOC removal and energy consumption obtained using EC and EC-EF for textile wastewater treatment. It also shows the results previously obtained in the same way by other combined processes such as EC-AO, and EC-PC for comparison. The experiments show that the EC technique alone has low effectiveness (44% of TOC removal) and highest energy consumption (3 kWh kg− 1 of removed TOC using current density of 20 mA cm− 2). Better efficiency is obtained with EC-EF process with high TOC removal and low energy consumption (0.45 kWh kg− 1 of removed TOC using current density of 10 mA cm− 2). Therefore, an analysis of operating costs was computed and compared with EC-PC and EC-AO process. The energy consumption for 1 kg of removed TOC is in decreasing order: EC (3 kWh; 20 mA cm− 2) > EC-PC (1.9 kWh; 10 mA cm− 2) > EC-AO (1.82 kWh; 10 mA cm− 2) > EC-EF (0.45 kWh; 10 mA cm− 2). Bener et al. [28], had used EC process for treating the real textile wastewater. From their findings, an operating cost including electrode consumption can be deduced which is equal to 2.75 kWh kg− 1 of removed TOC using a current density of 25 mA cm− 2.

Fig. 3
figure 3

TOC removal and energy consumption of various processes for textile wastewater treatment: EC with pH = 8.75 at I = 20 mA cm−2 followed by EF, PC and AO with pH = 3 and I = 10 mA cm−2

The combined treatments were found to be more reliable and economical for treating textile industry wastewater than single processes [29]. In the case of EC-EF, the mineralization of organic matter reached 97%. The effectiveness of EC-EF is due to the capacity of the electrolytic cell (in EF step) to produce H2O2 and to regenerate Fe2+ on the CF (electro-generation of Fenton reagent) which leads to the production of hydroxyl radicals in solution. These hydroxyl radicals generated on the anode surface (BDD anode) which has a high oxygen evolution overpotential attacked the organic pollutants to produce CO2, inorganic ions, and water [30].

Figure 4 shows the biodegradability of textile wastewater characterized by BOD/COD ratio [26]. The final COD value is highly decreased from 325 to 12 mg L− 1, while BOD value decreased slightly from 35 to 12 mg L− 1 of O2. Therefore, it is evident that EC-EF combination is an effective process for dye removal from textile wastewater. In addition, it appears that the EC-EF treatment enhances the biodegradability of the effluent by transforming non-biodegradable compounds into more biodegradable matter. Moreover, the ratio BOD/COD increases considerably to reach 0.46 after EC-EF treatment in contrast of 0.1 and 0.14 for initial effluent and after EC treatment, respectively. The initial biodegradability of this wastewater is very low even after EC treatment alone. This result is in accordance with many research papers that used advanced oxidation processes such as Fenton, which improves the biodegradability of recalcitrant pollutants in wastewater [26].

Fig. 4
figure 4

COD and BOD/COD ratio for the textile wastewater before and during treatment: EC with pH = 8.75 at I = 20 mA cm− 2 followed by EF, PC and AO with pH = 3 and I = 10 mA cm− 2

Characteristics of treated effluent and metal-ions removal

The main characteristics of textile wastewater before and after treatment are summarized in Table 3. TSS was measured before and after treatment. EC can reduce TSS concentration via destabilization of colloidal pigment particles with positive surface charge by the negatively charged oxy/hydroxy-metal ions produced during the process [31]. It was found that TSS removal exceeded 90 and 98% by EC and EC-EF respectively after 60 min of electrolysis for each treatment step. The TN removal efficiency was 25 and 32% for EC and EC-EF, respectively. The phosphorus removal increases with the electrolysis time, the maximum removal was determined up to 50% with EC-EF while the concentration of sulfate increased to 120 mg L− 1. The increase of SO42− concentration can be explained by the destruction of the organic pollutants and consequently the release of the ions in the solution [32]. Generally, except sulfate, all other ions (metallic ions) continue to decrease through EC treatment and with EC-EF, while no significant difference was observed on the conductivity of the solution between the initial effluent and after EC-EF treatment.

Table 3 The main characteristics of textile wastewater before and after treatment

The removal efficiencies of all metals by EC from wastewater were between 54 and 89% and between 60 and 97% after EC-EF treatment (Table 3). The removal amount of heavy metals by EC from the wastewater may be found in the sludge. In these operating conditions, the removal efficiencies of Cu, Mn, Zn, Fe and Cr are 74, 89, 75, 84, and 74% after EC treatment alone and 82, 93, 94, 97, and 81% after EC-EF treatments, respectively.

Characterization of the sludge

Chemical element composition

The sludge characterization is important in order to gain information on the formed sludge for proposing its adequate treatment, disposal, or reuse (optimization of conditioning, dewatering, incineration treatment and landfilling operations). Sludge dewatering is one of the main unit processes in sludge treatment as it minimizes sludge volumes for final disposal [33]. A measurement protocol for sludge produced (precipitate and flotation sludge) has been proposed for 400 mL of textile wastewater. The sludge is separated into two types, decanted and floated parts with the weight of about 1 and 1.1 kg of hydrated sludge per kg COD removed, respectively. The chemical element concentrations were measured using ICP. Table 4 gives an overview of the main sludge characteristics related to processing of textile wastewater. The ICP analysis shows the presence of the following elements: Na, K, Ca, P, Mg, Cu, Mn, Fe, Zn, Cd, Pb, Ni, Cr, Co, As, Se, Al, and Mo. All elements are generally more concentrated in the decanted sludge than in the floated sludge, except for Fe, and Ni ions which reached the concentrations of 24, and 179 mg/100 g respectively. The electrocoagulation process has been reported to be effective in removing metals, heavy metals, non metal, anions, and organic compounds from industrial effluents [34]. The sludge contains high amounts of Na, Fe, Cd, Mo, N, C, S, P, and trace elements. Therefore, the generated sludge could be used in soil amendment as fertilizer to increase agricultural production [35]. Likewise, in the light of its metallic composition, the sludge could be used in cement manufactory as raw material [36].

Table 4 Sludge characteristics for textile wastewater during treatment by EC

SEM and EDS analysis

The SEM analysis is a tool for showing the morphology and shape of the sample [37]. Figure 5a and b present the micrograph obtained by SEM of floated sludge after drying at 105 °C and after calcination at 300 °C. As the decanted and floated sludge showed the similar morphology, only the SEM micrograph of the later was presented. The micrograph revels that sludge presents aggregate shapes with non-uniform distribution of particle sizes varying from 4 to 120 μm. The EDS analysis show that the sludge contains various metallic element with the abundance of O > Fe > Cr > Cl > Na > Ni > Mn > S (Fig. 6). It is obvious that part of metallic elements is transferred from wastewater to the sludge which requires taking into account this drawback in its subsequent treatment.

Fig. 5
figure 5

Floated sludge SEM Micrographs, (a) dehydrated and (b) calcined sludge

Fig. 6
figure 6

EDS spectrum of the dried sludge

XRD analysis

Figure 7a shows the XRD diffractogram of dried sludge which exhibits a pure NaCl structure in accordance with JCPDS 05–0628 card. The two intense peaks located at 2θ = 31.7° and 2θ = 45.5° correspond respectively to the (200) and (220) planes. No evidence was found to support the presence of metallic oxides in crystalline form. Furthermore, the sludge was sonically washed in distilled water for 30 min to get rid of NaCl salt. The obtained XRD spectrum is displayed in Fig. 7b and no crystalline phase (amorphous compounds) could be identified. In addition, the background signal increased with the diffraction angle. NaCl was totally eliminated by washing and the background of the diffractogram is quite high characteristic of the presence of an element that gives fluorescence with the copper radiation or characteristic of materials in nanostructured form. In order to obtain information of these assumptions, high resolution TEM analysis was undertaken to control the shape of the studied compound. Figure 8 shows the TEM micrographs of the free NaCl sludge. According to these micrographs, the size of the sludge-derived particles is less than 1 nm. The sludge obtained after EC treatment contains mainly organic matter and metallic oxy/hydroxides. Heat treatment at 300 °C removes the organic matter and forms amorphous oxide containing NaCl crystals. After washing, magnetic nanomaterial oxides are obtained and they can be attracted by a magnet. Recently, Waller et al. [38] have synthesized magnetic FeOx nanoparticles during the treatment of oil/salt water emulsions (bilge water), by EC process using iron anode. The EC precipitates were highly sensitive to a permanent magnet. Complete settling of the suspended particles required only 5 min under the influence of a permanent magnet while a large amount of precipitate remained suspension in solution after 1 h of natural settling. In addition, the iron oxide nanoparticles have been described in the literature for having potential applications in wastewater treatments [39]. The use of magnetic oxides as adsorbents of pollutants in aqueous solution is becoming a potential method in textile wastewater treatment and found to be more effective compared to conventional method of treatments [40]. Magnetic separation of adsorbents has been one of the promising techniques for wastewater treatment. The pollutant covered sorbent is magnetically extracted from the solution which avoids filtration. The study of adsorption of dyes on these nanomaterials is an ongoing study in our lab.

Fig. 7
figure 7

XRD diffractograms of (a) dried sludge; (b) the salt free sludge

Fig. 8
figure 8

TEM micrographs of free salt sludge

For further characterization of the free salt sludge, EDS measurements were performed for elemental analysis. Figure 9 shows the EDS spectra with oxygen, iron, chromium, and nickel as major elements. The ratio O/(Fe + Cr + Ni) = 1.6 which is almost equal to that of Fe2O3 oxide, i.e., 1.5. Moreover, these nanostructured particles are attracted by a magnet which reinforces this assumption. An important advantage for using iron electrodes in EC stems from the fact that Fe is non-toxic for biota and the iron sludge is significantly denser than Al sludge, therefore it occupies less space and needs less energy for dehydration [41].

Fig. 9
figure 9

Energy-dispersive X-ray spectroscopy spectra of the free salt sludge

Furthermore, treatment of textile effluents can lead to the formation of other complexes like jarosite [42]. It is a family of iron-hydroxysulphate minerals which are formed along with other compounds during wastewater treatment and acted as scavenger of iron ions and other toxic elements. These compounds are formed in acidic media, iron sulfate-rich environment, high temperature and pressure, and long reaction time [43]. Thus, X ray diffractogram does not show specific peaks of the jarosite, our operating conditions are far from those allowing its formation.

Conclusions

Hybrid electrochemical processes EC, EC-EF, EC-AO and EC-PC were investigated to treat real textile wastewater. The findings indicated that the effectiveness of the treatment decreases in the sequence EC-EF > EC-AO > EC-PC > EC. The combination EC-EF treatment leads to high color and TOC removal of real textile wastewater containing mainly methylene blue (up to over 97%). EC treatment as a single process is not efficient for the elimination of dye organic stuff. The energy consumption using the integrated process was less than that of EC alone. In accordance with this approach, the energy consumption is reduced from 3 kWh kg− 1 of removed TOC in the case of EC to 0.45 kWh kg− 1 of removed TOC when EC is coupled with EF. EC-EF process can reduce the COD and increase the BOD/COD ratio after 60 min of electrolysis, which leads to increasing the biodegradability of the effluent by 75%. Efficient removal for metal ions is obtained by enhanced precipitation and flotation of the sludge during EC treatment for reuse purpose. The floated and decanted sludge are analyzed in terms of metallic element and their morphology characterized. These materials contained heavy metals which initially exist in the wastewater and are mainly composed by NaCl salt. Free salt sludge shows nanostructured shapes with size of less than 1 nm. Thus, sludge issued of wastewater treatment can be a precursor of nanostructure materials. More, the ratio oxygen/metallic elements is in favor of a form of oxide that approaching Fe2O3. Further work is ongoing in our laboratory to better characterize the obtained sludge in terms of composition, specific surface, catalytic and magnetic properties.