Introduction

The pulse increment, regurgitating, stun, cyanosis, jaundice, quadriplegia, and tissue defects in people are caused by the overuse of dyes [1,2,3,4]. To minimize the effects of these dyes from aquatic ecosystems, the researchers required to combine organic–inorganic materials to obtain interesting elimination properties [5,6,7,8,9]. Moreover, the elaboration of materials to create composites able to eliminate these hazardous dyes was the objective of the scientific community. For this, the preparation of composite beads and chitosan-g-poly (acrylic acid)/vermiculite hydrogel composites were used effectively in the elimination of methylene blue from aqueous solutions [10, 11]. This cationic dye was used in several fields such as paper, hair, cotton; and strainers for medicinal surgery [12, 13], and also known by its dangerous effects such as nausea, dizziness, cyanosis, jaundice and tissue necrosis in humans [14]. Regarding the anionic azo dyes, known by their metabolism, carcinogens, mutagens and their potential danger of bioaccumulation and their exposure causes allergy problems [15]. For these effects, hydrogels composites were enhanced to remove Congo red anionic dye [16, 17]. As can be seen, the morphological, physical and structural form of adsorbents can play an important role in the adsorption behavior of these hazardous and harmful dyes. Therefore, it is important and necessary to develop an efficient, inexpensive and environmentally friendly material able of treating these dyes.

Bentonite is hydrous aluminium phyllosilicate clay which is a good support of biopolymers. The low cost and eco-friendly are the most important upsides of these solids. The negative charge on its surface due to the isomorphous substitution of Si4+ in tetrahedral layers by Al3+ and in octahedral layers by Mg2+, giving them a various properties [17, 18]. The specific surface area, high-cation exchange capacity, thermal and chemical stability, provided several structural characteristics, which reinforced them [19, 20], as provided good adsorption [21, 22]. Furthermore, due to their 2:1 arrangement [23], Bentonite can expand and contract the interlayer space while preserving two-dimensional crystallographic integrity. A few researchers have used these solids alone for filtration and dye removal, given that Zhao et al. used Halloysite as an effective adsorbent nano-material for the removal of both types of cationic and anionic dyes and also as a water filtration system [24]. Researchers multiply efforts to combine these functional characteristics with inorganic or organic substances to preserve our environment [25, 26].

Agar is a low-cost biodegradable and nontoxic polyanionic biopolymers with a large number of oxygen-containing functional groups (see Scheme1), these favorable abundant groups can react via a dehydration reaction and/or the formation of hydrogen bonding. In addition to this, it can be enhanced the composite hydrogel by stabilizing the sheets of clay minerals used. For these describe properties, to build the 3D microstructure the agar was chosen to enhance the stabilization of the bentonite sheets and to remove a large amounts of polluted water in aqueous solutions. Indeed, it is suspected that the abundant oxygen (OH) groups will react by both a hydration reaction and a hydrogen bond for composite hydrogel formation [27,28,29].

Scheme1
scheme 1

Agar structure

For mentioned reasons, we have prepared composite hydrogel PVA/Agar/Bentonite (PAB) using PVA polymers, layered aluminosilicate material, and agar as precursors (Fig. 1). The clay is expected to offer raised stability and adsorption capacity for water treatment applications. To our cognition, this is the first report using PVA, an Algerian natural clay and agar for the preparation of a composite hydrogel for the removal of cationic and anionic dyes from wastewater. In this line of work, the composite hydrogel PAB was synthesized to evaluate their adsorption and purification properties using static (batch adsorption) and dynamic (column filtration) procedures. The Effects of different hydrogel amounts and different CR and MB dye concentrations were also examined.

Fig. 1
figure 1

Preparation procedure of composite hydrogel PAB, the image inside is the physical transformation of the hydrogel by cooling or heating

Materials and Methods

Materials

The selected and treated bentonite obtained by deposits of Maghnia west of Algeria. The structure of bentonite was confirmed by X-ray diffraction (XRD) (see Figure S1 in the supporting information data). Agar bacteriological grade purchased from Biochem. Polyvinyl alcohol (PVA, Mw ≈ 130,000) was obtained from Aldrich and deionized water was used for all preparations. The characteristics of the two dyes used, the Congo red as anionic and the Methylene blue as cationic dyes were presented in the Table S1 (see the Supporting data section).

