Abstract

In this study, an efficient biosorbent was developed from deoiled carob seeds, a agroindustrial waste. The biosorption efficiency was evaluated for cadmium and cobalt ions removal from aqueous solution under various parameters such as treating agent, solution pH, biosorbent dosage, contact time, initial metal ions concentration, and temperature. The effect of some major inorganic ions including Na+, K+, Ca2+, Mg2+, and Al3+ on the biosorption was also established. Based on this preliminary study, four independent variables including solution pH, biosorbents dosage, initial metal concentration, and treating agent were chosen for the optimization of the process using full-factorial experimental design. It was found that chemical pretreatment of the raw deoiled carob seeds with NaOH strongly enhances its biosorption potential. Thus, the optimal conditions for high biosorption of cadmium(II) and cobalt(II) were achieved at pH of 6, biosorbent dosage of 1 g/L, and initial metal concentration of 50 mg/L. The biosorbents were characterized by Fourier transform infrared spectroscopy (FT-IR), scanning electron microscopy (SEM), energy dispersive X-ray (EDX), Boehm titration, and the point of zero charge (pHPZC).

1. Introduction

Heavy metal pollution imposes ecological and public health problems according to hazardous and irrecoverable effects of metal ions on the environment and aquatic ecosystems [1]. Besides, the toxic and harmful effects to organisms living in water, heavy metals also accumulate throughout the food chain and may affect human beings [2]. In this way, the removal and recovery of heavy metals from aqueous effluents before being disposed in the environment is required [3].

Various methods have been used to remove heavy metal ions such as chemical precipitation [4], membrane filtration [5], ion exchange [6], solvent extraction [7], flotation [8], and electrochemical treatment [9]. Among all these mentioned methods, sorption is an effective and eco-friendly method for the removal of heavy metal ions from wastewaters due to its simple design, easy operation handling, and availability of different sorbents with large efficacity to remove a wide range of heavy metals [1012]. Activated carbons are widely used as adsorbents in wastewater treatment because of their high surface areas and active functional groups, but their high cost inhibits sometimes their use [13]. Therefore, there is a need to develop other biosorbents from alternative low-cost raw materials for the same role as activated carbon. Recently, low-cost precursors have become the focus of researchers for example, chitosans [14], bark of Pinus elliottii [15], Jatropha curcas [16], sugarcane bagasse [17], Eichornia crassipes [18], coconut [19], agricultural peels [2022], sunflower stalks [23], raw carob shells and chemically treated carob shells [24], Diplotaxis harra, and Glebionis coronaria L [25].

The aim of this study is to assess the applicability of chemically treated deoiled carob seeds for the removal of cadmium(II) and cobalt(II) ions from aqueous solution. Biosorption studies were carried out under various parameters such as solution pH, biosorbents dosage, contact time, initial metal ions concentration, and temperature. The biosorption kinetic data were tested by pseudo-first-order and pseudo-second-order kinetic models. The equilibrium data were analyzed using Langmuir and Freundlich models. This paper also discussed the combined effect of the most influencing parameters, which are solution pH, biosorbent dosage, concentration of the solution, and the treating agent. Full-factorial experimental design with two levels (24) and surface response methodology were used to acquire the optimal parameters for high removal of Cd(II) and Co(II) ions.

2. Experimental

2.1. Materials

All the chemicals used in the preparation and the biosorption studies were of analytical grade. Cd(NO3)2·4H2O (98%), Co(NO3)2·6H2O (98%), NaCl (99.5%), Al(NO3)2·9H2O (≥98%), HCl (37%), Na2CO3, and NaHCO3 were obtained from Sigma-Aldrich (Germany). Mg(NO3)2·6H2O (97%) was provided from SDS (France), Ca(NO3)2·4H2O and HNO3 (65%) from Scharlau (Spain), and NaOH (98%) was provided from Merck (Germany).

2.2. Preparation of the Biosorbents

