Introduction

Environmental concerns are growing important rapidly nowadays because the fragile Earth equilibrium is being broken due to antropic actions. It is more than evident that the current rate of waste production, exhausting resources, and contamination is not sustainable any more since we are living in a finite planet (Dorf 2001) where mankind must tend to live in a cycle model rather than a linear vision of the environment (Schumacher 1987). This is the philosophy of the well-known 3R: recycle, reuse, and reduce. Modern life is not possible if we live like Earth had no limits, and the presence of such limits is the basis of conservation and ecologism.

Scientific community is also worried about environmental sustainability, and every day, more and more scientists develop cleaner technologies for guaranteeing the legacy we will leave to our children. Many of these initiatives are focused in water management and water and wastewater treatment even for Developing Countries, in a technologically scarce scenario (Chinyama et al. 2012).

Water is known as a universal vector for the planetary chemistry. Almost everything can be dissolved in water and aqueous effluents are the natural ways of disseminating nutrients and poisons (Buzier et al. 2011). Through aquatic paths pollutants can reach living organisms, either the simpliest ones and the most complex animals, even humans (Ying 2006; Halling-Sorensen et al. 1998; Shaul et al. 1991). Taking care of the environment, as well as taking care of the mankind, means caring the water (WHO 2008).

For this task, there are lots of remediation methods focused on polluted water or on drinking water for making it safe for human consumption. One of the main methods used is coagulation. It is a physical process, so it does not involve chemical reactions (Andriamirado 2007) that is intended to destabilize the suspended colloidal matter in the water matrix. This destabilization is due to the electrical charges compensation, so positive-charged pollutants (cationic ones) usually respond to anionic coagulants whereas negative-charged ones do the contrary (Bulatovic 2007). Coagulants are called, therefore, to be anionic, cationic or, in the most favorable cases, amphoteric.

Classical coagulants involved in water treatment are metalic salts such as Al2(SO4)3 or FeCl3. They were widely used above all in drinking water treatment. However, some significant concerns have recently arosen, linking, for example, the use of alum to Alzheimer’s disease (Flaten 2001). This and other environmental problems have pushed scientists to research on new coagulants, mainly based on natural products, to overcome such disadvantages (Sharma and Sanghi 2012).

In this particular vision of sustainability, coagulants can be synthesized from many different raw substances. One of the most promising natural materials are tannins and specifically tannin extracts from Schinopsis balansae, that is, Quebracho colorado. This vegetal species was the main feedstock of tannin extract for a long time, until Acacia mearnsii, black wattle, was industrially used. Tannin extracts are natural astringent products that are widely used for leather tanning (hence their name), but of late many other uses are being found (Pizzi 2008). Their use as coagulant precursors is one of the most interesting capacities tannin extracts seem to present (Beltrán-Heredia et al. 2010)

When talking of natural tannin extracts we are focusing our attention on vegetal water-soluble polyphenolic compounds with an exact chemical composition difficult to determine due to the large amount of impurities they usually contin. Economical reasons encourage scientists to work directly with this raw materials, without purifications. This is usually feasible, as we have reported previously (Beltrán-Heredia et al. 2011a, b, c, d, e, f). Namely, the nature of Quebracho tannins have been thoroughly characterized by specific researchers (Vivas et al. 2004) and it is said that is mainly based on combinations of catechol, resorcinol, and pyrogallol building blocks that provide a large structure where different operating changes can be performed. The feasibility of this raw material for coagulant synthesis is fully demonstrated since it is used as feedstock for commercially available coagulants, such as Silvafloc (Beltrán-Heredia et al. 2009a).

Tannins have been used as a source of novel coagulants because they presented interesting characteristics that make them useful according to sustainability principles (Starkl and Brunner 2004; Muga and Mihelcic 2008). They are affordable and ubiquitous compounds since they can be obtained from a wide variety of barks (Haslam 1989). Alternatively, they are easy to extract and handle (Matthews et al. 1997) and their use does not affect environmental equilibrium because they can be employed in little amounts (Nakamoto et al. 2004). These and other sustainability premisses make tannins optimum candidates for the production of new water treatment agents.

The polymerization of the tannin extract is known to follow a Mannich reaction pattern. This chemical process is well known and we have previously explained it (Beltrán-Heredia et al. 2011a, b, c, d, e, f). Figure 1 shows the mechanism of this reaction, which is namely split off in two steps: (1) the initial formation of the imine and (2) the formation of the Mannich base. As a result of this chemical transformation, an electrically charged coagulant (cationic) is produced and, therefore, can be used in the destabilization of anionic compounds, suspended in water matrices.