Preparation of PAB Composite Hydrogel

Composite hydrogel (PAB) was prepared using the following procedure which is schematized in (Fig. 1). 1 g of the selected Bentonite having a cation exchange capacity (CEC) of ~ 79 meq/100 g [30, 31], was dispersed in 50 mL of deionized water and stirred overnight, then sonicated at the frequency of 50 kHz for 10 min. 1 g of PVA solution was prepared separately by dissolving in 25 mL of deionized water at 60 °C. After that a 2 wt% of the agar solution was separately prepared at 85 °C. The PVA/Bentonite solution was mixed with the agar solution and stirred at temperature of 85 °C with stirring speed of 500 rpm for 4 h then sonicated for 10 min.

Characterization Technique

X-ray powder diffraction patterns were recorded in the 2θ range of 2°–70° at a scan rate 2°/min, on a Philips diffractometer model PW 1830, with Ni-filtered CuKα (λ = 1.5406 Å) radiation operated at a tube voltage of 40 kV and a tube current of 30 mA. The Fourier Transforms infrared (FTIR) spectra were recorded between 400 and 4000 cm−1 on a JASCO 4100 spectrometer. To study the morphology of composite hydrogel PAB, the HIROX SH 400 M SEM–EDS BRUKER scanning electron microscope was used. The sample was coated with carbon and attached to sample holders with carbon tape. In order to follow the evaluation of the thermal stability of hydrogel, thermal analysis (TG, dTG and DTA) was performed in air using a Start Pyris DTA-TGA analyzer, the sample was heated at 1000 °C with heating rate of 10 °C/min. A specord 200 plus (analytik jena) UV–Vis spectrophotometer was used to measure the absorbance of the pollutants concentration. The surface charges of the prepared materials was also measured by zeta potential using Zeta-sizer (Nano-ZS model, Malvern Instruments, England) at pHs values of 4, 6, 8, 10, and 12.

Adsorption Isotherms

Firstly, a constant amount of adsorbent (100 mg) was mixed in 100 mL of MB or CR dye solution. The initial concentrations were varied from 10 to 1000 mg/L for the MB dye and from 10 to 750 mg/L for the CR dye at fixed pH of 4.5 and 6.5, respectively. The mixture was stirred at a temperature of 25 ± 1 °C under stirring speed ~ 200 rpm. All adsorption experiments were repeated twice to ensure the accuracy of the data obtained. The quantities of MB and CR retained were obtained using the following equation:

$${q}_{e}= \frac{\left({C}_{0}-{C}_{e}\right).V}{m}.$$

Kinetic Studies

Series of CR and MB dyes solutions with known concentration were prepared from a stock solution of 1 g/L for each dye. The experiments were realized at the conditions of temperature of 25° ± 1 °C and without adjusting the pH values of dyes. The values of MB and CR dyes were close to 4.5 and 6.5, respectively. The removal studies were carried out in 100 mL Erlenmeyer flasks using 100 mg of adsorbent with 100 mL of dye solution (100 mg/L) at ~ 200 rpm on a magnetic stirrer. At the end of the adsorption, the supernatants were recovered by the centrifugation and analyzed by spectrophotometer (UV–Vis Specord 210 Analytik Jena). The influence of the contact time, adsorbent dosage (see Fig. 2S in Supplementary information), and concentration, was evaluated. The absorbed amounts of dyes were measured on the basis of the difference in the concentrations of MB and CR dyes in the aqueous solutions before and after adsorption according to the following equation:

Fig. 2
figure 2

Powder XRD patterns of pure Agar and composite hydrogel PAB

$${q}_{t}= \frac{\left({C}_{0}-{C}_{t}\right).V}{m}.$$

Hydrogel Column Application

In this study approximately 0.25–2 g of hydrogel composite was placed in syringes with defatted cotton at the bottom. The initial concentration used for each dye varies between 20 and 100 mg/L, in which were added at the top of the columns and this for each syringe which contains a defined mass of composite hydrogel. In total, ten syringes were used containing different masses of composite hydrogel and the concentrations of dye from 20 to 100 mg/L. The clear outlet solution from the bottom of the column was observed with a drop rate of one drop every ~ 25 s under atmospheric pressure with the phenomenon of gravity at the temperature of 25 ± 1 °C. The evaluation of the concentration of the outlet solutions was followed by a UV–Vis spectrophotometer. To study the effect of the dye concentration, the same steps described above for the preparation of the columns were carried out but by varying the concentration of the dyes in the range of 100 to 300 mg/L and fixing the mass of hydrogel composite PAB at 200 mg.