The deoiled residue was obtained as a by-product from the hydrodistillation process of carob seeds from the region of Khenifra in Morocco. The biomass was repeatedly washed with demineralized water and then oven dried at about 120°C for 24 h min in order to remove excess moisture. The dried biomass was then grounded using mortar and pestle and sieved to get a size fraction lower than 160 µm, referred as Raw-seeds. For the chemical treatment, 10 g of the Raw-seeds was treated with 100 mL of 1 M solution of HCl or NaOH for 2 h. The biosorbents were then filtered and washed with distilled water until neutral pH. The pretreated biosorbents were then dried in an oven at 120°C for 24 h and stored in glass bottles under following names HCl-seeds and NaOH-seeds for further use.

2.3. Characterisation

FTIR transmittance spectra of the biosorbents were recorded in the region of 4000–400 cm−1 using a Scotech-SP-1 spectrophotometer. Basic and oxygenated acidic surface groups were assessed by Boehm titrations [26]. About 0.1 g of each sample was mixed with 50 mL of 0.01 M aqueous reactant solution (NaOH, Na2CO3, NaHCO3, or HCl). The mixtures were stirred at 500 rpm for 24 h at room temperature. Then, the suspensions were filtrated by a 0.45 µm membrane filter. To determine the oxygenated groups content, back titrations of the filtrate (10 mL) were achieved with standard 0.01 M·HCl solution. Basic groups contents were also determined by back titration of the filtrate with 0.01 M·NaOH solution. The morphological characteristics were analyzed by scanning electron microscopy (SEM). Small amount of each sample was finely powdered and mounted directly onto aluminum sample holder using the two-sided adhesive carbon model. Energy dispersive X-ray (EDX) was also performed to determine the elemental composition of the raw carob seeds and the both treated samples. The point of zero charge (pHPZC) was determined by the pH drift method according to the method proposed by Noh and Schwarz [27]. The pH of NaCl aqueous solution (50 mL at 0.01 mol/L) was adjusted to successive initial values in the range from 2.0 to 12.0 by addition of HNO3 (0.1 N) and/or NaOH (0.1 N). Furthermore, 0.05 g of each biosorbent was added in 50 mL of solution and stirred for 6 h. The final pH was measured and plotted against the initial pH. The pHPZC was determined at the value for which .

2.4. Batch Biosorption Procedure

Stock solutions were prepared by dissolving desired weight of each metal ion in distilled water, and necessary concentrations were obtained by dilution. Biosorption experiments were investigated in a series of beakers containing 100 mL of the metal ion solution at desired concentration and desired weight of the biosorbent. The mixtures were stirred for 2 h at 500 rpm using a magnetic stirrer. The influence of pH was performed by varying the pH from 2.0 to 7.0 at an initial metal concentration of 100 mg/L. The pH of the solutions was adjusted with either 0.1 M of HCl or 0.1 M of NaOH and using a SensION + PH31 pH meter. The biosorbent dosage was varied from 0.5 to 5 g/L. The contact time was varied between 5 and 210 min at room temperature with initial pH solution. Biosorption equilibrium was established for different metal ion concentration between 20 and 200 mg/L. The effect of temperature was tested from 10 to 50°C using a thermostatically controlled incubator. The effect of some major inorganic ions including Na+, K+, Mg2+, Ca2+, and Al3+ on the biosorption was studied for each heavy metal at a constant initial metal concentration of 100 mg/L. The concentration of each ion was varied from 10 to 100 mg/L.

After each biosorption experiment completed, the solid phase was separated from the liquid phase by centrifugation at 3000 rpm for 10 min. Metal ions concentration was determined using a PerkinElmer atomic absorption spectrophotometer (Analyst 200).

The biosorption capacity and biosorption removal efficiency were calculated using the following equations:where (mg/g) is the biosorbed quantity at any time or at equilibrium, (mg/L) is the initial metal ion concentration, (mg/L) is the metal ion concentration at a time t or at equilibrium, and (g/L) is the mass adsorbents per liter of solution.

Kinetic and equilibrium parameters were estimated with the aid of the nonlinear regression method using Origin 6.0 software.

2.5. Design of Experiment for the Optimization of Cd(II) and Co(II) Biosorption

The methodology of experimental design was used for modeling and optimization of the biosorption processes of Cd(II) and Co(II) ions from aqueous solutions. The four most influencing factors are solution pH (A), biosorbents dosage (B), initial metals concentration (C), and treating agent (D). The values of variable levels are presented in Table 1. The experiments were made according to a full-factorial design at two levels (24), with 16 experiments.