Fig. 1
figure 1

Reaction mechanism of aminomethylation for coagulant synthesis. 1 Formation of imine. 2 Formation of Mannich base

Although there are, as we said before, examples of commercial coagulants made with this tannin extract, there are no references of the optimization of the synthesis of such product. Many variables are involved in the production process: from the relative amounts of reagents up to operating variables such as pH, temperature, etc. To the best of our knowledge, this researching field is completely empty, with the exception of our own previous paper (Beltrán-Heredia et al. 2010). This work aims to optimize the operating process of coagulant synthesis from Schinopsis balansae with diethanolamine and formaldehyde according to a specific design of experiments, analyzed following the response surface methodology. An optimum coagulant is obtained and its utility is experimentally confirmed with the removal of detergents and dyes in aqueous effluents.

This paper proceeds in the following way: first we performed a qualitative searching for the most suitable operating range regarding the different working parameters involved in the optimization process (mainly reagents dosages, but also pH level and reaction time). Then, a Design of Experiments was attempted to isolate the best combination of these working parameters. To identify this category, a standard jar-test on a particular dye (Alizarin Violet 3R) was carried out and then the conclusions on this pollutant were extended to the rest of them. Finally, the optimum coagulant product was tested on up to 9 dyes and 8 surfactants. This is the working protocol we followed in previous papers (Beltrán-Heredia et al. 2009b, 2011a, b, c, d, e, f).

Materials and methods

Experimental installations

Coagulant synthesis reactor

For the synthesis of every coagulant, following the specific procedure for each combination (according to the experimental plan in section "Design of experiments"), the experimental reactor consisted of the following:

  • A thermostatic bath equipped with thermocontrol (SELECTA, Tectron Bio, Spain) which adjusted temperature within a range of ±0.5 °C. A manual termomether confirmed this point.

  • A multi-stirrer magnetic device (SELECTA, Multimatic 9N, Spain) that kept the reaction mixture homogeneous with the aid of a teflon-covered magnetic bar.

  • A double-channel peristaltic hydraulic pump calibrated for the specific reagents (Cole Parmer, MasterFlex C/L).

  • Glass beaker reactor (diameter 3.5 cm, height 18 cm).

The whole system is presented in figure 2.

Fig. 2
figure 2

Synthesis reactor experimental installations

Coagulation Jar test

For evaluating the coagulation performace of the synthesized products, they were tested according to a standard protocol which was previously used in other works (Beltrán-Heredia et al. 2011a, b, c, d, e, f). 100 mL of a sample of a known concentration of each contaminant was introduced in a 0.5-L beaker. Subsequently, 1.5 mL of the corresponding coagulant was added and the Jar Test apparatus (JLT4, Velp Scientifica) was programmed to 100 rpm for 2 min, 30 rpm for 60 min. The coagulation process is over after these periods as we reported in previous papers (Beltrán-Heredia et al. 2010).

Buffered solutions

The trials with added pollutant were performed with pH-stable media. To this end, a pH-7 buffer solution was prepared of 1.2 g of NaH2PO4 and 0.88 g of Na2HPO4 in 1 L of distilled water. The pH was then adjusted to 7 with HCl 1 M or NaOH 1 M. All reagents were of analytical grade from PANREAC.

Reagents and model compounds

The synthesis of the tannin-based coagulants involved the following reagents:

  • Tannin extract from Schinopsis balansae (Raoul-Duvall, France).

  • Formaldehyde 37 %, stabilized with methanol (Merck).

  • Diethanolamine solution, analytical purity grade (Aldrich).

Model compounds

According to previous works (Sánchez-Martín et al. 2010a; Beltrán-Heredia et al. 2011a, b, c, d, e, f) we have checked the feasibility of the synthesized coagulants with a model dye. This is Alizarin Violet 3R (C28H20N2Na2O8S2), an anthraquinonic dye with molecular weight equal to 622.6 g\(\cdot\) mol−1. It was supplied by Sigma-Aldrich (USA).

Up to nine diffent dyes, including Alizarin Violet 3R, were considered in the current paper. They are Carmine Indigo (C16H8N2Na2O8S4), Chicago sky blue 6B (C34H24N6Na4O16S4), Palatine fast black WAN (C60H36N9O21Na3S3Cr2), Amaranth (C20H11N2Na3O10), Patent blue V (C27H31N2S2O7Na), Quinoline yellow (C18H13NO5SNa), Remazol Brilliant Blue (C22H16N2Na2O11S3) and Tartrazine (C16H9N4Na3O9S20). Their chemical structures are shown in Fig. 3. All of them were supplied by Acros (USA).