Kinetic and Isotherm Models

Equilibrium isotherms and adsorption properties describe the adsorbate–adsorbent interactions system and supply complete information about the type of the interaction. For this work, non-linear forms of four different adsorption isotherms notably Langmuir–Freundlich, Redlich–Peterson, Langmuir and Freundlich models were employed to obtain conclusive information on the adsorbent surface characters and its affinity to MB or CR molecules.

Modeling of adsorption isotherm data is important for predicting and comparing adsorption performance. Three-parameter isotherm models are applied in this study available for modeling adsorption data of MB and CR pollutants [7, 32]. The Langmuir–Freundlich (L–F) isotherm is a combination of the Freundlich and Langmuir models used to predict heterogeneous adsorption systems and also to circumvent limitation of the increasing adsorbate concentration associated with the Freundlich model. At low concentrations of adsorbate it is reduced to Freundlich isotherm; while for a high concentration a monolayer adsorption capacity characteristic of the Langmuir isotherm. The Redlich–Peterson (R–P) isotherm is a combination isotherm featuring the Langmuir and Freundlich isotherms. It is used a represent adsorption equilibrium over a wide range of adsorbate concentration. Its versatility allowed its use either in homogenous and heterogeneous systems.

To better understand the adsorption behavior, two nonlinear kinetic models are used to test the experimental data. The pseudo-first-order (PFO) and pseudo-second-order (PSO) models were used to evaluate the adsorption of MB and CR dyes on composite hydrogel PAB. Pseudo-first-order and pseudo-second-order Lagergren models are given in Table 1. Where qt (mg/g) is the amount of adsorbed dye on the adsorbent at time t (min), qe (mg/g) is the equilibrium adsorption of the pseudo-first-order or pseudo-second-order adsorption, k1 (min−1) is the pseudo-first-order rate constant, and k2 (g/mg min) is the pseudo-second-order rate constant.

Table 1 The Kinetics and isotherms models with their nonlinear forms

Error Functions Application

Error functions are statistics that quantify the error between the model parameters and the experimental values and else by to evaluate the validity and define the optimal fit relation of these models. The mean squared error (MSE) is calculated by the following equation [37, 38]:

$$MSE= \frac{1}{n}\sum_{i=1}^{n}({q}_{\mathrm{c}\mathrm{a}\mathrm{l}}-{q}_{\mathrm{e}\mathrm{x}\mathrm{p}}{)}^{2}$$

The sum of absolute error (EABS) is calculated using the following equation:

$$EABS= \sum_{i=1}^{n}\left|{q}_{\mathrm{e}\mathrm{x}\mathrm{p}}-{q}_{cal}\right|$$

where qcal and qexp refer to the calculated and experimental data and n is the total number of data points.

Results and Discussion

Characterizations of Composite Hydrogel PAB

XRD Analysis

XRD patterns of the bentonite, pure agar and PAB composite hydrogel, measured between 2° and 70°, are shown in Fig. 2. The X-ray diffraction (XRD) pattern of bentonite exhibited reflection (00l) corresponding to the basal spacing, d001, of 12.60 Å characteristics of the sodic form (see Fig. 1S in the Supplementary data) [39]. The X-ray diffraction pattern of PVA/bentonite sample show that the bentonite was intercalated with PVA. The basal spacing d001 of bentonite expands from 12.60 to 14.29 Å. This increase is thought to occur by absorption of PVA over the surface of the clay sheets (see Fig. 2S in the Supplementary data). The X-ray diffraction pattern of pure agar showed the presence of two-diffraction peaks at 2θ values of 12.90° and 19.04° characteristic to the hydrated crystalline structure and to the existence of an amorphous structure, respectively [28]. The XRD pattern of composite hydrogel PAB showed that the clay peaks position does not change but their intensity was reduced, suggesting that during the reaction with PVA polymer is not completely intercalated between the interlayer space of bentonite, probably the majority of polymer was adsorbed only at the clay surface which provides a basal spacing of d001 = 15.21 Å (see the Supplementary data). The two characteristics peaks of pure agar are observed in the composite hydrogel, which signify their crushing by agar during physical cross-linking process, it may be related to their composition with the biopolymer because agar has an amorphous nature which can probably affect hydrogel crystallinity. To sum up, the composite hydrogel raised a decrease in crystallinity probably attributed to the presence of a high number of hydrogen bonds in the agar matrix.