In addition, a first-order polynomial model was also used for modeling sorption of Cd(II) or Co(II) ions. The general equation of the first-order polynomial model is presented inwhere (mg/g) is the responses of interest (adsorption capacity of Cd(II) (Y1) and adsorption capacity of Co(II) (Y2)).

The results were analyzed using the Trial software Design Expert 10.0.0.

3. Results and Discussion

3.1. Characterization
3.1.1. FT-IR Analysis of the Biosorbents

The infrared spectra of Raw-seeds, NaOH-seeds, and HCl-seeds are illustrated in Figure 1. The figure shows broad absorption band for Raw-seeds at 3200–3600 cm−1 due to the stretching of the N–H bond of amino groups and indicative of bonded hydroxyl group [11], and this band was separated into more resolute three bands after the chemical pretreatments with NaOH and HCl. Two bands at around 3200–3400 cm−1 indicate the presence of carboxylic acid and amino groups, and the other one near 3500 cm−1 is related to the OH stretching vibration mode in alcohol and phenol groups. The band at 2930 cm−1 corresponds to the symmetrical and asymmetrical–CH–vibrations in lipids. The peaks located at 1620 cm−1 are characteristics of C=O stretching for aldehydes and ketones, which can be conjugated or nonconjugated to aromatic rings [28]. The–C–O, C–C, and–C–OH stretching vibrations can be attributed to peaks in the region of 1180–1048 cm−1. The spectra showed bands located at 630 cm−1, assigned to OH− ions.

3.1.2. Boehm Titration of the Biosorbents

The oxygen functional groups are very important characteristics of the biosorbents because they determine the surface properties and hence their quality as biosorbents. These functional groups are mainly divided as acidic or basic, which affect the surface charge and consequently the biosorption capability of the biosorbents. The Boehm’s titration method provides qualitative and quantitative information regarding the total amount of basic groups and the amounts of acidic functional groups such as carboxylic, lactonic, and phenolic. From Table 2, it can be seen that Raw-seeds, HCl-seeds, and NaOH-seeds’ surface constituted mainly of acidic groups, which are due to phenolic, lactonic, and carboxylic groups and a less quantity of basic groups. So, the surface of these biosorbents is acidic. The biosorbents having greater surface acid groups have higher cation exchange properties. According to the experimental data, the HCl-seeds had an important amount of acidic groups than Raw-seeds followed by NaOH-seeds. The use of chemical reagents acid in the treatment process produces an increase in the amount of acid groups present in the biosorbent surface. It was observed that the concentration of lactonic and phenolic groups in HCl-seeds is higher than those of carboxylic groups.

3.1.3. Morphology of the Biosorbents

The surface texture and morphology of biosorbents were analyzed by SEM in order to compare the morphology of raw and chemically treated carob seeds. The SEM images of these biosorbents are depicted in Figure 2. As it is clearly shown, there is a significant difference among the tree samples. In fact, no obvious pores can be seen for Raw-seeds. Then, for the HCl-seeds, the surface morphology does not have well-defined pores. However, the NaOH-seeds’ surface indicates some irregular cavities and a changing in the external texture as a result of the reaction between the raw material and the treating agent. These different characteristics allow NaOH-seeds to contribute a high adsorption performance of heavy metals. These results suggest that the NaOH is an effective agent for creating well-developed pores on the surface of the raw material, which is already shown for the alkaline-treated carob shells [24].

3.1.4. EDX Analysis

EDX is an analytical technique to identify the element presence on the material surface based on its characteristic X-ray energy. This technique is normally coupled with SEM analysis to gain more complete result. The elemental compositions of Raw-seeds, NaOH-seeds, and HCl-seeds are tabulated in Table 3. In addition, the elemental compositions are presented under peaks in Figure 3. The major components of the raw carob seeds were set up to be carbon (56.13 weight%) and oxygen (35.31 weight%). However, these Raw-seeds also contain a small percentage of phosphorus, sulfur, chlorine, potassium, and calcium. After the HCl treatment, a small reduction in the percentage of carbon (54.71 weight%) and a significant rise in the quantity of oxygen (45.10 weight%) was seen. An extinction of potassium and calcium was noticed. However, for NaOH-seeds, it can be also seen that the percentage of carbon decreases (48.32 weight%), and the oxygen content increased to acquired 40.35 weight%. A change in the elemental composition was noticed after the NaOH treatment which mainly falls within an appearance of new elements, including sodium, magnesium, and aluminum and a disappearance of other elements such as phosphorus, sulfur, and chlorine. As a result, it might be concluded that the alkaline treatment increases the percentage of oxygen in HCl-seeds followed by NaOH-seeds and reduced the amount of carbon for both biosorbents as the same order.