Fig. 3
figure 3

Chemical structures for dyes. 1 Tartrazine, 2 Carmine indigo, 3 Amaranth, 4 Patent blue V, 5 Quinoline yellow WS, 6 Remazol brilliant blue, 7 Alizarin violet 3R, 8 Chicago sky blue 6B, 9 Palatine fast black WAN

Detergents are long-chain anionic surfactants and this chemical family includes a large variety of products. Some of them are polyoxyethylene (3.5) sodium lauryl ether sulfate (SLES, C12H25(OCH2CH2)3.5OSO3Na), sodium dodecylbenzene sulfonate (SDBS, C18H29SO3Na), sodium laurylsulfate (SLS, CH3(CH2)11OSO3Na), sodium dodecyl diphenyl ether disulfonate (SDDED, C35H56S2O7Na2), sodium dioctyl sulfosuccinate (SDSS, C20H37SO7Na), Polyoxyethylene sodium nonylphenol sulfate (SNS, C17H28SO5Na), sodium triethanolamine lauryl sulfate (TEA-LS, C18H40NSO4Na) and sodium lauryl sulfoacetate (SLSA, C14H27SO5Na). All of them were purchased from CHEM SERVICE Inc. (USA). Chemical structures of these surfactants are shown in Fig. 4. These were selected as model compounds for testing the removal ability of this new coagulant, although further studies could include other varieties.

Fig. 4
figure 4

Chemical structures for surfactants. 1 Sodium dodecylbenzene sulfonate (SDBS). 2 Sodium dodecyl diphenyl ether disulfonate (SDDED). 3 POE (3.5) sodium lauryl ether sulfate (SLES). 4 Sodium lauryl sulfoacetate (SLSA). 5 Sodium dioctyl sulfosuccinate (SDSS). 6 Sodium triethanolamine lauryl sulfate (TEA-LS). 7 POE sodium nonylphenol sulfate (SNS). 8 Sodium lauryl sulfate (SLS)

Synthesis of the coagulants

2.5 g of the tannin extract was introduced in the reactor beacker. Subsequently, they were dissolved with a given volume of diethanolamine (DEA) and 10 mL of distilled water. This solution is thermostated at a constant temperature of 30 °C. The polymerization of the coagulant is achieved by adding a given volume of fomaldehyde drop by drop. The entire process usually takes 1 h and the reaction is left in the same conditions of stirring and temperature for 24 h for ageing.

Previous works (Sánchez-Martín et al. 2010b) evidenced the idoneity of such kind of coagulants in the removal of organic compounds from water and wastewater treatment. One of the main advantages we presented in that paper was the fact that no extra tannin content is kept in water after the removal process, so there is no need for further cleaning procedures.

Analytical determination of pollutants in water matrix

Dye concentration was determined by direct visible spectroscopy in a HEλIOS UV/VIS spectrophotometer. According to Lambert-Beer’s law, a direct relationship is established between the absorbance of the sample and the pollutant concentration. Different wavelenghts were used for each colorant.

Surfactant removal was determined by visible spectrophotometry according to a method based on its association with methylene blue (Tôei and Fujii 1977).

Mathematical and statistical procedures

A factorial central composite (CCD) orthogonal and rotatable design was used for the optimization of the quantitative variables involved in the adsorbent synthesis. The CCD analysis was carried out under response surface methodology. Design of experiments section was statistically analyzed using StatGraphics Plus for Windows 5.1 (StatPoint Technologies Inc., 2009).

Results and Discussion

The coagulation process with these kinds of materials is called adsorption-like coagulation (Beltrán-Heredia et al. 2011a, b, c, d, e, f). We have worked on the hypothesis that pollutant removal by coagulation and flocculation process may involve two stages. At first destabilization of colloids, that may be ruled by chemical interactions between coagulant molecules (cationic, positive charged) and pollutant molecules (anionic, negative charged). Then, when the complex coagulant–pollutant is formed, flocs begin to grow by sorption mechanisms. This should be the controlling stage, so the whole process can be simulated as an adsorption phenomenon (Nazaroff and Álvarez-Cohen 2001; Miller et al. 2008).

Design of experiments

It is not possible to predict the combined influence of the different variables on the final response unless specific experimentation is carried out. Although some theoretical approaches can be done, the empirical evidence of the real influence of the operative conditions can be established only through the experimentation. Design of experiments is a statistical procedure focused on detecting these links between the working variables and can reduce significantly the number of experiments, keeping, however, the reliability of the conclusions at a high standard.