FTIR Analysis

The characteristics functional groups of pure agar, PVA, bentonite, and prepared PVA hydrogel sample were characterized by FT-IR spectrum (Fig. 3). The FTIR spectrum of pure agar contains a broad band at 3323 cm−1 related to the stretching vibration of –OH, also indicating that agar contains large amounts of hydroxyl groups. The adsorption bands located at 2929, 1656, and 1367 cm−1 correspond to the C–H stretching vibration of –CH3 and –CH2 groups, and the stretching vibration of the formation bonds of (N–H) and (C=O) groups, respectively [40, 41]. The vibration bands of bentonite are described as follows: the OH stretching band observed in the region of 3631–3444 cm−1, the Si–O–Si stretching bands located at 1091–1039 cm−1, and the Si–O stretching vibration band located at 795 cm−1 [39, 42,43,44]. The FTIR spectrum of PVA polymer revealed a broad peak around 3425 cm−1 indicating stretching of hydroxyl groups and bands at 2942 cm−1 and 2885 cm−1 due to C–H stretching, similar as was presented in previous works [45].

Fig. 3
figure 3

FTIR spectra of pure Agar, PVA, Bentonite and composite hydrogel PAB

The infrared spectrum of PAB hydrogel shows the presence of numerous vibration bands characteristic of agar, PVA, and bentonite as well as new absorption bands appeared. The disappearance of band at 3614 cm−1 belonging to the Si–OH groups in clay as well as the decreasing relatively in the transmittance of OH stretching vibration band located at 3320 cm−1 compared to original materials probably due to the formation of hydrogen bonding between clay and polymers [10,11,12]. Additionally, the presence of elongation vibration bands in the Si–O–Si bond at 1116 cm−1 is characteristic to the bentonite [13, 14], the bands at 3942 cm−1 and 2885 cm−1 belonged to the stretching vibration peaks of CH3 and CH2 [15], respectively. To sum, the PVA, bentonite, and agar were successfully compounded to form the composite hydrogel through physical cross-linking process with the dominant interaction through hydrogen bonds forces.

SEM Analysis

Scanning electron microscopy is probably the most distributed analytical technique to characterize the physical properties such as morphology, shape, size or size distribution of materials at the microscale. As shown in Fig. 4, it was observed that the surface morphology of the hydrogel reveals no phase separation between the materials used, i.e. polymer and bentonite in the composite hydrogel, suggesting that the bentonite had been successfully immobilized on agar matrix. In addition, the morphology of the composite hydrogel surface is compact and less smooth [46, 47]. The surface of the composite is uniform, embedded in the matrix with some aggregation of clay, the clay particles are relatively well dispersed in the biopolymer. As summary, this result can be attributed to the fact that the long chains of the polymer could reduce the interaction between the hydrophilic (–OH) groups and improve the compatibility of the clay with the agar matrix.

Fig. 4
figure 4

Scanning electron micrographs of PAB composite hydrogel; (a) showing transition of PAB hydrogel upon heating and cooling

Thermal Analysis

Thermo-stability of the PAB hydrogel was evaluated by (TG, dTG and DTA) analysis, the thermal-gravimetric curves are shown in Fig. 5. As can be seen, the first degradation stage occurs prior 210 °C with a weight loss of about 10.22% for hydrogel sample which is probably attributed to the evaporation of free and bound water. In addition, the possibility for the polymer to melt at this temperature can probably be another reason for this first degradation step. The second degradation stage localized between 210 and 590 °C with a weight loss 66.56% attributed to the organic part of composite hydrogel that could belonged to polymers evaporated, as well as dehydroxylation and decarboxylation of organic reagents. The last degradation with a weight loss of about 1.14% is due to the residues containing bentonite as referred by various authors [48]. As shown, the PAB hydrogel has revealed higher thermal stability [49, 50], probably due to the interactions and physical crosslinking, these interactions which were created between inorganic–organic substances.