3.1.5. pH of Zero Charge

The pHPZC is an important characteristic for the biosorbent as it indicates its acidity-basicity and the net surface charge of the biosorbent in solution. The pHPZC was 5.9, 2.3, and 6.9, respectively, for Raw-seeds, HCl-seeds, and NaOH-seeds. We can see that the Raw-seeds have an acidic surface. After the treatment by HCl, we found an increase in the acidity of the biomaterial at 2.3. But, after NaOH treatment, an increase in the pHPZC appears. The low pHPZC is in agreement with the predominance of surface acid groups. This result indicates that, for pH lower than 5.9, 2.3, and 6.9, the surfaces of the Raw-seeds, HCl-seeds, and NaOH-seeds are positively charged. Then at these pH, the biosorption of the studied metals was inhibited, due to the electronic repulsion between metal ions and positively charged functional groups. Inversely, for pH superior of 5.9, 2.3, and 6.9, the number of negatively charged sites on the Raw-seeds, HCl-seeds, and NaOH-seeds’ surface increases, and metal biosorption becomes more important.

3.2. Biosorption Performance
3.2.1. Effect of Solution pH on the Biosorption

The pH of the solution has a significant impact on the uptake of heavy metals, since it indicates the surface charge of the adsorbent and the degree of ionization and speciation of the adsorbate [29]. The pH of the solution controls the electrostatic interactions between the sorbent and the sorbate [30]. However, the dependence of heavy metal biosorption on pH was different for each metal. Figure 4 shows the effect of pH on biosorption of Cd(II) and Co(II) onto Raw-seeds, HCl-seeds, and NaOH-seeds. It can be seen that the metal biosorption increases with increasing solution pH, and it is strongly dependent on pH solution. It is known generally that the percent removal of the heavy metal ions increases with pH. At low pH, the cations compete with the H+ ions in the solution for the sorption sites and therefore biosorption declines. In contrast, as pH increased, the competition between proton and metal cation decreases which means that there are more negative groups available for the binding of metal ions which results a greater metal uptake. On the other hand, at higher pH, metal cations start to form hydroxide complexes or precipitate as their hydroxides, which decrease the biosorption of metal ions [31, 32]. The pHPZC values indicate that the biosorbent acquires a positive charge below a pH of 5.9, 2.3, and 6.9, respectively, for Raw-seeds, HCl-seeds, and NaOH-seeds. Above these values, the biosorbents’ surface becomes negatively charged [33]. Therefore, the ionic sorbent-sorbate interaction becomes progressively significant for pH higher than 5.9, 2.3, and 6.9. As shown in the figure, the sorption capacities for Cd(II) and Co(II) by NaOH-seeds are greater than those biosorbed by Raw-seeds and HCl-seeds. This may be related to the properties of biosorbent and metal sorbate.

3.2.2. Effect of Biosorbents Dosage

The biosorbent dosage is an important parameter because this parameter determines the capacity of biosorbent for a given Cd(II) and Co(II) concentration and also determines sorbent-sorbate equilibrium of the system. Figure 5 represents the Cd(II) and Co(II) removal efficiencies for the study biosorbents. This figure indicates that the percentage removal of Cd(II) and Co(II) increased with increasing biosorbent dose due to the increase in the total available surface area and the number of active sites for biosorption of the biosorbent particles [32]. The percentage removal of Cd(II) increased from 20.70 to 76.06%, from 10.60 to 23.65%, and from 32.20 to 99.91% when the biosorbents dosage was increased from 0.5 to 5 g/L, respectively, for Raw-seeds, Hcl-seeds, and NaOH-seeds. For Co(II), the biosorption yield increased from 12.73 to 36.94%, from 3.34 to 13.50%, and from 17.02 to 55.69% when the biosorbents dosage was increased from 0.5 to 5 g/L, respectively, for Raw-carob, HCl-carob, and NaOH-carob. Therefore, the biosorption yield was almost the same when the biosorbent dosage was higher than 3 g/L. This trend could be explained as a consequence of a partial aggregation of biosorbent at higher sorbent dosage, which results in the decrease in effective surface area for the [34] biosorption [35].