Traditionally, researchers have used the experimental method called one factor at a time. Through this approach, it is very difficult to establish the corresponding relationships amongst all the input factors and the output responses. Instead, it is usually accepted this method can be useful in finding predominant variables, but afterwards a design of experiments is mandatory to obtain a probable optimum response. It offers a better alternative to study the effect of variables and their response with minimum number of experiments (Montgomery 2001). This methodology was widely used in chemical processes (Beltrán-Heredia et al. 2009b) and offers a powerful tool for evaluating the intrinsic relationships between variables properly.

As we have reported in previous works (Beltrán-Heredia et al. 2009b), the collected data must be analyzed in a statistical manner using regression. Accordingly, the test factors must be coded as shown in Eq. (1):

$$\chi_i=\frac{X_i - X_i^x}{\Updelta X_i},$$
(1)

where χ i is the coded value of the ith independent variable, X i the natural value of the ith independent variable, X x i the natural value of the ith independent variable at the center point, and \(\Updelta X_i\) is the value of the step change.

Since we have a large number of experimental variables, we have selected a factorial central composite design which included 8 replicates of the central value. It involves the use of a two-level factorial design with 2k points combined with 2k axial points and n center runs, k being the number of factors. n is considered to be 8 and the two variables were the corresponding amounts of reagents. The working range for each one is presented in Table 1. The whole list of experiments included 16 trials with different combinations of each factor.

Table 1 Working parameters in the design of experiments

For evaluating the concomitant influence of the two variables, each coagulant inside the list of 16 combinations was tested on Alizarin violet 3R removal, according to the standard conditions of pH 7, 20 °C, 0.1 L of sample volume with an initial concentration of 100 mg L−1 of pollutant and 1.5 mL of coagulant. These experimental conditions were assumed according to previous screening experiments (data not shown) which showed the suitability of this working range. The performance trials were replicated three times and the average value of dye removal was retained as the consistent data for the DOE.

The evaluation of the optimization stage was made on the basis of removal efficiency (percentage removal of dye). Up to 5 effects (including the pure variables and the interaction between them) are considered in this model. The significativity level was set up at 0.05 and this is the criteria for assigning the significant ones, which were three of them. The adjusted correlation factor r2 was above 85%. Non-linear polynomic regression is carried out by taking into account the general Eq. (2) for data adjustment:

$$Y = b_0 + \sum_{j=1}^{k} b_j \chi_j + \sum_{i\neq j=1}^{k} b_{ij} \chi_i \chi_j + \sum_{j=1}^{k} b_{jj} \chi_j^2$$
(2)

where Y is the predicted response, b0 the offset term, b j the linear effect, b ij the first-order interaction effect, b jj the squared effect, and k is the number of independent variables.

In addition, there are no autocorrelation evidences since Fig. 5 does not show any pattern. This is a requirement in the design of experiments; moreover, conclusions raised from the experimental work would not be reliable if any kind of replicability pattern would have been found out. This figure shows the randomization of the errors, alternatively placed on both sides of 0 level. The randomization of the design was effective and an adequate adjustment in experimental data is observed therefore.

Fig. 5
figure 5

Radom disposition of residuals in design of experiments

A graphical expression of this ANOVA test may be the Pareto graphic (Fig. 6). Bars represent the standarized effects of each involved factor, considering them as the initial effect and the interactions between them. Nonfilled bars are a graphical representation of positive-affecting factors, such as the dose of reagents. This means that this factor appears in the expression 2 behind a positive sign. On the other hand, filled bars represent negative-affecting factors. The vertical rule stands near to 2 and has to do with the signification level of ANOVA test, which is equal to 88 % of confidence. Bars trespassing the vertical rule are inside the signification region, while bars behind it are not statistically significative. As can be seen, there are 3 significative factors, this means the experimental design explains adequately the synthesis and the influences of each parameter can be correlated to the effectiveness in removing Alizarin violet 3R.

Fig. 6
figure 6

Pareto graphic. Coded values

Pareto graphic slightly offers an idea of the interaction between variables, which is shown in the bar AB in Fig. 6. This bar does not reach the significativity limit, presented by the vertical rule. Specifically, Fig. 7 shows this aspect. As can be observed, the lines are not crossed, which means there is no interaction between variables. Moreover, both of them present a similar influence in the final response, as Fig. 8 depicts (main effects, graphic).

Fig. 7
figure 7

Interaction of variables. Coded values

Fig. 8
figure 8

Main effects. Coded values