Fig. 5
figure 5

Thermograms (TG, dTG and DTA) of PAB composite hydrogel sample

Zeta Potential Measurement

In order to determine the charge and to understand the influence of pH on the hydrogel surface exhibited in Fig. 6, the zero point charge of the prepared hydrogel composite was determined by measuring the zeta potential at different pH values. As expected, the zeta potential of the composite sample is always negative when the pH increases from 4 to 12. This result shows the role of the OH groups present in the hydrogel surface which increases the negativity of the surface, either by the silanol groups of the clay (Si–OH) or by the hydroxyl groups of the polymers [51, 52].

Fig. 6
figure 6

Zeta potential curves of composite hydrogel PAB

Adsorption Study

Adsorption Kinetics

The kinetics adsorption of MB and CR dyes onto composite hydrogel PAB was evaluated and the results were given in Fig. 7. The results show a rapid adsorption of MB and CR dyes on the composite hydrogel PAB, suggesting a strong affinity between the dye molecules and the surface of the hydrogel. The time of adsorption equilibrium of MB and CR dyes is 2 and 1 day, respectively. It is clearly observed that the MB dye was rapidly adsorbed on the agar surface due to the electrostatic forces and also in the clay galleries. While, for the case of CR molecules, the adsorbent sites are saturated quickly due to the hydrogen bond. The pseudo-first and pseudo-second order models were employed to correlate the kinetics points. As can be seen in Table 2, the regression coefficient R2 of pseudo-second-order model properly depicts the adsorption process of the MB and CR dyes. The calculated adsorption capacities of MB and CR were determined using the nonlinear pseudo-second-order equation which is found to be 107.15 and 42.05 mg/g, respectively. In addition, the calculation of MSE and ABSE values using the error functions was reinforce this opinion.

Fig. 7
figure 7

Nonlinear adsorption forms of Pseudo-first-order and Pseudo-second-order models for MB and CR dyes onto composite hydrogel PAB (conditions: C = 100 ppm, V = 100 mL; mass of composite = 100 mg; T = 25 + 1 °C; pHMB 4.5 and pHCR 6.5)

Table 2 Pseudo-first-order and pseudo-second-order model parameters and correlation coefficients for MB and CR adsorption onto composite hydrogel PAB

Adsorption Isotherms

The adsorption isotherms of MB and CR dyes onto composite hydrogel PAB are given in Fig. 8. The adsorbed amount of both dyes increased slowly with increasing the initial concentration leading to an adsorption isotherm type H which is characteristic of monolayer adsorption due to the strong adsorbate–adsorbate interaction. In addition, the experimental data were analyzed by fitting them to the nonlinear forms of Langmuir–Freundlich, Redlich–Peterson, Langmuir and Freundlich models (see Table 1). According to the isotherms parameters as presented in Table 3, the removal of MB dye using the composite hydrogel PAB was governed by the nonlinear Langmuir–Freundlich model, which is correlates with the calculated of R2, MSE and EABS values. For CR dye, the adsorption behavior was fitted well by the nonlinear form of Langmuir isotherm model, with the high coefficient of determination and the less errors values.

Fig. 8
figure 8

Non-linear forms of Langmuir–Freundlich (a), Redlich–Peterson (b), Langmuir (c) and Freundlich (d) models for MB and CR dyes adsorption onto composite hydrogel PAB

Table 3 Adsorption isotherms parameters for MB and CR dyes onto composite hydrogel PAB

Hydrogel Column Study

The Filtration Study of CR and MB Dyes Using Composite Hydrogel PAB Column

The effect of adsorbent amount and initial dyes concentration using columns process were evaluated. Figures 9 and 10 show the filtration columns and the absorption spectra of the outlet solutions, respectively. As can be seen, in most of the columns, the color of the output solutions was completely disappeared. Except in the case of anionic CR dye at adsorbent masse of 0.25 and 0.5 g of composite PAB, the filtrate was light red corresponds of the concentrations of 6 mg/L and 8 mg/L, respectively. The effect of initial concentrations of the CR and MB dyes were varied in the range of 100–300 mg/L using 20 mL of each dye solution and 200 mg of composite hydrogel PAB. The results showed that the filtrate concentration of MB and CR dyes is kept below 0.1 mg/L even when the dyes solutions volume reaches at 20 mL. It means that the PAB composite hydrogel column can successfully remove CR and MB dyes from the wastewater.