3.2.3. Biosorption Kinetics

The effect of contact time on the biosorption of Cd(II) and Co(II) metal ions is reported in Figure 6. The evolution of the biosorbed amount of metal ions with the contact time indicates that the equilibrium was relatively fast and was totally reached in about 45 min for the biosorption of Cd(II) by both the biosorbents and was 60 min in the case of Co(II). This equilibrium time is very short in comparison with other literature results [3638], which is one of the advantages of our biosorbents. In Figure 4, two kinetic regions can be observed: the first one is characterized by a high biosorption rate, which is due to the fact that initially the number of sites of available biosorbent is higher and the driving force for mass transfer is greater. Metal ions easily access first the biosorption sites. As time progresses, the number of free sites of Raw-seeds, HCl-seeds, and NaOH-seeds decreases and the nonbiosorbed cations in solution are assembled on the surface, thus limiting the biosorption capacity.

In order to determine the biosorption efficiency of Cd(II) and Co(II) on three biosorbents, two kinetic models are used; the pseudo-first-order and the pseudo-second-order kinetic models. Kinetic data were analyzed on the basis of the regression coefficient (r2) and the amount of metal biosorbed per unit weight of the biosorbent.

The Lagergren first-order rate expression based on solid capacity is generally expressed as follows [39]:where and (both in mg/g) are, respectively, the amounts of metal biosorbed at equilibrium and at any time t (min) and k1 (1/min) is the rate constant of biosorption.

The pseudo-second-order equation is expressed as [40]where k (g/mg min) is the pseudo-second order rate constant.

The obtained data and the correlation coefficients, r2, are listed in Table 4. The results show that the calculated equilibrium values using pseudo-first-order model kinetic were very close to the experimental ones () than the others calculated from the pseudo-second-order model and also showed the best fit to the experimental data with the highest correlation coefficients () for the both metal ions. From these results, it was concluded that the biosorption of Cd(II) and Co(II) onto Raw-seeds, HCl-seeds, and NaOH-seeds could be better described by the pseudo-first-order model. This may be due to rapidity transfer speed of Cd and Co molecules to the surface of the biosorbent and the availability of active sites.

3.2.4. Biosorption Isotherms

The biosorption isotherms describe how the sorbate molecules are distributed between the liquid phase and solid phase when the system reaches the equilibrium. The analysis of isotherm data by fitting them to different models is important to find a sustainable model that can be used [41]. The biosorption isotherms are illustrated in Figure 7. It is obvious that the amount of metal biosorbed increases as its equilibrium concentration increased. This trend may be due to the high driving force for mass transfer at a high initial heavy metal concentration. In addition, if the heavy metal concentration in solution is higher, the active sites of biosorbent are surrounded by much more ions, and the biosorption phenomenon occurs more efficiently. Thus, biosorption amount increases with the increase of initial ion concentration [42]. The isotherms’ form was type L for Raw-seeds, HCl-seeds, and NaOH-seeds according to Giles classification [43].

Several biosorption isotherms can be used to correlate the biosorption equilibrium in heavy metals biosorption on several biosorbents. Some well-known isotherms are Langmuir and Freundlich models.

(1) Langmuir Model. Langmuir isotherm assumes two main points in the biosorption process. First, the biosorption happens at specific homogeneous biosorption sites in the biosorbent. Second, the monolayer biosorption and maximum biosorption occurs when biosorbed molecules form a saturated layer on the surface of adsorbent. All biosorption sites involved are energetically identical, and the intermolecular force decreases as the distance from the biosorption surface increases [44].where (mg/g) is the maximum monolayer biosorption capacity, (L/mg) is the Langmuir equilibrium constant related to the biosorption affinity, and is the equilibrium concentration.