The most important graphical representation in the RSM is the surface graphic (Fig. 9). It plots Eq. 2 and allows to evaluate from a qualitative point of view how the behavior of the whole studied system is. As can be appreciated, the response is a quite convex surface inside the studied region, where the working variables rule in a very similar way. As DEA increases, the response variable tends to grow up. Similar behavior is presented by the other variable formaldehyde, and almost in the same level. Since there is no interaction between both variables, the first one does not affect the second one, and the optimum combination for these reagents seems to be in the positive extreme of the working range, that is, 1.41 and 1.41 for DEA and formaldehyde dose (39.1 and 8.5 mL respectively). This point corresponds to the maximum dye removal, which is equal to 62 %. This is experimentally confirmed.

Fig. 9
figure 9

Response surface in design of experiments. Coded values

Preliminary performance of the optimum coagulant with dyes and surfactants

Once the optimum coagulant is identified, the feasibility of such product must be checked out with different polluted wastewater samples. This is the scope of two different screenings on dye and surfactant solutions. Although other target variables would give different results for the optimum combination of reagents, this was selected based on the DOE settings and on the fact that these are some of the most ubiquitous pollutants in water.

Final water quality is evaluated basing uniquely on the specific pollutant removal. This was decided according to the fact that we are dealing just with simulated wastewater samples. Further studies should include the use on real industrial wastewater. Previous papers (Sánchez-Maŕtin et al. 2009, 2010b) included some specific considerations on treated water quality and the experimental data indicated no quality decrease in other parameters, such as BOD5, COD, oxidizability or polyphenol content.

Dyes

The first screening is carried out on 9 dyes, with completely different chemical structures. As can be observed from Fig. 10, there exists a wide variety of efficiency levels within the group. All of them were treated in the same conditions: 1.5 mL of the optimum coagulant and 100 mg\(\cdot\) L−1 in a 100-mL total volume. Anthraquinonic dyes, such as Alizarin violet 3R or Remazol brilliant blue, reached significantly high removal efficiency levels, up to 60 %, whereas the coagulation reached by other chemical groups is not so clear. As a matter of fact, azoic dyes such as Chicago Sky Blue, Palatine Fast Black, Amaranth or Tartrazine presented not a clear tendency: the first two ones were removed up to 90 % but the rest presented a removal response almost null. This high specificity makes the coagulant a selective treatment agent, and the reasons for this may be found in the chemical structure of the dyes or even in their molecular weight. Amaranth and Tartrazine presented molecular mass of 500–600 g per mol, whereas Chicago sky blue 6B or Palatine Fast Black WAN presented 1,000–1,500 g per mol. For the rest of chemical groups (triphenylmethane, indigoid or quinoid) the coagulation efficiency is not very high.

Fig. 10
figure 10

Preliminar screening for dye removal

Surfactants

On the other hand, Fig. 11 shows the removal efficiency of this optimum coagulant on 8 different surfactants. As can be observed, this percentage presents a wide range of variability, although the entire experimental series were made in the same conditions: 1.5 mL of coagulant and 50 mg L−1 of surfactant, 100 mL of total volume. There exists a probable behavior pattern when the removal efficiency is compared with the chemical structures showed in Fig. 4: low coagulant efficiency is linked to linear structures (without oxygen functional groups, such as ether or carboxylate). Aromatic rings, such as SDBS or SDDED, confer the surfactant a high affinity to the coagulant, as well as those with ether groups. These can be removed within 50–70 %. An intermediate situation is presented by linear detergents with carboxyl groups in the long chain, that is the case of SLSA or SDODS, which showed an average removal efficiency between 25 and 40 %. The natural origin of the coagulant and the wide variety in the coagulation efficiency (from less than 10 % up to almost 70 %) are evidence of the interaction of many variables, not only the electrical affinities.

Fig. 11
figure 11

Preliminary screening for surfactant removal

Conclusions

Tannin-based coagulants can be a source for new water and wastewater treatment. Specifically, tannins from Quebracho colorado bark (that is, Schinopsis balansae) presented a promising feasibility as raw material for the synthesis of such coagulants, by means of diethanolamine and formaldehyde. The polymerization process can be optimized according to different amounts of reagents, giving the best combination at the maximum amounts of reagents. The optimum coagulant agent was tested on 9 dyes and 8 surfactants. The results were very interesting and the coagulant gave a high efficiency rate either in colorants or detergents. Further studies must be developed to generalize these results in a pilot plant or with other contaminants. Moreover, the experimental work with other kinds of tannin extracts or even including the chemical extraction itself in the water and wastewater treatment could be developed with the scope of minimizing costs and maximizing the water treatment possibility.