Fig. 9
figure 9

Elimination of dyes from water using filtration columns procedure, (a and b) pictures of the apparatus used for filtration MB (a) and CR (b) solutions (Pictures were taken during the study)

Fig. 10
figure 10

UV–Vis absorbance spectra of dyes solutions, (a) at PAB hydrogel amounts (CR, 100 mg/L and 20 mL), (b) at CR dye concentrations (200 mg and 20 mL), (c) at PAB hydrogel amounts (MB dye 100 mg/L and 20 mL), (d) at MB dye concentrations (200 g and 20 mL)

The enlargement of the filtration columns images and the absorption spectra are presented in Fig. 11. The objective was to see well the drops after filtration for each dye. It is clear from the bottom of the column that the color of the outgoing drop visually gives the difference in color before and after the filtration process. This also confirms the effectiveness of the removal of MB and CR dyes by the composite hydrogel PAB, using the filtration column method.

Fig. 11
figure 11

Elimination of MB and CR dyes from water by filtration columns process. a Images of the apparatus used for filtration and the solution of MB and CR dyes, condition (concentration: 100 mg/L and masse of hydrogel: 100 mg). b Absorption spectrum of MB CR solutions before and after filtration process

Comparative Study

Moreover, according to the adjustment and the kinetic study, the composite hydrogel PAB exhibited a maximum adsorption capacity (qmax) of 107.15 mg/g for the adsorption of MB, which is very important compared to the others adsorbents reported in the literature (Table 4). The high capacity with rapid adsorption kinetics implies that the composite hydrogel adsorbent is highly competitive as an effective adsorbent for cationic dyes applications.

Table 4 Comparison of the maximum adsorption capacity of PAB hydrogel adsorbent with other composite adsorbents reported in the literature

Adsorption Mechanism

The fixation of anionic and cationic dyes is probably linked to the presence of the various functional groups. The influence the adsorption capacity of these pollutants provided various adsorbate-adsorbent interactions such as Hydrogen bonding [61], electrostatic interaction [62], π–π stacking [63], and Van der Waals forces [64]. In the present work, Hydrogen bonding plays a significant role (see Fig. 12). Hence, for both dyes which have mobile hydrogen atoms capable of forming bonds with Si–O and OH groups of composite hydrogel PAB. In the case of the anionic CR dye adsorption, hydrogen bonding force is preponderant. Compared to cationic MB dye and the negative surface charge of composite hydrogel (confirmed previously by zeta potential measurements), to give an increase of adsorption efficiency indicating the influence by electrostatic interaction.

Fig. 12
figure 12

Plausible mechanism for interaction of CR and MB dyes with composite hydrogel PAB

Conclusions

The composite hydrogel PAB was successfully prepared via self-assembly method, for removal and filtration polluted water. Bentonite participated in the establishment of hydrogel network, leading to their homogeneous dispersion in the agar matrix. The composite hydrogel demonstrated higher adsorption capacity for cationic MB dye. The adsorption kinetics of dyes onto the composite hydrogel followed the nonlinear form of pseudo-second-order model with adsorbed theoretical quantities of 107.15 and 42.05 mg/g for MB and CR dyes, respectively. The equilibrium data were fitted well to the nonlinear form of Langmuir–Freundlich model for MB dye and the nonlinear form of Langmuir model for CR dye, which were confirmed with high R2 and the less error functions values. The hydrogen bonding plays an important role in this adsorption mechanism, due to the presence of mobile hydrogen atoms in both pollutants which are able to form bonds with the Si–O and OH groups of the hydrogel composite. The mechanism of adsorption of the anionic CR dye is dominated by this force. For the cationic MB dye, the negative surface charge of the composite hydrogel introduces electrostatic interaction forces. The column filtration process was shown promising results for eliminated both cationic and anionic dyes. The morphology of the PAB composite hydrogel promotes the removal of dyes by keeping the filtrate solutions concentration below 0.1 mg/L even when the volume of the dye solutions reaches to 20 mL. This means that the composite hydrogel PAB column can be successfully remove the CR and MB dyes from the wastewater.