(2) Freundlich Model. Freundlich isotherm is an empirical equation assuming that the biosorption process takes place on heterogeneous surfaces, and biosorption capacity is related to the concentration of biosorbed metal ions at equilibrium. Freundlich isotherm is suitable in treating metal ions’ biosorption at higher concentrations. However, this isotherm is not suitable for low concentration range.

Freundlich isotherm model is represented by the following equation [45]:where (mg1−1/n/g/Ln) is the Freundlich constant and n is the heterogeneity factor. The KF value is related to the biosorption capacity, while 1/n value is related to the biosorption intensity.

(3) Analysis of Adsorption Isotherms. The calculated isotherm parameters for each model and correlation coefficients analyzed by nonlinear regression method are presented in Table 5. This table shows that the Langmuir model indicates higher values of correlation coefficients () in the biosorption of Co(II) than Cd(III) biosorption onto the three biosorbents. For these reasons, it can be approved that Langmuir equilibrium isotherm describes the metal biosorption process using the studied biosorbents well. This process is occurred by the formation of metal ion monolayer onto the biosorbent surface with finite number of identical sites, which are homogeneously distributed over the biosorbent surface [46]. The values were 34.85, 14.08, and 49.11 mg/g for Cd(II) and 24.74, 7.65, and 28.18 mg/g in the case of Co(II) respectively, for Raw-seeds, HCl-seeds, and NaOH-seeds. We can also conclude that NaOH-seeds’ biosorption capacity is superior than that of Raw-seeds and HCl-seeds. On the other hand, the biosorption of Cd(II) on the three biosorbents is greater in comparison to that of the Co(II) biosorption. This may be due to the nature of the interaction between each sorbate and biosorbent. However, the Freundlich model provides two parameters: and . is related to the biosorption capacity and biosorption intensity of the metal ions on the different biosorbents and represents the quantity of metal ions biosorbed onto biosorbent at equilibrium concentration. represents the strength of metal ions’ biosorption on the biosorbent. value from 1 to 10 indicates relatively strong biosorption. The obtained values in the studied biosorbents were more than 1, which indicates relatively a strong biosorption of the metal ions on the biosorbents [47].

Table 6 presents a comparison of the maximum adsorption capacity of Raw-seeds, HCl-seeds, and NaOH-seeds with various adsorbents reported in the literature for the adsorptive removal of Cd(II) and Co(II). Though there were variations in some experimental conditions, the table shows that the biosorption capacity of Raw-seeds, HCl-seeds, and NaOH-seeds for the both heavy metals is most higher compared to other adsorbents used in previous studies. This can be explained by the nature of functional groups present in the surface of Raw-seeds, HCl-seeds, and NaOH-seeds.

3.2.5. Effect of Temperature

The variation of sorption efficiencies of Cd(II) and Co(II) on Raw-seeds, HCl-seeds, and NaOH-seeds as function of solution temperature is shown in Figure 8. It was observed that the temperature does not have significant influence on the biosorption capacity in the studied range. The variation in temperature had two major effects on the sorption process. An increase in the temperature is known to increase the rate of diffusion of the adsorbate molecules across the external boundary layer and in the internal pores of the adsorbent particles as a result of reduced viscosity of the solution [61]. In addition, several authors have shown that further increases in the temperature may lead to a decrease in the metal removal percentage. This may be attributed to an increase in the relative desorption of the metal from the solid phase to the liquid phase, deactivation of the biosorbent surface, destruction of the active sites on the biosorbent surface owing to bond disruption [62], or weakness of the sorbent active site binding forces and the sorbate species and also between the adjacent molecules of the sorbed phase [63].

3.2.6. Effect of Inorganic Ions

Industrial effluents often contain more than one metal ion. Consequently, biosorption becomes competitive, in which several metal ions compete for a limited number of binding sites [64]. Figure 9 shows the effect of Na+, K+, Mg2+, Ca2+, and Al3+ ions on the biosorption of Cd(II) and Co(II). From this figure, we can conclude that the monovalent cations K+ and Na+ have less influence on the biosorption. On the other hand, divalent and trivalent ions inhibit the biosorption on the both biosorbents. The degree of inhibition by the inorganic ions followed the sequence: K+ < Na+ < Mg2+ < Ca2+ < Al3+ for the both metals. The monovalent cations Na+ and K+ are bound by ionic attraction and therefore do not compete directly with the binding of heavy metals by the biosorbents. However, divalent and trivalent ions prevent the biosorption on the both biosorbents. The decreasing of Al3+ with high concentrations may be attributed to favorable electrostatic effects due to the increased number of positively charged surface binding sites arising from Al3+. However, the effect of ionic strength is explained as the result of competition of ions with the heavy metals for electrostatic binding to the surface of Raw-seeds, HCl-seeds, and NaOH-seeds. Because, the functional groups are negatively charged, they will electrostatically attract any cation, be it inorganic or heavy metal ions of interest [65].

3.3. Optimization of Biosorption Conditions
3.3.1. Experimental Design

Table 7 shows the adsorption conditions and experimental results for the two responses of cadmium and cobalt removal. As can be seen, there was a considerable variation in the removal efficiency of cadmium and cobalt at different values of the already selected factors. Consequently, the maximum sorption capacities of cadmium and cobalt were 85.73 and 51.90 mg/g, respectively. These greater capacities were obtained for the initial concentration of 50 mg/l, pH = 6, biosorbent dose of 1 g/l with carob seeds treated by NaOH agent. The regression analysis was performed to adjust the response functions with the experimental data. The values of regression coefficient estimated are presented in Table 8. From the table, the biosorbent dose and initial concentration present a negative effect on cadmium and cobalt ions removal, while the pH and treating agent have a positive effect on elimination of two heavy metals. The analysis of the interaction effects shows a significant interaction between biosorbent dose and treating agent for cadmium removal (b24 = −6.09) with a negative impact and a significant interaction between biosorbent dose and initial concentration for cobalt removal with a positive effect (b23 = 2.58).

3.3.2. Analysis of Variance (ANOVA)

Analysis of variance (ANOVA) was carried out to justify the adequacy of the models. After discarding the insignificant terms, the ANOVA data for the coded quadratic models for the two responses at a confidence level of 95% are reported in both Tables 9 and 10. The quality of the model developed was evaluated based on correlation coefficient, R2, and standard deviation. Data given in Tables 9 and 10 demonstrate that the two models were significant at values < 0.05. The closer the R2 to unity and the smaller the standard deviation, the more accurate the response could be predicted by the model. The regression equations, in terms of their coded factors, are expressed by the following second-order polynomial equations:

According to these equations, it is revealed that the pH and treating agent have a positive effect on cadmium ions removal. Moreover, the removal of the cadmium decreased if biosorbents dosage and initial metals concentration increases. Additionally, the interactions pH (A)– biosorbents dosage (B), pH (A)–treating agent (D), biosorbents dosage (B)–initial concentration (C), biosorbents dosage (B)–treating agent (D), and biosorbents dosage (B)–initial concentration (C)–treating agent (D) also had a significant effect on cadmium sorption. The interactions AB, AD, and BD presented a negative effect on cadmium ions removal. Then, the interactions BC and BCD presented a positive effect on cadmium removal. When this interaction is in the high level, the removal of cadmium increased. It is the same in the case of cobalt. Furthermore, the interactions pH de la solution (A)–biosorbents dosage (B), biosorbents dosage (B)–initial metals concentration (C), and biosorbents dosage (B)–treating agent (D) also had a significant effect on cobalt sorption. In fact, the interaction BC had a positive effect on cobalt sorption proving an increase in this response. On the other hand, the interaction AB and BD present a negative effect for cobalt sorption.

3.3.3. Response Surface Analysis

The three-dimensional (3D) response surface of the tested factors is presented for identifying the type of interaction between the studied factors. For biosorption of cadmium, there are significant interactions between pH and biosorbent dose and another one between biosorbent dose and initial concentration. Figure 10 presents response surfaces plots for these significant interactions. This figure indicates that the sorption of cadmium increased with increasing of pH and and decrease of biosorbent dose with a fixed initial concentration at 50 mg/l with NaOH treating carob (Figure 10(a)). Furthermore, the sorption of Cd(II) increased with decreasing of biosorbent dose and initial concentration (Figure 10(b)). A maximal sorption cadmium response is observed at pH = 6 and initial concentration of 50 mg/l at a biosorbent dose of 1 g/l with NaOH treating carob.

Figure 11 presents the significant interaction between pH and biosorbent dose and another one between biosorbent dose and initial concentration, for the sorption of cobalt. Figure 11(a) shows that the biosorption of Co(II) increased with increasing of pH and decreasing of biosorbent dose with a fixed initial concentration at 50 mg/l with NaOH treating carob. Moreover, when the initial concentration and the biosorbent dose decrease, the sorption of cobalt increases at pH = 6 with NaOH treating carob (Figure 11(b)). So, the best cobalt biosorption was obtained with pH = 6, biosorbent dose of 1 g/l, concentration of 50 mg/l, and NaOH treating carob.

3.3.5. Optimization

The two responses were optimized simultaneously by using the desirability function approach. The response variable was 1.00. Hence, “R2” is in consistent enough with the “RAdj2.” Thus, R2 = 0.9979, R2 = 0.9955 and RAdj2 = 0.9947, RAdj2 = 0.9916 for Cd(II) and Co(II) sorption responses. The model F-value of the both responses is greater, in order of 313.12 and 255.37 for Cd(II) and Co(II) sorption, respectively. Further, these results explain that the models are suitable. Then, it was found that there was good agreement between experimentally and model predicted response factor which confirms the adequacy and the significance of the proposed model. The optimal conditions for high sorption of cadmium(II) and cobalt(II) were achieved at pH = 6, biosorbent dose of 1 g/l, and initial concentration = 50 mg/l with carob seeds treated by NaOH. The greater sorption capacities were 85.73 mg/g for Cd(II) and 51.90 mg/g for Co(II).

4. Conclusion

During this study, raw carob seeds and chemically treated carob seeds were used as low-cost natural biosorbents for the removal of Cd(II) and Co(II) from aqueous solutions. The biosorption productivity was tested by using different biosorption conditions According to these studies, it was found that the biosorption yield increases with the increase of biosorbent dosage with an optimum at 0.1 g/L. The optimum sorption was obtained at basic pH medium. The sorption process was very rapid, since the equilibrium time was obtained at 90 min for Cd(II) and 60 min for Co(II). Biosorption kinetics data were properly fitted with the pseudo-first-order kinetic model. The equilibrium biosorption was increased with an increase in the initial ions concentration in solution. The biosorption isotherm could be well fitted by the Langmuir equation. The temperature does not have much influence on the biosorption performance. Other tests show that the presence of inorganic ions had specific effects on Cd(II) and Co(II) biosorption onto biosorbents, with the inhibition effect observing the following sequence: K+ < Na+ < Mg2+ < Ca2+ < Al3+. From these studies, it can be also seen that chemical pretreatment the raw carob shell with NaOH strongly enhances its biosorption potential for the cadmium(II) and cobalt(II) ions. Full-factorial experimental design was used to determine the optimum conditions of different variables which affect the removal of Cd(II) and Co(II) ions. In order to achieve approximately the greater values of biosorption capacities of treated carob shell for Cd(II) and Co(II) ions, the optimum values of different process parameters were found to be 85.73 mg/g for Cd(II) and 51.90 mg/g for Co(II). These higher sorption efficiencies are obtained at pH = 6, biosorbent dose of 1 g/l, and initial concentration = 50 mg/l with carob shell treated by NaOH.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Supplementary Materials

In summary, efficient biosorbents were developed from deoiled carob seeds. The biosorption efficiency was evaluated for cadmium and cobalt ions removal from aqueous solution under various parameters. Based on this preliminary study, four independent variables including solution pH, biosorbents dosage, initial metal concentration, and treating agent were chosen for the optimization of the process using full-factorial experimental design. It was found that chemical pretreatment of the raw deoiled carob seeds with NaOH strongly enhances its biosorption potential. The optimal conditions for high biosorption of cadmium(II) and cobalt(II) were achieved at pH of 6, biosorbent dosage of 1 g/L, and initial metal concentration of 50 mg/L. (Supplementary Materials)